Exercise method and electronic equipment

By providing a quick exercise entry and exercise capsule near the bottom of the sports and health application interface, the problem of cumbersome user operations is solved, and efficient human-computer interaction and a simplified exercise start process are achieved.

CN120670060APending Publication Date: 2025-09-19HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410286455.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-12
Publication Date
2025-09-19

AI Technical Summary

Technical Problem

In existing sports and health applications, it is troublesome for users to start various types of sports operations, and the human-computer interaction efficiency is low, especially for users who operate with one hand, the operation is difficult.

Method used

A quick entry to exercise is provided in the interface of the Sports and Health application, located near the bottom area for easy user operation. Exercise data recording can be started in response to the user's trigger operation, and exercise identification, recording and options are provided through the exercise capsule to simplify the operation process.

Benefits of technology

It improves the efficiency of human-computer interaction, simplifies the operation process of starting exercise, especially one-handed operation, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120670060A_ABST
    Figure CN120670060A_ABST
Patent Text Reader

Abstract

The invention discloses an exercise method and electronic equipment, relates to the technical field of terminals, and can provide an entrance for quickly starting exercise and improve the man-machine interaction efficiency. The method comprises the steps that a first interface is displayed, the first interface comprises a first motion entrance and a second motion entrance, and the first motion entrance and the second motion entrance correspond to first motion. In response to a first operation on the first motion entry, the electronic device begins to record motion data of the first motion. In response to the first operation on the second motion entrance, the electronic equipment displays a second interface, the second interface comprises a setting item of the first motion, and the setting item is used for setting a motion parameter of the first motion. And in response to a second operation of the user on the second interface, the electronic equipment starts to record the motion data of the first motion.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of terminal technology, and more particularly to a motion method and electronic device. Background Art

[0002] With the general improvement of overall fitness awareness, a large number of users have gradually adapted to using sports and health applications installed on electronic devices such as mobile phones and tablets to achieve exercise anytime and anywhere.

[0003] Currently, various sports and health apps typically offer a variety of exercises, such as running, rope skipping, and cycling, to meet users' diverse exercise needs. However, in current sports and health apps, starting various types of exercises is cumbersome and the human-computer interaction efficiency is low. Summary of the Invention

[0004] The present application provides an exercise method and an electronic device, which can provide users with an entry point to quickly start exercise and improve the efficiency of human-computer interaction.

[0005] To achieve the above objectives, this application adopts the following technical solutions:

[0006] In the first aspect, the present application provides an exercise method that can be applied to an electronic device installed with a sports application (such as a sports and health application). Specifically, the electronic device displays a first interface (such as the menu interface of the "Sports" menu below), and the first interface includes a first sports entrance (hereinafter referred to as the sports entrance) and a second sports entrance (hereinafter referred to as the sports quick entrance). Among them, the first sports entrance and the second sports entrance both correspond to the same sport (referred to as the first sport, hereinafter also referred to as the target sport, such as outdoor running). That is to say, in the same interface, two sports entrances for the same sport are included.

[0007] Specifically, in response to a first operation on the first movement entry (hereinafter referred to as trigger operation 3), the electronic device starts recording movement data of the first movement, such as movement time, calories consumed, etc.

[0008] Furthermore, the second exercise entry can be used to start exercise after setting exercise parameters. Specifically, in response to a first operation on the second exercise entry (hereinafter referred to as trigger operation 1), the electronic device displays a second interface (hereinafter referred to as a preparation interface, such as a preparation interface for outdoor running). The second interface includes setting items for the first exercise, and the setting items for the first exercise are used to set exercise parameters for the first exercise. For example, the setting items for the first exercise include setting items such as exercise goals and background music. In response to a second operation of the user on the second interface (such as clicking the start button in the second interface), the electronic device starts recording exercise data for the first exercise.

[0009] In summary, with the present application, the electronic device provides two entrances for starting exercise, thereby satisfying the user's needs of starting exercise quickly and starting exercise after setting exercise parameters.

[0010] In a possible design, the distance between the first movement entrance and the bottom of the first interface is smaller than the distance between the second movement entrance and the bottom of the first interface.

[0011] That is to say, the first exercise entrance is closer to the bottom of the interface. In this way, even users who operate with one hand can easily operate the first exercise entrance and start exercising quickly.

[0012] In one possible design, the first exercise entry includes exercise records for the first exercise. The exercise records can be single exercise records, such as the most recent mileage of running or number of rope skipping, or cumulative exercise records, such as the cumulative mileage of running or number of rope skipping.

[0013] After the electronic device displays the first interface, the above method also includes: in response to a third operation on the motion record (hereinafter referred to as trigger operation 6), the electronic device displays a third interface, and the third interface includes historical motion data of the first motion.

[0014] That is to say, in an area that is easily accessible to the user, the electronic device also provides an entry for quickly viewing the historical motion data of the first motion, thereby making it convenient for the user to obtain the historical motion data.

[0015] In one possible design, the first movement entry is surrounded by an identifier for the first movement. After the electronic device displays the first interface, the method further includes: in response to a fourth operation (hereinafter referred to as trigger operation 4) on the identifier for the first movement, the electronic device displays multiple movement options, the multiple movement options corresponding one-to-one to the multiple movements, the multiple movement options including a first option (hereinafter referred to as any movement option), the first option corresponding to the second movement. In response to the selection operation of the first option, the electronic device begins recording movement data for the second movement.

[0016] That is to say, in areas that are easily accessible to users, electronic devices also provide options for selecting sports, making it convenient for users to switch sports.

[0017] In one possible design, the first interface includes a first layer and a second layer (hereinafter referred to as layer 1), the first layer is located above the second layer, and the first movement entrance is located in the first layer. That is, the first layer is the layer that displays the first movement entrance.

[0018] After the electronic device displays the first interface, the above method also includes: in response to a sliding operation in the first interface, the electronic device slides to display the content in the second layer, keeping the position of the first motion entrance in the first layer in the first interface unchanged.

[0019] That is, in response to the user's sliding operation in the first interface, the electronic device can not only slide and display the content in the second layer so that the user can view more content in the second layer, but also the electronic device can always provide the user with the first exercise entrance so that the user can quickly start exercising.

