Cycling management method, user interface and related apparatus

By recognizing the grip status during cycling through IMU and PPG signals, the system outputs safety prompts and provides grip suggestions, solving the problem that smart wearable devices cannot detect grips during cycling and improving cycling safety and experience.

WO2026051984A1PCT designated stage Publication Date: 2026-03-12HUAWEI TECH CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-09-03
Publication Date
2026-03-12

AI Technical Summary

Technical Problem

In existing technologies, smart wearable devices cannot detect whether the user is holding the handlebars or provide corresponding guidance during cycling, which affects cycling safety and experience.

Method used

The system identifies whether the user is gripping the handlebars using IMU and/or PPG signals, and outputs a prompt message when the user is not gripping the handlebars. The prompt frequency is adjusted based on the riding conditions and speed to provide safety guidance and handlebar grip suggestions.

Benefits of technology

It improves safety and the riding experience, reduces hand injuries, and enhances users' understanding of grip styles and applicable scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025118861_12032026_PF_FP_ABST
    Figure CN2025118861_12032026_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the present application are a cycling management method, a user interface, and a related apparatus. The method comprises: after detecting that a user is in a cycling state, an electronic device identifying whether the user holds the handlebars; and when detecting that the user does not hold the handlebars, outputting first prompt information, which can be used for prompting the user to hold the handlebars. In this way, when the user cycles without holding the handlebars, the user can be instantly prompted to hold the handlebars, thereby ensuring the safety of the user during cycling.
Need to check novelty before this filing date? Find Prior Art

Description

Cycling management method, user interface and related device

[0001] The present application claims priority to the Chinese patent application No. 202411244852.5, filed on September 5, 2024, entitled "Cycling management method, user interface and related device", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD

[0002] The present application relates to the technical field of terminals and computers, and in particular to a cycling management method, a user interface and related devices. BACKGROUND

[0003] Currently, with the continuous innovation of technology, using electronic devices for sports guidance has gradually become the mainstream development direction at present. Among them, cycling is a popular aerobic exercise. How to use electronic devices to improve the cycling experience of users during cycling is a problem that needs to be solved at present. SUMMARY

[0004] The present application provides a cycling management method, a user interface and related devices, which takes the handle situation of the user during cycling as a starting point to improve the cycling experience of the user.

[0005] In a first aspect, the present application provides a cycling management method. The method is applied to an electronic device worn on the upper limbs of a user. The method comprises: identifying that the user is in a cycling state; identifying whether the user holds a handle; and outputting first prompt information in the case that it is identified that the user does not hold the handle, the first prompt information being used to prompt the user to hold the handle.

[0006] The method provided by the first aspect can output prompt information in time in the case that the user does not hold the handle, provide safety guidance for the cycling of the user, and guide the user to cycle safely.

[0007] In combination with the first aspect, in a possible implementation manner, identifying that the user is in a cycling state specifically comprises: identifying that the user is in a cycling state based on a first operation, the first operation being used to start a cycling exercise; and / or identifying that the user is in a cycling state based on state data of the user.

[0008] It can be seen that the method can be actively confirmed by the user that the user is in a cycling state, or the electronic device can automatically identify whether the user is in a cycling state.

[0009] In a possible implementation manner of the first aspect, when the user is in the cycling state, the state data of the user indicates one or more of the following: the user is in a non-stationary state, the heart rate of the user is greater than a first threshold, the user is not in an underwater environment, the upper limbs of the user do not perform periodic motion, the hand motion state of the user meets the hand motion state in the cycling state, and the motion speed of the user meets the motion speed in the cycling state.

[0010] That is, the electronic device can identify whether the user is in the cycling state through the state data of the user in one or more aspects, and accurately identify the cycling state of the user.

[0011] In a possible implementation manner of the first aspect, before the first prompt information is output, the method further includes: identifying that a first condition is met, the first condition including one or more of the following: a duration for which the user does not hold the handle exceeds a first duration, the cycling section is bumpy, the cycling section has complex road conditions, and the motion speed is greater than a second threshold.

[0012] That is, in addition to identifying that the user does not hold the handle, the electronic device also needs to identify that the first condition is met before the first prompt information is output. In this way, the frequency of outputting the first prompt information by the electronic device can be reduced, and at the same time, it is ensured that the electronic device 100 can timely remind the user to hold the handle when the user is in a high cycling risk state, so as to avoid the occurrence of dangerous accidents as much as possible.

[0013] In a possible implementation manner of the first aspect, after the first prompt information is output, the method further includes: if it is identified that the user continuously does not hold the handle, the first prompt information is output again after a second duration.

[0014] In this way, the electronic device can continuously detect the situation in which the user does not hold the handle, and further protect the user from safe cycling.

[0015] In a possible implementation manner of the first aspect, the second duration is determined according to the cycling speed of the user, if the cycling speed is a first speed, the second duration is a first value, if the cycling speed is a second speed, the second duration is a second value, the first speed is greater than the second speed, and the first value is less than the second value.

[0016] In this way, the electronic device can shorten the time interval for reminding the user to hold the handle when the cycling speed is fast, and lengthen the time interval for reminding the user to hold the handle when the cycling speed of the user is slow.

[0017] In a possible implementation manner of the first aspect, identifying whether the user holds the handle specifically includes: identifying whether the user holds the handle based on a first sensing signal, the first sensing signal including: a first IMU signal, and / or a first PPG signal.

[0018] That is, the electronic device can utilize the IMU signal and / or the PPG signal to identify whether the user holds the handle, and improve the accuracy of the user holding identification.

[0019] In a possible implementation manner of the first aspect, the identification of whether the user holds the handle based on the first sensing signal specifically comprises: inputting the first sensing signal into a first model to determine whether the user holds the handle; and the first model is trained according to sensing signals of test persons who are known to hold or not to hold the handle during cycling.

[0020] That is, the electronic device can utilize the model to identify whether the user holds the handle, and achieve accurate identification of the user holding.

[0021] In a possible implementation manner of the first aspect, the method further comprises: in the case of identifying that the user holds the handle, outputting second prompt information, the second prompt information being used to indicate the first holding manner of the user identified by the electronic device.

[0022] That is, in the case of identifying that the user holds the handle, the holding manner of the user identified by the electronic device can be outputted, so that the user can learn the holding manner currently used by himself through the electronic device.

[0023] In a possible implementation manner of the first aspect, the first holding manner is identified based on the first sensing signal, and the first sensing signal comprises: a first IMU signal, and / or a first PPG signal.

[0024] It can be seen that the electronic device can utilize the IMU signal and / or the PPG signal to identify the holding manner of the user.

[0025] In a possible implementation manner of the first aspect, the method further comprises: inputting the first sensing signal into a second model to determine the holding manner of the user; and the second model is trained according to sensing signals of test persons who adopt multiple holding manners during cycling.

[0026] That is, the electronic device can utilize the model to identify the holding manner of the user, and achieve accurate identification of the holding manner of the user.

[0027] In a possible implementation manner of the first aspect, after the first prompt information is outputted, the method further comprises: collecting a second sensing signal, the second sensing signal comprising: a second IMU signal, and / or a second PPG signal; comparing first features of the first sensing signal and the second sensing signal; if the first features of the first sensing signal and the second sensing signal are different or the difference is greater than a third threshold, it is determined that the user holds the handle; and if the first features of the first sensing signal and the second sensing signal are the same or the difference is less than the third threshold, it is determined that the user does not hold the handle.

[0028] That is, the electronic device can identify whether the user changes the holding state by comparing whether the sensing signals collected at different times change, and identify whether the user currently holds the handle by whether the holding state changes, so compared with directly using the model to identify whether the user holds the handle, the power consumption of the electronic device can be reduced.

[0029] In combination with the first aspect, in a possible implementation manner, the method further includes: if the first feature of the first sensing signal and the first feature of the second sensing signal are different or the difference is greater than a third threshold, identifying a second holding manner of the user based on the second sensing signal; and outputting prompt information indicating the second holding manner.

[0030] That is, if it is identified based on the feature comparison that the user switches from the non-holding state to the holding state, the electronic device can further use the sensing signal to identify the specific holding manner used by the user.

[0031] In combination with the first aspect, in a possible implementation manner, the method further includes: in a case where it is identified that the user holds the handle, determining a first vibration index, the first vibration index describing a vibration amplitude of an upper limb of the user during cycling; and in a case where the first vibration index is greater than a fourth threshold, and / or a duration for which the first vibration index is greater than the fourth threshold is greater than a third duration, outputting third prompt information, the third prompt information being used to prompt the user to change the holding manner.

[0032] It can be seen that the method can timely remind the user to change the holding manner during cycling of the user, so that the hand of the user can be slightly relaxed during the change of the holding manner, or the force bearing part of the hand of the user is changed by changing the holding manner, and the hand injury of the user is reduced.

[0033] In combination with the first aspect, in a possible implementation manner, the first vibration index includes one or more of: a hand-transmitted vibration exposure, a variance of the IMU signal, and a frequency of the IMU signal.

[0034] In combination with the first aspect, in a possible implementation manner, the third prompt information is used to prompt the user to change the holding manner to a third holding manner.

[0035] That is, the method can prompt the user to change to a specified holding manner when prompting the user to change the holding manner, so as to avoid the user from changing the holding manner blindly.

[0036] In combination with the first aspect, in a possible implementation manner, the first prompt information is further used to indicate a third holding manner recommended to be used.

[0037] That is, in a case where the user does not hold the handle, the electronic device can not only prompt the user to hold the handle, but also prompt the user to the holding manner currently recommended to be used, so as to reduce the difficulty of cycling of the user.

[0038] With reference to the first aspect, in a possible implementation manner, the third holding manner is determined according to a road condition of the first riding section ahead.

[0039] That is, the holding manner recommended by the electronic device can be determined according to the road condition of the riding route ahead, so as to realize scientific recommendation of the holding manner of the user.

[0040] With reference to the first aspect, in a possible implementation manner, if the first riding section is an uphill or urban traffic section, the third holding manner is an upper holding position; if the first riding section is a downhill or flat road sprint section, the third holding manner is a lower holding position; if the first riding section is a long-distance uphill section, the third holding manner is a horizontal holding position.

[0041] In the second aspect, the embodiments of the present application provide a riding management method, the method is applied to an electronic device, and the method comprises the following steps: identifying whether a user state is consistent with a state under riding; in the case that the user state is consistent with the state under riding, identifying whether a user upper limb is performing a periodic motion; in the case that the user upper limb is not performing the periodic motion, identifying whether a user upper limb motion state is consistent with a user upper limb motion state under riding; in the case that the user upper limb motion state is consistent with the user upper limb motion state under riding, identifying whether a user motion speed is consistent with a user motion speed under riding; in the case that the user motion speed is consistent with the user motion speed under riding, outputting fifth prompt information, the fifth prompt information being used for reminding whether the user is in a riding state; and in the case that a second operation of the user is detected or no operation of the user is received within a fourth time length, determining that the user is in the riding state.

[0042] By implementing the method provided in the second aspect, the electronic device can identify whether the user is in the riding state in combination with multiple aspects of the motion of the user, so as to accurately identify the riding state of the user.

[0043] In the third aspect, the embodiments of the present application provide an electronic device, comprising a memory, a processor and a computer program stored in the memory, the processor executes the computer program to implement the method described in the first aspect or any one of the possible implementation manners of the first aspect, or the second aspect.

[0044] In the fourth aspect, the embodiments of the present application provide a computer readable storage medium, the computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method described in the first aspect or any one of the possible implementation manners of the first aspect, or the second aspect.

[0045] In a fifth aspect, an embodiment of the present application provides a computer program product, which comprises a computer program. The computer program is executed by a processor to implement the method described in the first aspect or any possible implementation manner of the first aspect, or the second aspect. BRIEF DESCRIPTION OF DRAWINGS

[0046] FIG. 1 is a schematic diagram of various holding manners provided by an embodiment of the present application;

[0047] FIG. 2 is a schematic diagram of various holding manners provided by an embodiment of the present application;

[0048] FIG. 3 is a schematic diagram of a cycling management method provided by an embodiment of the present application;

[0049] FIG. 4 is a user interface 10 provided by an embodiment of the present application to initiate a cycling motion;

[0050] FIG. 5 is a user interface 20 displayed by an electronic device 100 provided by an embodiment of the present application after recognizing that a user is in a cycling state;

[0051] FIG. 6 is a user interface 20 displayed by an electronic device 100 provided by an embodiment of the present application after recognizing that a user is in a cycling state by using state data;

[0052] FIG. 7 is a user interface 30 displayed by an electronic device 100 provided by an embodiment of the present application after recognizing that a user does not hold a handlebar;

[0053] FIG. 8 is a user interface 40 displayed by an electronic device 100 provided by an embodiment of the present application after recognizing that a user does not hold a handlebar and a first condition is met;

