Method and device for prompting bicycle gear shifting
AssigneeXiaomi Inc.
InventorRui Zhang
Life of this patent
Estimating the term…
Abstract
A method for prompting bicycle gear shifting includes collecting cycling data of a user during cycling, comparing the collected cycling data with cycling data samples in a preset gear shifting strategy library including correspondence relationships between preset gear shifting strategies and the cycling data samples, and when the collected cycling data matches one of the cycling data samples in the gear shifting strategy library, outputting the gear shifting strategy corresponding to the cycling data sample to the user.
Claims11
A method for prompting bicycle gear shifting, comprising:
- collecting cycling data of a user during cycling;
- comparing the collected cycling data with cycling data samples in a preset gear shifting strategy library including correspondence relationships between preset gear shifting strategies and the cycling data samples;
- and
- outputting to the user, when the collected cycling data matches one of the cycling data samples in the gear shifting strategy library, the gear shifting strategy corresponding to the cycling data sample,
- wherein outputting the gear shifting strategy corresponding to the cycling data samples includes:
- when the collected cycling data completely matches one of the cycling data samples, outputting the gear shifting strategy corresponding to the cycling data sample to the user;
- and
- when the collected cycling data does not completely match any of the cycling data samples:
- calculating a similarity between the collected cycling data and each of one or more of the cycling data samples, and
- outputting the gear shifting strategy corresponding to the cycling data sample having a highest similarity to the user.
A terminal, comprising:
- a processor;
- and
- a memory storing instructions that, when executed by the processor, cause the processor to:
- collect cycling data of a user during cycling;
- compare the collected cycling data with cycling data samples in a preset gear shifting strategy library including correspondence relationships between preset gear shifting strategies and the cycling data samples;
- and
- output to the user, when the collected cycling data matches one of the cycling data samples in the gear shifting strategy library, the gear shifting strategy corresponding to the cycling data sample,
- wherein, in outputting the gear shifting strategy corresponding to the cycling data, the instructions further cause the processor to:
- when the collected cycling data completely matches one of the cycling data samples, output the gear shifting strategy corresponding to the cycling data sample to the user;
- and
- when the collected cycling data does not completely match any of the cycling data samples:
- calculate a similarity between the collected cycling data and each of one of more of the cycling data samples, and
- output the gear shifting strategy corresponding to the cycling data sample having a highest similarity to the user.
A non-transitory storage medium having stored therein instructions that, when executed by one or more processors of a mobile terminal for prompting bicycle gear shifting, cause the mobile terminal to:
- collect cycling data of a user during cycling;
- compare the collected cycling data with cycling data samples in a preset gear shifting strategy library including correspondence relationships between preset gear shifting strategies and the cycling data samples;
- and
- output to the user, when the collected cycling data matches one of the cycling data samples in the gear shifting strategy library, the gear shifting strategy corresponding to the cycling data sample,
- wherein, in outputting the gear shifting strategy corresponding to the cycling data, the instructions further cause the processor to:
- when the collected cycling data completely matches one of the cycling data samples, output the gear shifting strategy corresponding to the cycling data sample to the user;
- and
- when the collected cycling data does not completely match any of the cycling data samples:
- calculate a similarity between the collected cycling data and each of one of more of the cycling data samples, and
- output the gear shifting strategy corresponding to the cycling data sample having a highest similarity to the user.
Dependencies are inferred from the claim text.