[0020] In one possible design, the first interface also includes a third movement entry, corresponding to a second movement that is different from the first movement. Furthermore, the third movement entry can also be used to start a movement after setting movement parameters. In other words, the first interface includes movement entries corresponding to different movements that can be used to start a movement after setting movement parameters. In other words, the first interface is not an interface for a specific movement, but rather a higher-level interface for multiple movements.

[0021] After the electronic device displays the first interface, the method further includes: in response to a first operation on the third exercise entry, the electronic device displays a fourth interface (hereinafter also referred to as a preparation interface, such as a preparation interface for rope skipping), the fourth interface including setting items for the second exercise, the setting items for the second exercise being used to set exercise parameters for the second exercise. In response to a second operation on the fourth interface by the user, the electronic device begins recording exercise data for the second exercise.

[0022] That is, the electronic device can provide a first exercise entry for the first exercise in the upper interface of multiple exercises. In this way, while facilitating the user to quickly start the first exercise, it can also facilitate the user to select the exercise they want to perform from the multiple exercises.

[0023] In one possible design, a sports application is installed in the electronic device. Before the electronic device displays the first interface, the method further includes: the electronic device displays a fifth interface, the fifth interface including an application icon of the sports application. The electronic device displays the first interface, including: upon receiving a fifth operation (such as a click operation) on the application icon by the user, such as in response to the user clicking the application icon and clicking the menu item in the "Sports" menu, the electronic device displays the first interface.

[0024] In one possible design, before the electronic device displays the first interface, the method further includes: the electronic device calculating priority scores for the multiple sports and selecting the first sport based on the priority scores. For example, the electronic device can calculate the priority scores for the multiple sports based on information such as the user's historical sports data (such as duration, number of times, etc.) and the current environment of the electronic device (such as indoors or outdoors). The higher the priority score, the higher the user's interest.

[0025] That is to say, the first sport corresponding to the first sport entry displayed by the electronic device in the first interface is a sport with a higher priority score.

[0026] In one possible design, the electronic device calculates priority scores for the multiple sports, including: for each of the multiple sports, the electronic device weights multiple sports data items to obtain the sports priority score. The weight value of each sports data item matches the importance of the sports data item in the sports.

[0027] In other words, when calculating the priority score, the electronic device can perform a weighted calculation based on the importance of each motion data item in the sport. In practice, the importance of the same motion data item may vary in different sports, so different weights can be set. In this way, the electronic device can calculate a priority score that matches the importance of each motion data item, making the priority score more reasonable.

[0028] In a possible design, there are multiple first sports, such as selecting three first sports with descending priority scores. Accordingly, there are multiple first sports entries, and the multiple first sports entries correspond one-to-one to the multiple first sports.

[0029] The electronic device displays a first interface, the first interface including a first movement entry, including: the electronic device simultaneously displays multiple first movement entries in the first interface, and the arrangement order of the multiple first movement entries matches the priority scores of the multiple first movements. In this way, the electronic device can display the first movement entry corresponding to the first movement with a higher priority score in a position that is more easily accessible to the user.

[0030] Alternatively, the electronic device displays a first interface, and the first interface includes a first motion entrance, including: the electronic device displays multiple first motion entrances in the first interface in turn. The order in which the multiple first motion entrances are displayed in turn matches the priority scores of the multiple first motions. In this way, the electronic device can give priority to displaying the first motion entrances corresponding to the first motion with a higher priority score, so that the user pays attention to it first. Alternatively, the duration of the display of the multiple first motion entrances in turn matches the priority scores of the multiple first motions. In this way, the electronic device can display the first motion with a higher priority score for a longer time to facilitate user operation.

[0031] In a second aspect, the present application further provides an electronic device comprising: a display screen, one or more processors, and one or more memories. The one or more processors are coupled to the display screen and the one or more memories; the one or more memories are configured to store computer program code, the computer program code comprising computer instructions. When the one or more processors execute the computer instructions, the electronic device performs the following steps:

[0032] The electronic device displays a first interface, which includes a first motion entry and a second motion entry, each corresponding to a first motion. In response to a first operation on the first motion entry, the electronic device begins recording motion data for the first motion. In response to the first operation on the second motion entry, the electronic device displays a second interface, which includes settings for the first motion, each used to set motion parameters for the first motion. In response to a second operation on the second interface, the electronic device begins recording motion data for the first motion.

[0033] In a possible design, the distance between the first movement entrance and the bottom of the first interface is smaller than the distance between the second movement entrance and the bottom of the first interface.

[0034] In a possible design, the first movement entry includes a movement record of the first movement.

[0035] When one or more processors execute the computer instructions, the electronic device is also caused to perform the following steps: in response to a third operation on the motion record, the electronic device displays a third interface including historical motion data of the first motion.

[0036] In a possible design manner, the periphery of the first movement entrance includes a logo of the first movement.

[0037] When the one or more processors execute the computer instructions, the electronic device further performs the following steps: in response to a fourth operation of identifying the first motion, the electronic device displays a plurality of motion options, the plurality of motion options corresponding one-to-one with a plurality of motions, the plurality of motion options including a first option, the first option corresponding to the second motion. In response to the operation of selecting the first option, the electronic device begins recording motion data of the second motion.

[0038] In a possible design, the first interface includes a first layer and a second layer, the first layer is located above the second layer, and the first motion entrance is located in the first layer.

[0039] When one or more processors execute computer instructions, the electronic device also performs the following steps: in response to a sliding operation in the first interface, the electronic device slides to display the content in the second layer, while keeping the position of the first motion entrance in the first layer in the first interface unchanged.

[0040] In a possible design, the first interface further includes a third movement entrance, the third movement entrance corresponds to the second movement, and the second movement is different from the first movement.

[0041] When the one or more processors execute the computer instructions, the electronic device further performs the following steps: in response to a first operation on the third motion entry, the electronic device displays a fourth interface, the fourth interface including settings for the second motion, the settings for the second motion being used to set motion parameters for the second motion. In response to a second user operation on the fourth interface, the electronic device begins recording motion data for the second motion.

[0042] In one possible design, a sports application is installed in the electronic device.

[0043] When the one or more processors execute the computer instructions, the electronic device further executes the following steps: the electronic device displays a fifth interface, the fifth interface including an application icon of a sports application; and the electronic device displays the first interface, including: in response to the fifth operation on the application icon, the electronic device displays the first interface.

[0044] In one possible design, when one or more processors execute computer instructions, the electronic device is also caused to perform the following steps: the electronic device calculates priority scores of multiple sports and selects the first sports based on the priority scores.