[0054] FIG. 9A is a schematic diagram of modules involved in recognizing whether a user is in a cycling state by an electronic device 100 provided by an embodiment of the present application;

[0055] FIG. 9B is a schematic diagram of a method for recognizing a cycling state of a user provided by an embodiment of the present application;

[0056] FIG. 10 is a schematic diagram of another cycling management method provided by an embodiment of the present application;

[0057] FIG. 11 is a user interface 50 displayed by an electronic device 100 provided by an embodiment of the present application after recognizing a holding manner of a user;

[0058] FIG. 12 is a schematic diagram of another cycling management method provided by an embodiment of the present application;

[0059] FIG. 13 is a user interface 60 displayed by an electronic device 100 provided by an embodiment of the present application to remind a user to change a holding manner;

[0060] FIG. 14 is a flowchart of another cycling management method according to an embodiment of the present application;

[0061] FIGS. 15A-15C are user interfaces 70 displayed by the electronic device 100 when recommending a grip according to an embodiment of the present application;

[0062] FIG. 16 is a user interface 80 displayed by the electronic device 100 after the cycling motion ends according to an embodiment of the present application;

[0063] FIG. 17 is a user interface 90 displayed by the electronic device 100 after the cycling motion ends according to an embodiment of the present application;

[0064] FIG. 18 is a schematic diagram of the hardware structure of the electronic device 100 according to an embodiment of the present application;

[0065] FIG. 19 is a schematic diagram of the structure of the cycling management apparatus 200 according to an embodiment of the present application. DETAILED DESCRIPTION

[0066] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings.

[0067] The term "user interface (UI)" in the following embodiments of the present application is a medium interface for interaction and information exchange between an application program or an operating system and a user, which realizes the conversion between the internal form of information and the form acceptable by the user. The user interface is source code written in a specific computer language such as Java and extensible markup language (XML), and the interface source code is parsed, rendered, and finally presented as content recognizable by the user on the electronic device. The commonly used form of the user interface is a graphic user interface (GUI), which refers to a user interface related to computer operation displayed in a graphical manner. It can be a visual interface element such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, Widgets, and the like displayed in the display screen of the electronic device.

[0068] At present, although the smart wearable device can detect the heart rate and cycling speed of the user during the cycling process of the user, it does not detect or provide guidance on whether the user holds the handle during the cycling process or the grip manner of the user. Moreover, whether the user holds the handle is related to the safety of the user during the cycling process, and different grip manners have their suitable road conditions, so it is necessary to remind the user to hold the handle in time during the cycling process and to use different grip manners for different scenes, which can better protect the safety of the user during the cycling process.

[0069] Fig. 1 is a schematic diagram of various holding manners provided by the embodiment of the present application.

[0070] As shown in Fig. 1, the common holding manners include an upper handle position, a lower handle position and a horizontal handle position.

[0071] The upper handle position refers to a riding posture in which the hands are held on the bicycle handle and are raised upward. The upper handle position is the most common holding manner in riding and is also considered to be the most ergonomic holding manner. Since the upper handle position can provide better brake and gear operation, the upper handle position is suitable for use in cities, especially in complex traffic conditions. In addition, the upper handle position is also suitable for use when climbing a rocking car, because when riding in the upper handle position, the body center of gravity is inclined forward, the hands are as wide as the shoulders, and a greater balance can be maintained. Correspondingly, the riding posture in the upper handle position has greater wind resistance and is not suitable for high-speed downhill.

[0072] The lower handle position refers to a riding posture in which the hands are held on the lower part of the bicycle handle. The lower handle position can provide the most aerodynamic and aggressive riding posture and is suitable for high-speed riding requirements. The lower handle position is suitable for high-speed downhill and sprinting, especially in flat road sprinting, the lower handle position can make it easier for the user to hold the brake, and the user can brake conveniently. In summary, the lower handle position can effectively reduce wind resistance and improve riding efficiency.

[0073] The horizontal handle position refers to a riding posture in which the hands are held on the horizontal handle of the bicycle. Since the horizontal handle position is the least aerodynamic and least easy-to-control riding posture, the horizontal handle position is usually suitable for long-distance climbing and low-speed riding scenarios, and the horizontal handle position is not suitable for use when rocking a car or in complex traffic conditions.

[0074] It can be seen that different holding manners have different application scenarios, and it is crucial to adopt the correct holding manner during riding.

[0075] Further, Fig. 2 is a posture schematic diagram of various holding manners provided by the embodiment of the present application.

[0076] In Fig. 2, (a), (b) and (c) respectively show the posture schematic diagrams of the upper handle position, the lower handle position and the horizontal handle position.

[0077] As can be seen from (a), (b) and (c) in Fig. 2, due to different holding manners, the orientation and placement of the wrist of the user and the force exertion part are different. In addition, the orientation and placement of the wrist of the user are different when the user holds the handle and when the user does not hold the handle, and the force exertion part is also different. If the user wears an electronic device 100 on the wrist during riding, the electronic device 100 can collect the sensing signals transmitted by the wrist of the user during riding through a sensor, and identify whether the user holds the handle or the holding manner of the user through the sensing signals.

[0078] The details of using the sensing signal collected by the sensor to identify whether the user holds the handlebar and the holding manner of the user can be referred to subsequent method flows, which are not expanded here.

[0079] The embodiment of the present application provides a cycling management method, which can identify whether the user holds the handlebar after identifying that the user is in the cycling state, and output prompt information to remind the user to hold the handlebar when the user does not hold the handlebar.

[0080] It can be seen that the method can detect whether the user holds the handlebar, and timely output prompt information when the user does not hold the handlebar, to provide safety guidance for the cycling of the user and guide the user to safely cycle.

[0081] The embodiment of the present application also provides a cycling management method, which can identify the holding manner of the user after identifying that the user is in the cycling state, and then output prompt information, which can be used to indicate the holding manner of the user.

[0082] It can be seen that the method can identify various holding manners used by the user when cycling, and display the holding manners to the user, so that the user can know the holding manner used by the user when cycling.

[0083] The embodiment of the present application also provides a cycling management method, which can calculate a vibration index of the user after identifying that the user is in the cycling state and identifying that the user holds the handlebar, the vibration index describing the vibration amplitude of the upper limbs of the user in the cycling process, and output prompt information to prompt the user to change the holding manner in the case that the vibration index is greater than a threshold value, and / or the duration for which the vibration index is greater than the threshold value is greater than a preset duration.

[0084] Because the uneven road surface in the cycling process can cause the hand of the user holding the handlebar to shake with the handlebar, and the violent shaking or continuous shaking of the hand can easily cause the hand injury of the user, therefore, the method can timely remind the user to change the holding manner, so that the hand of the user can be slightly relaxed during the change of the holding manner, or the force bearing part of the hand of the user is changed by changing the holding manner, to reduce the hand injury of the user.

[0085] The embodiment of the present application also provides a cycling management method, which can identify the road condition of a front cycling section after identifying that the user is in the cycling state, and output prompt information based on the road condition, the prompt information being used to prompt the user to the holding manner suitable for the cycling section.

[0086] Because different holding manners are suitable for different road conditions, the correct use of the holding manner in different road conditions can accelerate the cycling speed of the user, improve the safety of the user, help the user to better master the holding manner that should be used in different road conditions, and improve the cycling skills of the user.

[0087] FIG. 3 is a flowchart of a riding management method according to an embodiment of the present application.

[0088] S101. The electronic device 100 identifies that the user is in a riding state.

[0089] For example, the electronic device 100 can be a mobile phone, a tablet, a computer, a watch, a bracelet, and the like. Preferably, the electronic device 100 can be a wearable device such as a watch, a bracelet, a ring, and the like. In this way, the electronic device 100 can be worn on the user's upper body such as the wrist, the arm, or the finger of the user during the user's riding, so as to collect relevant information such as an IMU signal during the user's riding, and facilitate the electronic device 100 to detect the motion state of the user.

[0090] For example, the electronic device 100 can be a watch worn on the wrist of the user.

[0091] It can be understood that, in addition to the device that can be directly worn on the user's body, the electronic device 100 can also be a device that can be worn on the user's body by means of a wearing accessory. For example, the electronic device 100 can be a mobile phone, and the mobile phone can be bound to the arm of the user by means of a band. The embodiments of the present application do not limit the form of the electronic device 100.

[0092] For example, the user is in a riding state means that the user is performing a riding motion, and correspondingly, the user is in a non-riding state means that the user is not performing a riding motion.

[0093] For example, the electronic device 100 can identify that the user is in a riding state by any one or more of the following manners:

[0094] 1) The electronic device 100 identifies that the user is in a riding state based on a user operation

[0095] For example, the user operation (for example, a first operation) can be a touch operation on a touch screen, a physical operation on a button, a voice instruction of the user, and the like. The embodiments of the present application do not limit the form of the user operation.

[0096] For example, FIG. 4 is a user interface 10 for initiating a riding motion according to an embodiment of the present application.

[0097] As shown in FIG. 4, the user interface 10 can include a start riding option 101. If the electronic device 100 detects a user operation on the start riding option 101, it means that the user starts a riding motion, and the electronic device 100 can consider that the user is in a riding state.

[0098] 2) The electronic device 100 identifies that the user is in a riding state based on state data of the user

[0099] The state data can be used to indicate the physical condition, motion condition, etc. of the user. For example, the state data can include, but is not limited to, one or more of the following: heart rate, respiration rate, body temperature, position, motion amplitude, motion frequency, motion posture, and the like.

[0100] Since the state data such as heart rate, respiration rate, body temperature, position, etc. can be different when the user is in the cycling state and when the user is in the non-cycling state, the electronic device 100 can determine whether the user is in the cycling state by identifying whether the collected state data conforms to the state data in the cycling state.

[0101] It should be noted that the state data can be data collected by the electronic device 100, data collected by other devices and sent to the electronic device 100, or data collected by the electronic device 100 and other devices together. Assuming that the electronic device 100 is a watch, the user also wears a ring that can detect the user's heart rate, the electronic device 100 can obtain the heart rate data collected by the ring.

[0102] It can be understood that the source of the state data is not limited in the embodiments of the present application.

[0103] For example, when the user is in the cycling state, the state data of the user can be used to indicate one or more of the following: the user is in a non-stationary state, the user's heart rate is greater than a threshold (e.g., a first threshold), the user is not in an underwater environment, the user's upper limbs are not performing periodic motion, the user's upper limb motion state conforms to the upper limb motion state in the cycling state, and the user's motion speed conforms to the motion speed in the cycling state.

[0104] The embodiments of the present application specifically provide a method for identifying the cycling state of a user based on state data of the user, which can be referred to the subsequent description of FIGS. 9A and 9B.

[0105] In some embodiments, if the electronic device 100 identifies that the user is in the cycling state based on the state data of the user, the electronic device 100 can output prompt information after identifying that the user is in the cycling state. The prompt information can be used to indicate that the electronic device 100 identifies that the user is in the cycling state.

[0106] For example, FIG. 5 is a user interface 20 displayed by the electronic device 100 according to an embodiment of the present application after identifying that the user is in the cycling state.

[0107] As shown in FIG. 5, the user interface 20 can include prompt information 201, which can be used to indicate that the electronic device 100 identifies that the user is in a riding state. Exemplarily, the prompt information 201 can be "It is detected that you have entered the outdoor riding exercise mode. Start real-time detection of your riding state…".

[0108] It can be understood that the electronic device 100 can also identify whether the user is in a riding state in combination with the user operation and the state data of the user. If it is identified based on the user operation that the user is in a riding state, and it is identified based on the state data of the user that the user is in a riding state, it is determined that the user is in a riding state. This is because it is considered that after the user initiatively initiates a riding exercise, there can be a preparation stage of several minutes before entering a riding state. Therefore, the state data of the user can be combined to comprehensively judge whether the user is in a riding state. In this way, the time point at which the user enters a riding state can be more accurately identified. Alternatively, although the state data of the user can identify that the user is in a riding state, there can be misidentification, or the user does not have the need for the electronic device 100 to assist the user in a riding exercise, for example, the electronic device 100 does not need to remind the user to hold the handlebar when the user does not hold the handlebar. Therefore, the user operation can also be combined to comprehensively judge whether the user is in a riding state. In this way, even if the user is in a riding state, the electronic device 100 can process the current state as a non-riding state based on the user operation, so as to avoid the electronic device 100 assisting the user in a riding exercise during the user's riding, for example, reminding the user to hold the handlebar when the user does not hold the handlebar.

[0109] For example, if the electronic device 100 identifies that the user is in a riding state by using the state data, the electronic device 100 can output prompt information (for example, the fifth prompt information) to prompt the user to confirm whether the current is in a riding state.

[0110] Exemplarily, FIG. 6 is a user interface 20 displayed by the electronic device 100 according to an embodiment of the present application after identifying that the user is in a riding state by using the state data.

