Motion assisting method and device and electronic equipment
By displaying the group running mode interface and interactive functions on electronic devices, the problem of lack of interaction and fun among users in the prior art is solved, and the user's motivation for sports is enhanced.
Patent Information
- Application Number
- CN202410068651.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-17
- Publication Date
- 2025-07-18
AI Technical Summary
In the prior art, electronic devices lack interaction and fun between users when assisting running, resulting in insufficient user motivation for exercise.
By displaying the group running mode interface on the electronic device, displaying other users' motion information, such as location, distance, speed and heart rate, it allows users to join the group running mode of the same route and interact with other users, set up catching up targets or leading objects, and increase interactivity.
It improves the user's interaction and fun in sports, and enhances the user's enthusiasm and sense of participation in sports.
Smart Images

Figure CN120335648A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic devices, and more particularly, to a method, a device, and an electronic device for assisting with exercise. Background Art
[0002] With the development of science and technology, electronic devices can provide users with various exercise assistance functions. For example, running, swimming, skipping rope, etc. Among them, in the current function of assisting users in running, the mode is relatively single, only supporting the single-person running mode of users. During the running process of users, the electronic devices assisting the users in exercise can only simply display the exercise information of the users themselves, such as running routes, running speeds, heart rates, etc., lacking the fun during users' running.
[0003] Therefore, how to increase the interaction of users during exercise, improve the fun of exercise, and thus enhance the enthusiasm of users for exercise is an urgent problem to be solved at present. Summary of the Invention
[0004] This application provides a method, a device, and an electronic device for assisting with exercise. This method increases the interaction of users during exercise, improves the fun of exercise, and thus enhances the enthusiasm of users for exercise.
[0005] In a first aspect, a method for assisting with exercise is provided. This method is applied to a first electronic device and includes: displaying a first interface, where the first interface includes information of a first user and information of a first target route. The first user is the user of the first electronic device, and the first interface further includes information of a second user. The second user is in a first exercise state with the first user, and the first exercise state is a state of moving along the first target route.
[0006] It should be noted that the second user being in the first exercise state with the first user can be understood as the second user and the first user are moving in a group running mode on the first target route.
[0007] Exemplarily, the first interface is an interface of the group running mode of the first target route. Information of users moving in the group running mode on this route can be displayed on this interface. The above-mentioned information of users includes information such as the real-time position of the users, the kilometers already run by the users currently, the time used, the pace, the energy consumed, and the heart rate.
[0008] Based on the above solution, the electronic device can provide a function of assisting with exercise in the group running mode for users. When a user joins the group running mode of a certain route, while exercising, the user can also obtain information of other users who have joined the group running mode of the same route through the interface, thereby realizing interaction and improving the fun of exercise.
[0009] In combination with the first aspect, in certain implementations of the first aspect, before displaying the first interface, the method further includes: determining the first target route.
[0010] Based on the above solution, before the user joins the group running mode, a certain route needs to be determined as the target route, and the ways to determine the target route include manual determination and automatic determination.
[0011] In combination with the first aspect, in certain implementations of the first aspect, determining the first target route includes: displaying a second interface that displays labels of at least one candidate route, where the labels of the at least one candidate route include the label of the first route; receiving an operation by the user on the label of the first route, and determining the first route as the first target route.
[0012] It should be noted that to determine the target route, the target route can be determined by the user manually selecting on the interface. After determining the target route, the user can join the group running mode of the target route.
[0013] In combination with the first aspect, in certain implementations of the first aspect, the order of the labels of the at least one candidate route is determined based on one or more of the following: the slope information of the route, the material information of the road surface, the personal information of the user, and the location information of the user.
[0014] It should be noted that in different scenarios, the order of the labels of the at least one candidate route can be different. For example, when the user is currently within the range where the user often exercises and is familiar with the surrounding routes, the labels of the at least one candidate route can be arranged according to the user's exercise habits, with the routes that the user often selects arranged at the front. When the user is currently in an unfamiliar environment and is not familiar with the surrounding routes, the labels of the at least one candidate route can be sorted according to the distance from the user, with the route closest to the user arranged at the front. When multiple route labels are arranged according to the road surface material, the road surface material information of the route can be displayed near the route label. For example, route A is a plastic road surface and route B is a cement road surface, for the user to select the target route according to the road surface material. When multiple route labels are arranged according to the surrounding environment of the route, the surrounding environment information of the route can be displayed near the route label. For example, route A is a route inside a city park and route B has a lake view nearby.
[0015] In combination with the first aspect, in certain implementations of the first aspect, determining the first target route includes: determining the first target route according to the first information, where the first target route belongs to one of the at least one candidate route, and the first information includes at least one of the following: the exercise habits of the user, the personal ability of the user.
[0016] Based on the above solution, it is necessary to determine a target route. The electronic device can automatically match a suitable route for the user as the target route, making the process of determining the target route imperceptible and further improving the exercise experience of the group running mode for users.
[0017] In combination with the first aspect, in some implementation manners of the first aspect, before determining the first target route according to the first information, the method further includes: determining the at least one candidate route according to the second information, where the second information includes one or more of the following: slope information of the route, material information of the road surface, surrounding environment of the route, location information of the user, and route information of the user.
[0018] It should be noted that the candidate routes can be multiple routes near the user's current location, and the candidate routes can be routes preset by the system. The manner of determining at least one candidate route according to the second information includes but is not limited to the following several:
[0019] Method 1: Determine the routes within a certain range from the user as candidate routes according to the location information of the user (for example, the location where the user is currently located).
[0020] Method 2: Determine the routes within a certain range from the user's running route as candidate routes according to the route information of the user (for example, the running route of the user within a time threshold).
[0021] Method 3: Determine the routes within a certain range from the user's running route as candidate routes according to the route information of the user (for example, the running route of the user when reaching a distance threshold).
[0022] In combination with the first aspect, in some implementation manners of the first aspect, the method further includes: if the first user is greater than or equal to a distance threshold from the first target route, outputting a first prompt, where the first prompt is used to instruct the user to return to the first target route.
[0023] Optionally, the first prompt can be navigation information.
[0024] Based on the above solution, when the user joins the group running mode of a certain route and may deviate from the route during the running process, the electronic device can guide the user to return to the correct route through voice or display interaction.
[0025] In combination with the first aspect, in some implementation manners of the first aspect, the first prompt includes a return route, and the return route is used to instruct the user to return to the first target route.
[0026] Exemplarily, the return route includes navigation information such as route direction and distance.
[0027] In combination with the first aspect, in certain implementations of the first aspect, before outputting the first prompt, the method further includes: outputting a second prompt, where the second prompt is used to prompt the user whether to return to the first target route.
[0028] Optionally, the second prompt may be a prompt message displayed by the electronic device, or may be a prompt sound emitted by the electronic device.
[0029] Optionally, before outputting the first prompt, the method further includes: determining a return route according to the location information of the first user.
[0030] It should be noted that when a route deviation occurs, multiple routes between the current location of the electronic device and the target route can be determined, and a route that does not require turning back as much as possible and can return to the target route as quickly as possible is selected from the multiple routes as the return route.
[0031] In combination with the first aspect, in certain implementations of the first aspect, the method also includes: if the distance between the first user and the first target route is greater than or equal to a distance threshold, displaying a third interface, the third interface including information of the first user and information of the second target route, the second target route being different from the first target route.
[0032] Exemplarily, the third interface may be a group running mode interface for the second target route, which is similar to the first interface (the group running mode interface for the first target route), and displays information about the second target route and information about users who have joined the group running mode for the second target route.
[0033] Based on the above solution, when a user joins a group running mode of a certain route, and during the running process, the route may be deviated. At this time, the electronic device can switch the user to the group running mode of the new route (the second target route).
[0034] In combination with the first aspect, in certain implementations of the first aspect, before displaying the third interface, the method further includes: outputting a third prompt, where the third prompt is used to prompt the user whether to select the second target route.
[0035] Optionally, the third prompt may be a prompt message displayed on the electronic device, or may be a prompt sound emitted by the electronic device.
[0036] In combination with the first aspect, in certain implementations of the first aspect, the first interface also includes an icon of the second user, the icon of the second user is an identifier of the second user, and the method also includes: receiving an operation of the user on the icon of the second user, and setting the second user as a pursuit target.
[0037] Optionally, an operation of the user on the icon of the second user is received, and a fourth prompt is output, where the fourth prompt is used to prompt whether to set the second user as a pursuit target.
[0038] Optionally, the first electronic device receives an operation from the user to set the second user as a target for catching up, and prompts the user of the time required to catch up with the second user.
[0039] Optionally, the fourth prompt may be a prompt message displayed on the electronic device, or may be a prompt sound emitted by the electronic device.
[0040] Based on the above scheme, the information of other users who join the group running mode on the same route can be obtained through the electronic device. For example, one of them can be selected as the target to be chased, and the time required to catch up with the user can be displayed on the electronic device, which increases the fun of the group running mode.
[0041] In combination with the first aspect, in certain implementations of the first aspect, the first interface also includes an icon of the second user, the icon of the second user is an identifier of the second user, and the method also includes: receiving an operation of the user on the icon of the second user, and setting the second user as a leading object.
[0042] Optionally, an operation of the user on the icon of the second user is received, and a fifth prompt is output, where the fifth prompt is used to prompt whether to set the second user as a leading object.
[0043] Optionally, in response to the user setting the second user as the leading running object, the first electronic device may prompt comparison information between the first user and the second user, for example, comparison of the pace of the first user and the second user.
[0044] Optionally, the fifth prompt may be a prompt message displayed on the electronic device, or may be a prompt sound emitted by the electronic device.
[0045] Based on the above scheme, information of other users who join the group running mode on the same route is obtained through the electronic device. For example, a certain user is selected as the leading runner, and the electronic device can display the comparison information between the local user and the leading runner, which increases the fun of the group running mode.
[0046] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: receiving third information from a second electronic device, outputting a sixth prompt, the sixth prompt being used to prompt the second user to set the first user as a leading object, the second user being a user of the second electronic device.
[0047] Exemplarily, the third information may be request information for requesting to set the first user as a leading object.
[0048] Optionally, the sixth prompt may be a prompt message displayed on the electronic device, or may be a prompt sound emitted by the electronic device.
[0049] Based on the above scheme, the local user can not only set other users as the leading object, but also be set as the leading object by other users, which increases the fun of the group running mode.
[0050] In combination with the first aspect, in certain implementations of the first aspect, the method also includes: the second user and the first user are in a competition mode; the first interface also includes one or more of the following: comparison information between the first user and the second user; ranking information of the first user; ranking information of the second user.
[0051] Exemplarily, the comparison information may include comparison information of sports parameters, for example, the comparison information may be the number of kilometers run, the running time, the pace, etc.
[0052] Based on the above scheme, the group running mode can be further divided into normal mode and competition mode. In the competition mode, relevant information about the competition can be displayed. That is, in different modes, it can be more personalized to adapt to user needs and provide users with a vivid interactive experience.
[0053] In combination with the first aspect, in certain implementations of the first aspect, the method also includes: when the positioning signal of the first user is less than a signal threshold, determining the location information of the first user based on the location information of multiple third users; wherein the multiple third users are in the first motion state, and the motion information of the multiple third users remains unchanged within a time threshold, and the time threshold is a period of time before the positioning signal of the first user is less than the signal threshold.
[0054] Exemplarily, during a period of time before the GPS signal of the first electronic device becomes weak, information of users with strong GPS signals around the first electronic device (e.g., cadence, IMU relative speed) is recorded, and multiple third users whose cadence and IMU relative speed remain unchanged are selected as reference users, and the location information of the first user is calculated based on the location information of the multiple third users, wherein the third users are also users in the group running mode of the target route.
[0055] Based on the above solution, in the group running mode, users with weak GPS signals will not be able to obtain more accurate location information. At this time, the location information of other users with strong GPS signals around them can be exchanged to assist in the positioning of users with weak signals.
[0056] In a second aspect, an electronic device is provided, including: one or more processors; one or more memories; the one or more memories store one or more computer programs, the one or more computer programs include instructions, the electronic device is a first electronic device, when the instructions are executed by the one or more processors, the first electronic device is caused to perform the following steps: display a first interface, the first interface includes information of a first user and information of a first target route, the first user is a user of the first electronic device, the first interface further includes information of a second user, the second user and the first user are in a first motion state, and the first motion state is a state of moving along the first target route.
[0057] In combination with the second aspect, in some implementation manners of the second aspect, before displaying the first interface, the first electronic device performs the following steps: determine the first target route.
[0058] In combination with the second aspect, in some implementation manners of the second aspect, when the instructions are executed by the one or more processors, the first electronic device is caused to perform the following steps: display a second interface, the second interface displays labels of at least one alternative route, the labels of the at least one alternative route include a label of a first route; receive an operation of the user on the label of the first route, and determine the first route as the first target route.
[0059] In combination with the second aspect, in some implementation manners of the second aspect, the order of the labels of the at least one alternative route is determined based on one or more of the following: slope information of the route, material information of the road surface, personal information of the user, location information of the user.
[0060] In combination with the second aspect, in some implementation manners of the second aspect, when the instructions are executed by the one or more processors, the first electronic device is caused to perform the following steps: determine the first target route according to first information, the first target route belongs to one of at least one alternative route, and the first information includes at least one of the following: the user's exercise habit, the user's personal ability.
[0061] In combination with the second aspect, in some implementation manners of the second aspect, before determining the first target route according to the first information, the first electronic device is caused to perform the following steps: determine the at least one alternative route according to second information, and the second information includes one or more of the following: slope information of the route, material information of the road surface, the surrounding environment of the route, location information of the user, the user's route information.
[0062] In connection with the second aspect, in some implementations of the second aspect, when the instruction is executed by the one or more processors, the first electronic device is caused to perform the following steps: If the first user is at a distance greater than or equal to a distance threshold from the first target route, output a first prompt for instructing the user to return to the first target route.
[0063] In connection with the second aspect, in some implementations of the second aspect, the first prompt includes a return route for instructing the user to return to the first target route.
[0064] In connection with the second aspect, in some implementations of the second aspect, before outputting the first prompt, the first electronic device is caused to perform the following steps: Output a second prompt for prompting the user whether to return to the first target route.
[0065] In connection with the second aspect, in some implementations of the second aspect, when the instruction is executed by the one or more processors, the first electronic device is caused to perform the following steps: If the first user is at a distance greater than or equal to a distance threshold from the first target route, display a third interface including information of the first user and information of a second target route different from the first target route.
[0066] In connection with the second aspect, in some implementations of the second aspect, before displaying the third interface, the first electronic device is caused to perform the following steps: Output a third prompt for prompting the user whether to select the second target route.
[0067] In connection with the second aspect, in some implementations of the second aspect, the first interface further includes an icon of the second user as an identifier of the second user. When the instruction is executed by the one or more processors, the first electronic device is caused to perform the following steps: Receive an operation on the icon of the second user by the user and set the second user as a pursuit target.
[0068] In connection with the second aspect, in some implementations of the second aspect, the first interface further includes an icon of the second user as an identifier of the second user. When the instruction is executed by the one or more processors, the first electronic device is caused to perform the following steps: Receive an operation on the icon of the second user by the user and set the second user as a leading object.
[0069] In connection with the second aspect, in some implementations of the second aspect, when the instruction is executed by the one or more processors, the first electronic device is caused to perform the following steps: Receive third information from a second electronic device and output a sixth prompt for prompting the second user, who is a user of the second electronic device, to set the first user as a leading object.
[0070] In combination with the second aspect, in some implementations of the second aspect, when the instruction is executed by the one or more processors, the first electronic device is caused to perform the following steps: the second user and the first user are in a competition mode; the first interface further includes one or more of the following: comparison information between the first user and the second user; ranking information of the first user; ranking information of the second user.
[0071] In combination with the second aspect, in some implementations of the second aspect, when the instruction is executed by the one or more processors, the first electronic device is caused to perform the following steps: when the positioning signal of the first user is less than a signal threshold, determining the position information of the first user according to the position information of a plurality of third users; wherein, the plurality of third users are in the first motion state, and the motion information of the plurality of third users remains unchanged within a time threshold, and the time threshold is a period of time before the positioning signal of the first user is less than the signal threshold.
[0072] In a third aspect, there is provided a device for assisting movement, the device includes a display unit, and the display unit is configured to display a first interface, the first interface includes information of a first user and information of a first target route, the first user is a user of the device, and the first interface further includes information of a second user, the second user and the first user are in a first motion state, and the first motion state is a state of moving along the first target route.
[0073] In combination with the third aspect, in some implementations of the third aspect, the device further includes a processing unit, and the processing unit is configured to determine the first target route.
[0074] In combination with the third aspect, in some implementations of the third aspect, the display unit is specifically configured to display a second interface, the second interface displays labels of at least one candidate route, and the labels of the at least one candidate route include a label of a first route; the processing unit is further configured to receive an operation on the label of the first route by the user and determine the first route as the first target route.
[0075] In combination with the third aspect, in some implementations of the third aspect, the order of the labels of the at least one candidate route is determined based on one or more of the following: slope information of the route, material information of the road surface, personal information of the user, position information of the user.
[0076] In combination with the third aspect, in some implementations of the third aspect, the processing unit is specifically configured to determine a first target route according to first information, the first target route belongs to one of at least one candidate route, and the first information includes at least one of the following: the user's exercise habit, the user's personal ability.
[0077] In combination with the third aspect, in some implementation manners of the third aspect, the processing unit is further configured to determine the at least one candidate route according to the second information, where the second information includes one or more of the following: slope information of the route, material information of the road surface, the surrounding environment of the route, the location information of the user, and the route information of the user.
[0078] In combination with the third aspect, in some implementation manners of the third aspect, the processing unit is further configured to, if the distance between the first user and the first target route is greater than or equal to a distance threshold, output a first prompt, where the first prompt is used to instruct the user to return to the first target route.
[0079] In combination with the third aspect, in some implementation manners of the third aspect, the first prompt includes a return route, where the return route is used to instruct the user to return to the first target route.
[0080] In combination with the third aspect, in some implementation manners of the third aspect, the processing unit is further configured to output a second prompt, where the second prompt is used to prompt the user whether to return to the first target route.
[0081] In combination with the third aspect, in some implementation manners of the third aspect, the display unit is further configured to, if the distance between the first user and the first target route is greater than or equal to a distance threshold, display a third interface, where the third interface includes the information of the first user and the information of a second target route, and the second target route is different from the first target route.
[0082] In combination with the third aspect, in some implementation manners of the third aspect, the processing unit is further configured to output a third prompt, where the third prompt is used to prompt the user whether to select the second target route.
[0083] In combination with the third aspect, in some implementation manners of the third aspect, the first interface further includes an icon of the second user, where the icon of the second user is an identifier of the second user, and the processing unit is further configured to receive an operation of the user on the icon of the second user and set the second user as a chasing target.
[0084] In combination with the third aspect, in some implementation manners of the third aspect, the first interface further includes an icon of the second user, where the icon of the second user is an identifier of the second user, and the processing unit is further configured to receive an operation of the user on the icon of the second user and set the second user as a leading object.
[0085] In combination with the third aspect, in some implementation manners of the third aspect, the processing unit is further configured to receive third information from a second electronic device and output a sixth prompt, where the sixth prompt is used to prompt the second user to set the first user as a leading object, and the second user is the user of the second electronic device.
[0086] In combination with the third aspect, in some implementation manners of the third aspect, the second user and the first user are in a competition mode; the first interface further includes one or more of the following: comparison information between the first user and the second user; ranking information of the first user; ranking information of the second user.
[0087] In combination with the third aspect, in some implementation manners of the third aspect, the processing unit is further configured to, when the positioning signal of the first user is less than a signal threshold, determine the position information of the first user according to the position information of a plurality of third users; wherein, the plurality of third users are in the first motion state, and the motion information of the plurality of third users remains unchanged within a time threshold, and the time threshold is a period of time before the positioning signal of the first user is less than the signal threshold.
[0088] In a fourth aspect, there is provided an auxiliary motion device, including: a processor coupled to a memory, the memory is configured to store a computer program, and the processor is configured to run the computer program so that the auxiliary motion device executes the method in the first aspect and any one of its possible implementation manners.
[0089] In combination with the fourth aspect, in some implementation manners of the fourth aspect, the device further includes a transceiver, and the transceiver is configured to receive signals and / or transmit signals.
[0090] In a fifth aspect, there is provided a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a computer, the computer is caused to implement the method in the first aspect and any one of its possible implementation manners.
[0091] In a sixth aspect, there is provided a computer program product including instructions, and when the computer program product runs on a computer, the computer is caused to execute the method in the first aspect and any one of its possible implementation manners.
[0092] In a seventh aspect, there is provided a chip, the chip includes a processor and a data interface, and the processor reads instructions stored on a memory through the data interface to execute the method in the first aspect and any one of its possible implementation manners.
[0093] In combination with the seventh aspect, in some implementation manners of the seventh aspect, the processor is coupled to the memory through an interface.
[0094] In combination with the seventh aspect, in some implementation manners of the seventh aspect, the chip system further includes a memory, and a computer program or computer instructions are stored in the memory. Description of the Drawings
[0095] Figure 1 is a schematic structural diagram of an electronic device.
[0096] Figure 2 It is a software structure block diagram of the electronic device provided by the embodiment of the present application.
[0097] Figure 3 It is a schematic diagram of an applicable scenario of a method for assisting movement provided by the embodiment of the present application.
[0098] Figure 4 It is a group of GUIs provided by the embodiment of the present application.
[0099] Figure 5 It is a group of GUIs provided by the embodiment of the present application.
[0100] Figure 6 It is a group of GUIs provided by the embodiment of the present application.
[0101] Figure 7 It is a schematic flowchart of a method for automatically determining a running route provided by the embodiment of the present application.
[0102] Figure 8 It is a schematic diagram of a group of ways to determine a target route provided by the embodiment of the present application.
[0103] Figure 9 It is a schematic diagram of a method for correcting a running route provided by the embodiment of the present application.
[0104] Figure 10 It is a group of GUIs provided by the embodiment of the present application.
[0105] Figure 11 It is a group of GUIs provided by the embodiment of the present application.
[0106] Figure 12 It is a schematic diagram of a method for assisting positioning provided by the embodiment of the present application.
[0107] Figure 13 It is a group of GUIs provided by the embodiment of the present application.
[0108] Figure 14 It is a group of GUIs provided by the embodiment of the present application.
[0109] Figure 15 It is a schematic flowchart of a method for assisting movement provided by the embodiment of the present application.
[0110] Figure 16 It is a schematic diagram of a device for assisting movement provided by the embodiment of the present application.
[0111] Figure 17 It is a schematic diagram of a device for assisting movement provided by the embodiment of the present application. Detailed implementation manners
[0112] The technical solutions in the present application will be described below in conjunction with the accompanying drawings.
[0113] The terms used in the following embodiments are only for the purpose of describing specific embodiments and are not intended to limit the present application. As used in the specification and claims of the present application, the singular forms "a", "an", "the", "above-mentioned", "said", and "this" are also intended to include the expression "one or more", unless the context clearly indicates otherwise. It should also be understood that in the following embodiments of the present application, "at least one" and "one or more" mean one, two or more than two. The term "and / or" is used to describe the association relationship of associated objects and indicates that three relationships may exist; for example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone, where A and B may be singular or plural. The character " / " generally represents an "or" relationship between the associated objects before and after.
[0114] Reference to "one embodiment" or "some embodiments" etc. described in this specification means that a specific feature, structure, or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the statements "in one embodiment", "in some embodiments", "in other some embodiments", "in still other embodiments" etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "comprise", "include", "have" and their variants all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0115] Embodiments of an electronic device, a user interface for such an electronic device, and for using such an electronic device are described below. In some embodiments, the electronic device may be a portable electronic device that also includes other functions such as a personal digital assistant and / or music player functions, such as a mobile phone, a tablet computer, a wearable electronic device with wireless communication functions (such as a smart watch), etc. Exemplary embodiments of the portable electronic device include but are not limited to portable electronic devices equipped with or other operating systems. The above-mentioned portable electronic device may also be other portable electronic devices, such as a laptop computer, etc. It should also be understood that in other some embodiments, the above-mentioned electronic device may not be a portable electronic device but a desktop computer.
[0116] Exemplarily, Figure 1A schematic structural diagram of the electronic device 100 is shown. The electronic device 100 may include a processor 110, an audio module 120, a display screen 130, a camera 140, an internal memory 150, an external memory interface 160, a sensor module 170, an antenna 1, an antenna 2, a mobile communication module 180, a wireless communication module 190, etc. The sensor module 170 may include a gyro sensor 170A, a magnetic sensor 170B, a fingerprint sensor 170C, a touch sensor 170D, etc. Among them, the processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc.
[0117] It can be understood that the structure schematically 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 may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or have different component arrangements. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0118] Figure 2 It is a software structure block diagram of the electronic device 100 according to the embodiments of the present application. Exemplarily, the operating system of the electronic device 100 may be the Android system, the Linux system, the Microsoft Windows system, the Apple iOS operating system, or the Harmony OS. The method provided in the present application is particularly applicable to the Linux system or other systems derived from the Linux system.
[0119] The layered architecture divides software into several layers, and each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, namely the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer. The application layer may include a series of application packages.
[0120] Such as Figure 2As shown in the figure, the application layer may include a camera, settings, a skin module, a user interface (UI), third-party applications, etc. Among them, the third-party applications may include a gallery, a calendar, a call function, a map, a navigation system, a WLAN, Bluetooth, music, video, short messages, etc.
[0121] The application framework layer provides application programming interfaces (APIs) and programming frameworks for the applications in the application layer. The application framework layer may include some predefined functions.
[0122] As Figure 2 shown in the figure, the application framework layer may include a window manager, a content provider, a view system, a telephone manager, a resource manager, a notification manager, etc.
[0123] The window manager is used to manage window programs. The window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc. The content provider is used to store and obtain data, and make this data accessible to applications. This data may include videos, images, audio, dialed and answered calls, browsing history and bookmarks, phone books, etc.
[0124] The view system includes visible controls, such as controls for displaying text, controls for displaying pictures, etc. The view system can be used to build applications. The display interface can be composed of one or more views.
[0125] The telephone manager is used to provide the communication function of the electronic device 100. For example, the management of call status (including connection, disconnection, etc.).
[0126] The resource manager provides various resources for applications, such as localized strings, icons, pictures, layout files, video files, and so on.
[0127] The notification manager enables applications to display notification information in the status bar. It can be used to convey messages of the notification type, and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to inform that the download is completed, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or a scroll bar text, such as the notification of a background running application, and can also be a notification that appears on the screen in the form of a dialogue window. For example, it prompts text information in the status bar, emits a prompt tone, the electronic device vibrates, the indicator light flashes, etc.
[0128] The Android runtime includes a core library and a virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.
[0129] The core library consists of two parts: one is the functional functions that the Java language needs to call, and the other is the core library of Android.
[0130] The application layer and the application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
[0131] The system library can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing library (e.g., OpenGL ES), 2D graphics engine (e.g., SGL), etc.
[0132] The surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.
[0133] The media library supports the playback and recording of various common audio and video formats, as well as static image files, etc. The media library can support multiple audio and video coding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0134] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing, etc.
[0135] The 2D graphics engine is a graphics engine for 2D drawing.
[0136] In addition, the system library can also include a status monitoring service module, etc., such as a physical state recognition module for analyzing and recognizing user gestures; a sensor service module for monitoring the sensor data uploaded by various sensors in the hardware layer to determine the physical state of the electronic device 100.
[0137] The kernel layer is the layer between the hardware and the software. The kernel layer at least includes a display driver, a camera driver, an audio driver, a sensor driver, and memory management.
[0138] The hardware layer can include various sensors, such as Figure 1 the various sensors introduced in
[0139] It should be noted that Figure 1 compared with Figure 2 the electronic device introduced can be, for example, a mobile terminal, a smart watch, a smart glasses, etc., devices that can have a sports function.
[0140] Such as Figure 3As shown, a scenario diagram of the auxiliary exercise method provided by this application is presented. This scenario includes a single-person mode and a group running mode. In the single-person mode scenario, there is user A, that is, user A runs alone along a certain route, and the electronic device can display user A's exercise information. For example, user A's running route, cadence, average speed, or heart rate, etc. In the group running mode scenario, there can be multiple users, such as user A and user B. In this scenario, interactions between multiple users can be provided to increase the fun during the exercise process, thereby enhancing the enthusiasm of users for exercise. Moreover, in the group running mode, there may be sub-scenarios such as running route selection, running route correction, and auxiliary positioning. Below, the auxiliary exercise method in the group running mode will be specifically introduced in combination with the accompanying drawings.
[0141] Scenario 1, running route selection.
[0142] It should be noted that an auxiliary exercise method provided by this application can be applicable to the user group running mode. In the group running mode, users can manually determine the running route or automatically determine the running route. Below, these two ways of selecting the running route will be introduced respectively.
[0143] Firstly, manually determine the running route.
[0144] As Figure 4 shown, a set of graphical user interfaces (GUI) provided by an embodiment of this application is presented to introduce a way of manually determining the running route.
[0145] As Figure 4As shown in (a), the display interface of the sports health application (application, App) of the mobile terminal is shown. The bottom of the display interface includes multiple controls, such as health controls, sports controls, device controls and my controls. The display interface of the current sports health App corresponds to the interface displayed by the user clicking the sports control. Among them, the control is a visual graphical interface element presented to the user. It is a software component contained in the application, which controls the data processed by the application and the interactive operations on these data. The user can interact with the control through touch, sliding and other operations, so as to read and edit the relevant information of the application. In general, the control may include visual interface elements such as icons, buttons, menus, tabs, text boxes, status bars, etc. In response to the user's operation on different controls (for example: touch operation, or click operation), different interfaces may be displayed on the screen of the terminal device. The top of the display interface also includes multiple controls, such as running controls, walking controls, skipping rope controls and swimming controls. The display interface displays the interface corresponding to the user clicking the running control. The display interface also includes prompt information 401, which includes cumulative running kilometer information 402, route controls and start controls. In response to the user's operation on the route control 403, the mobile terminal may display the following Figure 4 GUI shown in (b) in .
[0146] It should be noted that the prompt information used to instruct the user or to prompt the user in the embodiments of the present application is only an exemplary description. The electronic device can instruct the user or prompt the user in other ways. The embodiments of the present application do not limit the specific way in which the electronic device instructs or prompts the user. It can be a way of displaying the prompt information or a way of playing a prompt sound. In the method of auxiliary exercise provided in the embodiments of the present application, it is exemplified that the prompt information is displayed in the form of a pop-up window, and the prompt information can also be displayed in the form of a floating window, etc. The embodiments of the present application do not limit the specific display method of the prompt information.
[0147] like Figure 4 As shown in (b), in response to the user's operation of the route control 403, the mobile terminal displays a running route interface. Multiple route labels are displayed on the interface, and the multiple route labels can be arranged in a certain order. Exemplarily, multiple route labels are arranged according to the distance from the user's current location; or according to the number of people participating in the route (i.e., route popularity); or according to the slope information of the route; or according to the road surface material; or according to the surrounding environment of the route; or according to the exercise habits of the local user (the user of the current electronic device), etc. It should be noted that the route labels displayed on the interface correspond to the routes recommended by the system for the user, and the user can choose any route from the multiple routes to exercise.
[0148] It should be noted that in different scenarios, the arrangement order of multiple route tags can be different. Exemplarily, when the user is currently within the range where the user often exercises and is familiar with the surrounding routes, multiple route tags can be arranged according to the user's exercise habits, with the routes that the user often selects arranged at the forefront. When the user is currently in an unfamiliar environment and is not familiar with the surrounding routes, multiple route tags can be sorted according to the distance from the user, with the route closest to the user arranged at the forefront. When multiple route tags are arranged according to the road surface material, the road surface material information of the route can be displayed near the route tag. For example, route A is a plastic road surface and route B is a cement road surface, for the user to select the target route according to the road surface material. When multiple route tags are arranged according to the surrounding environment of the route, the surrounding environment information of the route can be displayed near the route tag. For example, route A is an internal route of a city park and there is a lake view around route B.
[0149] For example, as Figure 4 shown in (b) of [reference], in the running route interface, multiple route tags are arranged in the order of distance from the user's current position. The multiple route tags include a route A tag, a route B tag, and a route C tag. Among them, the basic information of the route is displayed in each route tag. For example, the route A tag shows that the total length of route A is 10 kilometers and it is 0.12 kilometers away from the user's current position. In response to the user's operation on the route A tag 404, the mobile terminal can display a GUI as shown in Figure 4 (c) of [reference].
[0150] As Figure 4 shown in (c) of [reference], in response to the user's operation on the route A tag 404, the mobile terminal displays a route A interface. This interface displays the selected route A by the user and can also display the basic information of route A. The basic information of route A includes the route length, the number of check-ins, etc. For example, the total length of route A is 10 kilometers and there are 220 people who have checked in. The user who is the MVP of this route is also displayed on route A. For example, showing user A as the route MVP of route A can mean that user A has checked in route A the most times, or user A has the longest exercise time, or the longest exercise distance, or the highest step frequency or the highest pace on route A, etc. The user can zoom in on route A by double-finger sliding operation on route A to view the details of route A, such as viewing the surrounding environment of route A. This interface also displays a check-in ranking control, a performance ranking control, and a start exercise control 405. In response to the user's operation on the check-in ranking control, the users arranged according to the number of times of checking in route A can be viewed; in response to the user's operation on the performance ranking control, the users arranged according to at least one of the exercise parameters such as step frequency, exercise duration, and exercise distance can be viewed. In response to the user's operation on the start control 405, the mobile terminal can display asFigure 4 The GUI shown in (d).
[0151] As Figure 4 shown in (d) therein, in response to the user's operation on the start control 405, the mobile terminal displays the route A interface. Optionally, the interface displays a prompt message 406. The prompt message 406 is used to prompt the user whether to join the group running mode of this route. The prompt message 406 includes an OK control and a cancel control. In response to the user's operation on the OK control 407, the mobile terminal can display the GUI shown in (e) as Figure 4 therein.
[0152] As Figure 4 shown in (e) therein, in response to the user's operation on the OK control 407, the mobile terminal displays the group running mode interface. The interface displays the basic information of the users who have joined the group running mode of route A. For example, the users who have joined the group running mode of route A include user A, user B, and user C. The interface displays the icon of user A, the icon of user B, and the icon of user C. It should be noted that the user icons can be displayed on the interface in various ways. In one possible implementation, one or more user icons are displayed in a list on the interface. When the user icons are displayed in a list on the interface, the list can be displayed in the upper left corner, upper right corner, or other positions of the interface. The user icons in the list can be arranged according to parameters such as the user's pace speed, running duration, and running distance. Displaying user icons in a list can provide more parameter information about the exercise. Optionally, the display position of the list can be changed according to the operation of the user on the list. In another possible implementation, the user icons can also be displayed on the interface according to the specific position of the user. Optionally, the display position of the user icons can be updated as the user's real-time position changes. Figure 4 For the user icons in (e) therein, near the displayed route A, the icons of user A, user B, and user C can be updated respectively as the corresponding users change, so that the local user can view the real-time movement positions of the users who have joined the group running mode of route A in real time, which is convenient for the local user to set a chasing target or a leading object, or to implement other interaction methods. It can be understood that in some possible implementations, the user interface can display the user icons in a list form and display the user icons according to the specific position of the user at the same time.
[0153] The group running mode interface also displays a prompt message 408, and the prompt message 408 includes the current running information of the local user of the mobile terminal, for example, the current running kilometers, time used, pace, energy consumed (in kcal), and heart rate.
[0154] Exemplarily, the current running kilometers can be the actual running kilometers of the local user, or the running kilometers of the local user in the group running mode on Route A. Among them, the actual running kilometers of the local user may be greater than the running kilometers of the local user in the group running mode on Route A. For example, if the user first runs a certain distance in the free exercise mode and then runs a certain distance in the group running mode on Route A, the actual running kilometers of the local user is the cumulative distance of the running distance in the free exercise mode and the running distance in the group running mode on Route A. Another example is that if the user first runs a certain distance in the group running mode on Route B and then runs a certain distance in the group running mode on Route A, the actual running kilometers of the local user is the cumulative running distance in the group running modes of the two routes. That is to say, when the current running kilometers are used to accumulate the running distance of the user, when the user exercises freely or switches the exercise route, the actual running distance of the user can be accumulated so that the user can obtain the total running distance at any time and adjust their own exercise state at any time. When the current running kilometers are used to represent the running kilometers of the local user in the group running mode on Route A, the user can obtain the running information of this specific exercise scenario, which is convenient for the user to adjust the running state in the exercise scenario. If the user exercises on different multiple routes successively within a period of time, when the user's current exercise ends, the running kilometers of the user on multiple routes can also be displayed separately, which is convenient for the user to adjust the stride frequency or pace, etc. of the user on each route according to the running kilometers on multiple routes.
[0155] The elapsed time can represent the actual exercise duration of the local user, or the exercise duration of the local user in the group running mode on Route A.
[0156] Among them, the actual exercise duration of the local user may be greater than the exercise duration of the local user in the group running mode on Route A. For example, the user first exercises for a period of time in the free exercise mode and then exercises for a period of time in the group running mode on Route A. The actual exercise duration of the local user is the sum of the exercise duration in the free exercise mode and the exercise duration in the group running mode on Route A. Another example is that the user first exercises for a period of time in the group running mode on Route B and then exercises for a period of time in the group running mode on Route A. The actual exercise duration of the local user is the sum of the exercise durations in the group running modes of the two routes. That is to say, when using time to represent the cumulative exercise duration of the user, even if the user's exercise route changes, the exercise duration will be accumulated, enabling the user to obtain the total exercise duration at any time. When using time to represent the exercise duration of the user in the group running mode on Route A, the user can obtain the running information for this specific scenario, which is convenient for the user to adjust the running state in this exercise scenario. If the user exercises on different multiple routes successively within a period of time, when the user's current exercise ends, the exercise durations of the user on multiple routes can also be displayed separately, which is convenient for the user to adjust the stride frequency or pace, etc. on each route according to the exercise durations of the multiple routes.
[0157] Similarly, the energy consumed can be the energy consumed by the user in the group running mode on Route A, or the energy accumulated by the user since the start of the exercise, or the energy consumed by the user during exercise on different routes. For example, if the energy consumed by the user in the group running mode on Route A is high, within a limited exercise duration, the user can choose to start exercising in the group running mode on Route A.
[0158] Furthermore, the local user can view the running information of other users who have joined the group running mode on Route A through this interface. Among them, the running information can include real-time location information, stride frequency, pace, etc., so as to enable the local user to set a chasing target or set a leading object, etc. for interaction.
[0159] For example, in response to the user's operation on the icon 409 of User C, the mobile terminal can display the GUI shown in (f) of Figure 4 , or display the GUI shown in (g) of Figure 4 , or display the GUI shown in (i) of Figure 4 .
[0160] On the group running mode interface, by the user's operation on different user icons, the running information of the user corresponding to the user icon can be obtained, and a richer interaction scenario can be realized. As Figure 4As shown in (f), in response to the user's operation on the user C icon 409, the mobile terminal displays a group running mode interface. Exemplarily, a prompt message 410 is displayed on this interface, and the prompt message 410 is used to prompt the running information of user C. For example, the average pace and cadence of user C. Optionally, the prompt message 410 can also be used to prompt the relative information between user C and the local user. For example, the distance between user C and the local user, or the pace difference between the local user and user C, etc.
[0161] Furthermore, more rich interaction scenarios can also be realized on this interface.
[0162] In a possible implementation manner, a chasing target can be selected on the group running mode interface. As Figure 4 shown in (g), in response to the user's operation on the user C icon 409, the mobile terminal displays a group running mode interface. The interface displays a prompt message 410. In addition to including the running information of user C, the prompt message 410 can also include a control 411, and the control 411 is used to prompt the user that user C can be set as the chasing target. In response to the user's operation on the control 411, the mobile terminal can display a GUI as shown in Figure 4 (h).
[0163] As Figure 4 shown in (h), in response to the user's operation on the control 411, the mobile terminal displays a group running mode interface. The interface includes a prompt message 412 and a prompt message 413. Among them, the prompt message 412 is used to prompt the running information of the chasing target user C. For example, the pace of user C. The prompt message 413 is used to prompt the running information of the local user of the mobile terminal. For example, the pace of the local user, and it is predicted that the local user will catch up with user C after x minutes.
[0164] In another possible implementation manner, a leading object can be selected on the group running mode interface. As Figure 4 shown in (i), in response to the user's operation on the user C icon 409, the mobile terminal displays a group running mode interface. The interface displays a prompt message 410. In addition to including the running information of user C, the prompt message 410 can also include a control 414, and the control 414 is used to prompt the user that user C can be set as the leader. In response to the user's operation on the control 414, the mobile terminal can display a GUI as shown in Figure 4 (j). It should be noted that the control 411 and the control 414 can be displayed in the prompt message 410 at the same time, which is convenient for the user to select to set user C as the leading object or the chasing target.
[0165] As Figure 4As shown in (j), in response to the user's operation on the control 414, the mobile terminal displays the group running mode interface. This interface includes a prompt message 415. The prompt message 415 is used to provide comparison information of motion information such as distance and pace. For example, the prompt message 415 prompts the distance between the local user and the leading object (User C), and can also be used to prompt the pace comparison information between the local user and the leading object (User C). For example, it is used to prompt that the pace of the local user is the same as that of User C, or to prompt the gap between the pace of the local user and that of User C. When the prompt message 415 prompts that the pace of the local user is the same as that of User C, it can be recommended that the local user continue to run at the current pace; when the prompt message 415 prompts that the pace of the local user is greater than that of User C, it can be recommended that the local user reduce the pace, or it can be recommended that the local user re-select a more suitable leading object. When the prompt message 415 prompts that the pace of the local user is less than that of User C, it can be recommended that the local user increase the pace, or re-select a more suitable leading object. That is to say, the user can adaptively adjust their running rhythm according to the pace comparison information.
[0166] Of course, the local user can also be set as the leading object by other users. When the local user is selected as the leading object, as Figure 4 shown in (k), the mobile terminal displays the group running mode interface. A prompt message 416 is displayed on this interface. The prompt message 416 can be used to prompt which users have set the local user as the leading object. For example, the prompt message 416 is used to prompt that User A has set the local user as the leading object, and User C has set the local user as the leading object. User A and User C are the users who have joined the leading team of the local user. Among them, the leading team can include the leading object and other users, and the other users are the users who have set the same user as the leading object. For example, in the GUI shown in (k), the leading team includes the leading object User B, and User A and User C who have set User B as the leading object. Figure 4 shown in (k).
[0167] In a possible implementation manner, when the pace of a user in the leading team differs greatly from that of the leading object, the leading object can remove the user from the leading team. As Figure 4As shown in (l), the mobile terminal displays a group running mode interface. The local user is the leading object. When the pacing of user C cannot keep up with the local user, a prompt message 417 can be displayed. The prompt message 417 is used to prompt that there is a large difference in pacing between user C and the local user, and to remind the user whether to remove user C from the leading team of the local user. The prompt message 417 also includes an OK control and a Cancel control. If the user clicks the OK control, user C will be removed from the leading team of the local user. Correspondingly, the device interface of user C can display a corresponding prompt message. Optionally, to ensure the safety of the user during exercise, when the pacing of user C cannot keep up with the local user, user C can be automatically removed from the leading team of the local user, or a more suitable user can be recommended to user C as the leading object.
[0168] It should be noted that the electronic device providing the auxiliary exercise function can also be a smartwatch. The following combines Figure 5 , showing a set of GUIs provided by the embodiments of the present application, which can be displayed on the smartwatch. The smartwatch can provide a more convenient interaction implementation for the user's exercise scenario. The smartwatch and the mobile terminal are usually in a bound state, and the smartwatch can also carry a sports health application. Therefore, the content displayed on the smartwatch is basically the same as the content displayed on the mobile terminal. The content displayed on the smartwatch can be more concise to facilitate user operation. The following introduces the main interaction content displayed on the smartwatch.
[0169] As Figure 5 shown in (a), the smartwatch displays a running route interface. There are multiple route labels displayed on this interface, and the multiple routes are arranged in a certain order. For example, the multiple route labels are arranged in the order of the distance from the user's current position. The multiple route labels include a Route A label and a Route B label. Among them, each route label displays the basic information of the route. For example, the Route A label displays that the full length of Route A is 10 kilometers and it is 0.12 kilometers away from the user's current position. In response to the user's operation on the Route A label 501, the smartwatch can display the GUI as shown in Figure 5 (b).
[0170] As Figure 5 shown in (b), in response to the user's operation on the route label 501, the smartwatch displays an interface of Route A. This interface displays the selected Route A by the user, and can also display the user who is the MVP of this route. For example, displaying user A as the route MVP of Route A can mean that user A has clocked in on Route A the most times, or user A has the longest exercise time along Route A, or the longest exercise distance, or user A has the highest step frequency or pacing on Route A, etc. In response to the user's operation of swiping left in the direction shown by the dotted arrow, the smartwatch can display as shown in Figure 5The GUI shown in (c). It should be noted that the swipe operation in the embodiments of this application is only for illustrative purposes. This application does not limit the direction of the swipe operation, nor does it limit the way of single-finger, double-finger or triple-finger swiping.
[0171] As Figure 5 shown in (c), in response to the user's operation of swiping left, the smartwatch displays the basic information of Route A. The basic information of Route A includes the route length, the number of check-ins, etc. For example, Route A is 10 kilometers in total length and 220 people have checked in. This interface also displays a check-in ranking control, a performance ranking control, and a start exercise control 502. In response to the user's operation on the start control 502, the smartwatch can display the GUI shown in Figure 5 (d). It should be noted that the operation for triggering the smartwatch to display the basic information of Route A can be the user's swipe operation, or the user's operation of clicking on a certain control or icon. The embodiments of this application do not limit this. In the following text, the information that can be triggered by the swipe operation can also be triggered by the user's operation of clicking on a control or icon.
[0172] As Figure 5 shown in (d), in response to the user's operation on the start control 502, the smartwatch displays a prompt message. This prompt message is used to prompt the user whether to join the group running mode of this route. The prompt message includes an OK control 503 and a cancel control. In response to the user's operation on the OK control 503, the smartwatch can display the GUI shown in Figure 5 (e).
[0173] As Figure 5 shown in (e), in response to the user's operation on the OK control 503, the smartwatch displays a group running mode interface. This interface displays the basic information of the users who have joined the group running mode of Route A. For example, the users who have joined the group running mode of Route A include User A, User B, and User C. This interface displays the icon of User A, the icon of User B, and the icon of User C. Figure 5 The display position of the user icons shown in (e) can be updated as the user's real-time position changes. On this interface, in response to the user's operation of swiping left in the direction shown by the dotted arrow, the smartwatch can display the GUI shown in Figure 5 (f).
[0174] As Figure 5 shown in (f), in response to the user's left swipe operation, the smartwatch displays a prompt message 505. The prompt message 505 includes the running information of the local user of this smartwatch. For example, the current kilometers run, the time used, the pace, the energy consumed (in kcal), and the heart rate.
[0175] Alternatively, the local user can view the running information of other users who have joined the group running mode on the group running mode interface as shown in (e) of Figure 5 . The running information may include real-time location information, cadence, pace, etc., so as to enable the local user to set a chasing target or set a leading object for interaction.
[0176] For example, in response to the user's operation on the user C icon 504 shown in (e) of Figure 5 , the smartwatch can display the GUI shown in (g) of Figure 5 , or the GUI shown in (h) of Figure 5 , or the GUI shown in (j) of Figure 5 .
[0177] As shown in (g) of Figure 5 , in response to the user's operation on the user C icon 504, the smartwatch can display the group running mode interface. On the group mode interface, by operating on the user icons with different users, the running information of the user corresponding to the user icon can be obtained, and a richer interaction scenario can be realized. Exemplarily, a prompt message 506 is displayed on this interface, and the prompt message 506 prompts the user with the running information of user C. For example, the average pace and cadence of user C. Optionally, the prompt message 506 can also be used to prompt the relative information between user C and the local user. For example, the distance between user C and the local user, or the pace difference between the local user and user C, etc.
[0178] Furthermore, a richer interaction scenario can also be realized on this interface.
[0179] In a possible implementation manner, a chasing target can be selected for the local user on the group running mode interface. As shown in (h) of Figure 5 , in response to the user's operation on the user C icon 504, the smartwatch displays the group running mode interface. This interface displays a prompt message 506, and the prompt message 506 may include, in addition to the running information of user C, a control 507 for prompting the user that user C can be set as the chasing target. In response to the user's operation on the control 507, the smartwatch can display the GUI shown in (i) of Figure 5 .
[0180] As shown in Figure 5As shown in (i) of [the figure], in response to a user's operation on control 507, the smartwatch displays a group running mode interface. This interface includes prompt message 508 and prompt message 509. Among them, prompt message 508 is used to prompt the running information of the target user C to be chased. For example, the pace of user C. Prompt message 509 is used to prompt the running information of the local user of the smartwatch. For example, the pace of the local user, and it is predicted that the local user will catch up with user C after x minutes.
[0181] In another possible implementation, the leading object can be selected on the group running mode interface. As Figure 5 shown in (j) of [the figure], in response to a user's operation on user C icon 504, the smartwatch displays a group running mode interface. This interface displays prompt message 506. Prompt message 506 can include, in addition to the running information of user C, control 510. Control 510 is used to prompt the user that user C can be set as the leader. In response to the user's operation on control 510, the smartwatch can display the GUI as shown in Figure 5 (k) of [the figure]. It should be noted that control 507 and control 510 can be displayed in prompt message 506 at the same time, facilitating the user to select user C as the leading object or the target to be chased.
[0182] As Figure 5 shown in (k) of [the figure], in response to a user's operation on control 510, the smartwatch displays a group running mode interface. This interface includes prompt message 511. Prompt message 511 is used to provide comparison information of sports information such as distance and pace. For example, prompt message 511 prompts the distance between the local user and the leading object (user C), and can also be used to prompt the pace comparison information between the local user and the leading object (user C). For example, it is used to prompt that the pace of the local user is the same as that of user C, or to prompt the gap between the pace of the local user and the pace of user C. When prompt message 511 prompts that the pace of the local user is the same as that of user C, it can be suggested that the local user continue to exercise at the current pace; when prompt message 511 prompts that the pace of the local user is greater than the pace of user C, it can be suggested that the local user reduce the pace, or it can be suggested that the local user re-select a more suitable leading object. When prompt message 511 prompts that the pace of the local user is less than the pace of user C, it can be suggested that the local user increase the pace, or re-select a more suitable leading object. That is to say, the user can adaptively adjust their running rhythm according to the pace comparison information.
[0183] Of course, the local user can also be set as the leading object by other users. When the local user is selected as the leading object, as Figure 5As shown in (l), the smartwatch displays a group running mode interface. A prompt message 512 is displayed on this interface. The prompt message 512 can be used to prompt which users have set the local user as the leading object. For example, the prompt message 512 is used to prompt that user A has set the local user as the leading object, and user C has set the local user as the leading object. User A and user C are users who have joined the leading team of the local user. Among them, the leading team can include a leading object and other users, and the other users are users who have set the same user as the leading object. For example, in the GUI shown in (l) as Figure 5 the leading team includes the leading object user B, and users A and C who have set user B as the leading object.
[0184] When the pace of a user in the leading team is significantly different from that of the leading object, the leading object can remove this user from the leading team. As Figure 5 shown in (m), the smartwatch displays a group running mode interface. The local user is the leading object. When the pace of user C cannot keep up with the local user, a prompt message 513 can be displayed. The prompt message 513 is used to prompt that the pace of user C is significantly different from that of the local user, and to remind whether to remove user C from the leading team of the local user. Correspondingly, the device interface of user C can display a corresponding prompt message. Optionally, to ensure the safety of the user during exercise, when the pace of user C cannot keep up with the local user, user C can be automatically removed from the leading team of the local user, or a more suitable user can be recommended to user C as the leading object.
[0185] Based on the above solution, the user manually determines the route of the group running mode to be joined through the display interface of an electronic device (such as a mobile phone terminal or a smartwatch). And after joining the group running mode of a certain route, the user can interact with other users who have joined the group running mode of this route, increasing the fun during the user's exercise.
[0186] Second, automatically determine the running route.
[0187] As Figure 6 shown, a set of GUIs provided by an embodiment of the present application is shown, introducing a way to automatically determine the running route.
[0188] As Figure 6As shown in (a) therein, the display interface of the sports health App on the mobile terminal is shown. The bottom of this display interface includes multiple controls. For example, there are health controls, sports controls, device controls, and my controls. The current display interface of the sports health App corresponds to the interface displayed when the user clicks on the sports control. The top of this display interface also includes multiple controls. For example, there are running controls, walking controls, skipping rope controls, and useful controls. This display interface corresponds to the interface displayed when the user clicks on the running control. This display interface also includes a prompt message 601. The prompt message 601 includes the cumulative running kilometer information 602, and also includes a route control and a start control. In response to the user's operation on the start control 603, the mobile terminal can display a GUI as shown in Figure 6 in (b) therein.
[0189] As Figure 6 shown in (b) therein, in response to the user's operation on the start control 603, the mobile terminal displays a running interface. This interface displays a prompt message 604. The prompt message 604 includes the current running information of the local user of this mobile terminal. For example, the current kilometers run, the time taken, the pace, the energy consumed (in kcal), and the heart rate. This display interface also displays the route 605 that the local user has currently run. When the current kilometers run by the local user reaches a certain distance threshold, the mobile terminal can display a GUI as shown in Figure 6 in (c) therein. Among them, this distance threshold is preset by the system or can also be user-defined.
[0190] As Figure 6 shown in (c) therein, in response to the current kilometers run by the user reaching a certain distance threshold, the mobile terminal displays a running interface. This interface displays a prompt message 606. The prompt message 606 is used to prompt the user whether to join the group running mode of Route A. The prompt message 606 includes a confirm control and a cancel control. The dotted part of this interface represents Route A. Route A is the target route automatically matched for the user.
[0191] It can be understood that when the current kilometers run by the user reaches a certain distance threshold, the mobile terminal can match a suitable target route according to the route that the user has currently run, and remind the user whether to join the group running mode of the target route. That is to say, when the mobile terminal matches a target route, it can display a prompt message 606. In response to the user's operation on the confirm control 607, the mobile terminal can display a GUI as shown in Figure 6 in (e) therein.
[0192] It should be noted that the electronic device providing the auxiliary sports function can also be a smart watch. As Figure 6As shown in (d), when the current running distance of the user reaches a certain distance threshold, the smartwatch displays a prompt message 608, which is used to prompt the user whether to join the group running mode of Route A. That is to say, when the mobile terminal connected to the smartwatch matches the target route and the mobile terminal displays the prompt message 606, the smartwatch can also synchronously display the prompt message 608. The smartwatch also displays a confirm control and a cancel control. In response to the user's operation on the confirm control 609, the smartphone can display a GUI as shown in Figure 6 in (f).
[0193] As Figure 6 shown in (e), in response to the user's operation on the confirm control 607, the mobile terminal displays a group running mode interface. This interface displays the basic information of the users who have joined the group running mode of Route A. For example, the users who have joined the group running mode of Route A include User A, User B, and User C. This interface displays the icon of User A, the icon of User B, and the icon of User C. A prompt message 610 is also displayed in the group running mode interface, and the prompt message 610 includes the current running information of the local user of this mobile terminal, such as the current running distance, time used, pace, energy consumed (in kcal), and heart rate. Multiple users who have joined the group running mode of Route A can achieve simple interactions on the electronic device interface, which can be similar to the way described in (e) and (f) in the manual route determination method above, and will not be elaborated here. Figure 4 in (e) and Figure 4 in (f) above, and will not be elaborated here.
[0194] Similarly, in response to the user's operation on the confirm control 608, the smartwatch can display a prompt message 611. This prompt message 611 can be used to prompt the current running information of the local user, such as the current running distance, time used, pace, energy consumed (in kcal), and heart rate. That is to say, when the local user joins the group running mode, the smartwatch can synchronously display the prompt message with the mobile terminal.
[0195] In another possible implementation, the mobile terminal can match multiple suitable routes according to the route that the user has currently run, and the user can select any route from the multiple suitable routes as the target route.
[0196] As Figure 6 shown in (g), when the current running distance of the user reaches a certain distance threshold, the mobile terminal displays a running interface. This interface displays the icons of multiple candidate routes, including the candidate route icon 612 and the candidate route icon 613. The candidate routes are multiple suitable routes matched by the mobile terminal for the user, and the user can select any route from the candidate routes as the target route. In response to the user's operation on the candidate route icon 612, the mobile terminal can display a GUI as shown in Figure 6The GUI shown in (h) thereof.
[0197] As Figure 6 shown in (h) thereof, in response to the user's operation on the candidate route icon 612, the mobile terminal displays a running interface. This interface displays a prompt message 614, and the prompt message 614 is used to prompt the user whether to join the group running mode of this route. The prompt message 614 includes an OK control and a Cancel control. In response to the user's operation on the OK control 615, the mobile terminal can display as Figure 6 the GUI shown in (e) thereof, indicating that the user has joined the group running mode of this route.
[0198] Of course, such a possible implementation manner can also be implemented on a smart watch.
[0199] As Figure 6 shown in (i) thereof, when the user's current running kilometers reach a certain distance threshold, the smart watch displays a running interface. This interface displays icons of multiple candidate routes, including the candidate route icon 616 and the candidate route icon 617. The user can select any route from the multiple candidate routes as the target route. In response to the user's operation on the candidate route 616, the smart watch can display as Figure 6 the GUI shown in (j) thereof.
[0200] As Figure 6 shown in (j) thereof, in response to the user's operation on the candidate route icon 616, the smart watch displays a prompt message 618. The prompt message 618 is used to prompt the user whether to join the group running mode of this route. The prompt message 618 also includes an OK control and a Cancel control. In response to the user's operation on the OK control 619, the smart watch can display as Figure 6 the GUI shown in (f) thereof, indicating that the user has joined the group running mode of this route.
[0201] It should be noted that in the above method for automatically determining a running route, the mobile terminal matching the target route based on the user's existing running routes is only an example for determining the target route. The embodiments of the present application do not limit the specific basis for determining the target route, and the mobile terminal can also match the target route based on the user's current location.
[0202] Next, in combination with Figure 7 , the method for automatically determining a running route in the embodiments of the present application will be specifically introduced. This method can be applied to electronic devices such as mobile terminals that support a route matching function.
[0203] S701, obtain the location information of the user.
[0204] Exemplarily, the location information of the user is obtained through the global positioning system (GPS). The location information of the user may be the location where the user is currently located, or the running route of the user within a time threshold, or the running route of the user when a distance threshold is reached. Among them, in the above introduction of Figure 6 it is illustrated by taking the running route of the user when the distance threshold is reached as an example of the location information of the user.
[0205] S702. Determine the candidate routes according to the location information of the user.
[0206] It should be noted that the candidate routes may be multiple routes near the current location of the user. The candidate routes may be the routes preset by the system. For example, Figure 6 route A shown in (c) of
[0207] Exemplarily, the methods for determining the candidate routes according to the location information of the user include but are not limited to the following several.
[0208] Method 1. Determine the candidate routes according to the location where the user is currently located.
[0209] For example, the routes within a certain range from the location where the user is currently located can be used as candidate routes.
[0210] Method 2. Determine the candidate routes according to the running route of the user within a time threshold.
[0211] For example, set the time threshold to 2 minutes. According to the running route of the user within 2 minutes, the routes within a certain range from this route are used as candidate routes.
[0212] Method 3. Determine the candidate routes according to the running route of the user when the distance threshold is reached.
[0213] For example, set the distance threshold to 1 km. Determine the running route of the user when 1 km is reached, and use the routes within a certain range from this route as candidate routes.
[0214] It should be noted that in the above three exemplary methods for determining the candidate routes, the candidate routes are the routes within a certain range from the current location of the user or from the running route of the user. In order to determine more appropriate candidate routes, it is also possible to further screen out the routes with a high degree of overlap with the running route of the user from the routes within a certain range as candidate routes. This further screening method for candidate routes can be applicable to Method 2 and Method 3 above.
[0215] For example, in Method 2, based on the running route of the user within 2 minutes, routes within a certain range from this route are filtered to select routes with a coincidence degree greater than a threshold with the user's running route as candidate routes. In Method 3, based on the running route of the user when reaching 1 km, routes within a certain range from this route are filtered to select routes with a coincidence degree greater than a threshold with the user's running route as candidate routes.
[0216] S703. Determine a target route according to personal information.
[0217] It should be noted that a target route can be determined from multiple candidate routes according to personal information as the route of the group running mode that the user can join.
[0218] Exemplarily, a target route is determined from candidate routes according to the user's exercise habits. For example, a target route is determined according to the user's historical routes.
[0219] In a possible implementation manner, a target route is determined according to the selection frequency of the user's route. For example, the candidate routes include Route 1, Route 2, and Route 3. The frequency of the user selecting Route 1 as the target route is 5, the frequency of the user selecting Route 2 as the target route is 3, and the frequency of the user selecting Route 3 as the target route is 2. According to the selection frequency of the user, it is determined that the highest selection frequency is Route 1. Based on this, Route 1 can be determined as the target route.
[0220] In another possible implementation manner, a target route is determined according to the pattern of the user's historical data. For example, the candidate routes include Route 1, Route 2, and Route 3. The full length of Route 1 is 5 km, the full length of Route 2 is 10 km, and the full length of Route 3 is 15 km. The pattern of the user's historical data can be that after every 5 exercises, the running distance of the user can increase by 500 m to achieve the purpose of enhancing exercise. If the exercise distance of the user increases to 10 km this time, then Route 2 can be selected as the target route.
[0221] Exemplarily, a target route is determined from candidate routes according to the user's personal ability.
[0222] It should be noted that the personal ability of a user can be reflected by multiple parameters. Exemplarily, the multiple parameters include historical state parameters of the user's movement, user movement feedback information, the user's movement ability, etc. Among them, the historical state parameters of the user's movement include heart rate. The user movement feedback information can be the evaluation of the difficulty of the current movement by the user after each movement. The user can consider the current movement to be easy, difficult, or of moderate difficulty. The user's movement ability can be the evaluation of the user's training index, recovery index, running ability index, etc. by the sports health application. The user's personal ability can also be a target mode selected by the user. For example, the target mode includes an easy mode, an adaptation mode, or a challenge mode, etc. If the user selects the challenge mode, a route that exceeds the user's usual movement distance can be selected as the target route. If the user selects the adaptation mode, a route that is equal to the user's usual movement distance can be selected as the target route.
[0223] Furthermore, if it is determined according to personal information that there are multiple routes that meet the user's movement habits and personal ability, then in combination with Method 3, the route with the highest overlap with the user's running route can be used as the target route. Of course, multiple routes that meet the user's movement habits and personal ability can also be displayed on the user interface, and the user can independently select any route as the target route.
[0224] It should be noted that in addition to determining candidate routes according to the user's location information and determining target routes according to personal information in the above Method 700, candidate routes can also be determined according to the methods introduced in the method of manually determining target routes. Exemplarily, if the user is currently in a strange environment, the route closest to the user can be recommended as the target route. Or according to the user's preferences, a route with a plastic surface can be recommended as the target route, etc. That is to say, the electronic device can determine the target route for the user according to multiple factors, and the multiple factors can be used in combination. The embodiments of the present application do not limit the basis for determining the target route.
[0225] For ease of understanding, the following combines Figure 8 to introduce the method of determining the target route in the above Method 3.
[0226] As Figure 8 shown in (a) therein, the running route of the user before joining the group running mode is shown. For example, the running route is 1 km. This running route is the actual running route of the user before joining the group running mode of a certain target route.
[0227] As Figure 8 shown in (b) therein, three candidate routes are shown, including Route A, Route B, and Route C. These three candidate routes are the same as those in Figure 8The actual running route of the user shown in (a) is less than or equal to a preset threshold before joining the group running mode. That is, within the preset threshold range around the user's actual running route, there are three alternative routes. These three alternative routes can be displayed as prompt information on the user interface of the electronic device, or the finally determined target route can be displayed. In a possible implementation manner, the final target route can be determined according to the coincidence degree between the user's running route and the alternative routes. For example, if Route A has the highest coincidence degree with the user's running route, Route A can be determined as the target route. It should be noted that the basis for determining the target route can also be the personal information, road conditions, etc. introduced above, which will not be elaborated here.
[0228] As Figure 8 shown in (c), a running interface of the smart watch is shown, and multiple alternative routes are displayed on this interface, including Alternative Route 801, Alternative Route 802, and Alternative Route 803. The user can select any of these routes as the target route and join the group running mode of this target route. In this implementation manner, multiple alternative routes can be displayed on the user interface of the electronic device at the same time, so that the user can independently select the target route.
[0229] Or, as Figure 8 shown in (d), a group running mode interface of the smart watch is shown, and the target route is directly displayed on this interface. For example, Alternative Target 801 is determined as the target route. User icons for joining the group running mode of this target route can also be displayed on this interface. For example, the icon of User A, the icon of User B, and the icon of User C. In this implementation manner, multiple alternative routes may not be displayed on the user interface of the electronic device at the same time, enabling the user to determine the target route without awareness.
[0230] In addition, as Figure 8 shown in (e), two alternative routes are shown, including Route D and Route E. If only Route D and Route E exist within the range less than or equal to the preset threshold from the 1-kilometer running route of the user, and the coincidence degree between these two routes and the user's running route is less than the threshold, the route closest to the user's running route is selected as the target route. For example, if the distance between Route D and the center of the user's running route is less than the distance between Route E and the center of the user's running route, then Route D is determined as the target route.
[0231] It can be seen that the target route can be comprehensively determined based on factors such as the distance from the user, the coincidence degree with the user's running route, and the user's personal information.
[0232] It should be noted that when the user joins the group running mode of a certain route and may deviate from the route during the running process, the electronic device can guide the user to return to the correct route through voice or display interaction.
[0233] Scenario 2, correction of running route.
[0234] As Figure 9 shown, a schematic diagram of a method for correcting a running route provided by an embodiment of the present application is shown. Figure 9 The enclosed area formed by the dashed line in [the figure] is the route of the group running mode that the user has joined, which can be understood as the correct route, and the user should run along the route indicated by the dashed line. The solid arrow indicates the running direction of the user. During the running process, the user deviates from the route, starting from point A on the route and reaching point A'. After the user deviates a certain distance, multiple position points are generated on the correct route near point A', for example, B1, B2, B3, B4... Bn. Multiple return routes are formed between point A' and the above multiple position points. The user can return to the correct route from any one of the return routes. The electronic device will comprehensively consider various factors and select a most suitable position point from the above multiple position points as the target point to guide the user back to the correct route. For example, considering the actual paths between A' and B1, B2, B3, B4... Bn, calculating the actual distances of multiple return routes, and through comparison, it is determined that the actual distances of the return routes between A' and B3 and between A' and B4 are shorter. At this time, combined with the solid arrow indicating the running direction of the user, if the user chooses to return to the correct route along the return route between A' and B3, there will be a certain degree of turning back. If the user chooses the return route between A' and B4 to return to the correct route, the running route of the user is roughly consistent with the correct running direction and there is no turning back. Therefore, point B4 can be determined as the target point, and the user is guided to run from the current position point A' along the route and direction shown by the arrow to point B4, so as to return to the correct route. It should be noted that the actual distances between A' and B1, B2, B3, B4... Bn are related to the actual road conditions and are not simply the straight-line distances between two position points.
[0235] In a possible implementation manner, when the user has a route deviation, the user can be guided to select a new target route, or a new target route can be matched for the user.
[0236] It should be noted that when the user has a route deviation, the electronic device can remind the user whether to be guided back to the original route, or directly guide the user back to the original route, or remind the user whether to switch to a new route, or directly enter the free exercise mode, etc. The following combines Figure 10 to specifically introduce this process. It should be noted that the various feedback methods of the electronic device in response to the user's route deviation can be implemented independently or simultaneously. For example, when the user has a route deviation, the electronic device can directly guide the user back to the original route, as Figure 10As shown in (b) therein, the navigation information is directly displayed. For another example, when the user deviates from the route, the electronic device reminds the user whether to be guided back to the original route. If the user chooses not to return to the original route, the electronic device can select a new route for the user. For another example, when the user deviates from the route, as Figure 10 shown in (c) therein, the electronic device directly reminds the user whether to switch to a new route.
[0237] As Figure 10 shown in (a) therein, the mobile terminal displays a group running mode interface, indicating that the user has joined the group running mode of this route. When the user deviates from this route by a certain distance, a prompt message 1001 is displayed on this interface. The prompt message 1001 is used to prompt the user whether to return to the original route. The prompt message 1001 also includes a "Yes" control 1002 and a "No" control 1003. In response to the user's operation on the "Yes" control 1002, the mobile terminal can display a GUI as shown in Figure 10 shown in (b) therein. In response to the user's operation on the "No" control 1003, the mobile terminal can display a GUI as shown in Figure 10 shown in (c) therein, reminding the user whether to switch to a new route. Or, in response to the user's operation on the "No" control 1003, the mobile terminal switches to the free movement mode. In the free movement mode, the user's running route is not restricted.
[0238] As Figure 10 shown in (b) therein, in response to the user's operation on the "Yes" control 1002, the mobile terminal displays a group running mode interface. This interface includes a prompt message 1004, and the prompt message 1004 can be navigation information for guiding the user to return to the original route from the current position.
[0239] As Figure 10 shown in (c) therein, in response to the user's operation on the "No" control 1003, the mobile terminal displays a group running mode interface. A prompt message 1005 is displayed on this interface. The prompt message 1005 is used to prompt the user whether to select a new route. The prompt message 1005 also includes a "Yes" control 1006 and a "No" control. In response to the user's operation on the "Yes" control 1006, the mobile terminal can display a GUI as shown in Figure 10 shown in (d) therein, or display a GUI as shown in Figure 10 shown in (f) therein. In response to the user's operation on the "No" control, the mobile terminal switches to the free movement mode.
[0240] In one implementation, the user manually selects a new route. As Figure 10As shown in (d), in response to the user's operation on the "Yes" control 1006, the mobile terminal displays a group running mode interface. This interface displays a prompt message 1007, and the prompt message 1007 includes the label of the alternative route B and the label of the alternative route C. In response to the user's operation on the label of the alternative route B, the mobile terminal can display a GUI as shown in Figure 10 in (e).
[0241] As Figure 10 shown in (e), in response to the user's operation on the label of the alternative route B, the mobile terminal displays a route B interface. This interface displays a prompt message 1008, and the prompt message 1008 is used to prompt the user whether to join the group running mode of this route. The prompt message 1008 includes an OK control and a Cancel control. When the user clicks the OK control, the user can switch to the group running mode of route B.
[0242] In another implementation, a new route is automatically matched for the user. In response to the user's operation on the "Yes" control 1006, as shown in Figure 10 in (f), the mobile terminal displays a route B interface. Optionally, this interface displays a prompt message 1009, and the prompt message 1009 is used to prompt the user whether to join the group running mode of this route. The prompt message 1009 includes an OK control and a Cancel control. When the user clicks the OK control, the user can switch to the group running mode of route B.
[0243] Of course, the above interaction process can also be implemented on a smart watch. As shown in Figure 11 , a set of GUIs on a smart watch are shown.
[0244] As Figure 11 shown in (a), when the user deviates from the original route by a certain distance, the smart watch displays a prompt message 1101, and the prompt message 1101 is used to prompt the user whether to return to the original route. The prompt message 1101 includes a "Yes" control 1102 and a "No" control 1103. In response to the user's operation on the "Yes" control 1102, the smart watch can display a GUI as shown in Figure 11 in (b). In response to the user's operation on the "No" control 1103, the smart watch can display a GUI as shown in Figure 11 in (c), reminding the user whether to switch to a new route. Alternatively, in response to the user's operation on the "No" control 1103, the smart watch switches to the free exercise mode, and in the free exercise mode, the user's running route is not restricted.
[0245] As Figure 11 shown in (b), in response to the user's operation on the "Yes" control 1102, the smart watch displays a prompt message 1104. The prompt message 1104 can be navigation information, which is used to prompt the user to return to the original route from the current location.
[0246] As shown in Figure 11 (c) below, in response to the user's operation on the "No" control 1103, the smartwatch displays a prompt message 1105, which is used to prompt the user whether to select a new route. The prompt message 1105 also includes a "Yes" control 1106 and a "No" control. In response to the user's operation on the "Yes" control 1106, the smartwatch can display the GUI shown in Figure 11 (d) below, or directly display the GUI shown in Figure 11 (e) below. In response to the user's operation on the "No" control, the smartwatch switches to the free exercise mode.
[0247] In one implementation, the user manually selects a new route. As shown in Figure 11 (d) below, in response to the user's operation on the "Yes" control 1106, the smartwatch displays a prompt message 1107, which includes the label of the alternative route B and the label of the alternative route C. In response to the user's operation on the label of the alternative route B, the smartwatch can display the GUI shown in Figure 11 (e) below.
[0248] In another implementation, a new route is automatically matched for the user. As shown in Figure 11 (e) below, in response to the user's operation on the "Yes" control, the smartwatch displays a prompt message 1108, which is used to prompt the user whether to join the group running mode of this route. The prompt message 1108 includes an OK control and a Cancel control. When the user clicks the OK control, the user can switch to the group running mode of route B. Of course, Figure 11 the prompt message 1108 shown in (e) below can also be triggered and displayed by manually selecting a route.
[0249] It should be noted that the embodiments of the present application do not limit the specific manner in which the electronic device guides the user to return to the correct route. The electronic device can guide the user to return to the correct route by displaying a prompt message, or can also guide the user to return to the correct route by playing a prompt voice.
[0250] It should be noted that in the group running mode, users with weak GPS signals will not be able to obtain relatively accurate location information. At this time, the location information of other users with strong GPS signals around can be used to assist the users with weak signals in positioning.
[0251] Scenario 3, assisted positioning.
[0252] As shown in Figure 12As shown, it shows a schematic diagram of a method for assisting positioning provided by an embodiment of the present application. In the group running mode on the same route, it includes User A, User B, and User C. Among them, the GPS signal of User A is weak, and the GPS signals of User B and User C around User A are strong. Therefore, it is difficult to obtain relatively accurate position information of User A through the GPS signal of User A, while User B and User C can determine their own position information relatively accurately through their own GPS signals.
[0253] To better determine the position information of User A, within a period of time before the GPS signal of User A becomes weak, record the motion information of multiple users with strong GPS signals around User A, such as step frequency, relative speed of the inertial measurement unit (IMU), etc. From multiple users around User A, select users whose step frequency and IMU relative speed remain unchanged as reference users (such as User B and User C). When the GPS signal of User A is weak, the GPS of User A cannot accurately determine the position information of User A. If normal communication can be established between User A, User B, and User C, User A can receive the position information from User B and User C, and calculate the position information of User A based on the position information of User B and User C.
[0254] It should be noted that in the group running mode provided by the embodiment of the present application, it can further include a normal mode and a competition mode. Among them, the normal mode can be understood as multiple users running on the same route within a period of time, and the starting times, starting positions, and running goals of multiple users can be different. The competition mode can be understood as multiple users running on the same route, and the starting times, starting positions, and running goals of multiple users are the same. In different modes, users can achieve simple interactions through electronic devices.
[0255] Scenario 4, interactions in different modes.
[0256] As Figure 13 shown, it shows a set of GUIs provided by the embodiment of the present application, introducing the interaction methods in the group running mode.
[0257] In one implementation, the electronic device can achieve interactions in the normal mode. As Figure 13As shown in (a) therein, a group running mode interface of a mobile phone terminal is shown. This interface displays the basic information of users who have joined the group running mode on the same route. For example, the users who have joined the group running mode on this route include User A, User B, and User C. This interface displays the icon of User A, the icon of User B, and the icon of User C. In the group running mode interface, a prompt message 1301 is also displayed. The prompt message 1301 includes the current running information of the local user of this mobile phone terminal. For example, the number of kilometers already run, the time used, the pace, the energy consumed (in kilocalories), and the heart rate. This interface also displays a prompt message 1302 and a prompt message 1303. Among them, the prompt message 1302 includes the running information of User B, such as the pace and the number of kilometers already run by User B. The prompt message 1303 includes the running information of User C, such as the pace and the number of kilometers of User C. It should be noted that Figure 13 As shown in (a) therein, the interaction method of users in the normal mode is shown. In the normal mode, the running information of each user who has joined the group running mode on the same route can be obtained through the screen of the electronic device, and one of the users can also be set as the user to be chased, for example Figure 4 as shown in (e) in Figure 4 and (f) therein.
[0258] In another implementation, the electronic device can implement the interaction in the competition mode. It should be noted that the user can create a competition or join an existing competition. In the scenario where the user creates a competition, the user sets the route of the competition, the users who join the competition, whether other users are allowed to join the competition at any time, whether other users need to be permitted by the local user to join the competition, competition parameters (such as the running time for the same distance, the running distance for the same time, the pace, etc.) in the sports health application. In the scenario where the user joins an existing competition, the user can join a competition created by other users. Interaction can be achieved among multiple users belonging to the same competition team.
[0259] As Figure 13 shown in (b) therein, a group running mode interface of a mobile phone terminal is shown. This interface displays the basic information of users who have joined the group running mode on the same route. For example, the users who have joined the group running mode on this route include User A, User B, and User C. This interface displays the icon of User A, the icon of User B, and the icon of User C. Figure 13The (b) in it shows the interaction mode of the user in the competition mode. In the competition mode, relevant information about the competition can be displayed. Among them, the relevant information of the competition includes ranking information, information on changes in participants, the exercise parameters of the participants, the comparison information of the exercise parameters, etc. Through the ranking information, a list of users ranked by running distance, or a list of users ranked by pace, or a list of users ranked by running duration can be obtained. Through the information on changes in participants, the information of users who join the competition in real time or leave the competition in real time can be obtained. Through the exercise parameters of the participants, exercise parameters such as the pace, the number of kilometers run, and the running duration of each participant can be obtained. Through the comparison information of the exercise parameters, the comparison information of the exercise parameters between the local user and other parameter users can be obtained, which is convenient for the user to understand the gap with other participants.
[0260] Exemplarily, the interface displays prompt information 1304, prompt information 1305, prompt information 1306, prompt information 1307, and prompt information 1308. Among them, prompt information 1304 is used to prompt the ranking information and the information on changes in participants. For example, prompt information 1304 is used to prompt that the current first place is user A, and is also used to prompt that user D left the competition in advance, or is also used to prompt that a new user joined the competition, or a request to join the competition. Prompt information 1305, prompt information 1306, and prompt information 1307 are used to prompt the exercise parameters of the participants, including the pace of the participants, the number of kilometers run, etc. Prompt information 1305 is displayed near the icon of user A, and is used to prompt that the current first place is user A. Prompt information 1305 displays the pace and the number of kilometers run by user A. Prompt information 1306 is displayed near the icon of user B, and is used to prompt that the current second place is user B. Prompt information 1306 displays the pace and the number of kilometers run by user B. Prompt information 1307 is displayed near the icon of user C, and is used to prompt that the current third place is user C. Prompt information 1307 displays the pace and the number of kilometers run by user C. Prompt information 1308 can be the comparison information of the exercise parameters, and is used to prompt the comparison information of the exercise parameters between the local user and other participants. According to the specific comparison information, the specific displayed prompt information 1308 will also vary. For example, when the comparison information is the number of kilometers run, prompt information 1308 is used to prompt the number of kilometers of the local user of this terminal device from the previous user. When the comparison information is the running duration, prompt information 1308 can be used to prompt the difference in running duration between the local user and the previous user. When the comparison information is the pace, prompt information 1308 can be used to prompt the difference in pace between the local user and the previous user. Of course, prompt information 1308 can not only represent the comparison information of the exercise parameters between the local user and the previous user, but also represent the comparison information of the exercise parameters between the local user and the first user.
[0261] It can be seen that the interaction methods in the normal mode and the competition mode may be different, enabling more personalized adaptation to user needs and providing a more vivid interaction experience for users in different modes.
[0262] Of course, the above interaction process can also be implemented on a smart watch. As Figure 14 shown, a set of GUIs on a smart watch is shown.
[0263] As Figure 14 shown in (a) of, the group running mode interface of the smart watch is displayed. When the user is in the competition mode, in response to the user's operation of swiping left on this interface, the smart watch can display the GUI as shown in Figure 14 (b) of.
[0264] As Figure 14 shown in (b) of, in response to the user's operation of swiping left, the smart watch displays a competition ranking interface. This interface displays ranking information, which can be a list of users arranged according to sports parameters such as the distance run, the duration run, and the pace. This interface shows that the first place is user A, the second place is user B, and the third place is user C.
[0265] As Figure 14 shown in (c) of, when there is a change in the participants, the group running mode interface of the smart watch displays a prompt message 1401, and the prompt message 1401 is used to prompt the change in the participants, including the user information of those who join the competition in real time or the user information of those who withdraw from the competition in real time. For example, the prompt message 1401 is used to prompt that user D joins the competition and user E leaves the competition in advance.
[0266] As Figure 14 shown in (d) of, at a certain period, the group running mode interface of the smart watch displays a prompt message 1402, and the prompt message 1402 is used to represent the comparison information of sports parameters. Through the comparison information of sports parameters, it is convenient for the local user to understand the gap with other participants. For example, the prompt message 1402 is used to represent the number of kilometers between the local user and the previous participant. Of course, the prompt message 1402 can not only be periodically displayed on the user interface, but also be triggered and displayed by the user's operation. This application does not make any limitations in this regard.
[0267] As Figure 15 shown, a method for assisting exercise provided by an embodiment of the present application is shown. This method can be applied to an electronic device such as a mobile terminal that supports the function of assisting exercise. Hereinafter, taking this method applied to a first electronic device (mobile terminal) as an example, the method 1500 will be introduced.
[0268] S1501, determine a first target route.
[0269] It should be noted that before the user joins the group running mode, a certain route needs to be determined as the target route, and the ways to determine the target route include manual determination and automatic determination.
[0270] In one implementation, the user manually determines the first target route.
[0271] Exemplarily, a second interface is displayed, and the second interface displays at least one label of the candidate routes, and at least one label of the candidate routes includes the label of the first route; the operation of the user on the label of the first route is received, and the first route is determined as the first target route.
[0272] It should be noted that the second interface can be the running interface shown in (b) of Figure 4 This interface can display multiple route labels, and the multiple route labels are labels of at least one candidate route. The labels of at least one candidate route can be arranged in a certain order. The label of the first route can be the label 404 of Route A. If the user clicks on the label of the first route, the first route can be determined as the first target route.
[0273] Among them, the order of the labels of at least one candidate route can be determined based on one or more of the following: the slope information of the route, the material information of the road surface, the personal information of the user, and the location information of the user. The personal information of the user can be understood as the user's exercise habits, personal abilities, etc.
[0274] It should be noted that in different scenarios, the order of the labels of at least one candidate route can be different.
[0275] For example, when the user is currently within the range where the user often exercises and the user is familiar with the surrounding routes, the labels of at least one candidate route can be arranged according to the user's exercise habits, and the routes that the user often selects can be arranged at the front. When the user is currently in a strange environment and the user is not familiar with the surrounding routes, the labels of at least one candidate route can be sorted according to the distance from the user, and the route closest to the user can be arranged at the front. When multiple route labels are arranged according to the road surface material, the road surface material information of the route can be displayed near the route label. For example, Route A is a plastic road surface and Route B is a cement road surface for the user to select the target route according to the road surface material. When multiple route labels are arranged according to the surrounding environment of the route, the surrounding environment information of the route can be displayed near the route label. For example, Route A is the internal route of the city park and Route B has a lake view around it.
[0276] In another implementation, the first target route is automatically determined for the user.
[0277] Exemplarily, a first target route is determined based on first information, and the first target route belongs to one of at least one candidate route. Among them, the first information includes at least one of the following: the user's exercise habit, the user's personal ability.
[0278] In addition, before determining the first target route according to the first information, at least one candidate route can also be determined according to second information. Among them, the second information includes one or more of the following: the slope information of the route, the material information of the road surface, the surrounding environment of the route, the user's location information, the user's route information.
[0279] That is to say, the candidate routes can be multiple routes near the user's current location, and the candidate routes can be routes preset by the system. The methods for determining at least one candidate route according to the second information include but are not limited to the following:
[0280] Method 1: According to the user's location information (for example, the location where the user is currently located), determine the routes within a certain range from the user as candidate routes.
[0281] Method 2: According to the user's route information (for example, the running route of the user within a time threshold), determine the routes within a certain range from the user's running route as candidate routes.
[0282] Method 3: According to the user's route information (for example, the running route of the user when reaching a distance threshold), determine the routes within a certain range from the user's running route as candidate routes.
[0283] S1502, display the first interface.
[0284] It should be noted that the first interface includes the information of the first user and the information of the first target route. The first user is the user of the first electronic device. The first interface also includes the information of the second user. The second user and the first user are in a first exercise state, and the first exercise state is the state of exercising along the first target route. Among them, the second user and the first user being in the first exercise state can be understood as the second user and the first user are exercising in the group running mode on the first target route.
[0285] Exemplarily, the first interface can be the group running mode interface shown in (e) of Figure 4 The first user is the local user, that is, the user of the first electronic device. The information of the local user and the information of the first target route (for example, Route A) are displayed on the first interface. The information of the users who join the first target route is displayed on the first interface, for example, the information of the first user and the second user. The second user and the first user are both users who are currently exercising in the group running mode on the first target route. For example, as shown in Figure 4User B shown in (e) is the local user, and User A and User C are the second users.
[0286] That is to say, on the group running mode interface of a certain route, information of users who are running in the group running mode on this route can be displayed. The above-mentioned user information includes the real-time location of the user, the number of kilometers the user has run currently, the time used, the pace, the energy consumed, and the heart rate and other information.
[0287] It should be noted that in the group running mode of a certain route, users who join this group running mode can interact on the user interface.
[0288] In one implementation, the first interface further includes an icon of the second user, and the icon of the second user is the identifier of the second user; receiving an operation of the user on the icon of the second user, and setting the second user as the chasing target.
[0289] Optionally, receiving an operation of the user on the icon of the second user, outputting a fourth prompt, and the fourth prompt is used to prompt whether to set the second user as the chasing target.
[0290] Furthermore, receiving an operation of the user setting the second user as the chasing target can prompt the time required for the user to catch up with the second user.
[0291] Optionally, the icon of the second user can be the user C icon 409 shown in (e) as follows. The fourth prompt can be the prompt message 410 shown in (g) as follows. Figure 4 The fourth prompt can be the prompt message 410 shown in (g) as follows. Figure 4 The fourth prompt can be the prompt message 410 shown in (g) as follows.
[0292] In one implementation, the first interface further includes an icon of the second user, and the icon of the second user is the identifier of the second user; receiving an operation of the user on the icon of the second user, and setting the second user as the leading object.
[0293] Optionally, receiving an operation of the user on the icon of the second user, outputting a fifth prompt, and the fifth prompt is used to prompt whether to set the second user as the leading object.
[0294] Furthermore, receiving an operation of the user setting the second user as the leading object can prompt the comparison information between the first user and the second user.
[0295] Optionally, the icon of the second user can be the user C icon 409 shown in (e) as follows. The fifth prompt can be the prompt message 410 shown in (i) as follows. The comparison information between the first user and the second user can be the prompt message 415 shown in (j) as follows. Figure 4 The fifth prompt can be the prompt message 410 shown in (i) as follows. Figure 4 The comparison information between the first user and the second user can be the prompt message 415 shown in (j) as follows. Figure 4 The comparison information between the first user and the second user can be the prompt message 415 shown in (j) as follows.
[0296] Of course, the first user can not only set other users (e.g., the second user) as the leading object, but also be set as the leading object by other users.
[0297] In one implementation, receive third information from the second electronic device and output a sixth prompt, where the sixth prompt is used to prompt the second user to set the first user as the leading object, and the second user is the user of the second electronic device.
[0298] Optionally, the sixth prompt may be the prompt message 416 shown as (k) in Figure 4 . The third information may be a request message for requesting to set the first user as the leading object.
[0299] In one implementation, the second user and the first user are in a competition mode, and the first interface further includes one or more of the following: comparison information between the first user and the second user; ranking information of the first user; ranking information of the second user.
[0300] Optionally, the comparison information may be the prompt message 1308 shown as (b) in Figure 13 , and may include comparison of motion parameters. For example, the comparison information may be the number of kilometers run, the duration of running, the pace, etc. The ranking information may be the prompt message 1304 shown as (b) in Figure 13 .
[0301] It should be noted that when a user joins the group running mode of a certain route and during the running process, the route may deviate. At this time, the electronic device can remind the user whether to be guided back to the original route, or directly guide the user back to the original route, or remind the user whether to switch to a new route, or directly enter the free mode, etc. It should be understood that various feedback methods when the electronic device responds to the user's route deviation can be implemented independently or simultaneously.
[0302] In one implementation, if the distance between the first user and the first target route is greater than or equal to the distance threshold, output a first prompt, where the first prompt is used to instruct the user to return to the first target route.
[0303] Optionally, the first prompt may be the prompt message 1004 shown as (b) in Figure 10 . When the distance by which the first user deviates from the first target route is greater than or equal to the distance threshold, the first electronic device can directly display navigation information to prompt the user to return to the original route. Of course, the first prompt may also be a prompt sound played by the first electronic device. The embodiments of the present application do not limit the specific manner of the reminder.
[0304] Specifically, the first prompt includes a return route, which is used to instruct the user to return to the first target route via the return route. Among them, the return route can be determined according to the location information of the first user, and the return route includes navigation information such as route direction and distance. For the specific method, please refer to the above description of Figure 9 , which will not be elaborated here.
[0305] In addition, before outputting the first prompt, the first electronic device can also output a second prompt, which is used to prompt the user whether to return to the first target route.
[0306] Optionally, the second prompt can be the prompt message 1001 as shown in (a) of Figure 10 .
[0307] In one implementation, if the distance between the first user and the first target is greater than or equal to the distance threshold, a third interface is displayed, and the third interface includes the information of the first user and the information of the second target route.
[0308] Specifically, before displaying the third interface, the first electronic device can output a third prompt, which is used to prompt the user whether to select the second target route, and the second target route is different from the first target route.
[0309] Optionally, the third prompt can be the prompt message 1005 as shown in (c) of Figure 10 . When the distance that the first user deviates from the first target route is greater than or equal to the distance threshold, the user can switch to a new target route, and the user can join the group running mode of the new route. The third interface can be the group running mode interface of the second target route, which is similar to the first interface (the group running mode interface of the first target route), and displays the information of the second target route and the information of the users who have joined the group running mode of the second target route.
[0310] In another implementation, if the distance between the first user and the first target route reaches the first threshold, the user is instructed to return to the first target route; in response to the distance between the first user and the first target route being greater than or equal to the second threshold, the first user is switched to the group running mode of the second target route, where the second threshold is greater than the first threshold.
[0311] That is to say, as the deviation distance of the user from the original target route increases, the electronic device can provide different feedback.
[0312] It should be noted that in the group running mode, users with weak GPS signals will not be able to obtain relatively accurate location information. At this time, the location information of other users with strong GPS signals around can be used to assist the users with weak signals in positioning.
[0313] In one implementation, when the positioning signal of the first user is less than the signal threshold, the position information of the first user is determined according to the position information of multiple third users; wherein, the multiple third users are in the first motion state, and the motion information of the multiple third users remains unchanged within the time threshold, and the time threshold is a period of time before the positioning signal of the first user is less than the signal threshold.
[0314] Exemplarily, as Figure 12 shown, the multiple third users may be User B and User C, and the first user may be User A. During a period of time before the GPS signal of User A is weak, record the motion information of users with strong GPS signals around User A, such as step frequency, IMU relative speed, etc. From multiple users around User A, select users (multiple third users) whose step frequency and IMU relative speed remain unchanged as reference users, and calculate the position information of User A according to the position information of the reference users.
[0315] Based on the above solution, the embodiments of the present application provide an auxiliary motion method, which provides a group running mode for users, determines the route of the group running mode joined by users manually or automatically, and when the running route of the user deviates, matches a suitable return route and guides the user back to the original correct target route. When the GPS signal is weak, the position information of other users can be used to assist the positioning of the local user. That is, in the user group running mode, various services are provided for users, the interaction during exercise is increased, the interest of auxiliary motion is improved, and thus the exercise enthusiasm of users is enhanced.
[0316] In the above text, in combination with Figures 3 to 15 the auxiliary motion method provided by the embodiments of the present application is described in detail. In each embodiment of the present application, if there is no special description and logical conflict, the terms and / or descriptions between the embodiments are consistent and can be referenced to each other, and the technical features in different embodiments can be combined to form new embodiments according to their internal logical relationships.
[0317] Next, in combination with Figure 16 and Figure 17 the device provided by the embodiments of the present application will be described in detail. It should be understood that the description of the device embodiment corresponds to the description of the method embodiment. Therefore, the content not described in detail can be referred to the above method embodiment, and for the sake of brevity, it will not be repeated here.
[0318] Figure 16 FIG. shows a schematic block diagram of an auxiliary motion device 1600 provided by an embodiment of the present application. The auxiliary motion device 1600 may include units for executing Figure 15 the auxiliary motion method in
[0319] Specifically, the device 1600 for assisting movement includes a processing unit 1610 and a transceiver unit 1620.
[0320] Optionally, the device 1600 for assisting movement further includes a storage unit, which can be used to store instructions and / or data. The processing unit 1610 can read the instructions and / or data in the storage unit, so that the device for assisting movement can implement the relevant actions performed by the electronic device in the foregoing various method embodiments.
[0321] The device 1600 for assisting movement can be used to perform the actions performed by the electronic device in the foregoing various method embodiments. At this time, the device 1600 for assisting movement can be a component of the electronic device. For example, the device 1600 for assisting movement can also be a chip or an integrated circuit in the electronic device. The processing unit 1610 is used to perform the operations related to the processing of the electronic device in the foregoing method embodiments, and the transceiver unit 1620 is used to perform the operations related to the transceiver of the electronic device in the foregoing method embodiments.
[0322] It should be understood that the specific processes of each unit performing the corresponding steps have been described in detail in the foregoing method embodiments. For the sake of brevity, they will not be repeated here.
[0323] In a specific implementation, the actions performed by the processing unit 1610 and the transceiver unit 1620 can be implemented by one processor, or can also be implemented by multiple processors.
[0324] Figure 17 is another schematic block diagram of the device for assisting movement provided by the embodiments of the present application. Figure 17 The shown device 1700 for assisting movement may include: a processor 1710, a transceiver 1720, and a memory 1730. Among them, the processor 1710, the transceiver 1720, and the memory 1730 are connected through an internal connection path. The memory 1730 is used to store instructions, and the processor 1710 is used to execute the instructions stored in the memory 1730 to implement the methods in the foregoing various embodiments. Optionally, the memory 1730 can be coupled to the processor 1710 through an interface, or can also be integrated with the processor 1710.
[0325] It should be noted that the foregoing transceiver 1720 may include, but is not limited to, a transceiver device such as an input / output interface, to implement the communication between the device 1700 for assisting movement and other devices or communication networks.
[0326] The memory 1730 can be a volatile memory and / or a non-volatile memory. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM). For example, the RAM can be used as an external cache. By way of example and not limitation, the RAM includes the following various forms: static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchlink DRAM (SLDRAM), and direct rambus RAM (DR RAM).
[0327] It should be noted that when the processor is a general-purpose processor, a DSP, an ASIC, an FPGA, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, the memory (storage module) can be integrated in the processor.
[0328] It should also be noted that the memory described in this article is intended to include but not limited to these and any other suitable types of memory.
[0329] The transceiver 1720 uses a transceiver device such as but not limited to a transceiver to implement the communication between the device 1700 for assisting movement and other devices or communication networks, so as to receive / send data / information for implementing the methods in the above embodiments.
[0330] The device 1700 for assisting movement can be a chip or a circuit provided in the above electronic device.
[0331] The embodiments of the present application provide a computer program product. When the computer program product runs on a device, the device is caused to execute the technical solutions in the above embodiments. The implementation principle and technical effects are similar to those of the related embodiments of the above method, and will not be elaborated here.
[0332] An embodiment of the present application provides a readable storage medium. The readable storage medium contains instructions that, when running on a device, cause the device to execute the technical solutions of the above embodiments. The implementation principles and technical effects are similar and will not be elaborated here.
[0333] An embodiment of the present application provides a chip. The chip is used to execute instructions and, when the chip runs, executes the technical solutions in the above embodiments. The implementation principles and technical effects are similar and will not be elaborated here.
[0334] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the embodiments of the present application.
[0335] Those skilled in the art can clearly understand that for the convenience and conciseness of description, the specific working processes of the above-described devices and units (modules) can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated here.
[0336] In several embodiments provided by the present application, it should be understood that the disclosed devices, apparatuses, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces. The indirect couplings or communication connections of the devices or units can be in an electrical, mechanical, or other form.
[0337] The units described as separate components above may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place, or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0338] In addition, the functional units in each embodiment of the present application can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit.
[0339] If the above functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiments of the present application, in essence, or the part that contributes to the prior art, or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.
[0340] The above is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of changes or substitutions, which should all be covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A method for assisting movement, characterized in that, The method is applied to a first electronic device and includes: Displaying a first interface, where the first interface includes information of a first user and information of a first target route. The first user is the user of the first electronic device. The first interface further includes information of a second user, and the second user and the first user are in a first motion state, where the first motion state is a state of moving along the first target route.
2. The method according to claim 1, wherein Before displaying the first interface, the method further includes: Determining the first target route.
3. The method according to claim 2, wherein The determining the first target route includes: Displaying a second interface, where the second interface displays labels of at least one candidate route, and the labels of the at least one candidate route include a label of a first route; Receiving an operation by the user on the label of the first route and determining the first route as the first target route.
4. The method according to claim 3, characterized in that, The order of the labels of the at least one candidate route is determined based on one or more of the following: Slope information of the route, material information of the road surface, personal information of the user, location information of the user.
5. The method according to claim 2, characterized in that, The determining the first target route includes: Determining the first target route according to first information. The first target route belongs to one of the at least one candidate routes, and the first information includes at least one of the following: Exercise habits of the user, personal ability of the user.
6. The method according to claim 5, wherein Before determining the first target route according to the first information, the method further includes: Determining the at least one candidate route according to second information. The second information includes one or more of the following: Slope information of the route, material information of the road surface, surrounding environment of the route, location information of the user, route information of the user.
7. The method according to any one of claims 1 to 6, characterized in that The method further includes: If the distance between the first user and the first target route is greater than or equal to a distance threshold, outputting a first prompt, where the first prompt is used to instruct the user to return to the first target route.
8. The method according to claim 7, wherein The first prompt includes a return route, and the return route is used to instruct the user to return to the first target route.
9. The method according to claim 7 or 8, characterized in that Before outputting the first prompt, the method further includes: Outputting a second prompt, where the second prompt is used to prompt the user whether to return to the first target route.
10. The method according to any one of claims 1 to 6, characterized in that The method further includes: If the distance between the first user and the first target route is greater than or equal to the distance threshold, displaying a third interface; the third interface includes information of the first user and information of a second target route, and the second target route is different from the first target route.
11. The method according to claim 10, wherein Before displaying the third interface, the method further includes: Outputting a third prompt, where the third prompt is used to prompt the user whether to select the second target route.
12. The method according to any one of claims 1 to 11, characterized in that, The first interface further includes an icon of the second user, and the icon of the second user is an identifier of the second user. The method further includes: Receiving an operation by the user on the icon of the second user and setting the second user as a pursuit target.
13. The method according to any one of claims 1 to 11, characterized in that, The first interface further includes an icon of the second user, and the icon of the second user is an identifier of the second user. The method further includes: Receiving an operation by the user on the icon of the second user and setting the second user as a leading object.
14. The method according to any one of claims 1 to 13, characterized in that, The second user is in a competition mode with the first user, and the first interface further includes one or more of the following: Comparison information between the first user and the second user; Ranking information of the first user; Ranking information of the second user.
15. The method according to any one of claims 1 to 14, characterized in that, The method further includes: When the positioning signal of the first user is less than the signal threshold, determining the position information of the first user according to the position information of a plurality of third users; Wherein, the plurality of third users are in the first motion state, and the motion information of the plurality of third users remains unchanged within a time threshold, and the time threshold is a period of time before the positioning signal of the first user is less than the signal threshold.
16. An electronic device, characterized in that, The electronic device is used to execute the method according to any one of claims 1 to 15.
17. A device for assisting movement, characterized in that, Comprising: A processor coupled to a memory, the memory is used to store a computer program, and the processor is used to run the computer program so that the device for assisting movement executes the method according to any one of claims 1 to 15.
18. The device for assisting movement according to claim 17, characterized in that, The device further includes a transceiver, and the transceiver is used to receive signals and / or send signals.
19. A computer-readable storage medium, characterized in that, A computer program is stored thereon, and when the computer program is executed by the computer, the computer is enabled to implement the method according to any one of claims 1 to 15.
20. A chip, characterized in that, The chip includes a processor and a data interface, and the processor reads instructions stored on the memory through the data interface to execute the method according to any one of claims 1 to 15.
Citation Information
Cited By
Sports assistance method and apparatus, and electronic device
WO2025152791A1