[0045] In one possible design, when one or more processors execute computer instructions, the electronic device further performs the following steps: for any of the multiple sports, the electronic device performs a weighted calculation on multiple sports data items associated with the sports to obtain a priority score for the sports. The weight value of a sports data item corresponds to the importance of the sports data item in the sports.

[0046] In a possible design, there are multiple first movements and multiple first movement entrances, and the multiple first movement entrances correspond one-to-one to the multiple first movements.

[0047] When one or more processors execute the computer instructions, the electronic device further causes the electronic device to perform the following steps: the electronic device simultaneously displays multiple first sports entries on the first interface, wherein the arrangement order of the multiple first sports entries matches the priority scores of the multiple first sports. Alternatively, the electronic device displays multiple first sports entries in rotation on the first interface, wherein the rotation display order or rotation display duration of the multiple first sports entries matches the priority scores of the multiple first sports.

[0048] In a third aspect, the present application provides a chip system, which is applied to an electronic device including a display screen and a memory; the chip system includes one or more interface circuits and one or more processors; the interface circuit and the processor are interconnected by lines; the interface circuit is used to receive signals from the memory of the electronic device and send signals to the processor, the signals including computer instructions stored in the memory; when the processor executes the computer instructions, the electronic device executes the method as in the first aspect and any possible design method thereof.

[0049] In a fourth aspect, the present application provides a computer storage medium comprising computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the method of the first aspect and any possible design thereof.

[0050] In a fifth aspect, the present application provides a computer program product, which, when executed on a computer, enables the computer to execute the method according to the first aspect and any possible design thereof.

[0051] It can be understood that the beneficial effects that can be achieved by the electronic device of the second aspect, the chip system of the third aspect, the computer storage medium of the fourth aspect, and the computer program product of the fifth aspect provided above can be referred to the beneficial effects in the first aspect and any possible design method thereof, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1An interface interaction diagram for starting an exercise provided in an embodiment of the present application;

[0053] Figure 2 A schematic diagram of screen partitioning provided in an embodiment of the present application;

[0054] Figure 3 A diagram of a motion interface interaction provided by an embodiment of the present application;

[0055] Figure 4 An interface interaction diagram for switching motion provided in an embodiment of the present application;

[0056] Figure 5 An interactive diagram of an interface for viewing exercise records provided in an embodiment of the present application;

[0057] Figure 6 An interactive diagram of an interface for selecting a movement provided in an embodiment of the present application;

[0058] Figure 7 A hardware structure diagram of a mobile phone provided in an embodiment of the present application. DETAILED DESCRIPTION

[0059] The technical solutions in the embodiments of the present application are described below in conjunction with the drawings in the embodiments of the present application. Among them, in the description of the embodiments of the present application, the terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and claims of the present application, the singular expressions "a", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear contrary indication in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one or more (including two). The term "and / or" is used to describe the association relationship of associated objects, indicating that three relationships can exist; for example, A and / or B can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.

[0060] References to "one embodiment" or "some embodiments" etc. described in this specification mean that the specific features, structures or characteristics described in conjunction with the embodiment are included in one or more embodiments of the present application. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. appearing 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 another way. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in another way. The term "connected" includes direct and indirect connections, unless otherwise stated. "First" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated.

[0061] In the embodiments of this application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of this application should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplarily" or "for example" is intended to present the relevant concepts in a concrete manner.

[0062] The exercise method provided in the embodiment of the present application can be applied to the scenario where users use sports and health applications for daily exercise. Generally, sports and health applications can provide a variety of exercises such as outdoor running, indoor running, walking, cycling, skipping, yoga, and fitness.

[0063] In some embodiments, the entrances to the various sports mentioned above are located near the top of the application interface. Furthermore, in response to a user triggering operation 1 (e.g., clicking) on ​​any of the sports entrances, the electronic device will display a preparation interface for the sports. Then, in response to a user triggering operation 2 (e.g., clicking a start button) on the preparation interface, the electronic device will begin recording sports data, such as starting a sports timer or recording sports mileage.

[0064] See also Figure 1For example, if the electronic device is a mobile phone and the sport is outdoor running, the mobile phone may display interface 101, which is the mobile phone's desktop. Interface 101 includes an icon 1011 for the Sports & Health app. In response to a user clicking icon 1011, the mobile phone may display interface 102. Interface 102 is the menu interface for the "Health" menu in the Sports & Health app. Interface 102 includes a menu item 1021 for the "Sports" menu. In response to a user selecting menu item 1021, the mobile phone may display interface 103. Interface 103 is the menu interface for the "Sports" menu in the Sports & Health app. The top of interface 103 includes an entry 1031 for outdoor running. In response to a user clicking entry 1031 for outdoor running, the mobile phone does not immediately start the exercise. Instead, interface 104 is displayed. Interface 104 is the preparation interface for outdoor running. Interface 104 includes a Start Running button 1041. In response to the user clicking the start running button 1041, the mobile phone will start recording exercise data, such as displaying interface 105. Interface 105 includes exercise timer 1051, exercise mileage 1052, etc.

[0065] Of course, in the sports and health application, the menu interface of the "sports" menu may be displayed by default. For example, in response to the user clicking the icon 1011 in the interface 101, the mobile phone displays the interface 103. In this scenario, the above-mentioned Figure 1 The process of switching from interface 102 to interface 103. Figure 1 It should be understood that if the default menu interface of the "Sports" menu is displayed, the "Sports" menu is omitted. Figure 1 The process of switching from interface 102 to interface 103 is sufficient, and the other implementation processes are similar.

[0066] In this embodiment, on the one hand, in response to the user's trigger operation 1 on the entrance of any sport, the electronic device does not immediately start recording the sport data, and the user is required to further perform trigger operation 2. The user operation is cumbersome and not conducive to quickly entering the sport. In addition, it may also bring a great sport experience to the user. Figure 1 For example, after the user clicks on the outdoor running entrance 1031 in the interface 103, he thinks that the outdoor running has started, and then starts running. However, during or after the running, when he opens the mobile phone to check, he finds that the exercise has not started.

[0067] On the other hand, research shows that 49% of users operate their phones with one hand. For these users, the top of the phone screen is difficult to reach, making the various movement entrances near the top of the app interface extremely difficult to operate.