[0111] As shown in FIG. 6, the user interface 20 can include prompt information 202, a confirmation option 203, and a cancel option 204. Wherein:

[0112] The prompt information 202 can be used to prompt the user to determine whether to be in a riding state. Exemplarily, the prompt information 202 can be "Please confirm whether you are currently riding?".

[0113] The confirmation option 203 can be used to trigger confirmation that the user is in a riding state. If the electronic device 100 detects a user operation acting on the confirmation option 203, the electronic device 100 determines that the user is in a riding state.

[0114] The cancel option 203 can be used to trigger the rejection of the confirmation that the user is in the riding state. If the electronic device 100 detects a user operation acting on the cancel option 204, the electronic device 100 can determine that the user is in a non-riding state.

[0115] Exemplarily, the user operation acting on the confirmation option 203 of the electronic device 100 can exist in multiple operation forms in addition to the touch operation acting on the display screen or the physical operation acting on the button, for example, the user operation can be an operation of touching the user's body (such as arm or cheek, etc.) using the electronic device 100, can also be a voice instruction of the user, can also be a specified limb action (such as violent shaking of the arm, clapping action, turning the wrist, etc.), can also be a specified gesture (such as double-finger pinch), and the like. It can be seen that these operation forms do not require the user to directly use the finger to process, or do not require the user to gaze at the display screen of the electronic device 100, which can avoid the user from dispersing attention to process the interactive event in the riding process, and improve the safety of the user in the riding process.

[0116] Alternatively, the electronic device 100 can also default that the user is in the riding state in the case that the user operation is not detected within the specified time length, so that the electronic device 100 can also not need to be limited to detecting the user operation to complete the identification of the riding state, and can also avoid the user from dispersing attention to process the interactive event in the riding process, and improve the safety of the user in the riding process.

[0117] That is to say, when the electronic device 100 outputs the prompt information prompting the user to confirm whether the current is in the riding state, the electronic device 100 can determine that the user is in the riding state in the case that the user operation (for example, the first operation) is detected, or the user operation is not received within the specified time length (for example, the fourth time length).

[0118] It can be understood that similarly, the user operations mentioned in the rest of the embodiments of the present application can also exist in the above-mentioned multiple operation forms or trigger the processing of the related events by default after waiting for a preset time length, so as to avoid the user from dispersing attention to process the interactive event on the electronic device 100, which can be correspondingly referred to later.

[0119] In some embodiments, after the electronic device 100 identifies that the user is in the riding state, the electronic device 100 can start to detect the related data of the user in the riding process, for example, the riding speed, heart rate, riding distance, riding time, and the like of the user.

[0120] In addition, if the electronic device 100 identifies that the user is in a riding state, the electronic device 100 can display a designated user interface that can be used to indicate that the user is currently in a riding state, for example, the user interface can be used to show the user's heart rate, riding speed, riding distance, riding time and the like during the riding process.

[0121] S102. The electronic device 100 identifies whether the user holds the handle.

[0122] Exemplarily, the electronic device 100 can identify whether the user holds the handle through a sensing signal, which can include: an inertial measurement unit (IMU) signal, and / or a photoplethysmography (PPG) signal.

[0123] The IMU signal can be collected through an IMU, and the PPG signal can be collected through a PPG module.

[0124] The IMU is a device for measuring the three-axis attitude angle (or angular velocity) and / or acceleration of an object. Generally, an IMU includes three single-axis accelerometers and three single-axis gyroscopes. The accelerometer detects the acceleration of the object in three-dimensional space, and the gyroscope detects the angular velocity of the object in three-dimensional space.

[0125] In the embodiments of the present application, the IMU signal can include: an acceleration signal collected by an accelerometer, and / or an angular velocity signal collected by a gyroscope.

[0126] If the electronic device 100 is a device worn on the upper limbs of the user, such as a watch, when the user does not hold the handle, the shaking of the handle during the riding process will not be transmitted to the user's hand, so the watch will not detect the shaking of the handle during the riding process. Correspondingly, when the user holds the handle, the shaking of the handle during the riding process will be transmitted to the user's hand, so the watch will detect the shaking of the handle during the riding process transmitted to the user's hand. This makes the fluctuation amplitude of the IMU signal detected by the watch when holding the handle larger than when not holding the handle.

[0127] That is, the electronic device 100 can identify whether the user holds the handle based on the fluctuation amplitude of the waveform of the IMU signal. If the fluctuation amplitude of the waveform is small, the probability that the user does not hold the handle is low, and if the fluctuation amplitude of the waveform is large, the probability that the user holds the handle is high.

[0128] For example, if the electronic device 100 identifies whether the user holds the handle based on the IMU signal, the electronic device 100 can identify whether the user holds the handle by inputting the IMU signal into a cycling classification model (e.g., a first cycling classification model). The cycling classification model can be used to identify whether the user holds the handle, and the cycling classification model can be trained based on IMU signals of test subjects whose holding of the handle is known during cycling.

[0129] In addition, PPG is a technology for sensing a change in hemoglobin concentration flowing inside a blood vessel on the surface of a human body using an optical sensor, thereby obtaining a pulse of the human body. Since the dilation and contraction of a muscle affect the flow of blood in a blood vessel, for example, the muscle squeezes the blood vessel when it contracts, reducing the flow of blood in the blood vessel, which is reflected in the collected PPG signal, and thus the contraction and dilation of the muscle can be identified through the PPG signal.

[0130] If the electronic device 100 is a device worn on the upper limbs of the user, for example, a watch, since the hand muscles are generally in a contracted state when the user holds the handle and the hand muscles are generally in a dilated state when the user does not hold the handle, the user can be identified as holding or not holding the handle based on the contraction and dilation of the muscle identified through the PPG signal.

[0131] For example, if the electronic device 100 identifies whether the user holds the handle based on the PPG signal, the electronic device 100 can also identify whether the user holds the handle by inputting the PPG signal into a cycling classification model (e.g., a second cycling classification model). The cycling classification model can be used to identify whether the user holds the handle, and the cycling classification model can be trained based on PPG signals of test subjects whose holding of the handle is known during cycling.

[0132] For example, the electronic device 100 can also identify whether the user holds the handle in combination with the IMU signal and the PPG signal. Compared to using the IMU signal or the PPG signal, identifying whether the user holds the handle in combination with the IMU signal and the PPG signal can improve the accuracy of identifying whether the user holds the handle. For example, the electronic device 100 can also identify whether the user holds the handle by inputting the IMU signal and the PPG signal into a cycling classification model (e.g., a third cycling classification model). The cycling classification model can be used to identify whether the user holds the handle, and the cycling classification model can be trained based on IMU signals and PPG signals of test subjects whose holding of the handle is known during cycling.

[0133] In summary, the electronic device 100 can identify whether the user holds the handle by inputting the sensing signal into a cycling classification model. The cycling classification model can be trained based on sensing signals of test subjects whose holding of the handle is known during cycling, and the sensing information can include an IMU signal and / or a PPG signal.

[0134] If the electronic device 100 identifies that the user does not hold the handle, the electronic device 100 can perform step S103.

[0135] In some embodiments, when the electronic device 100 identifies that the user does not hold the handle, it can also specify which hand of the user does not hold the handle, taking into account that if the electronic device 100 is a watch worn on the user's wrist, the electronic device 100 can identify which hand of the user it is specifically worn on, for example, the electronic device 100 can identify whether the watch is worn on the left hand or the right hand through the action trajectory, moving direction, etc. when the user moves the hand. Then, when the electronic device 100 identifies that the user does not hold the handle, it can specify whether the user's left hand or right hand does not hold the handle.

[0136] In addition, for the hand of the user that does not wear the electronic device 100, the electronic device 100 can also identify whether the hand holds the handle, because when the user holds the handle with the left hand only, holds the handle with the right hand only, and does not hold the handle with both hands, the user will also have differences in mastering the balance of the vehicle, which leads to the motion trajectory and motion posture of the hand of the user that wears the electronic device 100 during the riding process will also be different, therefore, the electronic device 100 can also identify whether the hand that does not wear the electronic device 100 holds the handle through the motion of holding the handle with the left hand only, holding the handle with the right hand only, and not holding the handle with both hands.

[0137] S103. The electronic device 100 outputs first prompt information for prompting the user to hold the handle.

[0138] The electronic device 100 can output the first prompt information through one or more of outputting vibration, voice, display screen, etc. The embodiments of the present application do not limit the way the electronic device outputs the first prompt information. It should be understood that for the prompt information mentioned elsewhere in the embodiments of the present application, the way of outputting the prompt information can also exist one or more of outputting vibration, voice, display screen, etc. which will not be described in detail hereinafter.

[0139] Exemplarily, FIG. 7 is a user interface 30 displayed by the electronic device 100 provided by the embodiments of the present application when the electronic device 100 identifies that the user does not hold the handle.

[0140] As shown in FIG. 7, the user interface 30 can include prompt information 301, which can be used to prompt the user to hold the handle in time. Exemplarily, the prompt information 301 can be "It is detected that you do not hold the handle at present, please hold the handle in time".

[0141] That is, if the electronic device 100 identifies that the user does not hold the handle, the electronic device 100 can output prompt information in time to remind the user to hold the handle, to ensure the safety of the user during the riding process.

[0142] In some embodiments, if the electronic device 100 identifies that the user does not hold the handle, the electronic device 100 can further identify whether the hand of the user that does not hold the handle is the left hand, the right hand, or both hands, and the first prompt information can be specifically used to prompt the left hand, the right hand, or both hands of the user that does not hold the handle to hold the handle.

[0143] In some embodiments, the electronic device 100 can output the first prompt information when it identifies that the user does not hold the handle and identifies that a first condition is met. The first condition can include one or more of the following: the duration for which the user does not hold the handle exceeds a preset duration (e.g., a first duration), the riding section is bumpy, the riding section has complex road conditions, and the riding speed is greater than a threshold (e.g., a second threshold).

[0144] The riding section can refer to a section that the user is currently riding or a section that will be ridden in a distance ahead of the user. The riding section being bumpy can refer to the road surface being uneven, and the road conditions being complex can include, but are not limited to, complex traffic, complex terrain, and a large number of pedestrians.

[0145] That is, in addition to identifying that the user does not hold the handle, the electronic device 100 needs to identify that the first condition is met before outputting the first prompt information. For example, if the first condition is that the duration for which the user does not hold the handle exceeds the preset duration, the electronic device 100 may not remind the user to hold the handle when it identifies that the user does not hold the handle, but the electronic device 100 can remind the user to hold the handle when the duration for which the user does not hold the handle is too long. For another example, if the first condition is that the riding section ahead is bumpy, the electronic device 100 can remind the user to hold the handle when it identifies that the user does not hold the handle and the riding section ahead is bumpy. For another example, if the first condition is that the riding speed is greater than the threshold, the electronic device 100 can remind the user to hold the handle when it identifies that the user does not hold the handle and the user's riding speed is too fast.

[0146] In this way, the frequency of the electronic device 100 outputting the first prompt information can be reduced, and at the same time, the electronic device 100 can timely remind the user to hold the handle when the user's riding risk is high, so as to avoid dangerous accidents as much as possible.

[0147] Exemplarily, FIG. 8 is a user interface 40 displayed by the electronic device 100 according to an embodiment of the present application when the electronic device 100 identifies that the user does not hold the handle and the first condition is met.

[0148] For example, FIG. 8(a) takes the bumpy riding section ahead as the first condition, and as shown in FIG. 8(a), the user interface 40 can include a prompt information 401, which can be "the road ahead is bumpy, please hold the handle tightly". FIG. 8(b) takes the riding speed being greater than the threshold as the first condition, and as shown in FIG. 8(b), the user interface 40 can include a prompt information 402, which can be "the current riding speed is fast, please hold the handle tightly".

[0149] In some embodiments, the electronic device 100 can continuously identify whether the user holds the handle, and if it is identified that the user continuously does not hold the handle, the electronic device 100 can output the first prompt information again after an interval of a preset time length (for example, a second time length) to remind the user to hold the handle.

[0150] Exemplarily, the preset time length can be a time length preset by the electronic device 100, or a time length set by the user, and the like.

[0151] In a possible implementation, the preset time length can be a time length determined according to the riding speed of the user, and the faster the riding speed of the user, the shorter the preset time length, and the slower the riding speed of the user, the longer the preset time length. For example, if the riding speed is a first speed, the preset time length can be a first value, and if the riding speed is a second speed, the preset time length can be a second value, wherein the first speed is greater than the second speed, and the first value is less than the second value.

[0152] In this way, the electronic device 100 can shorten the time interval for reminding the user to hold the handle when the riding speed is fast, and lengthen the time interval for reminding the user to hold the handle when the riding speed of the user is slow.

[0153] In addition, if the electronic device 100 identifies that the user holds the handle in step S102, the electronic device 100 can output prompt information (for example, second prompt information), which can be used to indicate the holding manner of the user identified by the electronic device 100. That is, if the electronic device 100 identifies that the user holds the handle, the electronic device 100 can display the holding manner identified by the electronic device 100 to the user, so that the user can know the holding manner used when riding.

[0154] The specific content about the electronic device 100 outputting the prompt information when identifying that the user holds the handle can be referred to the detailed content of subsequent FIG. 10, which will not be expanded here.

[0155] Further, in addition to identifying whether the user holds the handle through the above-mentioned riding classification model, the electronic device 100 can also identify whether the user changes the holding state by comparing whether the sensing signals collected at different times change, and identify whether the user currently holds the handle by whether the holding state changes, the sensing signals including: IMU signals and / or PPG signals.

[0156] It can be understood that this way of identifying whether the user holds the handle by comparing the sensing signals needs to know whether the user historically holds the handle, and whether the user currently holds the handle can be derived by comparing the historically collected sensing signals with the currently collected sensing signals, that is, by whether the holding state changes.

[0157] For example, if the electronic device 100 collects a first sensing signal by using history, it is identified that the user does not hold the handle, and then if the electronic device 100 collects a second sensing signal, when the electronic device 100 identifies whether the user holds the handle by using the second sensing signal, the electronic device 100 can identify whether the holding state of the user changes by comparing the first sensing signal and the second sensing signal, and if the holding state of the user changes, it is determined that the user holds the handle, and if the holding state of the user does not change, it is determined that the user does not hold the handle. In this way, without inputting the second sensing signal to the cycling classification model, it is also possible to quickly identify whether the user holds the handle.

[0158] In this case, the electronic device 100 identifies whether the holding state of the user changes by comparing the sensing signals, and specifically, the electronic device 100 can compare whether the features of the sensing signals are the same or the difference is less than a threshold value (for example, a third threshold value), and if the features are the same or the difference is less than the threshold value, the holding state of the user does not change, and if the features are different or the difference is greater than the threshold value, the holding state of the user changes.

[0159] For example, the features can include one or more of the following: half-wave ratio, variance, peak value, trough value, Euclidean distance of feature values, etc.

[0160] Taking the above-mentioned first sensing signal and second sensing signal as an example, if the features of the first sensing signal and the second sensing signal are different or the difference is greater than the threshold value, it is determined that the user holds the handle, and if the features of the first sensing signal and the second sensing signal are the same or the difference is less than the threshold value, it is determined that the user does not hold the handle.

[0161] Further, if it is identified that the holding state of the user changes to the user holding the handle by comparing the first sensing signal and the second sensing signal, the electronic device 100 can identify the holding manner of the user based on the second sensing signal and output prompt information indicating the holding manner.

[0162] That is, if the electronic device 100 identifies that the user is currently in the state of holding the handle while cycling by comparing the sensing signals, the electronic device 100 can further identify the holding manner actually used by the user in the cycling process by the collected sensing signals and display it to the user so that the user can know the holding manner used by himself while cycling.

[0163] As can be seen, compared with directly inputting the second sensing signal to the cycling classification model to identify whether the user holds the handle, first identifying whether the holding manner of the user changes by comparing the first sensing signal and the second sensing signal, if the holding manner of the user does not change, the electronic device 100 does not need to go through the identification of the cycling classification model, so that the power consumption of the electronic device 100 can be reduced.

[0164] As can be seen from steps S101-S103, the electronic device 100 can identify whether the user holds the handle during the user's riding, and timely remind the user to hold the handle when the user does not hold the handle, so as to ensure the user's safe riding as much as possible.

[0165] FIG. 9A is a schematic diagram of modules involved in identifying whether the user is in a riding state according to an embodiment of the present application.

[0166] As shown in FIG. 9A, the electronic device 100 can include a state identification module and a riding identification module. Wherein:

[0167] The state identification module can be used to identify whether the user state conforms to the state under riding. For details, please refer to the related description of subsequent step S201.

[0168] The riding identification module can be used to identify whether the user is in a riding state. In detail, the riding identification module can include a periodic motion detection module, a riding rough identification module, and a speed detection module. Wherein, the periodic motion detection module can be used to identify whether the user's upper limbs are in periodic motion. For details about the content of the periodic motion detection module, please refer to the related description of subsequent step S202. The riding rough identification module can be used to identify whether the user's upper limb motion state conforms to the upper limb motion state under riding. For details about the content of the riding rough identification module, please refer to the related description of subsequent step S203. The speed detection module can be used to identify whether the user's motion speed conforms to the motion speed under riding. For details about the content of the speed detection module, please refer to the related description of subsequent step S204.

[0169] As can be seen from FIG. 9A, the electronic device 100 can use the user's state data to finally determine whether the user is in a riding state or a non-riding state after identification by multiple modules, so as to achieve identification of whether the user is in a riding state based on the user's state data. In this way, the electronic device 100 can identify whether the user is in a riding state from multiple aspects in combination with multiple modules, thereby improving the accuracy of riding state identification.

[0170] The following describes the multiple modules shown in FIG. 9A in detail.

[0171] FIG. 9B is a schematic diagram of a method flow for identifying a user's riding state according to an embodiment of the present application.

[0172] S201. The electronic device 100 identifies whether the user state conforms to the state under riding.

[0173] Wherein, identifying whether the user state conforms to the state under riding can be identified from one or more of the following aspects:

[0174] 1) Identify whether the user is stationary

[0175] Since the user should be in a non-stationary state when riding, if it is identified that the user is stationary, it can be considered that the user is in a non-riding state, and if it is identified that the user is not stationary, it can be considered that the user is likely in a riding state. Therefore, whether the user state conforms to the state under riding can be identified by identifying whether the user is stationary.

[0176] For example, the electronic device 100 can identify whether the user is stationary through state data collected by the sensor. For example, the electronic device 100 can identify whether the user is stationary by using acceleration information collected by an acceleration sensor and angular velocity information collected by a gyroscope.

[0177] It can be understood that the electronic device 100 can also identify whether the user is stationary in other manners, which are not limited in the embodiments of the present application.

[0178] 2) Identify whether the user's heart rate is greater than a threshold value (for example, a first threshold value)

[0179] If the user is in a riding state, the user will have a high heart rate due to exercise. Therefore, whether the user state conforms to the state under riding can be identified by identifying whether the user's heart rate is greater than a threshold value.

[0180] For example, the threshold value can be a value preset by a developer in the electronic device 100, or a value determined by the electronic device 100 according to the user's historical heart rate when in a riding state. The source of the threshold value is not limited in the embodiments of the present application.

[0181] For example, the electronic device 100 can measure the user's heart rate by using a PPG signal collected by a PPG module.

[0182] 3) Identify whether the user is in an underwater environment

[0183] The user being in an underwater environment can refer to a scenario in which the user is in contact with water, such as a scenario in which the user is swimming, washing hands, and the like.

[0184] Since the user is usually not in contact with water when riding, if it is identified that the user is in an underwater environment, it can be considered that the user is in a non-riding state, and if it is identified that the user is not in an underwater environment, it can be considered that the user is likely in a riding state. Therefore, whether the user state conforms to the state under riding can be identified by identifying whether the user is in an underwater environment.

[0185] For example, since the temperature under water is different from the temperature in air, the electronic device 100 can identify whether the user is in an underwater environment by using an environmental temperature collected by a temperature sensor.

[0186] In the method, the electronic device 100 can determine that the user state conforms to the state under cycling when one or more of the following conditions are met: the user is in a non-stationary state, the heart rate of the user is greater than a threshold, and the user is not in an underwater environment.

[0187] It can be understood that, in addition to the three aspects mentioned above, the electronic device 100 can also identify whether the user state conforms to the state under cycling from other aspects, and the embodiments of the present application do not limit this.

[0188] If the user state conforms to the state under cycling, the electronic device 100 performs step S202, otherwise, the electronic device 100 performs step S206, that is, it is determined that the user is in a non-cycling state.

[0189] It should be noted that, in step S101, the user state conforming to the state under cycling means that the user is more likely to be in a cycling state, not that it is determined that the user is in a cycling state. After the electronic device 100 determines that the user state conforms to the state under cycling, it can further combine the cycling identification of subsequent steps S202-S204 to accurately identify whether the user is in a cycling state. If the electronic device 100 determines that the user state does not conform to the state under cycling, it can be considered that the user is not likely to be in a cycling state, or the possibility of being in a cycling state is low, so there is no need to perform the cycling identification of subsequent steps S202-S205. This can reduce the computational load of the electronic device 100 and reduce the power consumption of the electronic device 100.

[0190] S202. The electronic device 100 determines whether the upper limbs of the user are performing periodic motion.

[0191] Since the user's hands usually need to be held on the handlebars during cycling, even if the user's hands are not held on the handlebars, they will not need to perform periodic motion of the upper limbs as required by movements such as walking or running. Therefore, the electronic device 100 can identify whether the user's upper limbs are performing periodic motion to reflect the possibility of the user currently performing cycling motion.

[0192] For example, the electronic device 100 can identify whether the user's upper limbs are performing periodic motion by obtaining the IMU signal of the upper limbs. Specifically, the electronic device 100 can calculate the time interval between two adjacent peaks in the IMU signal. If the difference between these time intervals is small, it can be considered that the user's upper limbs are performing periodic motion, otherwise, it can be considered that the user's upper limbs are not performing periodic motion.

[0193] It can be understood that the electronic device 100 can also identify whether the user's upper limbs are performing periodic motion by other means, and the embodiments of the present application do not limit this.

[0194] If the upper limbs of the user are not performing periodic motion, the electronic device 100 performs step S203, otherwise, the electronic device 100 performs step S206, that is, it is determined that the user is in a non-cycling state.

[0195] That is, if the upper limbs of the user are not performing periodic motion, it means that the user is more likely to be in a cycling state, so the electronic device 100 can continue to perform the cycling recognition of the subsequent steps S203-S204 to accurately identify whether the user is in a cycling state, and if the upper limbs of the user are performing periodic motion, it means that the user may be performing motion such as walking or running, and it can be considered that the user is not likely to be in a cycling state or is less likely to be in a cycling state, so there is no need to perform the cycling recognition of the subsequent steps S203-S204, which can reduce the computational amount of the electronic device 100 and reduce the power consumption of the electronic device 100.

[0196] It can be understood that the electronic device 100 can also judge whether other limb parts of the user, such as the lower limbs, are performing periodic motion, in which case, if the lower limbs of the user are performing periodic motion, the user is likely to be in a cycling state, and the electronic device 100 can continue to perform the cycling recognition of the subsequent steps S203-S204 to accurately identify whether the user is in a cycling state, and if the lower limbs of the user are not performing periodic motion, it can be considered that the user is not likely to be in a cycling state or is less likely to be in a cycling state, so it is determined that the user is in a non-cycling state. For example, similar to judging whether the upper limbs are performing periodic motion, the electronic device 100 can identify whether the lower limbs of the user are performing periodic motion by acquiring the IMU signal transmitted by the lower limbs. For example, if the electronic device 100 is worn on the feet of the user, the electronic device 100 can collect the IMU signal transmitted by the lower limbs, and if the user wears other devices that can collect IMU signals on the feet in addition to the electronic device 100, the electronic device 100 can acquire the IMU signal of the lower limbs through the device worn by the user on the feet.

[0197] S203. The electronic device 100 identifies whether the upper limb motion state of the user conforms to the upper limb motion state in cycling.

[0198] For example, the electronic device 100 can use the sensing signal of the upper limbs to identify whether the upper limb motion state of the user conforms to the upper limb motion state in cycling. The sensing signal can include an IMU signal and / or a PPG signal.

[0199] Specifically, the electronic device 100 can input the sensing signal into the cycling self-recognition model to recognize whether the upper limb movement state of the user conforms to the upper limb movement state under cycling. Illustratively, the cycling self-recognition model can output a confidence score of the model, and the score can be used to indicate the degree to which the upper limb movement state of the user conforms to the upper limb movement state under cycling. For example, if the score output by the cycling self-recognition model is greater than a threshold value, it can be considered that the upper limb movement state of the user conforms to the upper limb movement state under cycling, otherwise, it can be considered that the upper limb movement state of the user does not conform to the upper limb movement state under cycling.

[0200] The cycling self-recognition model can be used to recognize whether the upper limb movement state of the user conforms to the upper limb movement state under cycling. Wherein, if the sensing signal is an IMU signal, the cycling self-recognition model can be trained by using the IMU signals of the upper limb collected when the test personnel are in the cycling state and the IMU signals of the upper limb collected when the test personnel are in the non-cycling state, if the sensing signal is a PPG signal, the cycling self-recognition model can be trained by using the PPG signals of the upper limb collected when the test personnel are in the cycling state and the PPG signals of the upper limb collected when the test personnel are in the non-cycling state, and if the sensing signal includes the IMU signal and the PPG signal, the cycling self-recognition model can be trained by using the IMU signals and the PPG signals of the upper limb collected when the test personnel are in the cycling state, and the IMU signals and the PPG signals of the upper limb collected when the test personnel are in the non-cycling state.