[0068] It can be seen that, with this embodiment, the operation of starting the movement is not only cumbersome, but also very difficult. In short, the operation of starting the movement is very troublesome, and the human-computer interaction efficiency is low.

[0069] Based on the above problems, this application provides an exercise method. An electronic device can provide an exercise shortcut entry in a preset area (such as the area near the bottom) of the application interface of a sports and health application to facilitate user operation. In addition, in response to the user triggering operation 3 (such as a click operation) on the exercise shortcut entry, the electronic device can start recording exercise data, and the user can start exercising without multiple steps. This can improve the efficiency of human-computer interaction.

[0070] The electronic device can be a mobile phone, tablet computer, artificial intelligence (AI) device, wearable device, or other device that can be installed with sports and health applications. The specific form of the electronic device is not particularly limited in the present embodiment. The following mainly uses the electronic device being a mobile phone as an example to illustrate the present application solution.

[0071] The survey shows that 67% of users who use one hand operate with their right hand. Figure 2 , the screen of the mobile phone can be divided into three areas: Area 1, Area 2 and Area 3. Among them, Area 1 includes the bottom and middle area near the left of the screen. Area 2 includes the bottom area near the right of the screen and the upper middle area of ​​the screen. Area 3 is the top area of ​​the screen. From Area 1 to Area 2 to Area 3, it becomes increasingly difficult for the user's thumb to reach. Based on this, in a specific implementation method, the mobile phone can provide a sports shortcut entry in Area 1 and / or Area 2 in the application interface of the sports and health application. That is, the preset area is Area 1 and / or Area 2. This article will mainly take the example of setting the sports shortcut entry in the area near the bottom of Area 1 and / or Area 2 to illustrate the present application scheme.

[0072] See also Figure 3 , in response to the user's selection of a menu item in the "Sports" menu (e.g. Figure 1 By clicking menu item 1021 in interface 102, the phone displays interface 301. Interface 301 is the menu interface of the "Sports" menu in the Sports & Health app. Near the bottom of interface 301 is a shortcut to outdoor running, "Run GO" 3011. Even users operating with one hand can easily access "Run GO" 3011.

[0073] In some embodiments, the mobile phone can provide a quick access to exercise through a sports capsule. The entire sports capsule is also displayed in a preset area for easy user operation. The sports capsule also includes the logo of the exercise (such as an icon, name, etc.) and / or the exercise record.

[0074] Among them, the identification of the movement is used to indicate the target movement, which is one of multiple movements. The target movement can be a default movement or can be obtained based on the user's historical movement data. In a specific implementation, for new users who do not have movement data in the sports and health application, the target movement can be a default movement, such as outdoor running. For old users who have movement data in the sports and health application, the target movement can be the user's most recent movement, or the movement with the most movement times and the longest movement duration. This application does not make specific restrictions on this.

[0075] Exercise records include the user's exercise records for a specific sport. Exercise records can be either the most recent record or a cumulative record. For example, cumulative records can include cumulative exercise duration, cumulative exercise kilometers, and so on. It's understood that if a user has no exercise data for a specific sport in the Sports & Health app, the exercise record will be 0, such as "0 cumulative kilometers."

[0076] Continue to see Figure 3 , “Running GO” 3011 in the interface 301 is displayed in the sports capsule 3012 , and the sports capsule 3012 also includes an outdoor running icon 3013 and an outdoor running exercise record “78.26 cumulative kilometers” 3014 .

[0077] Of course, the sports quick entry can also exist independently and not be displayed in the sports capsule, and this embodiment of the present application does not specifically limit this. The following mainly uses the sports quick entry displayed in the sports capsule as an example to illustrate the present application solution.

[0078] The following describes how the phone responds to the triggering of each control in the motion capsule:

[0079] First, quick access to exercise.

[0080] In response to the user's triggering operation 3 on the exercise shortcut entry, such as a click operation, the mobile phone can start recording exercise data.

[0081] Continue to see Figure 3 For example, in screen 301, where the exercise shortcut entry is "Run Go" 3011, in response to a user clicking "Run Go" 3011, the phone may display screen 302. Screen 302 includes exercise data such as exercise timer 3021 and exercise mileage 3022. This indicates that the phone has begun recording exercise data, such as updating the exercise timer and exercise mileage as the user exercises.

[0082] It can be seen that Figure 1 Compared with the solution shown in the figure: the phone can quickly start recording exercise data without entering the preparation interface first.

[0083] Furthermore, after the mobile phone starts recording exercise data, in response to an operation to end exercise, such as clicking an end button, the mobile phone can end recording the exercise data and display the detailed exercise data.

[0084] Continue to see Figure 3 The end button is a click operation of the end button 3023 in the interface 302. In response to the user's click operation on the end button 3023, the mobile phone can display the interface 303. The interface 303 includes detailed exercise data of this outdoor running, such as the outdoor running track, average pace, average stride length, etc.

[0085] Second, the logo of the movement.

[0086] In response to the user's trigger operation 4 on the identification of the sport, such as a click operation, the mobile phone can provide multiple sports options for the user to choose near the sports capsule. In response to the user's selection operation on any sports option, the mobile phone can start recording sports data of the selected sports.

[0087] The logo of the movement is Figure 3 Taking the outdoor running icon 3013 in the interface 301 as an example, in response to the user clicking the outdoor running icon 3013 in the interface 301, the mobile phone can display Figure 4 Interface 401 is shown. Interface 401 includes multiple exercise options, including outdoor running option 4011, indoor running option 4012, walking option 4013, cycling option 4014, rope skipping option 4015, and yoga option 4016. For example, if the exercise option in interface 401 is rope skipping option 4015, in response to the user selecting walking option 4015, the phone may display interface 402. Interface 402 includes exercise data, such as exercise timer 4021 and number of rope skips 4022. This indicates that the phone has started recording exercise data.

[0088] In other words, the option of selecting sports is provided in areas that are easy for users to reach, making it convenient for users to switch sports.

[0089] In some embodiments, in response to the user triggering operation 4 on the identification of the sport, the mobile phone can also display a cancel control. In response to the user triggering operation 5 on the cancel control, such as a click operation, the mobile phone can also cancel the display of multiple sports options.

[0090] Taking the cancel control being “Cancel” 4017 in interface 401 as an example, in response to the user clicking on “Cancel” 4017 , the mobile phone may resume displaying interface 301 .