[0201] It can be understood that in addition to using the model, the electronic device 100 can also recognize whether the hand movement of the user conforms to the hand movement under the cycling state by other manners, which is not limited in the embodiments of the present application.

[0202] If the upper limb movement state of the user conforms to the upper limb movement state under cycling, the electronic device 100 can execute step S204, otherwise, the electronic device 100 executes step S206, i.e., determines that the user is in the non-cycling state.

[0203] That is to say, if the upper limb movement state of the user conforms to the upper limb movement state under cycling, the user is more likely to be in the cycling state, therefore, the electronic device 100 can continue to execute the cycling recognition of step S204 to accurately recognize whether the user is in the cycling state, and if the upper limb movement state of the user does not conform to the upper limb movement state under cycling, it can be considered that the user is not likely to be in the cycling state, or the possibility of being in the cycling state is low, therefore, it is not necessary to perform the cycling recognition of subsequent step S204, which can reduce the operation amount of the electronic device 100 and reduce the power consumption of the electronic device 100.

[0204] It should be noted that if the electronic device 100 can obtain motion data of other limb parts of the user, the electronic device 100 can also identify whether the motion state of the other limb parts of the user conforms to the motion of the limb part in the riding state. For example, if the electronic device 100 is worn on the leg of the user, the electronic device 100 can collect the state data of the lower limbs of the user, identify whether the motion state of the lower limbs of the user conforms to the motion state of the lower limbs in the riding state based on the state data, and if the user wears other devices that can collect state data on the leg in addition to the electronic device 100, the electronic device 100 can collect the state data of the lower limbs through the device worn on the lower limbs, and then identify whether the motion state of the lower limbs of the user conforms to the motion state of the lower limbs in the riding state based on the state data.

[0205] S204. The electronic device 100 identifies whether the motion speed of the user conforms to the motion speed in the riding state.

[0206] It should be noted that although it is determined that the motion state of the upper limbs of the user conforms to the motion state of the upper limbs in the riding state through step S203, there are still some scenarios that may be misidentified, such as a scenario of using a fascia gun or a scenario of getting on a bicycle for fitness, in which the motion state of the upper limbs of the user also conforms to the motion state of the upper limbs in the riding state. Therefore, it is also possible to identify whether the motion speed of the user conforms to the motion speed in the riding state, thereby improving the accuracy of the identification of the riding motion and avoiding misidentifying certain special scenarios as the riding motion.

[0207] For example, the electronic device 100 can obtain the position information of the user through a global positioning system (GPS), and identify whether the motion speed of the user conforms to the motion speed in the riding state based on the position information of the user. For example, if the motion speed of the user is within a preset range, it is determined that the motion speed of the user conforms to the motion speed in the riding state, otherwise, it is determined that the motion speed of the user does not conform to the motion speed in the riding state.

[0208] If the motion speed of the user conforms to the motion speed in the riding state, the electronic device 100 performs step S205, otherwise, the electronic device 100 performs step S206, i.e., determines that the user is in a non-riding state.

[0209] That is, if it is determined that the motion speed of the user conforms to the motion speed in the riding state, it is determined that the user is in the riding state, otherwise, it is determined that the user is in the non-riding state.

[0210] S205. The electronic device 100 determines that the user is in the riding state.

[0211] S206. The electronic device 100 determines that the user is in the non-riding state.

[0212] As can be seen from steps S201-S206, the electronic device 100 can identify whether the user is in the cycling state through multiple judgments, and when one of the judgments is not met, the electronic device 100 will exit the judgment step, reducing the operation amount of the electronic device 100.

[0213] It should be noted that the embodiments of the present application do not limit the execution order of the above steps S201-S204. For example, step S204 can be located before step S203, so that the electronic device 100 can first identify whether the user's motion speed meets the motion speed under cycling, and then identify whether the user's hand motion meets the hand motion under the cycling state. For another example, the electronic device 100 can execute steps S201 and S202 at the same time, so that the electronic device 100 can execute the subsequent steps when it is identified that the user state meets the state under cycling and the user is in periodic motion, otherwise the electronic device 100 can consider that the user is in a non-cycling state. In addition, any one or more steps in the above steps S201-S204 can be optional steps, for example, the electronic device 100 can not execute step S201, and identify whether the user is in the cycling state through steps S202-S204. In addition, other related judgment steps for identifying whether the user is in the cycling state can be added in the above steps S201-S206, and the embodiments of the present application do not limit this.

[0214] FIG. 10 is a flowchart of another cycling management method provided by the embodiments of the present application.

[0215] S301. The electronic device 100 identifies that the user is in the cycling state.

[0216] Exemplarily, the electronic device 100 can be a device worn on the user's body, such as an upper limb device.

[0217] The specific content of step S301 can be referred to the description of step S101 above, which will not be repeated here.

[0218] S302. The electronic device 100 identifies the user's grip manner.

[0219] Exemplarily, the electronic device 100 can identify the user's grip manner through a sensing signal, which can include an IMU signal and / or a PPG signal. The IMU signal can include an acceleration signal and / or an angular velocity signal.

[0220] Because the user's arm orientation and placement position are different when the user uses different grip manners, which makes the IMU signals collected by the electronic device 100 under different grip manners of the user different, which is specifically reflected in the different IMU signal components collected on three axes.

[0221] That is, whether the user's holding manner is the specified holding manner can be determined by judging whether the signal components of the IMU signal in the respective axial directions conform to the signal components of the IMU signal in the respective axial directions in the specified holding manner.

[0222] In addition, since the force exertion positions on the user's hand are different when the user uses different holding manners, the muscles that contract and relax in the user's upper limbs are also different, and the PPG signal can identify the contraction and relaxation of the muscles, so the muscles that contract and relax in the user's upper limbs during cycling can be identified through the PPG signal.

[0223] That is, whether the user's holding manner is the specified holding manner can be determined by judging whether the muscles that contract and relax identified by the PPG signal conform to the muscles that contract and relax in the specified holding manner.

[0224] In addition, in order to improve the accuracy of identification, the electronic device 100 can also identify the user's holding manner in combination with the IMU signal and the PPG signal.

[0225] Similar to the description in step S102, the electronic device 100 can identify the user's holding manner by inputting the sensing signal into the cycling classification model, which can be used for the holding manner of the device user, and the cycling classification model can be obtained by training the sensing information of the test personnel with known holding manner during cycling.

[0226] It should be noted that the cycling classification model mentioned in step S302 and the cycling classification model mentioned in step S102 can have the following two cases:

[0227] 1) The two models are different models

[0228] In this case, the model in step S102 is used to identify whether the user holds the handle, and the model in step S302 is used to identify the user's holding manner, that is, in step S102, the electronic device 100 uses the cycling classification model to identify whether the user holds the handle or not, and cannot identify the user's holding manner in the case of identifying that the user holds the handle. In step S302, the electronic device 100 uses the cycling classification model to identify which holding manner the user uses, and cannot identify whether the user holds the handle.

[0229] In specific applications, the electronic device 100 can first use the cycling classification model mentioned in step S102 to identify whether the user holds the handle, and in the case of identifying that the user holds the handle, the cycling classification model mentioned in step S302 can be used to identify the user's holding manner. In specific applications, the electronic device 100 can first use the cycling classification model mentioned in step S102 to identify whether the user holds the handle, and in the case of identifying that the user holds the handle, the cycling classification model mentioned in step S302 can be used to identify the user's holding manner.

[0230] 2) The two models are the same model

[0231] In this case, the model mentioned in step S102 and step S302 is the same model, and the model can be used to identify whether the user holds the handlebar and identify the user's holding manner when the user holds the handlebar. The cycling classification model can be trained according to the sensing signals when the test person does not hold the handlebar and the sensing signals when the test person holds the handlebar in multiple holding manners.

[0232] S303. The electronic device 100 outputs second prompt information, which is used to indicate the user's holding manner.

[0233] If the user's holding manner is identified, the electronic device 100 can output second prompt information to show the user the currently used holding manner, so that the user knows the holding manner used in the cycling process.

[0234] In some embodiments, in addition to showing the user's holding manner, the electronic device 100 can also show other information of the user in the cycling process, so that the user can know the motion in the cycling process in an all-round way. Exemplarily, the information can include but is not limited to one or more of the following: cycling speed, cycling distance, heart rate, cycling time, respiratory rate, body temperature, blood pressure, etc.

[0235] Exemplarily, FIG. 11 is a user interface 50 displayed by the electronic device 100 provided by an embodiment of the present application after identifying the user's holding manner.

[0236] As shown in FIG. 11, the user interface 50 can include: handle position information 501, speed information 502, distance information 503, heart rate information 504, and time information 505.

[0237] The handle position information 501 can be used to show the holding manner identified by the electronic device 100, for example, horizontal handle position, upper handle position, lower handle position, etc., the speed information 502 can be used to show the cycling speed of the user calculated by the electronic device 100, the distance information 503 can be used to show the cycling distance of the user calculated by the electronic device 100, the heart rate information 504 can be used to show the heart rate of the user detected by the electronic device 100, and the time information 505 can be used to show the cycling time of the user recorded by the electronic device 100. Exemplarily, referring to FIG. 11, the handle position information 501 can be shown as "horizontal handle position", the speed information 502 can be shown as "1.72km / h", the distance information 503 can be shown as "6.23km", the heart rate information 504 can be shown as "121bpm", and the time information 505 can be shown as "00:34:12".

[0238] Further, during the user's riding, the electronic device 100 can continuously identify the user's holding manner, and after the user's holding manner changes, the electronic device 100 can update the holding manner indicated in the second prompt information, so that the user can learn the holding manner after the user's switching in time.

[0239] Wherein, when the electronic device 100 identifies the user's holding manner again, there can be the following two cases:

[0240] 1) The electronic device 100 can continue to use the riding classification model mentioned in step S302 to identify the user's holding manner

[0241] 2) The electronic device 100 can identify whether the user changes the holding manner by comparing whether the sensing signals collected at different times change, and further identify the holding manner currently used by the user through the change of the holding manner

[0242] Exemplarily, the electronic device 100 can identify whether the user changes the holding manner by comparing whether the features of the sensing signals are the same or the gap is less than a threshold value, for example, if the features of the sensing signals collected at the first time and the second time are the same or the gap is less than a threshold value, it is determined that the user does not change the holding manner.

[0243] The detailed content of the electronic device 100 using the features of the sensing signals to identify whether the user changes the holding manner can refer to the above-mentioned description of using the features of the sensing signals to identify whether the user changes the holding state in step S103, which will not be repeated here.

[0244] Further, in case 2), if it is identified that the user changes the holding manner, the electronic device 100 can use the riding classification model mentioned in step S302 to identify the user's holding manner, and if it is identified that the user's holding manner does not change, the electronic device 100 does not need to use the riding classification model mentioned in step S302 to identify the user's holding manner again, which can reduce the operation amount of the electronic device 100 and save the power consumption of the electronic device 100.

[0245] It should be noted that when the electronic device 100 compares whether the sensing signals collected at different time points change, if the sensing signals change, it is also possible that the user changes the holding state, for example, from the user holding to the user not holding, therefore, the electronic device 100 can also identify whether the user is currently holding, to identify the user's holding manner in the case of the user holding, or if the electronic device 100 can simultaneously achieve the identification of whether the user is holding and the user's holding manner, the electronic device 100 can identify whether the holding manner is changed or the holding state is changed.

[0246] In some embodiments, the content related to the holding manner of the user displayed by the electronic device 100 in steps S301-S303 can be combined into steps S101-S103.

[0247] Specifically, in step S102, if the electronic device 100 identifies that the user is holding, the electronic device 100 can output second prompt information to display the holding manner of the user identified by the electronic device 100.

[0248] The holding manner of the user can be identified by the electronic device 100 when identifying whether the user is holding in step S102, or can be identified by the electronic device 100 after identifying that the user is holding in step S102.

[0249] For example, if the cycling classification models in steps S102 and S302 are the same model, the holding manner of the user can be identified by the electronic device 100 when identifying whether the user is holding in step S102. If the cycling classification models in steps S102 and S302 are different models, the holding manner of the user can be identified by the electronic device 100 after identifying that the user is holding by the cycling classification model in step S102, and then identified by the cycling classification model in step S302.

[0250] When the user is cycling, the user usually holds the handlebar for a long time. The shaking of the vehicle during cycling is transmitted to the user's hand through the handlebar, so that the user's upper limbs are in a shaking state for a long time. Long-term shaking of the upper limbs can easily cause injury to the user's upper limbs. Therefore, timely reminding the user to change the holding manner is helpful for the user to safely cycle.