[0091] in addition, Figure 4The display form of the various sports options shown is only exemplary and is not limited thereto. For example, the various sports options can also be displayed in the form of menu items. Figure 3 Taking the outdoor running icon 3013 in the interface 301 as an example, in response to the user clicking the outdoor running icon 3013 in the interface 301, the mobile phone can also display Figure 4 Interface 403 is shown. Interface 403 includes menu 4031, which includes menu item 4032 for outdoor running, menu item 4033 for indoor running, menu item 4034 for walking, menu item 4035 for cycling, menu item 4036 for rope skipping, menu item 4037 for yoga, etc. It will be appreciated that when multiple exercise options are displayed in the form of menu items, the menu can be canceled in response to a user clicking an area outside the menu, so there is no need to include a cancel control.

[0092] Similarly, after the mobile phone starts recording exercise data, in response to the operation of ending exercise, such as clicking the end button, the mobile phone can end recording the exercise data and display the detailed exercise data of this time. For details, please refer to the relevant description of interface 303 above, which will not be repeated here.

[0093] Third, exercise records.

[0094] In response to a user triggering operation 6 on a motion record, such as a click operation, the mobile phone may display historical motion data of the target motion.

[0095] Taking the “78.26 accumulated kilometers” 3014 in the exercise record interface 301 as an example, in response to the user clicking on the “78.26 accumulated kilometers” 3014, the mobile phone may display Figure 5 Interface 501 is shown. Interface 501 includes historical exercise data of outdoor running, such as calories consumed by outdoor running, exercise time of outdoor running, cumulative number of outdoor running, outdoor running records of each month, etc.

[0096] In this way, users can conveniently view historical exercise data through the exercise records displayed in the preset area.

[0097] Furthermore, in response to a user triggering operation 7 , such as a click operation, on any historical motion record in the historical motion data, the mobile phone may also display detailed motion data of the historical motion record.

[0098] Continue to see Figure 5For example, if any historical exercise record is exercise record 5011 for December 2023 in interface 501, in response to the user clicking on exercise record 5011, the mobile phone may display interface 502. Interface 502 includes detailed exercise data of exercise record 5011, such as the outdoor running track, average pace, average stride length, etc.

[0099] In some embodiments, the mobile phone may further display a guide icon around the movement logo and the movement record, respectively. The guide icon may guide the user to operate the movement logo and the movement record, thereby entering the corresponding interface.

[0100] The guide sign can be an arrow, text, click gesture, etc. Figure 3 Taking the guidance mark as an arrow as an example, there is an arrow 30131 next to the outdoor running icon 3013 in the interface 301, which is used to indicate that the icon 3013 is operable; and there is an arrow 30141 next to the outdoor running exercise record "78.26 cumulative kilometers" 3014 in the interface 301, which is used to indicate that the "78.26 cumulative kilometers" 3014 is operable.

[0101] Furthermore, in the sports capsule, the sports logo, sports record and sports shortcut entry operation hotspots can be distinguished by background color, spacing, etc. Among them, the sports shortcut entry can be highlighted by information such as font format and size to facilitate users to find the sports shortcut entry and operate it. Figure 3 Taking the “Run GO” 3011 in the interface 301 as an example, the “Run GO” 3011 is highlighted by using large fonts, a black background, and white fonts.

[0102] The above example of a sports capsule primarily describes a single sports capsule. In practice, the "Sports" menu interface may display multiple sports capsules, each corresponding to a different target sport. For example, one sports capsule corresponds to outdoor running, and another to rope skipping.

[0103] The mobile phone can display multiple sports capsules simultaneously, such as displaying multiple sports capsules in order from top to bottom. Alternatively, the mobile phone can display multiple sports capsules in turn, such as switching to display the next sports capsule every 1 second. This application does not make specific restrictions on this.

[0104] In some embodiments, the phone may display multiple sports capsules in order of priority.

[0105] Taking the simultaneous display of multiple exercise capsules as an example, if the priority of target exercise 1 is higher than that of target exercise 2, the phone can display the exercise capsule for target exercise 1 in an area that is easier for the user to reach. In other words, the higher the priority of the target exercise, the easier it is for the user to reach the display area of ​​its exercise capsule. This makes it easier for users to reach the target exercise with higher priority. For example, if outdoor running has a higher priority than rope skipping, the phone can display the exercise capsule for outdoor running in the aforementioned area 1 and the exercise capsule for rope skipping in the aforementioned area 2.

[0106] For example, if multiple exercise capsules are displayed in rotation, and the priority of Exercise 1 is higher than that of Exercise 2, the phone may display the exercise capsule for Exercise 1 first, followed by the exercise capsule for Exercise 2. In other words, the higher the priority of the exercise, the earlier its exercise capsule is displayed. This makes it easier for users to view the higher-priority exercise first. For example, if outdoor running has a higher priority than rope skipping, the phone may display the exercise capsule for outdoor running first, followed by the exercise capsule for rope skipping.

[0107] Taking the example of displaying multiple exercise capsules in rotation, if the priority of target exercise 1 is higher than that of target exercise 2, the display duration of the exercise capsule for target exercise 1 is longer than that of the exercise capsule for target exercise 2. In other words, the higher the priority of the target exercise, the longer the display duration of its exercise capsule. This helps users discover the high-priority target exercise. For example, if outdoor running has a higher priority than rope skipping, the phone may display the outdoor running exercise capsule for duration 1 and the rope skipping exercise capsule for duration 2, with duration 1 being longer than duration 2.

[0108] The embodiment of the present application exemplifies the specific implementation of mobile phone screening target movement and determining priority:

[0109] The mobile phone may screen the target sports and determine the priority periodically or each time an operation of entering the menu interface of the "Sports" menu (such as a click operation on a menu item of the "Sports" menu) is detected.

[0110] In a specific implementation, the mobile phone can filter target sports and determine priorities based on common data items in the sports data of multiple sports, where the common data items may be cumulative exercise duration, cumulative exercise count, etc.

[0111] For example, based on the cumulative exercise duration of multiple sports, the phone can select a preset number 1 of sports with the longest cumulative exercise duration as the target exercise, and the longer the cumulative exercise duration, the higher the priority. For example, if the preset number 1 is 3, and the cumulative exercise durations for outdoor running, indoor running, walking, cycling, rope skipping, and yoga are 2 hours, 0 hours, 3 hours, 30 minutes, 5 hours, and 20 minutes, respectively, the phone can determine that the target exercises are rope skipping, walking, and outdoor running, with the priority decreasing in that order.

[0112] For example, based on the cumulative exercise counts for various sports, the phone can select a preset number of two sports with the highest cumulative exercise counts as target sports. The higher the cumulative exercise counts, the higher the priority. For example, if the preset number 2 is 3, and the cumulative exercise counts for outdoor running, indoor running, walking, cycling, rope skipping, and yoga are 10 times, 1 hour, 2 times, 3 times, 20 times, and 5 times, respectively, the phone can determine that the target sports are rope skipping, outdoor running, and yoga, with the priority decreasing in that order.

[0113] In another specific implementation method, the mobile phone can obtain the priority score of the sport based on weighted calculations of multiple sports data of each sport, and then filter out a preset number of 3 target sports in order of priority scores from high to low, and the higher the priority score, the higher the priority.

[0114] The sports data items for different sports may not be exactly the same. For example, outdoor running includes sports data items such as kilometers, duration, and number of times, while rope skipping includes sports data items such as number of reps, duration, and number of times. Obviously, the kilometers included in the former and the number of reps included in the latter are different sports data items.

[0115] Specifically, the mobile phone may select the same motion data items from multiple sports for weighted calculation, such as duration and number of times. Alternatively, the mobile phone may perform weighted calculation on all motion data items for each sport. Alternatively, the mobile phone may select target motion data items based on the importance of the motion data items for each sport and perform weighted calculation on them. This application does not impose any specific limitations on this.

[0116] Taking the example of a mobile phone selecting target sports data items based on the importance of each sports data item, for each sport, the mobile phone can select a preset number of 4 (such as 2, 3, or 5) target sports data items arranged in descending order of importance. Taking the preset number of 4 being 2 as an example, in the multiple sports data of outdoor running, the importance of kilometers is higher than the importance of times, and the importance of times is higher than the importance of duration. The mobile phone can select kilometers and times as the target sports data items for outdoor running. In the multiple sports data of rope skipping, the importance of number is higher than the importance of number, and the importance of number is higher than the importance of duration. The mobile phone can select number and times as the target sports data items for rope skipping.

[0117] The phone can set weights based on the importance of each exercise data item within each sport. For example, if the target exercise data item for outdoor running is mileage, which is more important, the phone can set a higher weight for mileage. Another example is if the target exercise data item for rope skipping is number of reps, which is more important, the phone can set a higher weight for number of reps. In this way, the weight settings match the importance of the exercise data items within each sport.

[0118] In other words, the phone can use different sports data items for different sports. Furthermore, the phone can assign weights that match the importance of each sports data item to calculate the priority score. This allows for more reasonable priority scores compared to using the same sports data items and uniform weights for different sports.

[0119] In another specific implementation, the mobile phone can also filter out target sports that match the current environment of the mobile phone and determine the priority based on the environment. For example, target sports that match the outdoor environment include outdoor running, cycling, walking, and rope skipping, with the priority decreasing in descending order; target sports that match the indoor environment include indoor yoga, running, and rope skipping, with the priority decreasing in descending order.

[0120] At this point, it should be noted that the above-mentioned multiple implementation methods of screening target sports and determining priorities can also be used to determine target sports in an embodiment in which only one motion capsule is displayed. For example, the mobile phone can use the highest priority among the screened target sports as the target sports in an embodiment of a motion capsule.

[0121] In other embodiments, in an interface displaying a sports capsule, such as the above-mentioned interface 301 , the mobile phone may further display entrances to various sports outside a preset area (such as in area 3 ).

[0122] See also Figure 6 , in response to the user's selection of a menu item in the "Sports" menu (e.g. Figure 1By clicking on menu item 1021 in interface 102, the mobile phone can display interface 601. Interface 601 is the menu interface of the "Sports" menu in the Sports and Health application. In the area near the top of interface 601, there are provided an entrance 6011 for outdoor running, an entrance 6012 for indoor running, an entrance 6013 for walking, an entrance 6014 for rope skipping, etc.

[0123] It is understood that if an interface displaying multiple sport capsules also displays entry points for multiple sports, it indicates that the sport capsules are displayed in a higher-level interface for multiple sports, rather than an interface for a single sport, such as the outdoor running interface shown in interface 104. Thus, in this higher-level interface, the phone can quickly start a sport in response to a user triggering a sport shortcut entry.

[0124] In this embodiment, in response to a user triggering operation 1, such as a click operation, on the entry of any sport, the mobile phone may display a preparation interface for the sport. In response to a user triggering operation 2 on the preparation interface, the mobile phone may start recording exercise data for the sport.

[0125] Taking outdoor running as an example, in response to the user clicking on the entry 6011 of outdoor running in the interface 601, the mobile phone may display the aforementioned Figure 1 Interface 104 is shown.

[0126] Take any sport as an example, skipping rope, and continue to see Figure 6 In response to the user's click operation on the entry 6014 of the skipping rope in the interface 601 (eg Figure 6 As shown in ① in the figure), the mobile phone can display interface 602. Interface 602 is the preparation interface for rope skipping. Interface 602 includes a start button 6021. In response to the user clicking the start button 6021, the mobile phone can start recording rope skipping data, as shown in FIG. Figure 4 Interface 402 is shown.

[0127] With this embodiment, the mobile phone combines multiple sports portals with sports capsules, which can facilitate users to quickly select a sport through the sports portals and quickly start exercising through the sports capsules.

[0128] Furthermore, the preparation interface may also include exercise preparation items and / or recommended courses for any sport.

[0129] Among them, the exercise preparation items include at least one of the following: an exercise target item (such as "Set target" 6022 in interface 602), a warm-up item (such as "Warm-up" 6023 in interface 602) and an add exercise music item (such as "Music" 6024 in interface 602). The exercise target item is used to set the exercise target of this exercise, such as the number of kilometers run, the number of rope jumps, etc. In response to the user's triggering operation on the exercise target item, the mobile phone can set the exercise target of this exercise. The warm-up item is used for the user to warm up. In response to the user's triggering operation on the warm-up item, the mobile phone can provide a video of the warm-up exercise for the user to follow. The add music item is used to set background music during exercise. In response to the user's triggering operation on the add music item, the mobile phone can provide music for the user to select and add, and the added music can be played after the exercise starts.