[0251] Based on this, the embodiments of the present application provide a cycling management method, which can evaluate the upper limb vibration condition of the user during cycling, and output prompt information in a timely manner based on the upper limb vibration condition of the user, prompting the user to change the holding manner, so that the user's hand can be slightly relaxed during the change of the holding manner, or the force bearing position of the user's upper limbs can be changed by changing the holding manner, thereby reducing the injury of the user's upper limbs.

[0252] FIG. 12 is a flowchart of another cycling management method provided by the embodiments of the present application.

[0253] S401. The electronic device 100 identifies that the user is in a cycling state.

[0254] S402. The electronic device 100 identifies whether the user is holding.

[0255] If the electronic device 100 identifies that the user is holding, the electronic device 100 can perform step S403.

[0256] The details of steps S401-S402 can refer to the description of steps S101-S102 above, and will not be repeated here.

[0257] S403. The electronic device 100 calculates a vibration index of the user, which describes the vibration amplitude of the upper limbs of the user during the riding process.

[0258] If the user's grip is identified, the electronic device 100 can calculate the vibration index of the user, through which the risk of injury to the user's upper limbs can be evaluated.

[0259] Exemplarily, the vibration index can be calculated by using the IMU signal, for example, the vibration index can include but is not limited to one or more of the following: hand-transmitted vibration exposure, variance of the IMU signal, frequency of the IMU signal.

[0260] The hand-transmitted vibration exposure is an important indicator for evaluating the degree of hand-transmitted vibration exposure.

[0261] Exemplarily, the hand-transmitted vibration exposure can be calculated by the following formula 1:

[0262] In formula 1, T represents time, a w (t) represents the IMU signal, a w.rms represents the hand-transmitted vibration exposure.

[0263] It can be understood that the electronic device 100 can also calculate the vibration index of the user in other ways, for example, the electronic device 100 can calculate the vibration index by the road surface flatness of the section of the road on which the user rides, because it is considered that if the road surface is relatively flat, the amplitude of the vehicle shaking during the riding process can be small, and then the vibration amplitude transmitted to the user's upper limbs is also small, and if the road surface is relatively rugged, the amplitude of the vehicle shaking during the riding process can be large, and then the vibration amplitude transmitted to the user's upper limbs is also large. Therefore, in addition to calculating the vibration index by collecting the IMU signal of the user and using the IMU signal, the electronic device 100 can also calculate the vibration index by obtaining the terrain of the section of the road on which the user rides, analyzing the road surface flatness by the terrain, and then using the road surface flatness of the section of the road on which the user rides. The calculation method of the vibration index is not limited in the embodiments of the present application.

[0264] S404. The electronic device 100 judges whether the vibration index is greater than a threshold value, and / or whether the duration for which the vibration index is greater than the threshold value is greater than a preset duration.

[0265] If the vibration index is greater than the threshold value (e.g., the fourth threshold value), and / or, the duration for which the vibration index is greater than the threshold value is greater than the preset duration (e.g., the third duration), the user has a greater risk of upper limb injury, and the electronic device 100 can perform step S405, that is, output prompt information to remind the user to change the holding manner, otherwise, the electronic device 100 can continue to identify the holding manner of the user, and continue to calculate the vibration index of the user in the holding manner of the user, so that the electronic device 100 can timely remind the user to change the holding manner when the user has a greater risk of upper limb injury.

[0266] In some embodiments, in addition to determining whether the vibration index is greater than the threshold value, and / or, whether the duration for which the vibration index is greater than the threshold value is greater than the preset duration, the electronic device 100 can also identify whether the duration for which the user maintains the same holding manner is greater than the preset duration (e.g., the fourth duration), so that in addition to evaluating the risk of upper limb injury of the user through the vibration index, the risk of upper limb injury of the user can also be evaluated in combination with the duration for which the user maintains the same holding manner, thereby improving the accuracy of the risk evaluation of the upper limb injury of the user.

[0267] For example, the electronic device 100 can first determine whether the vibration index is greater than the threshold value, and / or, whether the duration for which the vibration index is greater than the threshold value is greater than the preset duration, and then determine whether the duration for which the user maintains the same holding manner is greater than the preset duration. Specifically, the electronic device 100 can determine whether the duration for which the user maintains the same holding manner is greater than the preset duration, if the vibration index is greater than the threshold value, and / or, the duration for which the vibration index is greater than the threshold value is greater than the preset duration, and if the duration for which the user maintains the same holding manner is greater than the preset duration, the electronic device 100 can perform step S405.

[0268] For example, the electronic device 100 can also first determine whether the duration for which the user maintains the same holding manner is greater than the preset duration, and then determine whether the vibration index is greater than the threshold value, and / or, whether the duration for which the vibration index is greater than the threshold value is greater than the preset duration. Specifically, the electronic device 100 can determine whether the vibration index is greater than the threshold value, and / or, whether the duration for which the vibration index is greater than the threshold value is greater than the preset duration, if the duration for which the user maintains the same holding manner is greater than the preset duration, and if the vibration index is greater than the threshold value, and / or, the duration for which the vibration index is greater than the threshold value is greater than the preset duration, the electronic device 100 can perform step S405.

[0269] Alternatively, the electronic device 100 can also simultaneously perform the determination of the vibration index and the holding manner, that is, determine whether the duration for which the user maintains the same holding manner is greater than the preset duration while determining whether the vibration index is greater than the threshold value, and / or, whether the duration for which the vibration index is greater than the threshold value is greater than the preset duration, and the embodiments of the present application do not limit this.

[0270] In an example, the electronic device 100 can determine whether the user holds the same grip mode for more than a preset time length by recognizing the grip mode of the user and recording the time length that the user holds the same grip mode. Details about how the electronic device 100 recognizes the grip mode of the user can be found in the description of step S302 above, and will not be repeated here.

[0271] S405. The electronic device 100 outputs third prompt information for prompting the user to change the grip mode.

[0272] In an example, the third prompt information can be in one of the following two cases:

[0273] 1) The third prompt information is for prompting the user to change the grip mode, but is not for prompting the user to change to which grip mode

[0274] In this case, after the user learns the prompt information, the user can determine to which grip mode to change according to his or her own will.

[0275] In an example, FIG. 13 shows a user interface 60 displayed by the electronic device 100 when prompting the user to change the grip mode.

[0276] As shown in FIG. 13, the user interface 60 can include prompt information 601, which can be “Please change the grip mode to avoid hand injury”.

[0277] 2) The third prompt information can be for prompting the user to change to a specified grip mode

[0278] That is, the third prompt information is also for indicating the recommended grip mode (e.g., the third grip mode).

[0279] In this case, the electronic device 100 can not only prompt the user to change the grip mode, but also recommend the grip mode to change to, so as to avoid the user changing the grip mode blindly and reduce the difficulty of the user riding.

[0280] In an example, the specified grip mode can be different from the grip mode currently used by the user. That is, the electronic device 100 can first recognize the grip mode currently used by the user, and when the electronic device 100 outputs the third prompt information, it can recommend a grip mode different from the grip mode currently used by the user, so that the user can achieve the change of the grip mode.

[0281] Exemplarily, the holding manner can be a holding manner suitable for the upcoming riding section determined by the electronic device 100 according to the road condition of the upcoming riding section, or a holding manner that is more commonly used or more suitable for the user identified by the electronic device 100, and the like. The embodiment of the present application does not limit the determination manner of the specified holding manner.

[0282] Specifically, the detailed content about the holding manner suitable for the upcoming riding section determined by the electronic device 100 according to the road condition of the upcoming riding section can be referred to the description of the subsequent FIG. 14, which is not expanded here.

[0283] In some embodiments, the content about the electronic device 100 reminding the user to change the holding manner according to the vibration index of the user mentioned in steps S401-S405 can be combined into steps S101-S103.

[0284] Specifically, in step S102, if the electronic device 100 identifies the holding manner of the user, the electronic device 100 can execute steps S403-S405, that is, calculate the vibration index of the user, and remind the user to change the holding manner based on the vibration index.

[0285] Since different holding manners have their applicable scenarios and sections, in order to reduce the difficulty of the user to select the holding manner when riding, the riding management method provided by the embodiment of the present application can intelligently recommend the holding manner suitable for the upcoming section according to the road condition of the upcoming riding section of the user, help the riding beginners to quickly adapt to the holding manner to be used in different sections, and reduce the difficulty of riding.

[0286] FIG. 14 is a flowchart of another riding management method provided by the embodiment of the present application.

[0287] S501. The electronic device 100 identifies that the user is in a riding state.

[0288] The description about step S501 can be referred to the related content of step S101 described above, which is not repeated here.

[0289] S502. The electronic device 100 obtains the road condition of the upcoming riding section.

[0290] The road condition can include the terrain condition, the traffic condition, the road surface condition, and the road facilities, and the like.

[0291] Exemplarily, the electronic device 100 can obtain the map information around through the navigation application, and determine the road condition of the upcoming riding section based on the map information, or determine the road condition of the upcoming riding section through the riding data on the same riding section in history.

[0292] It can be understood that the electronic device 100 can also obtain the road condition of the front riding section in other manners, and the embodiments of the present application do not limit this.

[0293] Exemplarily, the front riding section can refer to a riding section of a preset length in front. For example, the preset length can be 100 meters.

[0294] The preset length can be a length set by the electronic device 100, or a length set by the user. Exemplarily, the preset length can be a length determined by the electronic device 100 according to the riding speed, for example, the faster the user's riding speed, the longer the preset length, and the slower the user's riding speed, the shorter the preset length. The embodiments of the present application do not limit the preset length.

[0295] S503. The electronic device 100 outputs fourth prompt information, which is used to indicate the grip mode suitable for the user in the riding section.

[0296] Exemplarily, if the front riding section is a steep uphill or urban traffic section, the grip mode indicated by the fourth prompt information can be an up-grip position; if the front riding section is a high-speed downhill or flat road sprint section, the grip mode indicated by the fourth prompt information can be a down-grip position; if the front riding section is a long-distance uphill section, the grip mode indicated by the fourth prompt information can be a cross-grip position.

[0297] Exemplarily, FIGS. 15A-15C are user interfaces 70 displayed when the electronic device 100 recommends a grip mode according to the embodiments of the present application.

[0298] As shown in FIG. 15A, the user interface 70 can include prompt information 701, which can be "The front is a steep uphill, and the up-grip position is recommended".

[0299] As shown in FIG. 15B, the user interface 70 can include prompt information 702, which can be "The front is a high-speed downhill, and the down-grip position is recommended".

[0300] As shown in FIG. 15C, the user interface 70 can include prompt information 703, which can be "The front is a long-distance gentle uphill, and the cross-grip position is recommended".

[0301] In some embodiments, the content related to the recommendation of the grip mode by the electronic device 100 based on the road condition mentioned in steps S501-S503 can be combined into steps S101-S103.

[0302] Exemplarily, the first prompt information output by the electronic device 100 in step S103 can be used to indicate a recommended grip mode in addition to prompting the user to hold the grip. The grip mode can be a grip mode suitable for the upcoming riding section determined by the electronic device 100 according to the road condition of the upcoming riding section, or a grip mode that the user is more likely to use or is more skilled at, and the like. If the grip mode is a grip mode suitable for the upcoming riding section determined by the electronic device 100 according to the road condition of the upcoming riding section, the electronic device 100 can obtain the road condition of the upcoming riding section after identifying that the user is not holding the grip, and then output prompt information to remind the user to hold the grip and to remind the user of the recommended grip mode for the upcoming riding section. In this way, the user's safety can be ensured during riding, and the user can also avoid blindly using a grip mode, thereby reducing the difficulty of riding.

[0303] In some embodiments, the content related to recommending a grip mode by the electronic device 100 based on the road condition mentioned in steps S501-S503 can also be incorporated into steps S401-S405.

[0304] Exemplarily, the third prompt information output by the electronic device 100 in step S405 can be used to prompt the user to change the grip mode to a specified grip mode, which can be determined by the electronic device 100 according to the road condition of the upcoming riding section. In this way, the user can avoid hand injuries during riding, and can also avoid blindly using a grip mode, thereby reducing the difficulty of riding by using a grip mode suitable for the current riding road condition.

[0305] Similarly, the above steps S101-S103, steps S301-S303, steps S401-S405, and steps S501-S503 can be combined with each other. For example, the content related to displaying the grip mode of the user by the electronic device 100 mentioned in steps S301-S303 can be incorporated into steps S501-S503. In this case, after step S501, if the electronic device 100 identifies that the user is in a riding state, the electronic device 100 can not only obtain the road condition of the upcoming riding section and output the grip mode used in the riding section, but also identify the grip mode currently used by the user and output the grip mode currently used by the user. For another example, the content related to reminding the user to change the grip mode according to the vibration index of the user mentioned in steps S401-S405 can be incorporated into steps S301-S303. In this case, in step S302, the electronic device 100 can not only identify the grip mode of the user, but also identify the vibration index of the user in the grip state. In this way, when the electronic device 100 outputs the grip mode currently used by the user, the electronic device 100 can also output prompt information to prompt the user to change the grip mode.