[0130] The recommended courses can be matched to sports, thereby providing the user with courses corresponding to the currently selected sport. For example, the recommended courses in the above interface 104 include "Running, Joint Stretching", which matches outdoor running. For another example, the recommended courses in interface 602 include "Rope Skipping, Fat and Weight Loss", which matches rope skipping.

[0131] Furthermore, the sports capsule can be located at the top layer of the interface. The layer below the sports capsule (also referred to as layer 1) can provide an entrance to at least one of the following information: an entrance to the event map, such as Figure 6 The “event map” 6015 in the interface 601 shown; the entrance to the sports plan, such as Figure 6 The "All Plans" 6016 in the interface 601 shown; the entrance to the exercise course, such as Figure 6 "All Courses" 6017 in the interface 601 shown; and the entrance to popular activities, such as Figure 6 “Popular Activities” 6018 in the interface 601 is shown.

[0132] Among them, the entrance to the event map is used to obtain the distribution of recent events on the map, the entrance to the sports plan is used to obtain all plans of the user, the entrance to the sports course is used to obtain sports courses, and the entrance to the popular activities is used to obtain recently popular activities.

[0133] Furthermore, layer 1 may also provide a ranking list of sports courses, which may be a popularity list, a praise list, etc. For example, Figure 6 The interface 601 shown includes a “Popularity List” 6019 .

[0134] In some embodiments, in response to a user sliding operation (e.g., sliding up or down) on the menu interface of the "Exercise" menu, the phone can slide to display the content in layer 1 while keeping the position of the exercise capsule unchanged. In this way, as the user slides up or down, the phone can not only slide to display the content in layer 1, allowing the user to view more content in layer 1, but also the phone can always provide the user with the exercise capsule, so that the user can quickly start exercise, switch exercises, and view exercise records.

[0135] Furthermore, the entrances to various sports can also be located on the same layer as the sports capsule. In response to a user's swiping operation (e.g., swiping up and down) on the "Sports" menu interface, the phone can also maintain the position of the entrances to various sports. In this way, as the user swipes up and down, the phone can always provide the user with the entrances to various sports, allowing the user to select a sport.

[0136] Continue to see Figure 6 Taking the menu interface of the "Sports" menu, interface 601 as an example, in response to the user's sliding operation from bottom to top on interface 601 (such as Figure 6 (As shown in ② in the figure), the phone may display interface 603. Interface 603, like interface 601, includes a sports capsule 6020 and various sports portals, such as outdoor running portal 6011, indoor running portal 6012, walking portal 6013, and rope skipping portal 6014. That is, the positions of the sports capsule and various sports portals remain unchanged. Unlike interface 601, interface 603 includes more sports courses in "Popularity List" 6019. In other words, more content from layer 1 is displayed.

[0137] An embodiment of the present application further provides an electronic device, which may include: a display screen, a memory, and one or more processors (such as a CPU, GPU, NPU, etc.). The display screen, the memory, and the processor are coupled. The memory is used to store computer program code, which includes computer instructions. When the processor executes the computer instructions, the electronic device can perform the various functions or steps performed by the device in the above method embodiment.

[0138] The following takes a mobile phone as an example to explain the hardware structure of an electronic device. Figure 7As shown, the mobile phone may include: a processor 211, an external memory interface 212, an internal memory 221, a universal serial bus (USB) interface 203, a charging management module 243, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, a sensor module 280, a button 290, a motor 291, an indicator 292, a camera 293, a display screen 294, and a subscriber identification module (SIM) card interface 295, etc.

[0139] It should be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the mobile phone. In other embodiments, the mobile phone may include more or fewer components than shown, or some components may be combined or separated, or arranged differently. The components shown in the illustrations may be implemented in hardware, software, or a combination of software and hardware.

[0140] The processor 211 may include one or more processing units. For example, the processor 211 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). Different processing units may be independent devices or integrated into one or more processors.

[0141] The charging management module 243 is used to receive charging input from a charger. The charger can be a wireless charger or a wired charger. While charging the battery 242, the charging management module 243 can also power the electronic device through the power management module 241.

[0142] The power management module 241 is used to connect the battery 242, the charging management module 243, and the processor 211. The power management module 241 receives input from the battery 242 and / or the charging management module 243 and provides power to the processor 211, the internal memory 221, the external memory, the display 294, the camera 293, and the wireless communication module 260. In some embodiments, the power management module 241 and the charging management module 243 can also be provided in the same device.

[0143] The wireless communication function of the mobile phone can be realized through antenna 1, antenna 2, mobile communication module 250, wireless communication module 260, modem processor and baseband processor.

[0144] The mobile communication module 250 can provide solutions for wireless communications such as 2G / 3G / 4G / 5G for mobile phones. The wireless communication module 260 can provide solutions for wireless communications such as WLAN (such as wireless fidelity, Wi-Fi), Bluetooth (BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), and Infrared (IR) for mobile phones.

[0145] In some embodiments, the mobile phone can establish a trust loop with other electronic devices, transmit data for service flow, etc. through the mobile communication module 250 or the wireless communication module 260.

[0146] The mobile phone implements its display functionality through a GPU, display screen 294, and an application processor. The GPU is a microprocessor for image processing that connects the display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 211 may include one or more GPUs that execute program instructions to generate or modify display information.

[0147] The mobile phone can implement camera functions through the ISP, camera 293, video codec, GPU, display 294, and application processor. The ISP is responsible for processing data fed back by camera 293. Camera 293 is used to capture still images or videos. In some embodiments, the mobile phone may include one or N cameras 293, where N is a positive integer greater than 1.

[0148] The external memory interface 212 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the phone. The external memory card communicates with the processor 211 via the external memory interface 212 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.

[0149] The internal memory 221 can be used to store computer executable program code, which includes instructions. The processor 211 executes various functional applications and data processing of the mobile phone by running the instructions stored in the internal memory 221. For example, in an embodiment of the present application, the processor 211 can execute instructions stored in the internal memory 221, and the internal memory 221 can include a program storage area and a data storage area.

[0150] The mobile phone can implement audio functions such as music playback and recording through the audio module 270, speaker 270A, receiver 270B, microphone 270C, headphone jack 270D, and application processor.

[0151] The buttons 290 include a power button, a volume button, etc. The button 290 can be a mechanical button. It can also be a touch button. The motor 291 can generate a vibration prompt. The motor 291 can be used for an incoming call vibration prompt, or for touch vibration feedback. The indicator 292 can be an indicator light, which can be used to indicate the charging status, power changes, messages, missed calls, notifications, etc. The SIM card interface 295 is used to connect the SIM card. The SIM card can be connected to and separated from the mobile phone by inserting it into the SIM card interface 295 or pulling it out from the SIM card interface 295. The mobile phone can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 295 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.

[0152] Furthermore, the software architecture of the electronic device may adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture, which is not specifically limited in the present embodiment.

[0153] An embodiment of the present application further provides a chip system, which includes at least one processor and at least one interface circuit. The processor and the interface circuit can be interconnected via lines. For example, the interface circuit can be used to receive signals from other devices (such as a memory of an electronic device). For another example, the interface circuit can be used to send signals to other devices (such as a processor). Exemplarily, the interface circuit can read instructions stored in the memory and send the instructions to the processor. When the instructions are executed by the processor, the electronic device can perform the various steps in the above embodiments. Of course, the chip system can also include other discrete devices, which is not specifically limited in the embodiment of the present application.

[0154] This embodiment further provides a computer storage medium, in which computer instructions are stored. When the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned related method steps to implement the image processing method in the above-mentioned embodiment.

[0155] This embodiment further provides a computer program product. When the computer program product is run on a computer, it enables the computer to execute the above-mentioned related steps to implement the image processing method in the above-mentioned embodiment.

[0156] In addition, an embodiment of the present application also provides a device, which can specifically be a chip, component or module, and the device may include a connected processor and memory; wherein the memory is used to store computer-executable instructions, and when the device is running, the processor can execute the computer-executable instructions stored in the memory to enable the chip to execute the image processing method in the above-mentioned method embodiments.

[0157] Among them, the electronic device, computer storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.

[0158] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0159] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0160] The units described as separate components may or may not be physically separate, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0161] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0162] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0163] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application and are not intended to limit the present application. Although the present application has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present application may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present application.

Claims

1. A method of exercise, characterized in that: The method comprises: The electronic device displays a first interface, the first interface including a first motion entry and a second motion entry, the first motion entry and the second motion entry corresponding to the first motion; In response to a first operation on the first motion entry, the electronic device starts recording motion data of the first motion; In response to the first operation on the second motion entry, the electronic device displays a second interface, where the second interface includes a setting item for the first motion, where the setting item for the first motion is used to set motion parameters of the first motion; In response to a second operation of the user on the second interface, the electronic device starts recording motion data of the first motion.

2. The method according to claim 1, characterized in that The distance between the first movement entrance and the bottom of the first interface is smaller than the distance between the second movement entrance and the bottom of the first interface.

3. The method according to claim 1 or 2, characterized in that The first movement entry includes a movement record of the first movement around it; After the electronic device displays the first interface, the method further includes: In response to a third operation on the motion record, the electronic device displays a third interface including historical motion data of the first motion.

4. The method according to any one of claims 1 to 3, characterized in that The periphery of the first movement entrance includes a logo of the first movement; After the electronic device displays the first interface, the method further includes: In response to a fourth operation on the identification of the first motion, the electronic device displays a plurality of motion options, the plurality of motion options corresponding one-to-one to a plurality of motions, the plurality of motion options including a first option, the first option corresponding to a second motion; In response to the selection operation of the first option, the electronic device starts recording motion data of the second motion.

5. The method according to any one of claims 1 to 4, characterized in that The first interface includes a first layer and a second layer, the first layer is located above the second layer, and the first motion entrance is located in the first layer; After the electronic device displays the first interface, the method further includes: In response to a sliding operation in the first interface, the electronic device slides to display the content in the second layer, while keeping the position of the first motion entrance in the first layer in the first interface unchanged.

6. The method according to any one of claims 1 to 5, characterized in that The first interface further includes a third motion entry corresponding to a second motion, the second motion being different from the first motion; After the electronic device displays the first interface, the method further includes: In response to the first operation on the third motion entry, the electronic device displays a fourth interface, where the fourth interface includes a setting item for the second motion, where the setting item for the second motion is used to set motion parameters of the second motion; In response to the user's second operation on the fourth interface, the electronic device starts recording motion data of the second motion.

7. The method according to any one of claims 1 to 6, characterized in that A sports application is installed in the electronic device; Before the electronic device displays the first interface, the method further includes: The electronic device displays a fifth interface, wherein the fifth interface includes an application icon of the sports application; The electronic device displays a first interface, including: In response to a fifth operation on the application icon, the electronic device displays the first interface.

8. The method according to any one of claims 1 to 7, characterized in that Before the electronic device displays the first interface, the method further includes: The electronic device calculates priority scores of multiple sports and selects the first sports based on the priority scores.

9. The method according to claim 8, characterized in that The electronic device calculates priority scores for a variety of sports, including: For any one of the multiple sports, the electronic device performs weighted calculation on multiple sports data items of the sports to obtain a priority score of the sports; The weight value of a motion data item matches the importance of the motion data item in the motion.

10. The method according to claim 8 or 9, characterized in that There are multiple first movements, and there are multiple first movement entrances, and the multiple first movement entrances correspond one-to-one to the multiple first movements; The electronic device displays a first interface, wherein the first interface includes a first motion entrance, including: The electronic device simultaneously displays a plurality of first sports entrances in the first interface, wherein an arrangement order of the plurality of first sports entrances matches the priority scores of the plurality of first sports; or, The electronic device displays multiple first sports entrances in turn in the first interface, and the display order or display duration of the multiple first sports entrances in turn matches the priority scores of the multiple first sports.

11. An electronic device, characterized in that: include: A display screen, one or more processors, and one or more memories; the one or more processors are coupled to the display screen and the one or more memories; the one or more memories are used to store computer program code, wherein the computer program code includes computer instructions, and when the one or more processors execute the computer instructions, the electronic device executes the method according to any one of claims 1 to 10.

12. A computer-readable storage medium having computer instructions stored thereon, characterized in that: When the computer instructions are executed on an electronic device, the electronic device is caused to execute the method according to any one of claims 1 to 10.

13. A computer program product comprising computer instructions, characterized in that When the computer program product is run on a computer, it causes the computer to execute the method according to any one of claims 1 to 10.