[0306] In some embodiments, after the end of the user's cycling, the electronic device 100 can also output a motion report for the current cycling motion, which can be used to summarize the user's current cycling motion and give relevant suggestions for cycling motion.

[0307] The motion report can be used to display one or more of the following:

[0308] 1) Rest duration

[0309] The rest duration refers to the duration of rest required by the user after the end of the current motion before the next cycling motion.

[0310] For example, the electronic device 100 can calculate the cumulative vibration index of the current cycling motion, which can be the sum of the vibration indexes calculated by the electronic device 100 during the user's current cycling. The cumulative vibration index can be used to reflect the risk of hand injury of the user during the current cycling. The electronic device 100 can determine the duration of rest required by the user after the end of the current cycling motion according to the cumulative vibration index.

[0311] If the cumulative vibration index is higher, it means that the risk of hand injury of the user is higher, and the duration of rest required by the user is longer. If the cumulative vibration index is lower, it means that the risk of hand injury of the user is lower, and the duration of rest required by the user is shorter.

[0312] In this way, the electronic device 100 can give scientific motion guidance according to the user's motion intensity, avoiding the user from injuring the body due to intense motion.

[0313] For example, FIG. 16 is a user interface 80 displayed by the electronic device 100 provided by the embodiments of the present application after the end of cycling motion.

[0314] As shown in FIG. 16, the user interface 80 can include a prompt information 801, which can be "The cumulative vibration index of the current cycling is high, and it is suggested that the next cycling start after 2 hours."

[0315] 2) The duration of various grip methods during the current cycling

[0316] For example, the electronic device 100 can calculate the duration of various grip methods used by the user during the current cycling, and display it in the motion report after the end of cycling.

[0317] For example, FIG. 17 is a user interface 90 displayed by the electronic device 100 provided by the embodiments of the present application after the end of cycling motion.

[0318] As shown in FIG. 17, the user interface 90 can display various handlebar modes used in the current cycling movement, and the corresponding duration of each handlebar mode, for example, the duration of the horizontal handlebar position is "00:15:08", the duration of the upper handlebar position is "00:30:12", and the duration of the lower handlebar position is "00:18:45".

[0319] 3) Movement score

[0320] Exemplarily, the electronic device 100 can score the current cycling movement after the user finishes cycling, and display the movement score in the movement report.

[0321] The movement score can be used to evaluate the safety and risk of the current cycling, or can also be used to evaluate the skills and professionalism used by the user in the current cycling.

[0322] Exemplarily, the electronic device 100 can determine the movement score according to various behaviors of the user during cycling. For example, if the user rides too fast without holding the handlebar, this behavior can constitute a deduction item, and correspondingly, if the user rides slowly without holding the handlebar, this behavior can constitute an addition item. For example, if the user switches from not holding the handlebar to holding the handlebar when still far away from a bumpy or complex road section in front, this behavior can constitute an addition item, and correspondingly, if the user switches from not holding the handlebar to holding the handlebar when close to the road section, this behavior can constitute a deduction item. For example, if the user does not ride according to the recommended handlebar mode, this behavior can constitute a deduction item, and correspondingly, if the user rides according to the recommended handlebar mode, this behavior can constitute an addition item.

[0323] In this way, the user can understand his performance in the current cycling through the movement score, which helps to provide positive and negative feedback for the user's cycling, and improves the user's cycling safety and professionalism, etc.

[0324] It can be understood that the electronic device 100 can also display other content in the movement report, such as the movement route, the movement duration, etc., which is not limited in the embodiments of the present application.

[0325] In some embodiments, the electronic device 100 can also compare the relevant data collected and measured in the current cycling and historical cycling to give personalized suggestions and guidance for the current cycling.

[0326] For example, the electronic device 100 can compare the duration of the same grip mode in the current ride and the historical ride process. If the duration of a certain grip mode in the current ride process is less than that in the historical ride process and the difference is large, the user can be prompted to use the grip mode more in the next ride to avoid the user being unfamiliar with the grip mode.

[0327] FIG. 18 is a schematic diagram of a hardware structure of the electronic device 100 according to an embodiment of the present application.

[0328] The electronic device 100 can be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a wearable device, a vehicle-mounted device, a smart home device, and / or a smart city device. The specific type of the electronic device is not specially limited in the embodiments of the present application.

[0329] Preferably, in the embodiments of the present application, the electronic device 100 can be a wearable device such as a watch, a bracelet, a ring, etc. that can be worn on the upper limbs of a user.

[0330] The electronic device 100 can include a processor 110, an internal memory 121, a charging management module 140, a power management module 141, a battery 142, a sensor module 180, and a display screen 194, etc. Optionally, the electronic device 100 can further include any one or more of the following: a wireless communication module 160, an audio module 170, a key 190, a motor 191, an indicator 192, etc. The audio module 170 can include any one or more of the following: a speaker 170A, a receiver 170B, and a microphone 170C. The sensor module 180 can include a touch sensor 180A, an inertial measurement unit 180B, etc.

[0331] It can be understood that the structure shown in the embodiments of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 can include more or fewer components than shown, or combine certain components, or split certain components, or different arrangement of components. The components shown can be implemented in hardware, software, or a combination of software and hardware.

[0332] The processor 110 can include one or more processing units, for example: the processor 110 can include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units can be independent devices or integrated in one or more processors.

[0333] The controller can generate operation control signals according to the instruction operation code and the timing signal, and complete the control of fetching and executing instructions.

[0334] The processor 110 can also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory can save instructions or data that the processor 110 has just used or repeatedly uses. If the processor 110 needs to use the instructions or data again, it can directly call from the memory. This avoids repeated access and reduces the waiting time of the processor 110, thereby improving the efficiency of the system.

[0335] In some embodiments, the processor 110 can be configured to identify whether the user is in a riding state, and identify whether the user holds the handle after identifying that the user is in the riding state. Details about identifying whether the user is in the riding state can be found in the description of FIGS. 9A and 9B above, and details about identifying whether the user holds the handle can be found in the description of step S102 in FIG. 3 above.

[0336] In some embodiments, the processor 110 can include one or more interfaces. The interfaces can include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0337] The internal memory 121 can include one or more random access memories (RAMs) and one or more non-volatile memories (NVMs). The random access memory can be directly readable / writable by the processor 110, and can be used to store executable programs (e.g., machine instructions) of an operating system or other programs that are running, and can also be used to store data of users and application programs, etc. The non-volatile memory can also store executable programs and store data of users and application programs, etc., and can be loaded in advance into the random access memory for direct reading / writing by the processor 110.

[0338] In some embodiments, the internal memory 121 can be used to store relevant data collected by the electronic device 100 during the user's riding, such as IMU signals, PPG signals, etc.

[0339] The charging management module 140 is configured to receive charging input from a charger. The charger can be a wireless charger or a wired charger. In some embodiments of wired charging, the charging management module 140 can receive charging input from a wired charger. In some embodiments of wireless charging, the charging management module 140 can receive wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 can charge the battery 142 while also supplying power to the electronic device through the power management module 141.

[0340] The power management module 141 is configured to connect the battery 142 and the charging management module 140 to the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to power the processor 110, the internal memory 121, the display 194, the wireless communication module 160, and the like. The power management module 141 can also be configured to monitor parameters such as battery capacity, battery cycle count, battery health status (leakage, impedance), and the like. In some embodiments, the power management module 141 can also be disposed in the processor 110. In some other embodiments, the power management module 141 and the charging management module 140 can also be disposed in the same device.

[0341] The wireless communication module 160 can provide solutions for wireless communication, including wireless local area networks (WLAN) (e.g., wireless fidelity (Wi-Fi) network), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), NearLink, intrabody communication (IBC), and the like. For example, when two electronic devices communicate with each other using the intrabody communication scheme, the two electronic devices each have at least one electrode in contact with the skin, and the two electronic devices transmit and receive information to and from each other through the electrodes in contact with the skin. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module.

[0342] The electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the application processor, and the like. For example, music playback, voice recording, and the like.

[0343] The audio module 170 is configured to convert digital audio information into an analog audio signal for output and to convert an analog audio input into a digital audio signal. The audio module 170 can also be configured to encode and decode audio signals. In some embodiments, the audio module 170 can be disposed in the processor 110, or some functional modules of the audio module 170 can be disposed in the processor 110.

[0344] The speaker 170A, also referred to as a "loudspeaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.

[0345] In some embodiments, the speaker 170A can be used to make a voice reminder when the electronic device 100 outputs prompt information.

[0346] The receiver 170B, also referred to as a "earpiece", is used to convert an audio electrical signal into a sound signal. When the electronic device 100 answers a call or a voice message, the receiver 170B can be held close to a person's ear to listen to the voice.

[0347] The microphone 170C, also referred to as a "microphone", "transducer", is used to convert a sound signal into an electrical signal. When making a call or sending a voice message, a user can speak into the microphone 170C through the mouth to input a sound signal into the microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, in addition to collecting sound signals, it can also achieve noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C, to achieve the functions of collecting sound signals, noise reduction, and identifying sound sources, and realizing directional recording function, etc.

[0348] The touch sensor 180A, also referred to as a "touch device". The touch sensor 180A can be provided on the display screen 194, and the touch sensor 180A and the display screen 194 form a touch screen, also referred to as a "touch screen". The touch sensor 180A is used to detect a touch operation acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the touch event type. The display screen 194 can provide visual output related to the touch operation. In other embodiments, the touch sensor 180A can also be provided on the surface of the electronic device 100, which is different from the position where the display screen 194 is located.

[0349] The inertial measurement unit 180B is a device for measuring the three-axis attitude angle and / or acceleration of an object. Exemplarily, the inertial measurement unit 180B can include a gyroscope sensor and / or an acceleration sensor.

[0350] The gyroscope sensor can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyroscope sensor. In a specific application, the gyroscope sensor can be used for anti-shake shooting. Illustratively, when the shutter is pressed, the gyroscope sensor detects the angle of shaking of the electronic device 100, and calculates the distance that needs to be compensated by the lens module according to the angle, so that the lens offsets the shaking of the electronic device 100 through reverse movement, thereby achieving anti-shake. The gyroscope sensor can also be used for navigation, experiencing game scenes, etc. The acceleration sensor can detect the acceleration of the electronic device 100 in each direction (generally three axes). When the electronic device 100 is stationary, the size and direction of gravity can be detected. It can also be used to identify the posture of the electronic device, applied to landscape / portrait screen switching, pedometer, etc.

[0351] Illustratively, if the inertial measurement unit 180B includes a gyroscope sensor, the IMU signal collected by the inertial measurement unit 180B can include an angular velocity signal, and if the inertial measurement unit 180B includes an acceleration sensor, the IMU signal collected by the inertial measurement unit 180B can include an acceleration signal. In the embodiments of the present application, the electronic device 100 can identify whether the user holds the handle based on the IMU signal, and identify the holding manner of the user.

[0352] The key 190 includes a power-on key, a volume key, etc. The key 190 can be a mechanical key. It can also be a touch key. The electronic device 100 can receive key input and generate key signal input related to user settings and function control of the electronic device 100.

[0353] The motor 191 can generate a vibration prompt. The motor 191 can be used for incoming call vibration prompt, and also can be used for touch vibration feedback. For example, touch operations acting on different applications (such as photographing, audio playing, etc.) can correspond to different vibration feedback effects. Touch operations acting on different regions of the display screen 194 can also correspond to different vibration feedback effects of the motor 191. Different application scenarios (such as time reminders, receiving messages, alarms, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also be customized.

[0354] In the embodiments of the present application, the motor 191 can generate a vibration prompt when the electronic device 100 outputs a prompt information. For example, the motor 191 can generate a vibration to remind the user when the electronic device 100 identifies that the user does not hold the handle.

[0355] The indicator 192 can be an indicator light, which can be used to indicate the charging state, the power change, and also can be used to indicate messages, missed calls, notifications, etc.

[0356] The electronic device 100 can implement a display function through a GPU, a display screen 194, and an application processor, etc. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 can include one or more GPUs that execute program instructions to generate or change display information.

[0357] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be manufactured by liquid crystal display (LCD), organic light-emitting diode (OLED), active-matrix organic light-emitting diode (AMOLED), flex light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (QLED), etc. In some embodiments, the electronic device 100 can include 1 or N display screens 194, N being a positive integer greater than 1.

[0358] In some embodiments, the display screen 194 can be used to display a user interface related to cycling during the user's cycling. For example, the display screen 194 can be used to display the user interface shown in FIG. 7 or FIG. 8 when the electronic device 100 identifies that the user does not hold the handlebar. For details about the relevant user interface displayed by the electronic device 100 during the user's cycling, please refer to the above-mentioned FIG. 4-FIG. 8, FIG. 11, FIG. 13, FIG. 15A-FIG. 15C, FIG. 16, FIG. 17. It should be understood that the above-mentioned FIG. 4-FIG. 8, FIG. 11, FIG. 13, FIG. 15A-FIG. 15C, FIG. 16, FIG. 17 are user interfaces taking the electronic device 100 as a watch as an example, in other embodiments of the present application, the electronic device 100 can also be other device types, and the embodiments of the present application do not limit this.

[0359] In some embodiments, the sensor module 180 of the electronic device 100 can also include any one or more of the following sensors: a photoelectric sensor, a barometric pressure sensor, a temperature sensor, etc. Among them:

[0360] The photoelectric sensor is used for monitoring cardiovascular vital signs. The photoelectric sensor is composed of at least one pair of light-emitting diodes and a photodetector, wherein the light-emitting diode irradiates the skin as a light source, the photodetector detects the remaining transmitted or reflected light after the blood and tissue absorb the light in the penetration process, and converts it into an electrical signal to obtain a PPG signal.

[0361] The air pressure sensor can be used for measuring air pressure, and in some embodiments, the air pressure sensor can also be used for measuring water pressure.

[0362] The temperature sensor can be used for measuring the body temperature of the user, and can also be used for measuring the temperature of the environment in which the user is located.

[0363] FIG. 19 is a structural schematic diagram of a riding management device 200 provided in an embodiment of the present application.

[0364] As shown in FIG. 19, the riding management device 200 can include a processor 201, a memory 202, an output module 203, and the like. These components can be connected through a bus 204 or other means, and FIG. 19 takes the connection through the bus as an example, and the bus 204 is used to realize the connection and communication between the processor 201, the memory 202, and the output module 203. Among them:

[0365] The processor 201 can include one or more processing units. The processor 201 can be used to provide computing and control capabilities to support the operation of the entire riding management device 200.

[0366] The memory 202 can be used to store various software programs and / or groups of instructions. Specifically, the memory 202 can include a high-speed random access memory, and can also include a non-volatile memory, such as one or more disk storage devices, flash devices, or other non-volatile solid-state storage devices.

[0367] The output module 203 can be used to output the data calculated by the processor 201 in the form of voice, picture, vibration, etc. For example, the output module 203 can include, but is not limited to, one or more of a display screen, an audio module, a motor, and the like.

[0368] In the embodiments of the present application, the riding management device 200 can be the electronic device 100 described above. The processor 201 can be used to identify whether the user is in a riding state, and identify whether the user holds the handle in the case of identifying that the user is in a riding state. The memory 202 can be used to store software or program codes required for all or part of the functions of the electronic device 100 in the above method embodiments. The output module 203 can be used to output first prompt information in the case of identifying that the user does not hold the handle, and the first prompt information is used to prompt the user to hold the handle.

[0369] It should be noted that the riding management device 200 shown in FIG. 19 is only one implementation of the embodiment of the present application, and in actual application, the riding management device 200 can include more or less components than shown, or combine certain components, or deploy different components, which are not limited herein.

[0370] It should be understood that each step in the above method embodiments can be completed by integrated logic circuits of hardware in the processor or instructions in the form of software. The method steps disclosed in combination with the embodiments of the present application can be directly embodied as execution completed by a hardware processor, or executed by a combination of hardware and software modules in the processor.

[0371] The present application also provides an electronic device, which can include a memory, a processor, and a computer program stored in the memory, and the processor executes the computer program to implement the method executed by the electronic device in any one of the above embodiments.

[0372] The present application also provides a chip system, which includes a processing circuit and an interface circuit, the interface circuit is used to receive computer instructions and transmit to the processing circuit, and the processing circuit is used to run the computer instructions to implement the method executed by the electronic device in any one of the above embodiments.

[0373] The present application also provides a chip system, which includes at least one processor, and is used to implement the method executed by the electronic device in any one of the above embodiments. In a possible design, the chip system further includes a memory, and the memory is used to save program instructions and data, and the memory is located in the processor or outside the processor.

[0374] The chip system can be composed of a chip, or can include a chip and other discrete devices.

[0375] Optionally, the processor in the chip system can be one or more. The processor can be implemented by hardware or software. When implemented by hardware, the processor can be a logic circuit, an integrated circuit, etc. When implemented by software, the processor can be a general-purpose processor, which is implemented by reading software codes stored in the memory.

[0376] Optionally, the memory in the chip system can also be one or more. The memory can be integrated with the processor, or can be separately arranged from the processor, and the embodiments of the present application are not limited in this regard. Exemplarily, the memory can be a non-transient processor, for example, a read-only memory (ROM), which can be integrated on the same chip as the processor, or can be separately arranged on different chips, and the embodiments of the present application do not make specific limitation on the type of the memory and the arrangement manner of the memory and the processor.

[0377] Exemplarily, the chip system can be a field programmable gate array (FPGA), can be an application specific integrated circuit (ASIC), can also be a system on chip (SoC), can also be a central processor unit (CPU), can also be a network processor (NP), can also be a digital signal processor (DSP), can also be a micro controller unit (MCU), can also be a programmable logic device (PLD) or other integrated chip.

[0378] The application further provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the method executed by the electronic device in any one of the above embodiments.

[0379] The application further provides a computer program product, which comprises a computer program, and the computer program is executed by a processor to implement the method executed by the electronic device in any one of the above embodiments.

[0380] The embodiments of the application can be combined in any manner to achieve different technical effects.

[0381] In the above embodiments, all or part of the methods can be implemented by software, hardware, firmware, or any combination thereof. When implemented by software, all or part of the methods can be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the present application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions can be transferred from one website, computer, server or data center to another website, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes one or more available media sets. The available media can be magnetic media (for example, floppy disk, hard disk, magnetic tape), optical media (for example, DVD), or semiconductor media (for example, solid state disk (SSD)) and the like.

[0382] Those of ordinary skill in the art can understand that all or part of the processes in the above embodiments can be implemented by a computer program to instruct the relevant hardware, which can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the above method embodiments. The aforementioned storage medium includes ROM or random access memory (RAM), magnetic disk or optical disk, and various media that can store program codes.

[0383] In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the text only describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B, which means that there are three cases of A alone, A and B together, and B alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0384] The terms "first", "second" are only for descriptive purposes, and cannot be understood as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with "first", "second" can explicitly or implicitly include one or more features. In the description of the embodiments of the present application, unless otherwise specified, the meaning of "multiple" is two or more than two.

[0385] In conclusion, the above-mentioned is only the embodiment of the technical scheme of the present application, and is not used to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made according to the disclosure of the present application shall be included in the protection scope of the present application.

Claims

1. A riding management method, characterized by, The method is applied to an electronic device worn on an upper limb of a user, and the method comprises: identifying that the user is in a cycling state; identifying whether the user holds a handlebar; in a case where it is identified that the user does not hold the handlebar, outputting first prompt information, the first prompt information being used to prompt the user to hold the handlebar.

2. The method of claim 1, wherein, identifying that the user is in a cycling state, specifically comprising: identifying that the user is in a cycling state based on a first operation, the first operation being used to start a cycling motion; and / or, identifying that the user is in a cycling state based on state data of the user. When the user is in a cycling state, the state data of the user indicates one or more of the following: the user is in a non-stationary state, the heart rate of the user is greater than a first threshold, the user is not in an underwater environment, the upper limb of the user does not perform a periodic motion, the hand motion state of the user meets a hand motion state in a cycling state, and the motion speed of the user meets a motion speed in a cycling state.

3. The method of claim 2, wherein, Before the first prompt information is outputted, the method further comprises:

4. The method according to any one of claims 1 to 3, characterized in that, identifying that a first condition is met, the first condition comprising one or more of the following: a duration for which the user does not hold the handlebar exceeds a first duration, a cycling section is bumpy, a cycling section has complex road conditions, and a motion speed is greater than a second threshold. After the first prompt information is outputted, the method further comprises:

5. The method according to any one of claims 1 to 4, characterized in that, if it is identified that the user continuously does not hold the handlebar, outputting the first prompt information again after a second duration. The second duration is determined according to a cycling speed of the user, if the cycling speed is a first speed, the second duration is a first value, if the cycling speed is a second speed, the second duration is a second value, the first speed is greater than the second speed, and the first value is less than the second value.

6. The method of claim 5, wherein, Identifying whether the user holds the handlebar specifically comprises:

7. The method according to any one of claims 1 to 6, characterized in that, identifying whether the user holds the handlebar based on a first sensing signal, the first sensing signal comprising: a first IMU signal, and / or a first PPG signal. Identifying whether the user holds the handlebar based on a first sensing signal specifically comprises:

8. The method of claim 7, wherein, inputting the first sensing signal into a first model to determine whether the user holds the handlebar, wherein the first model is trained according to sensing signals of test persons whose handlebar holding states are known during cycling. The method further comprises:

9. The method according to any one of claims 1 to 8, characterized in that, in a case where it is identified that the user holds the handlebar, outputting second prompt information, the second prompt information being used to indicate a first handlebar holding manner of the user identified by the electronic device. The first handlebar holding manner is identified based on a first sensing signal, the first sensing signal comprising: a first IMU signal, and / or a first PPG signal.

10. The method of claim 9, wherein, After the first prompt information is outputted, the method further comprises:

11. The method according to any one of claims 1 to 10, characterized in that, collecting a second sensing signal, the second sensing signal comprising: a second IMU signal, and / or a second PPG signal; comparing first features of the first sensing signal and the second sensing signal; if the first features of the first sensing signal and the second sensing signal are different or a difference therebetween is greater than a third threshold, it is determined that the user holds the handlebar, and if the first features of the first sensing signal and the second sensing signal are the same or a difference therebetween is less than the third threshold, it is determined that the user does not hold the handlebar. The method further comprises:

12. The method of claim 11, wherein, ​ if the first feature of the first sensing signal and the first feature of the second sensing signal are different or the difference is greater than a third threshold, identifying a second holding manner of the user based on the second sensing signal; outputting prompt information for indicating the second holding manner.

13. The method according to any one of claims 1 to 12, characterized in that, The method further comprises: in a case where the holding of the user is identified, determining a first vibration index, the first vibration index describing a vibration amplitude of the upper limb of the user during cycling; in a case where the first vibration index is greater than a fourth threshold, and / or, a duration in which the first vibration index is greater than the fourth threshold is greater than a third duration, outputting third prompt information, the third prompt information being for prompting the user to change the holding manner.

14. The method of claim 13, wherein the third prompt information is for prompting the user to change the holding manner to a third holding manner.

15. The method according to any one of claims 1 to 14, characterized in that, the first prompt information is further for indicating the third holding manner recommended to be used.

16. The method according to claim 14 or 15, characterized in that the third holding manner is determined according to a road condition of a first cycling section in front.

17. The method of claim 16, wherein if the first cycling section is an uphill section or an urban traffic section, the third holding manner is an upper holding position; if the first cycling section is a downhill section or a flat road sprint section, the third holding manner is a lower holding position; if the first cycling section is a long distance uphill section, the third holding manner is a cross holding position.

18. A ride management method characterized by, The method is applied to an electronic device, and the method comprises: identifying whether a user state conforms to a state under cycling; in a case where the user state conforms to the state under cycling, identifying whether a user upper limb is performing a periodic motion; in a case where the user upper limb is not performing the periodic motion, identifying whether a user upper limb motion state conforms to a user upper limb motion state under cycling; in a case where the user upper limb motion state conforms to the user upper limb motion state under cycling, identifying whether a user motion speed conforms to a user motion speed under cycling; in a case where the user motion speed conforms to the user motion speed under cycling, outputting fifth prompt information, the fifth prompt information being for reminding the user whether the user is in a cycling state; in a case where a second operation of the user is detected or no operation of the user is received within a fourth duration, determining that the user is in the cycling state.

19. An electronic device, comprising: comprises: a memory, a processor, and a computer program stored on the memory, the processor executing the computer program to implement the method of any one of claims 1-18.

20. A computer-readable storage medium, characterized in that, a computer program stored thereon, the computer program being executed by a processor to implement the method of any one of claims 1-18.

21. A computer program product, characterised in that, The computer program product comprises a computer program, the computer program being executed by a processor to implement the method of any one of claims 1-18.

Citation Information

Patent Citations

  • Device for measuring a cycling cadence

    CN106030247A

  • Bicycle and user attitude, and user usage state recognition and man-car matching method

    CN107677316A

  • Outdoor cycling monitoring method and system based on intelligent wearable device

    CN109276869A

  • Riding state detection method, device and system

    CN112581653A

  • Personal safety supervision and protection method and system for travelling with electric vehicle

    CN113498907A