Data display method and electronic device

By prioritizing and overlaying the accumulated amount of exercise metrics in the exercise recording interface, the problem of users having difficulty quickly understanding multiple progress indicator graphics is solved, thus improving user experience and interface stability.

CN118733168BActive Publication Date: 2026-02-03HONOR DEVICE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410773680.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2026-02-03
Estimated Expiration
2044-06-14

AI Technical Summary

Technical Problem

The side-by-side arrangement of multiple progress indicator graphics in the sports tracking interface distracts the user, making it difficult to quickly understand and assess the progress status, thus affecting the visual experience.

Method used

The priority of progress indicator graphics is determined based on the cumulative amount of motion metrics, and high-priority graphics are overlaid on low-priority graphics in the progress card, using a layer overlay method to ensure that users focus on high-priority motion metrics.

Benefits of technology

It increases user focus on high-priority motion metrics, improves user experience, reduces interface refresh frequency, lowers processing resource consumption, and enhances interface stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733168B_ABST
    Figure CN118733168B_ABST
Patent Text Reader

Abstract

Embodiments of the present application apply to the field of display, and provide a data display method and electronic equipment, the method comprising: acquiring a cumulative amount of each motion index in a plurality of motion indexes; determining a priority corresponding to each progress indication graphic of the plurality of progress indication graphics according to the cumulative amount of each motion index, the plurality of progress indication graphics comprising a progress indication graphic corresponding to each motion index; displaying a progress card according to the priority corresponding to each progress indication graphic of the plurality of progress indication graphics, the progress card comprising the plurality of progress indication graphics, any two progress indication graphics in the plurality of progress indication graphics being overlapped, and in the case that there are progress indication graphics with different priorities in the plurality of progress indication graphics, the progress indication graphic with a higher priority is displayed above the progress indication graphic with a lower priority. Based on the technical method of the present application, the user can more easily pay attention to the progress indication graphic with a higher priority, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data display technology, and more specifically, to a data display method and electronic device. Background Technology

[0002] With the rapid popularization of electronic devices such as mobile phones and wearable devices (such as smartwatches and fitness trackers), more and more people are carrying electronic devices while running and using the sports tracking applications on their electronic devices to record sports-related information.

[0003] Electronic devices can display an exercise tracking interface. This interface may include progress indicators for each of multiple exercise metrics, typically arranged side-by-side. The interface can show the user the completion status of these metrics. However, displaying multiple progress indicators side-by-side requires the user's eye to move back and forth between them, which can lead to visual distraction. Therefore, multiple progress indicators arranged side-by-side may make it difficult for users to understand and assess their progress, negatively impacting their visual experience. Summary of the Invention

[0004] This application provides a data display method and electronic device that can remind users of higher priority exercise indicators by displaying progress cards, enabling users to focus on the accumulation of higher priority exercise indicators and improving user experience.

[0005] Firstly, a data display method is provided, comprising: acquiring the cumulative amount of each of a plurality of motion indicators; determining the priority of a plurality of progress indicator graphics based on the cumulative amount of each motion indicator, wherein the plurality of progress indicator graphics include a progress indicator graphic corresponding to each motion indicator; and displaying a progress card based on the priority of the plurality of progress indicator graphics, wherein the progress card includes the plurality of progress indicator graphics, wherein any two progress indicator graphics overlap, and in the case that there are progress indicator graphics with different priorities among the plurality of progress indicator graphics, the progress indicator graphic with higher priority is displayed on top of the progress indicator graphic with lower priority.

[0006] The data display method provided in this application determines the priority of the progress indicator graphic corresponding to each exercise indicator based on the cumulative amount of each exercise indicator, and displays progress cards according to the priority of each progress indicator graphic. Within the progress card, there is overlap between any two progress indicator graphics. This makes it easier for users to notice the higher-priority progress indicator graphics. By displaying progress cards to remind users of higher-priority exercise indicators, it helps users focus on the cumulative amount of higher-priority exercise indicators, thus improving the user experience.

[0007] In some possible implementations, determining the priority of each of the multiple progress indicator graphs based on the cumulative amount of each motion indicator includes: for any one of the multiple progress indicator graphs, if the cumulative amount of the motion indicator corresponding to the any one progress indicator graph is greater than or equal to a preset cumulative amount, determining the priority of the any one progress indicator graph as a first priority; if the cumulative amount of the motion indicator corresponding to the any one progress indicator graph is less than the preset cumulative amount, determining the priority of the any one progress indicator graph as a second priority, wherein the second priority is greater than the first priority.

[0008] Progress indicator graphics corresponding to exercise indicators that have not reached the preset cumulative amount have higher priority, allowing users to more clearly understand the exercise indicators that have not reached the preset cumulative amount, thereby motivating users to continue exercising, that is, providing motivation for users to continue exercising.

[0009] In some possible implementations, displaying the progress card according to the priorities corresponding to the plurality of progress indicator graphics includes: when the priorities corresponding to the plurality of progress indicator graphics have not changed, updating the progress indicator graphic corresponding to each motion indicator in the progress card according to the cumulative amount of each motion indicator; when there are progress indicator graphics whose priorities have changed among the plurality of progress indicator graphics, redrawing the progress indicator graphic corresponding to each motion indicator according to the cumulative amount of each motion indicator, and displaying the progress card based on the latest priorities corresponding to the plurality of progress indicator graphics and the redrawn plurality of progress indicator graphics.

[0010] When the priorities of multiple progress indicator graphics remain unchanged, there is no need to set or adjust the stacking order of the indicator graphics again during the process of determining the progress card. This reduces the time required to determine the progress card based on the new cumulative amount of each motion indicator and reduces lag.

[0011] In some possible implementations, displaying the progress card based on the latest priority of each of the plurality of progress indicator graphics and the redrawn plurality of progress indicator graphics includes: determining the layer level corresponding to each of the redrawn plurality of progress indicator graphics according to the latest priority of each of the redrawn plurality of progress indicator graphics, wherein the layer level of the progress indicator graphics with higher priority is higher than the layer level of the progress indicator graphics with lower priority; compositing the redrawn plurality of progress indicator graphics according to the layer level corresponding to each of the redrawn plurality of progress indicator graphics; and displaying the composite graphic as the progress card.

[0012] In some possible implementations, the method further includes: when there are progress indicator graphics with the same priority among the plurality of progress indicator graphics, sorting the progress indicator graphics with the same priority according to a preset priority sorting relationship; the step of displaying a progress card according to the priority corresponding to each of the plurality of progress indicator graphics includes: displaying the progress card according to the priority corresponding to each of the plurality of progress indicator graphics and the sorting result.

[0013] For progress indicator graphics with the same priority, they are sorted according to the importance of the corresponding motion indicators, so that the stacking order of progress indicator graphics in the progress card matches the importance of motion indicators represented by the preset priority sorting relationship, thereby improving the user experience.

[0014] In some possible implementations, before determining the priority of the multiple progress indicator graphics based on the cumulative amount of each motion indicator, the method further includes: determining whether there is a motion indicator among the multiple motion indicators whose cumulative change value is greater than a preset change value; the step of determining the priority of the multiple progress indicator graphics based on the cumulative amount of each motion indicator includes: if at least one motion indicator among the multiple motion indicators has a cumulative change value greater than the preset change value, determining the priority of the multiple progress indicator graphics based on the cumulative amount of each motion indicator.

[0015] Instead of generating a progress card every time the cumulative amount of each of the multiple motion metrics is obtained, frequent refreshes of the progress card can cause interface flickering or instability, thus reducing the consumption of processing resources.

[0016] In some possible implementations, obtaining the cumulative amount of each of the multiple exercise indicators includes: after receiving a user operation, determining the cumulative amount of each of the multiple exercise health indicators, wherein the user operation is used to trigger the display of an interface including the progress card.

[0017] In some possible implementations, the plurality of exercise metrics include at least two of the following: steps, exercise duration, and energy expenditure.

[0018] In some possible implementations, the progress indicator graphic corresponding to each motion indicator is a progress indicator ring.

[0019] Secondly, a data display device is provided, including a unit for performing the method of the first aspect. This device may be a terminal device or a chip within a terminal device.

[0020] Thirdly, an electronic device is provided, including one or more processors and a memory coupled to the one or more processors, the memory being used to store computer program code including computer instructions, wherein the one or more processors invoke the computer instructions to cause the electronic device to perform the method of the first aspect.

[0021] Fourthly, a chip system is provided, the chip system being applied to an electronic device, the chip system including one or more processors, the one or more processors being configured to invoke computer instructions to cause the electronic device to perform the method of the first aspect.

[0022] Fifthly, a computer-readable storage medium is provided, the computer-readable storage medium including instructions that, when executed on an electronic device, cause the electronic device to perform the method of the first aspect.

[0023] In a sixth aspect, a computer program product is provided, the computer program product comprising: computer program code, wherein when the computer program code is run on an electronic device, the electronic device performs the method of the first aspect. Attached Figure Description

[0024] Figure 1 This is a schematic structural diagram of the electronic device provided in the embodiments of this application;

[0025] Figure 2 This is a schematic diagram of the software system of the electronic device provided in the embodiments of this application;

[0026] Figure 3 This is a schematic diagram of a graphical user interface;

[0027] Figure 4 This is a schematic flowchart of a progress card update method;

[0028] Figure 5 This is a schematic diagram of the graphical user interface provided in an embodiment of this application;

[0029] Figure 6 This is a schematic flowchart illustrating a data display method provided in an embodiment of this application;

[0030] Figure 7 This is a schematic structural diagram of another data display method provided in the embodiments of this application;

[0031] Figure 8 This is a schematic structural diagram of yet another data display method provided in the embodiments of this application;

[0032] Figure 9 This is a schematic diagram of the data display process provided in the embodiments of this application;

[0033] Figure 10 This is a schematic diagram of the data display device provided in the embodiments of this application. Detailed Implementation

[0034] Figure 1 A hardware system for an electronic device applicable to this application is shown.

[0035] Electronic device 100 can be a mobile phone, smart screen, tablet computer, wearable device, in-vehicle device, augmented reality (AR) device, virtual reality (VR) device, laptop computer, ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA), projector, etc. This application embodiment does not limit the specific type of electronic device 100.

[0036] Electronic device 100 may include processor 110, external memory interface 120, internal memory 121, universal serial bus (USB) interface 130, charging management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0037] Figure 1 The connection relationships between the modules shown are merely illustrative and do not constitute a limitation on the connection relationships between the modules of the electronic device 100. Optionally, the modules of the electronic device 100 may also adopt a combination of various connection methods described in the above embodiments.

[0038] It should be noted that, Figure 1The structure shown does not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include... Figure 1 The components shown may include more or fewer components, or the electronic device 100 may include... Figure 1 The components shown may be a combination of certain components, or the electronic device 100 may include... Figure 1 Sub-components of some of the components shown. Figure 1 The components shown can be implemented in hardware, software, or a combination of software and hardware.

[0039] Processor 110 may include one or more processing units. For example, processor 110 may include at least one of the following processing units: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, video codec, digital signal processor (DSP), baseband processor, and neural network processing unit (NPU). These different processing units may be independent devices or integrated devices.

[0040] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from this memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0041] Electronic device 100 can implement display functions through GPU, display screen 194 and application processor.

[0042] A GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU performs mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.

[0043] The display screen 194 can be used to display images or videos. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a mini light-emitting diode (Mini LED), a micro light-emitting diode (Micro LED), a micro OLED, or a quantum dot light-emitting diode (QLED). In some embodiments, the electronic device 100 may include one or N displays 194, where N is a positive integer greater than 1.

[0044] The external storage interface 120 can be used to connect an external memory card, such as a secure digital (SD) card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, music, video, and other files can be stored on the external memory card.

[0045] Internal memory 121 can be used to store computer executable program code, including instructions. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function (e.g., sound playback and image playback). The data storage area may store data created during the use of electronic device 100 (e.g., audio data and phonebook). Furthermore, internal memory 121 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, and universal flash storage (UFS). Processor 110 executes various processing methods of electronic device 100 by running instructions stored in internal memory 121 and / or instructions stored in memory disposed in the processor.

[0046] Touch sensor 180K, also known as a touch device, can be disposed on display screen 194. The touch sensor 180K and display screen 194 together form a touchscreen, also known as a touch screen. Touch sensor 180K is used to detect touch operations applied to or near it. Touch sensor 180K can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 194. In other embodiments, touch sensor 180K may also be disposed on the surface of electronic device 100, and in a different location from display screen 194.

[0047] The accelerometer 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, it can detect the magnitude and direction of gravity.

[0048] The gyroscope sensor 180B can be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 about three axes (i.e., the x, y, and z axes) can be determined by the gyroscope sensor 180B.

[0049] The software system of electronic device 100 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This application embodiment uses the layered architecture Android system as an example to exemplify the operating system of electronic device 100.

[0050] like Figure 2 As shown, a layered software system is divided into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the software system can be divided into four layers, from top to bottom: the application layer, the application framework layer, the system library layer, and the kernel layer.

[0051] The application layer may include applications such as camera, calendar, call, map, navigation, music, video, settings, SMS, and fitness tracking. Fitness applications can be used to execute the data display methods provided in the embodiments of this application.

[0052] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer may include some predefined functions. It is used to provide system support for applications in the application layer.

[0053] For example, the application framework layer may include graphics framework, basic system services, underlying software services, hardware services, sports and health services, etc.

[0054] Graphical frameworks are primarily used to generate intuitive and easy-to-use user interfaces. Graphical frameworks can include meta-capability cross-platform environment (ACE), user interface (UI) frameworks, and more.

[0055] The system library includes a basic library and an algorithm library. The algorithm library includes gesture algorithms, audio algorithms, pressure algorithms, motion algorithms, etc.

[0056] The kernel layer is the layer between hardware and software. It includes the kernel kernel, the hardware abstraction layer (HAL), and drivers. Both the HAL and drivers can connect to the hardware.

[0057] HAL is a software layer located between the operating system kernel and the underlying hardware circuitry.

[0058] With the rapid popularization of electronic devices such as mobile phones and wearable devices (such as smartwatches and fitness trackers), more and more people are carrying electronic devices while running and using the sports tracking applications on their electronic devices to record sports-related information.

[0059] During a user's movement, each step involves a periodic change in acceleration. Specifically, along the user's direction of movement, when the foot contacts the ground, there is a brief peak in acceleration (positive acceleration), caused by the impact of the foot on the ground and the transfer of body weight. Subsequently, the body enters a relatively stable phase, with acceleration approaching zero or fluctuating slightly. When the foot leaves the ground and swings forward, a brief peak in negative acceleration may occur. Furthermore, each step also generates a change in acceleration along the vertical direction. Accelerometers detect the acceleration at various points in time. Based on the acceleration output from the accelerometers, the change in acceleration can be determined, thereby determining the number of steps.

[0060] HAL can connect to sensors and receive sensor data. This sensor data includes output from accelerometers, gyroscopes, and other sensors. HAL can then transmit sensor data to motion algorithms within the system library.

[0061] Based on sensor data, the motion algorithm can determine the cumulative value of each of the multiple motion metrics, such as steps, exercise duration, and energy consumption. The motion algorithm can then transmit the cumulative value of each motion metric to the sports and health service at the application framework layer. The sports and health service can then transmit the cumulative value of each motion metric to the motion application at the application layer.

[0062] Fitness apps can generate progress cards based on accumulated exercise data.

[0063] The graphical framework can generate an exercise recording interface based on progress cards. The exercise recording interface can include progress cards.

[0064] The display driver in the driver can connect to the display screen and drive the display screen so that the display shows a graphical user interface.

[0065] A graphical user interface (GUI) is a visual interface for human-computer interaction. It uses elements such as graphics, images, and text to display information and receives user commands through input devices such as a mouse, keyboard, and touchscreen. A GUI is a type of user interface (UI). The user interface refers to the way humans interact with machines (such as operation and control); it defines the level at which users interact with computers.

[0066] Figure 3 Image (a) illustrates a GUI for an electronic device, which is a directory interface 310. The directory interface 310 includes multiple icons. Upon detecting a motion recording display operation, the electronic device can display, as shown below... Figure 3 The exercise recording interface 320 is shown in (b) above. The exercise recording display operation can be performed by the user clicking the exercise recording icon 311 on the directory interface 310. Alternatively, if the exercise recording icon 311 is highlighted on the directory interface 310, the exercise recording display operation can be performed by the user sliding their finger across the directory interface 310 in a preset direction. The directory interface 310 can include multiple icons, and a particular icon can be highlighted in various ways, such as by making the icon larger than the others, by making the icon flash, or by having a prominent marker around the icon.

[0067] The exercise recording interface 320 may include an exercise recording card. The exercise recording card includes multiple progress indicator graphics 321 to 323. These progress indicator graphics 321 to 323 do not overlap. Each progress indicator graphic represents the cumulative amount of a corresponding exercise metric. The exercise metrics corresponding to the multiple progress indicator graphics 321 to 323 may be exercise duration, steps, energy consumption, etc. The multiple progress indicator graphics 321 to 323 in the exercise recording card may be located on the same layer.

[0068] For example, the exercise indicator corresponding to the progress indicator graphic 321 can be the number of steps, the exercise indicator corresponding to the progress indicator graphic 322 can be the energy consumption, and the exercise indicator corresponding to the progress indicator graphic 323 can be the exercise duration.

[0069] Multiple progress indicator graphics 321 to 323 can all be circular progress bars. The shape of each progress bar can be a closed ring or a non-closed ring. The centers of the multiple progress indicator graphics 321 to 323 can be the same. That is, the multiple progress indicator graphics 321 to 323 can be multiple concentric rings.

[0070] Upon detecting an activity recording display operation, the electronic device can generate an activity recording card based on accumulated activity data. In the activity recording card, each of the multiple progress indicator graphics 321 to 323 represents the accumulated amount of the corresponding activity metric.

[0071] After the electronic device generates the motion recording card, it can perform... Figure 4 The data display method shown is such that each of the multiple progress indicator graphics 321 to 323 in the motion record card represents the cumulative amount corresponding to that progress indicator graphic in the latest cumulative motion data.

[0072] Figure 4 A method for updating progress cards is shown. Figure 4 The method shown includes steps S410 to S450.

[0073] Step S410: Determine the cumulative motion data.

[0074] When a motion recording display operation is detected on the directory interface 310, the electronic device can periodically or non-periodically determine the cumulative motion data. Each time the electronic device determines the cumulative motion data, it can be understood as performing step S410 once.

[0075] After each step S410, steps S421 to S423 can be performed. Steps S421 to S423 can be performed in parallel.

[0076] Step S421: Based on the cumulative exercise data, determine whether the cumulative number of steps has changed.

[0077] By comparing the cumulative number of steps in the latest determined cumulative motion data with the cumulative number of steps in the previously determined cumulative motion data, it can be determined whether the cumulative number of steps has changed. The latest determined cumulative number of steps is the cumulative number of steps determined in step S610 this time. The previously determined cumulative number of steps is the cumulative number of steps determined in the previous step S610.

[0078] If the accumulated number of steps remains unchanged, the progress indicator graphic corresponding to the number of steps in the exercise record card will not change. Therefore, there is no need to redraw the progress indicator graphic, and the update of the progress indicator graphic corresponding to the number of steps can be confirmed. The progress indicator graphic corresponding to the number of steps in the exercise record card can be used as the progress indicator graphic corresponding to the number of steps in the updated exercise record card.

[0079] If the cumulative number of steps changes, proceed to step S422.

[0080] Step S422: Based on the cumulative number of steps in the latest cumulative motion data, draw a progress indicator graphic corresponding to the number of steps.

[0081] Step S431: Based on the latest cumulative exercise data, determine whether the cumulative amount of energy consumption has changed.

[0082] By comparing the cumulative energy consumption in the latest determined cumulative exercise data with the cumulative energy consumption in the previous determined cumulative exercise data, it can be determined whether the cumulative energy consumption has changed.

[0083] If the cumulative number of steps remains unchanged, the progress indicator graphic corresponding to energy consumption in the exercise record card will not change. Therefore, there is no need to redraw the progress indicator graphic for energy consumption, and the update of the progress indicator graphic for energy consumption can be confirmed. The progress indicator graphic for energy consumption in the exercise record card can be used as the progress indicator graphic for energy consumption in the updated exercise record card.

[0084] If the cumulative amount of energy consumption changes, proceed to step S432.

[0085] Step S432: Based on the cumulative energy consumption in the latest cumulative exercise data, draw a progress indicator graph corresponding to the energy consumption.

[0086] Step S441: Based on the latest cumulative exercise data, determine whether the cumulative amount of exercise duration has changed.

[0087] By comparing the cumulative amount of exercise duration in the latest determined cumulative exercise data with the cumulative amount of exercise duration in the previous determined cumulative exercise data, it can be determined whether the cumulative amount of exercise duration has changed.

[0088] If the cumulative number of steps remains unchanged, the progress indicator graphic corresponding to the exercise duration in the exercise record card will not change. Therefore, there is no need to redraw the progress indicator graphic corresponding to energy consumption, confirming that the update of the energy consumption progress indicator graphic is complete. The progress indicator graphic corresponding to the exercise duration in the exercise record card can be used as the updated progress indicator graphic for the exercise duration in the exercise record card.

[0089] If the cumulative duration of exercise changes, proceed to step S442.

[0090] Step S442: Based on the cumulative amount of exercise duration in the latest cumulative exercise data, draw a progress indicator graphic corresponding to the exercise duration.

[0091] For each exercise indicator among steps, energy consumption, and exercise duration, if the corresponding progress indicator graph is completed or it is determined that the cumulative amount of the exercise indicator has not changed, step S450 can be performed.

[0092] Step S450: Update the activity record card.

[0093] In the updated exercise record card, the progress indicator graph for exercise indicators with unchanged cumulative amount is the same as the progress indicator graph for the same exercise indicator in the original exercise record card, while the progress indicator graph for exercise indicators with changed cumulative amount is the newly drawn progress indicator graph for the same exercise indicator.

[0094] Figure 3 The exercise recording interface 320 shown in (b) can display the completion status of multiple exercise indicators to the user.

[0095] However, the multiple progress indicator graphics 321 to 323 in the motion recording interface 320 are located at the same level. Therefore, these multiple progress indicator graphics 321 to 323 can be understood as being arranged side by side.

[0096] The user's gaze needs to move back and forth between different graphics, which may lead to visual distraction and make it difficult for the user to quickly and accurately capture the status information of each graphic. This may make it difficult for the user to understand and evaluate the progress status, resulting in a poor visual sensory experience for the user of the motion recording interface 320.

[0097] To improve the user's visual experience, this application provides a data display method. In a motion recording interface generated according to the data display method provided in this application, if different motion indicators have different cumulative achievement targets, the stacking order of the multiple progress indicator graphics from top to bottom in the graphical user interface may be different. Different motion indicators correspond to different...

[0098] Each fitness metric can be set with a corresponding preset cumulative amount. If the cumulative amount of a fitness metric is greater than or equal to (i.e., reaches) the preset cumulative amount corresponding to that fitness metric, then the cumulative amount of that fitness metric has met the target. Conversely, if the cumulative amount of a fitness metric is less than (i.e., does not reach) the preset cumulative amount corresponding to that fitness metric, then the cumulative amount of that fitness metric has not met the target.

[0099] Taking multiple exercise metrics such as steps, energy consumption, and exercise duration as examples, Table 1 shows the stacking order of progress indicator graphics in the exercise recording interface under various achievement conditions. The cumulative achievement of the target exercise metrics is different under different achievement conditions. The order of multiple exercise metrics in the stacking order of progress indicator graphics in the exercise recording interface represents the order of the multiple exercise metrics corresponding to the multiple progress indicator graphics arranged from top to bottom in the exercise recording interface.

[0100] Table 1

[0101]

[0102] The three progress indicator graphs corresponding to steps, energy consumption, and exercise duration may overlap.

[0103] like Figure 5 As shown in (a), in the exercise recording interface 510 when the cumulative number of steps, the cumulative number of energy consumption, and the cumulative number of exercise duration have not reached the target, the multiple progress indicator graphics are arranged from top to bottom as follows: the progress indicator graphic 521 corresponding to the number of steps, the progress indicator graphic 522 corresponding to the energy consumption, and the progress indicator graphic 523 corresponding to the exercise duration.

[0104] like Figure 5 As shown in (b), in the exercise recording interface 520 when the cumulative number of steps reaches the target but the cumulative number of energy consumption and the cumulative number of exercise duration do not reach the target, the multiple progress indicator graphics are arranged from top to bottom as follows: progress indicator graphic 522 corresponding to energy consumption, progress indicator graphic 523 corresponding to exercise duration, and progress indicator graphic 521 corresponding to steps.

[0105] like Figure 5 As shown in (c), in the exercise recording interface 530 when the cumulative number of steps and the cumulative number of energy consumption meet the standards, but the cumulative number of exercise duration does not meet the standards, the multiple progress indicator graphics are arranged from top to bottom as follows: progress indicator graphic 523 corresponding to exercise duration, progress indicator graphic 521 corresponding to steps, and progress indicator graphic 522 corresponding to energy consumption.

[0106] like Figure 5As shown in (d), in the exercise recording interface 540 when the cumulative number of steps, the cumulative amount of energy consumption, and the cumulative amount of exercise duration all meet the standards, the multiple progress indicator graphics are arranged from top to bottom as follows: the progress indicator graphic 521 corresponding to the number of steps, the progress indicator graphic 522 corresponding to the amount of energy consumption, and the progress indicator graphic 523 corresponding to the exercise duration.

[0107] exist Figure 5 In the exercise recording interface shown, if the cumulative amount of some exercise indicators has not reached the target while the cumulative amount of other exercise indicators has reached the target, the progress indicator graphic corresponding to the exercise indicator with the non-target cumulative amount is located above the other exercise indicators with the target cumulative amount.

[0108] Figure 5 The exercise recording interface shown features multiple progress indicators layered on top of each other, making the interface more attractive. The order of these progress indicators is determined by whether the cumulative amount for each exercise indicator has reached its target, thus providing reminders for the user's exercise.

[0109] The progress indicator graphics in a sports tracking interface can be understood as dynamic elements or controls. Dynamic elements are graphical elements that change based on user interaction or application state. Controls are graphical elements in a graphical user interface that allow users to interact with them.

[0110] The progress indicator graphic can also be circular, ring-shaped, or other shapes. Each progress indicator graphic can be a progress indicator ring. A progress indicator ring can be understood as a ring-shaped visual element used to display progress. For example, a progress indicator ring can be a closed or open circle, an elliptical ring, a polygonal ring, etc.

[0111] The motion recording interface may also include motion indicator labels located within the area surrounding each progress indicator graphic. Each motion indicator label represents the motion indicator corresponding to the progress indicator graphic surrounding that motion indicator label. Motion indicator labels may include text or graphic labels.

[0112] The shapes of the progress indicator graphs corresponding to multiple motion indicators can be the same or different. For example, the progress indicator graphs corresponding to multiple motion indicators can all be circular.

[0113] For example, progress can be represented in a progress indicator graphic by two parts. The completed part represents the cumulative amount of the corresponding motion indicator, and the incomplete part represents the difference between the cumulative amount of the motion indicator and the preset cumulative amount of the motion indicator. Different parts can be represented by different colors, textures, etc. The proportion of the area or length of the completed part in the progress indicator graphic increases as the cumulative amount of the corresponding motion indicator increases.

[0114] It should be understood that when the cumulative amount corresponding to a certain motion indicator is 0, the progress indicator graph may only include the incomplete portion. When the cumulative amount corresponding to a certain motion indicator is the preset cumulative amount for that motion indicator, the progress indicator graph may only include the completed portion.

[0115] When the progress indicator graphic is a progress indicator loop, the ratio between the length of the completed portion and the total length of the progress indicator graphic can be positively correlated with the ratio between the cumulative amount of the motion indicator corresponding to the progress indicator graphic and the preset cumulative amount of the motion indicator. For example, the ratio between the length of the completed portion and the total length of the progress indicator graphic can be equal to the ratio between the cumulative amount of the motion indicator corresponding to the progress indicator graphic and the preset cumulative amount of the motion indicator.

[0116] When the progress indicator graphic is circular or sector-shaped, both the completed and incomplete portions can be sectors. The ratio between the angle of the completed portion and the total angle of the progress indicator graphic can be positively correlated with the ratio of the cumulative amount of the motion index corresponding to the progress indicator graphic to the preset cumulative amount of the motion index. For example, the ratio between the angle of the completed portion and the total angle of the progress indicator graphic can be equal to the ratio of the cumulative amount of the motion index corresponding to the progress indicator graphic to the preset cumulative amount of the motion index.

[0117] When the progress indicator graphic is circular or sector-shaped, the completed portion can be circular or sector-shaped, and the uncompleted portion can be an annular or fan-shaped ring located outside the completed portion. The ratio between the radius of the completed portion and the radius of the progress indicator graphic can be positively correlated with the ratio between the cumulative amount of the motion index corresponding to the progress indicator graphic and the preset cumulative amount of the motion index.

[0118] In some embodiments, the transparency of the incomplete portion and the completed portion may be different. The transparency of the incomplete portion may be less than the transparency of the completed portion.

[0119] In some embodiments, the progress indicator graphic may include graphics located in two separate layers. The progress indicator graphic can be displayed by overlapping and masking the graphics in the two layers. The graphic in the lower layer is a background graphic. This background graphic serves as the overall background of the progress bar and can provide a basic style and color. The completion graphic in the upper layer can extend from the starting point of the progress indicator graphic to the corresponding completion percentage position.

[0120] In other words, in the progress indicator graphic, the unfinished part can be the part of the background graphic located outside the completed part, and the completed part can include the parts of the two layers of the progress indicator graphic located in the areas where the completed graphic is located.

[0121] The transparency of the background graphic and the finished graphic can be different. The transparency of the background graphic can be less than that of the finished graphic. For example, the transparency of the background graphic can be 35%, and the transparency of the finished graphic can be 85%.

[0122] When a progress indicator graphic is located below another progress indicator graphic, both levels in the first progress indicator graphic can be located below the second progress indicator graphic.

[0123] In other embodiments, the incomplete and completed portions can be drawn separately to obtain a progress indicator graphic. Alternatively, after drawing the background graphic, the color of the completed portion can be replaced to obtain a progress indicator graphic.

[0124] Figure 5 The motion recording interface shown can be accessed by executing... Figure 6 The data shown is obtained through the method described. Figure 6 The data display method shown can generate progress cards. The exercise recording interface can include progress cards.

[0125] The following is combined with Figure 6 The data display method provided in the embodiments of this application will be described in detail. The execution subject of the method provided in the embodiments of this application can be an electronic device, or a software / hardware module within the electronic device capable of image selection. For ease of explanation, the following embodiments use an electronic device as an example. This electronic device can be, for example, a wearable device. A wearable device is an electronic device that can be worn on the body or in close contact with the body.

[0126] Figure 6 This is a schematic flowchart of a data display method provided in an embodiment of this application.

[0127] Step S610: Obtain the cumulative amount of each of the multiple motion indicators.

[0128] For example, step S610 can be performed periodically or non-periodically.

[0129] Multiple exercise metrics can include at least two of the following: steps, exercise duration, and energy expenditure.

[0130] Cumulative amount refers to the cumulative sum of a certain indicator or value over a period of time. For example, the cumulative amount of a certain sports indicator can be the cumulative sum of that sports indicator over an hour, a calendar day, a month, or a year.

[0131] The cumulative value of a motion index can be determined based on the output of sensors in an electronic device. For example, the cumulative value of a motion index can be determined based on data output from sensors such as accelerometers and gyroscopes. Accelerometers are used to measure acceleration values. Gyroscopes are used to measure angular velocities.

[0132] Or, execute Figure 6 The electronic device using the method shown can also receive the accumulated amount of motion metrics from other electronic devices. These other electronic devices can be wearable devices, etc. Wearable devices can be equipped with sensors such as accelerometers and gyroscopes. The wearable device can determine the accumulated amount of motion metrics and send it to the execution device. Figure 6 The electronic device described is an electronic device.

[0133] Before step S610, a user action can be received. This user action is used to trigger the display of an interface including a progress card.

[0134] An interface, also known as a user interface or graphical user interface, can include one or more cards. When an interface includes multiple cards, these cards can be arranged and combined in various ways to suit different layouts and screen sizes. For example, cards can be stacked horizontally or vertically, or arranged in a grid layout. Each card can contain different content, such as text, images, buttons, etc., to display different information or functions.

[0135] User operations can include one or more types of operations. User operations can include touch input through the interface (such as clicking, swiping, dragging, etc.), voice input, and input operations through external input devices (such as keyboards or touchpads), etc.

[0136] For example, a user operation could be the user clicking the activity recording icon 311 on the directory interface 310. A user operation could also be the user sliding their finger across the directory interface 310 in a preset direction when the activity recording icon 311 is highlighted. A user operation could also be the user speaking a voice command within the voice monitoring range of the electronic device. The voice command could be, for example, "Open activity recording," etc.

[0137] After receiving user input, the cumulative amount of each motion indicator can be determined periodically or non-periodically multiple times.

[0138] Alternatively, after receiving a user's action, a request message can be sent to the wearable device so that the wearable device can periodically or non-periodically send the cumulative amount of each motion metric multiple times.

[0139] Step S620: Based on the cumulative amount of each motion indicator, determine the priority of each of the multiple progress indicator graphics, including the progress indicator graphic corresponding to each motion indicator.

[0140] The cumulative amount of each exercise indicator is compared to a preset cumulative amount to determine whether the cumulative amount of each indicator meets the target. Different exercise indicators can be set with different preset cumulative amounts. Therefore, for a given exercise indicator, the cumulative amount of that indicator can be compared to its preset cumulative amount to determine whether the cumulative amount of that indicator meets the target. If the cumulative amount of a given exercise indicator is greater than or equal to its preset cumulative amount, then the cumulative amount of that exercise indicator meets the target.

[0141] In some embodiments, before performing step S620, and before determining the priorities corresponding to the multiple progress indicator graphics, it can also be determined whether there is a motion indicator among the multiple motion indicators whose cumulative change value is greater than a preset change value. If the determination result is yes, step S620 can be performed.

[0142] The preset change amount used to judge different motion indicators can be different. For example, for each motion indicator, the ratio of the preset change amount to the preset cumulative amount can be equal.

[0143] For each motion metric, the progress indicator graph can represent the ratio of the cumulative amount of that motion metric to a preset cumulative amount for that motion metric. This ratio can be expressed as a percentage, for example.

[0144] If the change in the cumulative amount is greater than or equal to the preset change amount, steps S620 and S630 can be performed. Therefore, a progress card is not generated every time the cumulative amount of each of the multiple motion indicators is obtained, avoiding frequent refreshes of the progress card that could cause interface flickering or instability.

[0145] It should be understood that the preset change amount can be greater than or equal to 0. If the preset change amount is greater than 0, steps S620 and S630 can be performed if the cumulative change is greater than or equal to the preset change amount. If the preset change amount is 0, steps S620 and S630 can be performed if the cumulative change is greater than the preset change amount.

[0146] Step S630: Display a progress card according to the priority of each of the multiple progress indicator graphics. The progress card includes multiple progress indicator graphics. Any two progress indicator graphics overlap. If there are progress indicator graphics with different priorities among the multiple progress indicator graphics, the progress indicator graphic with higher priority is displayed on top of the progress indicator graphic with lower priority.

[0147] It should be understood that each progress indicator graphic may have parts that do not overlap with other progress indicator graphics, thus clearly distinguishing different progress indicator graphics and avoiding confusion and misunderstanding.

[0148] The progress indicator graphs corresponding to the cumulative targets achieved and those corresponding to the cumulative targets not achieved can have different priorities.

[0149] In some embodiments, exercise metrics that have not reached the cumulative target may have a lower priority, while exercise metrics that have reached the cumulative target may have a higher priority.

[0150] Higher-priority progress indicators can be displayed above lower-priority ones. Therefore, in interfaces that include progress cards, the progress indicators corresponding to achieved cumulative goals are positioned at the top. This immediate feedback and sense of accomplishment greatly enhances the user's confidence and motivation. This positive psychological effect encourages users to continue exercising to achieve higher goals or maintain their current progress.

[0151] Conversely, in other embodiments, the progress indicator graph corresponding to the motion index that has not reached the cumulative amount can have a higher priority, while the progress indicator graph corresponding to the motion index that has reached the cumulative amount can have a lower priority.

[0152] In other words, for any one of the multiple progress indicator graphs, if the cumulative amount of the motion index corresponding to that progress indicator graph is greater than or equal to the preset cumulative amount, the priority of that progress indicator graph can be determined as the first priority.

[0153] If the cumulative amount of the motion index corresponding to any progress indicator graphic is less than the preset cumulative amount, the priority corresponding to any progress indicator graphic is determined to be the second priority, which is greater than the first priority.

[0154] Higher-priority progress indicators can be displayed above lower-priority ones. This reminds users to continue exercising, increasing the cumulative amount of exercise they haven't yet reached, thus gradually achieving their goal. Users can more clearly see the gap between their current progress and their goal, motivating them to continue exercising—in other words, providing them with the drive to keep going. This clear feedback helps users maintain their focus on exercise and encourages them to keep striving to achieve their goal.

[0155] If multiple progress indicator graphics have the same priority, these graphics can be arranged randomly, and different progress indicator graphics can be placed on different layers.

[0156] Alternatively, progress indicator graphics with the same priority can be sorted according to a preset priority order. Therefore, in step S630, the progress card can be displayed based on the priority and sorting result of the multiple progress indicator graphics.

[0157] The preset priority ranking relationship can represent the order of importance of multiple motion indicators. For progress indicator graphics with the same priority, they are sorted according to the importance of the corresponding motion indicators, so that the stacking order of progress indicator graphics in the progress card matches the importance of the motion indicators represented by the preset priority ranking relationship.

[0158] The more important the motion indicator, the higher the corresponding progress indicator graphic can be located on the layer.

[0159] The preset priority sorting relationship can be set based on experience. Users can also set the preset priority sorting relationship according to their needs.

[0160] For example, when multiple exercise metrics are steps, exercise duration, and energy consumption, the preset priority order can be the progress indicator graphic corresponding to steps, the progress indicator graphic corresponding to exercise duration, and the progress indicator graphic corresponding to energy consumption. In other words, after determining the priority of each progress indicator graphic, the progress indicator graphics can be sorted according to the stacking order of the progress indicator graphics in the exercise recording interface under various achievement conditions shown in Table 1.

[0161] Alternatively, if there are multiple progress indicator graphics, all with a priority of second priority, these graphics can be sorted according to the ratio they represent. In a progress card, multiple progress indicator graphics with a priority of second priority can be arranged according to the ratio they represent.

[0162] Each progress indicator graphic can be represented as the ratio of the cumulative amount of the corresponding motion index to the preset cumulative amount of the corresponding motion index. For multiple progress indicator graphics of the second priority, the progress indicator graphics can be sorted according to the size of the ratios they represent, and the progress indicator graphic with the larger ratio is placed above the progress indicator graphic with the smaller ratio. That is, in the progress card, the progress indicator graphic with the largest ratio is located at the top of multiple progress indicator graphics that are all of the second priority.

[0163] For multiple progress indicator graphics that all have the second priority, by placing the progress indicator graphic with the larger ratio above the one with the larger ratio, the user is reminded that the cumulative amount is about to reach the target, which can remind the user to maintain motivation and encourage them to continue their efforts.

[0164] For multiple progress indicator graphics of the second priority, after sorting the progress indicator graphics according to the size of the ratio they represent, the progress indicator graphic with the smaller ratio can be placed above the progress indicator graphic with the larger ratio. That is, in the progress card, the progress indicator graphic with the smallest ratio is located at the top of multiple progress indicator graphics that are all of the second priority.

[0165] This effectively alerts users to the fitness metrics where they are most far from their goals, helping them clarify their next steps. This not only improves user efficiency but also enhances motivation and satisfaction.

[0166] When multiple progress indicator graphics, all with the highest priority, exist, they can be arranged randomly, with different graphics residing on different layers. Alternatively, these graphics can be sorted according to a preset priority order, ensuring that the stacking order of the graphics with the highest priority in the progress card corresponds to the importance of the motion indicators represented by the preset priority order.

[0167] During step S630, the layer level of each progress indicator graphic can be determined based on its priority. Progress indicator graphics with higher priority have a higher layer level than those with lower priority.

[0168] Multiple progress indicator graphics can be composited according to their respective layer levels.

[0169] Layer hierarchy describes the vertical order of layers on the display screen plane. The higher the layer hierarchy, the more prominent the layer is in the vertical direction on the display screen plane and the higher it is among layers.

[0170] The resulting graphic can be displayed as a progress card.

[0171] When multiple progress indicator graphics have the same priority, the layer level corresponding to each progress indicator graphic can be determined based on the priority of each graphic and the preset priority sorting relationship.

[0172] Multiple progress indicator graphics can be combined, either by adding them to an initial card in ascending order of priority. The initial card can be a card that does not contain any progress indicator graphics.

[0173] Step S610 can be performed multiple times. After each step S610, the progress indicator graph corresponding to the latest determined cumulative amount of the motion indicator can be redrawn, and the priority of the redrawn progress indicator graph corresponding to the motion indicator can be determined.

[0174] The priority of the progress indicator graph corresponding to the motion index can also be understood as the priority of the motion index.

[0175] Multiple redrawn progress indicator graphics can be combined, or they can be added in ascending order of priority by deleting the progress indicator graphics corresponding to the progress motion indicators from the previously determined progress cards and adding the redrawn progress indicator graphics corresponding to the progress motion indicators. The order in which the redrawn progress indicator graphics corresponding to the progress motion indicators are added can be based on the latest priority of the motion indicator.

[0176] Different progress indicator graphics are located on different layers. The later a progress indicator graphic is added, the more prominent it appears in the vertical direction of the display screen, that is, the higher it is on the layer. In other words, different orders of adding progress indicator graphics can be reflected as different stacking levels of progress indicator graphics in the visual representation.

[0177] In some embodiments, after obtaining the cumulative amount of each motion indicator in step S610 each time, a progress indicator graphic corresponding to each motion indicator can be drawn based on the cumulative amount of each motion indicator, the priority corresponding to each motion indicator can be determined, and a progress card can be generated based on the multiple drawn progress indicator graphics and the latest priority corresponding to each progress indicator graphic.

[0178] In other words, by setting the layer hierarchy of multiple drawn progress indicator graphics according to the latest priority corresponding to each progress indicator graphic, progress cards can be generated.

[0179] For example, if it is determined that the cumulative change of any motion indicator is greater than or equal to a preset change, a progress indicator graph corresponding to each motion indicator can be drawn based on the cumulative amount of each motion indicator, the priority of each motion indicator can be determined, and a progress card can be generated based on the drawn multiple progress indicator graphs and the latest priority corresponding to each progress indicator graph. For example, an electronic device can perform... Figure 7 The method shown.

[0180] Steps S610 to S630 can be performed when the electronic device receives a user operation. The user operation can be an operation performed by the user on the initial interface. The initial interface could be, for example, […]. Figure 3 The directory interface 310 is shown in (a) above. After receiving a user operation, the electronic device can proceed to steps S610 to S630.

[0181] During the process of generating progress cards based on the accumulated values ​​of each exercise metric, these accumulated values ​​may change. To improve the accuracy of the progress cards, if a new accumulated value for each exercise metric is acquired during the card generation process based on the previously obtained accumulated value, the generation of progress cards based on the previously determined accumulated value must be stopped, and the process must be restarted based on the new accumulated value. Therefore, the progress cards cannot be generated in a timely manner, resulting in the inability to promptly display the exercise record interface determined by the progress cards to the user, causing lag.

[0182] To reduce lag, in some other embodiments, after acquiring the cumulative amount of each motion indicator and determining the priority of each motion indicator based on the cumulative amount of each motion indicator, the progress indicator graphic of each motion indicator can be updated on the progress card generated based on the previous cumulative amount of motion indicators, so as to obtain a new progress card, even if the priority of each motion indicator has not changed.

[0183] In other words, in step S630, if the priorities of the multiple progress indicator graphics have not changed, the progress indicator graphics corresponding to each motion indicator can be updated according to the cumulative amount of each motion indicator to obtain the updated progress card, and the updated progress card is displayed. The updated progress card is the new progress card.

[0184] In cases where the priority of multiple progress indicator graphs has changed, the progress indicator graph corresponding to each motion indicator can be redrawn based on the cumulative amount of each motion indicator. A progress card is then displayed based on the latest priority of each of the multiple progress indicator graphs and the redrawn progress indicator graphs. For example, the electronic device can perform... Figure 8 The method shown.

[0185] It should be understood that when step S630 is performed for the first time, the priority of each progress indicator graphic is determined for the first time, so it can be determined that there are progress indicator graphics whose priority has changed.

[0186] To reduce computational load and avoid wasting computational resources, during the process of generating progress cards based on the cumulative amount of each motion indicator obtained in the previous iteration, if a new cumulative amount for each progress indicator is determined, and based on the new cumulative amount for each progress indicator, a progress indicator graphic whose priority has changed among multiple progress indicator graphics is identified, the generation of progress cards based on the cumulative amount of each motion indicator obtained in the previous iteration can be stopped.

[0187] In other words, during the process of determining the progress card based on the cumulative amount of multiple motion indicators obtained in the previous step, if it is determined that there is a progress indicator graphic whose priority has changed among the multiple progress indicator graphics, then the processing based on the cumulative amount of the motion indicators obtained in the previous step is stopped, and the progress indicator graphic corresponding to each motion indicator is redrawn according to the latest cumulative amount of each motion indicator. Based on the latest priority corresponding to the multiple progress indicator graphics and the redrawn multiple progress indicator graphics, the progress card is displayed.

[0188] During the generation of progress cards based on the cumulative values ​​of each motion indicator acquired in the previous iteration, the generation of progress cards can continue without interruption, provided that the priorities of the various progress indicator graphics remain unchanged. After generating progress cards based on the cumulative values ​​of each motion indicator, the progress indicator graphics of the progress cards can be updated to obtain new progress cards. These new progress cards can then be displayed, and the displayed progress cards are determined based on the new cumulative values ​​of each motion indicator, exhibiting high accuracy and real-time performance.

[0189] The update of the progress indicator graph corresponding to each motion indicator can be achieved by updating the progress indicator graph corresponding to the motion indicator whose change is greater than or equal to a preset change, so that the updated progress indicator graph represents the new cumulative amount of the corresponding motion indicator.

[0190] In the process of determining new progress cards, there is no need to set or adjust the layer hierarchy of the indicator graphics again, which reduces the time required to determine the progress card based on the new cumulative amount of each motion indicator and reduces lag.

[0191] After determining the progress card based on the new cumulative amount of each motion metric, the motion recording interface can be determined based on the progress card. Animation effects can be generated based on the images in the motion recording interface and the images in the initial interface.

[0192] Motion effects are animated effects produced by visual elements, and can be understood as animation. Motion effects play an important role in enhancing user experience and interactivity. For example, motion effects can represent the transition from the initial interface to the exercise recording interface. After the motion effect is generated, it can be displayed, and after the motion effect ends, the exercise recording interface can be displayed.

[0193] The time required to determine the progress card based on the new cumulative amount of each motion indicator is reduced, and when animations are displayed, they can be displayed in a timely manner, reducing lag.

[0194] The data display method provided in this application determines the priority of the progress indicator graphic corresponding to each exercise indicator based on the cumulative amount of each exercise indicator, and displays progress cards according to the priority of each progress indicator graphic. Within the progress card, any two progress indicator graphics overlap. This makes it easier for users to notice the higher-priority progress indicator graphics. By displaying progress cards to remind users of higher-priority exercise indicators, it helps users focus on the cumulative amount of higher-priority exercise indicators.

[0195] The following is combined with Figure 7 and Figure 8 The data display method provided in the embodiments of this application will be described.

[0196] Figure 7 This is a schematic flowchart of a data display method provided in an embodiment of this application.

[0197] Step S701: Determine the cumulative amount of each motion index.

[0198] Step S702: Determine whether there is a motion index where the cumulative change is greater than the preset change.

[0199] If step S701 is the first execution, it can be determined that among multiple motion indicators, there is a motion indicator whose cumulative change is greater than the preset change.

[0200] The first execution of step S701 can be understood as the first execution of step S701 after a user operation is detected.

[0201] If there is a motion index where the cumulative change is greater than the preset change, steps S703 to S705 can be performed.

[0202] Step S703: Based on the cumulative amount of each motion indicator, draw the progress indicator graph corresponding to each motion indicator.

[0203] For any motion indicator, if the cumulative amount of the motion indicator is less than the preset cumulative amount of the motion indicator, the progress indicator graphic of the motion indicator represents the ratio of the cumulative amount of the motion indicator to the preset cumulative amount.

[0204] If the cumulative amount of any motion indicator is less than the preset cumulative amount of any motion indicator, the progress indicator graphic of any motion indicator is 100%.

[0205] Step S704: Determine the priority of the progress indicator graph corresponding to each motion indicator based on the cumulative amount of each motion indicator.

[0206] For motion indicators whose cumulative amount is greater than or equal to a preset cumulative amount, the progress indicator graphic of the motion indicator has the first priority. For motion indicators whose cumulative amount is less than the preset cumulative amount, the progress indicator graphic of the motion indicator has the second priority. The second priority is higher than the first priority.

[0207] In other words, the priority corresponding to the progress indicator graph of each sports indicator can indicate whether the cumulative amount of that sports indicator has reached the target.

[0208] Step S705: Determine the target stacking order of the progress indication graphics corresponding to multiple motion indicators based on the priority of the progress indication graphics corresponding to each motion indicator.

[0209] The priority of the progress indicator graphs for multiple motion indicators can represent the current achievement status. Based on the current achievement status, the target stacking order of the progress indicator graphs for each of the multiple motion indicators can be determined.

[0210] In the target stacking order, the motion index corresponding to the second priority progress indicator graphic is located before the motion index of the first priority progress indicator graphic.

[0211] When multiple progress indicator graphs have the same priority, the order of these multiple progress indicator graphs with the same priority in the target stacking order is the same as the order of these multiple progress indicator graphs with the same priority in the preset priority sorting relationship.

[0212] Taking multiple exercise indicators such as steps, energy consumption, and exercise duration as examples, the target stacking order of the progress indicator graphics in the exercise record interface under various achievement conditions shown in Table 1 can be determined based on the stacking order of the progress indicator graphics corresponding to the multiple exercise indicators under the current achievement conditions.

[0213] After steps S703 and S705 are completed, step S706 can be performed.

[0214] Step S706: Generate a progress card based on the progress indicator graphic corresponding to each motion indicator and the target stacking order.

[0215] A progress card can be generated by adding multiple progress indicator graphics to the initial progress card in the reverse order of stacking.

[0216] Alternatively, after deleting the progress indicator graphics corresponding to multiple motion indicators in the previously obtained progress card, multiple progress indicator graphics can be added in the reverse order of the stacking order to generate a new progress card.

[0217] For example, by performing multiple modification operations on the previously obtained progress card in the reverse order of stacking, a new progress card can be obtained. The new progress card can also be understood as a generated progress card. Different modification operations correspond to different motion indicators. Each modification operation deletes the progress indicator graphic of the motion indicator corresponding to the current modification operation from the previously obtained progress card or the progress card obtained from the previous modification operation, and adds the progress indicator graphic of the motion indicator corresponding to the current modification operation, which has been redrawn in step S703.

[0218] The first modification operation is performed on the progress card obtained in the previous operation, while the second and subsequent modification operations are performed on the progress card obtained in the previous modification operation.

[0219] For example, if the target progression order is steps, energy consumption, and exercise duration, we can first delete the progress indicator graphic corresponding to exercise duration from the previously obtained progress card and add a newly drawn progress indicator graphic corresponding to exercise duration. Then, we delete the progress indicator graphic corresponding to energy consumption and add a newly drawn progress indicator graphic corresponding to energy consumption. Finally, we delete the progress indicator graphic corresponding to steps and add a newly drawn progress indicator graphic corresponding to steps. This results in the generated progress card.

[0220] The progress indicator graphic added first is placed below the progress indicator graphic added later. In other words, the later the progress indicator graphic is added, that is, the earlier the progress indicator graphic is in the stacking order, the higher the layer level it belongs to.

[0221] If step S702 determines that there is no cumulative change greater than or equal to the preset change, step S707 can be performed.

[0222] In step S707, the previously obtained progress card is used as the new progress card.

[0223] Step S710 can be performed after step S706 or step S707.

[0224] Step S710: Display the progress card.

[0225] The progress card displayed in step S710 can be a new progress card obtained through step S706, or a progress card generated through step S707.

[0226] exist Figure 7 In the method shown, the motion algorithm can perform step S701, the motion application can perform steps S702 to S707, and the graphics frame and display driver can be used to implement step S710. The graphics frame can generate a motion recording interface including progress cards, and the display driver can drive the display screen so that the display screen displays the motion recording interface.

[0227] If a user is exercising, upon receiving a user action to trigger the display of an interface including the progress card, the electronic device, due to frequent changes in the accumulated values ​​of one or more motion indicators, will stop generating the progress card based on the previously determined accumulated value after each new accumulated value of the motion indicator is determined, and will then regenerate the progress card based on the new accumulated value. Due to the limitations of the electronic device's processing power, the progress card may be constantly redrawn, making it impossible to display, resulting in lag and a poor user experience.

[0228] Taking user actions performed on the initial interface as an example, after a progress card is generated, the electronic device can generate animation effects based on the initial interface and the motion record interface including the progress card. However, because the progress card is constantly being redrawn, the generation of animation effects waits for the progress card to be generated, causing page refresh lag.

[0229] In other embodiments, such as Figure 8 As shown, if in step S702 it is determined that there is a motion index where the cumulative change is greater than the preset change, steps S703 and S704 can be performed, and step S808 can be performed after steps S703 and S704.

[0230] Step S808: Determine whether there are progress indicator graphs with changed priorities.

[0231] In the case of performing step S808 for the first time, it can be determined that there are progress indicator graphs with changed priorities.

[0232] Except for the first time performing step S808, the priority of the progress indicator graphic corresponding to each motion indicator determined in the current step S704 can be compared with the priority of the progress indicator graphic corresponding to the same motion indicator determined in the previous step S704, so as to determine whether the priority of the indicator icon corresponding to the motion indicator has changed.

[0233] If there are progress indicator graphs with changing priorities, proceed to steps S705 and S706.

[0234] If there are no progress indicator graphs showing changes in priority, proceed to step S809.

[0235] Step S809: Update the progress card according to the progress indicator graphic corresponding to each motion indicator.

[0236] The update of the progress card based on the progress indicator graphic corresponding to each motion indicator can be understood as replacing the progress indicator graphic corresponding to each motion indicator in the progress card with the progress indicator graphic corresponding to that motion indicator drawn in step S703.

[0237] The new progress card obtained by performing steps S707, S706, or S809 can be understood as the progress card obtained in this instance.

[0238] exist Figure 8 In the data display method shown, the motion algorithm can perform step S701, the motion application can perform steps S702 to S704, step S808, and steps S705 and S706, the graphics frame can perform step S809, and the graphics frame and display driver can be used to implement step S710.

[0239] In other words, if the motion application determines in step S808 that there is a progress indicator graphic with a changed priority, the motion application continues with steps S705 and S706, and transmits the progress card generated in step S706 to the graphics frame. The graphics frame can generate a motion recording interface including the progress card and transmit the motion recording interface to the display driver. The display driver can drive the display screen to display the motion recording interface.

[0240] If, in step S808, the motion application determines that there are no progress indicator graphics with changed priority, the motion application can transfer the motion indicator graphics to the graphics frame. The graphics frame can then update the motion indicator graphics in the progress card to obtain a new progress card, thereby determining a new motion recording interface.

[0241] Optionally, in step S703, for each motion indicator, the progress indication graph can be drawn based on the cumulative amount of the motion indicator.

[0242] In the updated progress card, the layer level of the redrawn progress indicator graphic corresponding to any motion indicator is the same as the layer level of the progress indicator graphic corresponding to that motion indicator in the original progress card.

[0243] Since each progress indicator graphic in the progress card is drawn in each step S703, step S702 can compare the cumulative amount of each progress indicator determined in the current execution of step S701 with the cumulative amount of the same progress indicator determined before the last execution of step S703, in order to determine the change in the cumulative amount of the progress indicator, thereby determining whether there is a movement indicator whose cumulative change is greater than or equal to the preset change.

[0244] Optionally, in step S703, among the progress indicator graphs corresponding to multiple motion indicators, for motion indicators whose cumulative change is greater than or equal to a preset change, the graph can be redrawn based on the cumulative change of the motion indicator. For motion indicators whose cumulative change is less than the preset change, the progress indicator graph corresponding to that motion indicator may not be drawn. That is, for a motion indicator whose cumulative change is less than the preset change, the progress indicator graph corresponding to that motion indicator in the previous progress card can be used as the progress indicator graph corresponding to that motion indicator in the updated progress card.

[0245] Not every progress indicator graphic in the progress card is redrawn every time step S703 is performed. Therefore, step S702 can compare the cumulative amount of each progress indicator determined in this execution of step S701 with the cumulative amount of the progress indicator when the progress indicator graphic corresponding to the progress indicator was redrawn last time, so as to determine the change in the cumulative amount of the progress indicator.

[0246] If, in step S808, the motion application determines that there are no progress indicator graphics with changed priority, the motion application can transmit the currently drawn motion indicator graphic to the graphics frame. The graphics frame can then update the progress card based on the received motion indicator graphic.

[0247] In some other embodiments, if it is determined in step S702 that the cumulative change is greater than or equal to a preset change, steps S803, S704, and S808 are performed. That is, step S703 may not be performed.

[0248] Step S803: Update the progress indicator graphic corresponding to each motion indicator in the progress card to obtain the progress card with the updated progress indicator graphic.

[0249] The progress card used to update the progress indicator graphic can be the previously obtained progress card. If step S803 is the first execution, the progress card used to update the progress indicator graphic can also be a preset progress card. The preset progress card can include the progress indicator graphic corresponding to each of multiple motion indicators.

[0250] The first execution of step S803 can be understood as the first execution of step S803 after a user operation is detected.

[0251] In the preset progress cards, the progress indicator graphic corresponding to each motion indicator can be an initial progress indicator graphic. The initial progress indicator graphic can represent a preset scale. The preset scale can be, for example, 0. In the preset progress cards, any two progress indicator graphics overlap, and different progress indicator graphics are located on different layers.

[0252] If it is determined in step S808 that there is a progress indicator graph with a change in priority, steps S705 and S806 can be performed.

[0253] Step S806: For the updated progress card, adjust the layer level of the progress indicator graphic according to the target stacking order to obtain a new progress card.

[0254] If it is determined in step S808 that there are no progress indicator graphics with changed priorities, the progress card with the updated progress indicator graphics can be used as the new progress card.

[0255] The new progress card obtained by performing steps S707, S806, or step S808, where it is determined that there are no progress indicator graphics with changed priorities, can be understood as the progress card obtained in this instance.

[0256] Step S710 can be performed after step S707, step S809 or step S806.

[0257] It should be understood that the display of the progress card in step S710 can be achieved by an electronic device displaying the progress card, or by an electronic device controlling or driving a display screen to display the progress card.

[0258] like Figure 9As shown, the memory in the electronic device may include a processor such as an embedded multi-media card (EMMC) 910, pseudo-static random access memory (PSRAM) 920, etc. The processor in the electronic device may include a microcontroller unit (MCU) 930. The electronic device may also include a display 940.

[0259] The EMMC 910 can store a resource file 911. The resource file 911 includes a compressed image file. After obtaining a progress card using the data display method provided in this application embodiment, the motion recording interface can be determined based on the progress card. Compression of the motion recording interface yields a compressed image file. The motion recording interface may include a progress card. Exemplarily, the MCU 930 or other processors in the electronic device (such as an application processor) can be used to execute... Figure 6 , Figure 7 or Figure 8 The data display method shown determines the progress card based on the cumulative amount of each motion index, compresses the motion recording interface including the progress card, and stores the compressed image file in EMMC 910 as part of resource file 911.

[0260] The PSRAM 920 may include a compressed resource 921, a resource cache 922, and a frame cache 923. The compressed resource 921, the resource cache 922, and the frame cache 923 may be located in different storage areas within the PSRAM 920.

[0261] The MCU 930 may include a first processing unit 931 and a second processing unit 932. The second processing unit 932 may be a GPU and / or a graphics acceleration processing controller. The graphics acceleration processing controller may, for example, be direct memory access for two-dimensional data (DMA2D).

[0262] The display 940 may include static random access memory (SRAM) 941, a processor, and a display screen. The processor in the display 940 is used to drive the display so that the display screen shows the user interface. That is, the processor in the display 940 may include a display driver.

[0263] The EMMC 910 and MCU 930 can be connected via Secure Digital Input and Output (SDIO). The PSRAM 920 and MCU 930 can be connected via a Field Programmable Gate Array Mezzanine Card (FMC). The MCU 930 and Display 940 can be connected via Mobile Industry Processor Interface (MIPI).

[0264] The MCU 920 can obtain the compressed image file from the resource file 911 of the EMMC 910 and store the compressed image file in the compressed resource 921 in the PSRAM 920.

[0265] The first processing unit 931 in MCU 920 can decompress the compressed image file stored in compressed resource 921 to obtain a motion recording interface. The first processing unit 931 can store the motion recording interface in resource cache 922.

[0266] The second processing unit 932 in MCU 920 can perform image rendering based on the motion recording interface in resource buffer 922 to obtain the rendered motion recording interface. The second processing unit 932 can store the rendered motion recording interface in frame buffer 923.

[0267] The MCU 920 can transmit the rendered motion recording interface in the frame buffer 923 to the SRAM 941 of the display 940, so that the display driver in the display 940 can drive the display screen to display the motion recording interface.

[0268] When an electronic device detects a user interaction, the progress card generated for the first time by the motion application can be transmitted to the graphics frame in the application layer program framework layer.

[0269] The graphical framework can generate an exercise recording interface based on progress cards. The exercise recording interface can include progress cards. The exercise recording interface can also include the cumulative amount for each exercise metric. For example, the progress card can include text representing the cumulative amount for each exercise metric.

[0270] In steps S601 and S701, the cumulative amount of each exercise indicator can be understood as the cumulative amount of each exercise indicator in the current statistical period. The exercise record interface may also include statistical graphs of one or more exercise indicators. The statistical graph of each exercise indicator can be determined based on the historical cumulative amount of that exercise indicator in multiple statistical periods prior to the current statistical period. Statistical graphs can be, for example, bar charts or line charts. The statistical graph of each exercise indicator can represent the change in the historical cumulative amount of that exercise indicator over multiple statistical periods. For example, if the statistical period is a calendar day, the statistical graph of steps can represent the change in the historical cumulative amount of steps over multiple calendar days. It should be understood that the historical cumulative amount of a certain exercise indicator in each previous statistical period can be the last cumulative amount of that exercise indicator obtained before the end of that statistical period.

[0271] The graphical framework can also switch user interfaces, i.e., switch screens, based on the current interface of the electronic device and the motion recording interface.

[0272] Switching between user interfaces can involve multiple processes such as initialization, destruction, and screen switching performed by the graphical framework.

[0273] Initialization (Init) is used to initialize parameters. After parameter initialization, screen transitions can be performed. Screen transitions can be achieved using animation effects or object animation effects.

[0274] When switching screens using animation effects, the switching can be achieved through the system's Tick event handling. The Tick event is a concept in computer programming and systems, typically used to describe an event that triggers at regular time intervals (such as milliseconds or frames) during an event loop or animation rendering. In animation rendering, the Tick event is used to set the playback interval between two adjacent frames in the animation, thus enabling the animation frames to play. For example, the maximum frequency of the Tick event can be 60 times per second, and the playback interval between two adjacent frames can be a positive integer multiple of 1 / 60th of a second.

[0275] The display effect of motion effects can also be called the animation style or change method of motion effects, which can be any of the following: block transition, cover transition, slide transition, wipe transition.

[0276] Block transition animations divide the screen into multiple blocks (e.g., 8x6 blocks), and randomly redraw some of these blocks each time the screen switches. For example, two blocks can be redrawn at a time. This transition effect is relatively resource-efficient and suitable for devices or environments with low performance requirements.

[0277] The transition effect is an overlay animation where the new screen moves from one direction until it completely covers the original screen content.

[0278] The sliding transition animation stitches the new screen image together with the original screen image (original screen image in front, new screen image behind), sliding in from a specified direction.

[0279] The erase transition animation shows the new screen unfolding from one direction, creating an effect of erasing the original screen and revealing the new screen.

[0280] In some embodiments, user interface switching can also be performed without transition. No transition means that there is no visual transition during the user interface switching process; that is, screen switching is achieved without animation effects.

[0281] After the screen switching is complete, you can clean up the environment by tearing down the data generated during the screen switching process, such as temporary snapshot space.

[0282] During screen transitions using display effects other than no transition, animation effects can be generated, consisting of multiple frames of images. These multiple frames are stored sequentially in resource file 911 according to their chronological order, thus enabling the display of the animation effects.

[0283] After the screen transition is complete, the graphics framework can generate a motion recording interface based on the new progress card and store the motion recording interface generated based on the progress card in resource file 911. Thus, the electronic device achieves real-time display of the progress card determined by the cumulative amount of motion indicators.

[0284] The display of the user interface may also involve invalidation. The main function of invalidation in interface display is to update the user interface. Through invalidation, the redrawn area can be marked in the motion recording interface, and the content of that area can be updated.

[0285] For example, in Figure 8 In the image display method shown, step S809 can be implemented by the graphics frame through redrawing (invalidating). The graphics frame can mark the redrawn progress indicator graphic in the progress card of the motion recording interface and update the represented progress indicator graphic to obtain a new motion recording interface. The marked progress indicator graphic can be determined by the graphics frame based on the progress index corresponding to the received progress indicator graphic.

[0286] It should be understood that the above examples are provided to help those skilled in the art understand the embodiments of this application, and are not intended to limit the embodiments of this application to the specific values ​​or scenarios illustrated. Those skilled in the art can obviously make various equivalent modifications or changes based on the above examples, and such modifications or changes also fall within the scope of the embodiments of this application.

[0287] The above text combined Figures 3 to 9 The data display method of the embodiments of this application is described in detail below. Figure 10 This document describes in detail the device embodiments of this application. It should be understood that the data display device in the embodiments of this application can execute the data display method described in the foregoing embodiments of this application. That is, the specific working processes of the various products described below can be referred to the corresponding processes in the foregoing method embodiments.

[0288] Figure 10 This is a schematic diagram of the data display device provided in the embodiments of this application.

[0289] The data display device 1000 includes an acquisition unit 1010 and a processing unit 1020. The data display device 1000 can perform... Figure 6 , Figure 7 or Figure 8 The data display method is shown below.

[0290] The acquisition unit 1010 is used to acquire the cumulative amount of each of the multiple motion indicators.

[0291] The processing unit 1020 is used to determine the priority of multiple progress indicator graphics according to the cumulative amount of each motion indicator, wherein the multiple progress indicator graphics include the progress indicator graphic corresponding to each motion indicator.

[0292] The processing unit 1020 is further configured to display a progress card according to the priority corresponding to the plurality of progress indicator graphics, wherein the progress card includes the plurality of progress indicator graphics, any two progress indicator graphics overlap, and in the case that there are progress indicator graphics with different priorities among the plurality of progress indicator graphics, the progress indicator graphic with higher priority is displayed on top of the progress indicator graphic with lower priority.

[0293] Optionally, the processing unit 1020 is specifically configured to, for any one of the plurality of progress indicator graphics, determine the priority of the progress indicator graphic as the first priority if the cumulative amount of the motion index corresponding to the progress indicator graphic is greater than or equal to a preset cumulative amount.

[0294] The processing unit 1020 is specifically configured to, when the cumulative amount of the motion index corresponding to any progress indicator graphic is less than the preset cumulative amount, determine the priority corresponding to any progress indicator graphic as a second priority, wherein the second priority is greater than the first priority.

[0295] Optionally, the processing unit 1020 is specifically used to update the progress indicator graphic corresponding to each motion indicator in the progress card according to the cumulative amount of each motion indicator, provided that the priorities corresponding to the plurality of progress indicator graphics have not changed.

[0296] The processing unit 1020 is specifically configured to, when there is a progress indicator graphic whose priority has changed among the plurality of progress indicator graphics, redraw the progress indicator graphic corresponding to each motion indicator according to the cumulative amount of each motion indicator, and display the progress card based on the latest priority corresponding to the plurality of progress indicator graphics and the redrawn plurality of progress indicator graphics.

[0297] Optionally, the processing unit 1020 is specifically used to determine the layer level corresponding to each of the redrawn progress indicator graphics based on the latest priority of each of the redrawn progress indicator graphics, wherein the layer level of the progress indicator graphic with higher priority is greater than the layer level of the progress indicator graphic with lower priority.

[0298] The processing unit 1020 is specifically used to synthesize the multiple redrawn progress indicator graphics according to the layer levels corresponding to the multiple redrawn progress indicator graphics respectively.

[0299] The processing unit 1020 is specifically used to display the synthesized graphic as the progress card.

[0300] Optionally, the processing unit 1020 is further configured to, when there are progress indicator graphics with the same priority among the plurality of progress indicator graphics, sort the progress indicator graphics with the same priority according to a preset priority sorting relationship.

[0301] The processing unit 1020 is further configured to display the progress card according to the priority and sorting result corresponding to the plurality of progress indicator graphics respectively.

[0302] Optionally, the processing unit 1020 is further configured to determine whether there is a motion index among the plurality of motion indices whose cumulative change value is greater than a preset change value.

[0303] The processing unit 1020 is further configured to, when there is at least one motion indicator whose cumulative change value is greater than the preset change value, determine the priority of each of the multiple progress indicator graphics according to the cumulative amount of each motion indicator.

[0304] Optionally, the acquisition unit 1010 is specifically used to, after receiving a user operation, determine the cumulative amount of each of the plurality of sports and health indicators, wherein the user operation is used to trigger the display of an interface including the progress card.

[0305] Optionally, the plurality of exercise metrics include at least two of the following: steps, exercise duration, and energy consumption.

[0306] It should be noted that the aforementioned data display device 1000 is embodied in the form of a functional unit. The term "unit" here can be implemented in software and / or hardware, without specific limitations.

[0307] For example, a "unit" can be a software program, a hardware circuit, or a combination of both that implements the above functions. The hardware circuit may include an application-specific integrated circuit (ASIC), electronic circuitry, a processor (e.g., a shared processor, a proprietary processor, or a group processor) and memory for executing one or more software or firmware programs, integrated logic circuitry, and / or other suitable components that support the described functions.

[0308] Therefore, the units of the various examples described in the embodiments of this application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0309] This application also provides a chip, which includes a data interface and one or more processors. When the one or more processors execute instructions, they read instructions stored in memory through the data interface to implement the data display method described in the above method embodiments.

[0310] The one or more processors can be general-purpose processors or special-purpose processors. For example, the one or more processors can be central processing units (CPUs), digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, such as discrete gate, transistor logic devices, or discrete hardware components.

[0311] The chip can be used as a component of a terminal device or other electronic device. For example, the chip can be located in electronic device 100.

[0312] Processors and memory can be configured separately or integrated together. For example, processors and memory can be integrated onto a system-on-a-chip (SoC) in a terminal device. That is, the chip can also include memory.

[0313] The memory may store a program, which can be run by the processor to generate instructions, causing the processor to execute the data display method described in the above method embodiments according to the instructions.

[0314] Optionally, the memory may also store data. Optionally, the processor may also read data stored in the memory, which may be stored at the same memory address as the program, or the data may be stored at a different memory address than the program.

[0315] For example, the memory can be used to store related programs of the data display method provided in the embodiments of this application, and the processor can be used to call the related programs of the data display method stored in the memory to implement the data display method of the embodiments of this application. For example, the processor can be used to: obtain the cumulative amount of each of a plurality of motion indicators; determine the priority of a plurality of progress indicator graphics according to the cumulative amount of each motion indicator, wherein the plurality of progress indicator graphics includes a progress indicator graphic corresponding to each motion indicator; display a progress card according to the priority of the plurality of progress indicator graphics, wherein the progress card includes the plurality of progress indicator graphics, wherein any two progress indicator graphics overlap, and in the case that there are progress indicator graphics with different priorities among the plurality of progress indicator graphics, the progress indicator graphic with higher priority is displayed on top of the progress indicator graphic with lower priority.

[0316] This chip can be installed in electronic devices.

[0317] This application also provides a computer program product that, when executed by a processor, implements the data display method described in any of the method embodiments of this application.

[0318] The computer program product can be stored in memory, for example, it is a program. The program is eventually converted into an executable object file that can be executed by the processor after processes such as preprocessing, compilation, assembly and linking.

[0319] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a computer, implements the data display method described in any of the method embodiments of this application. The computer program may be a high-level language program or an executable object program.

[0320] The computer-readable storage medium is, for example, memory. Memory can be volatile or non-volatile, or it can include both volatile and non-volatile memory. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), which serves as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).

[0321] The embodiments of this application may involve the use of user data. In practical applications, user-specific personal data may be used in the scheme described herein within the scope permitted by applicable laws and regulations, provided that it complies with the applicable laws and regulations of the country (e.g., with the user's explicit consent, with the user being properly notified, etc.).

[0322] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0323] To facilitate a clear description of the technical solutions of this application, the terms "first" and "second" are used to distinguish identical or similar items with substantially the same function and effect. In the description of this application, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance, or a specific order or sequence. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, nor do they necessarily imply differences. For those skilled in the art, the specific meaning of the above terms in this application can be understood according to the specific circumstances.

[0324] In this application, "at least one" means one or more, and "more than one" means two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of a single item or a plurality of items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple. In the description of this application, unless otherwise stated, " / " means "or," for example, A / B can represent A or B; "and / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone.

[0325] It should be understood that in the various embodiments of this application, the order of the above-mentioned processes does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0326] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0327] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0328] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for example, the division of units is merely a logical functional division, and other division methods may exist in actual implementation; for example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0329] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0330] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0331] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A data display method, characterized in that, The method includes: Periodically obtain the cumulative amount of each of the three motion indicators; If none of the three motion indicators has a cumulative value greater than or equal to a preset cumulative value in the first acquisition, then the priority of each motion indicator is determined to be the second priority, and a first operation is performed. The first operation includes: Based on the latest cumulative amount of each sports indicator, draw a progress indicator graph corresponding to each sports indicator; According to the preset priority sorting relationship, determine the first stacking order of the progress indication graphics corresponding to the three motion indicators respectively; Generate and display a progress card, the progress card including progress indicator graphics corresponding to the three motion indicators respectively, in the progress card, there is overlap between the progress indicator graphics corresponding to any two motion indicators respectively, and the progress indicator graphics corresponding to the three motion indicators are arranged according to the first stacking order; After obtaining the cumulative amount of each of the three motion indicators again, a second operation is performed, which includes: If at least one of the three motion indicators is a target motion indicator, the priority of each motion indicator is re-determined based on the latest cumulative amount of each motion indicator. The target motion indicator is the motion indicator whose cumulative change is greater than or equal to a preset change. The cumulative change of any of the three motion indicators represents the difference between the latest cumulative amount of the motion indicator and the previous cumulative amount drawn. The progress indicator graph of the most recently drawn motion indicator is based on the previous cumulative amount drawn of the motion indicator. The motion indicator whose latest cumulative amount is greater than or equal to the preset cumulative amount has the first priority, and the motion indicator whose latest cumulative amount is less than the preset cumulative amount has the second priority. If the latest priorities corresponding to the three motion indicators have not changed relative to the previously determined priorities, a third operation is performed, which includes: If the previous progress card was not generated in time, then continue generating the previous progress card. Based on the current cumulative amount of each target motion indicator, draw the progress indicator graph corresponding to each target motion indicator; After the previous progress card is generated, based on the latest cumulative amount of each motion indicator, the progress indicator graphic corresponding to each target motion indicator in the previous progress card is replaced with the latest drawn progress indicator graphic to generate an updated progress card. Display the updated progress card; If the priority of the three motion indicators is determined to be the second priority in the previous operation, and the latest priority of the first motion indicator changes to the first priority, while the latest priority of the other two motion indicators remains the second priority, then a fourth operation is performed, which includes: If the generation of the previous progress card was not completed, then stop generating the previous progress card; Based on the latest cumulative amount of each motion indicator, redraw the progress indicator graph corresponding to each motion indicator; According to the preset priority sorting relationship, determine the second stacking order of the progress indicator graphics corresponding to the two latest motion indicators with the same priority; Based on the priority of each motion indicator and the second stacking order, the progress card is regenerated and displayed. There is an overlap between the progress indicator graphics corresponding to any two motion indicators in the progress card. The progress indicator graphics corresponding to the two latest motion indicators with the same priority are arranged according to the second stacking order. The layer where the motion indicator graphic corresponding to the second priority motion indicator is located is above the layer where the progress indicator graphic corresponding to the first priority motion indicator is located. If the priority of the first motion indicator was previously determined to be the first priority, and the priority of the two motion indicators other than the first motion indicator was previously determined to be the second priority, then if the latest priority of the first motion indicator remains the first priority, the latest priority of the second motion indicator among the two motion indicators other than the first motion indicator is the first priority, and the latest priority of the third motion indicator among the two motion indicators other than the first motion indicator remains the second priority, then the fourth operation is performed. If the priority of the first motion indicator and the second motion indicator was previously determined to be the first priority, and the priority of the third motion indicator was previously determined to be the second priority, and if the latest priority corresponding to each of the three motion indicators is the first priority, then the first operation is performed, and the generation of the previous progress card is stopped if the previous progress card has not been completed.

2. The method according to claim 1, characterized in that, The periodic acquisition of the cumulative amount of each of the three motion indicators includes: After receiving a user's operation, the cumulative amount of each of the three sports and health indicators is periodically determined, and the user's operation is used to trigger the display of an interface including the progress card.

3. The method according to claim 1 or 2, characterized in that, The three exercise metrics are steps, exercise duration, and energy consumption.

4. An electronic device, characterized in that, The electronic device includes: one or more processors, and memory; The memory is coupled to the one or more processors, the memory being used to store computer program code, the computer program code including computer instructions, the one or more processors invoking the computer instructions to cause the electronic device to perform the method as described in any one of claims 1 to 3.

5. A chip system, characterized in that, The chip system is applied to an electronic device, the chip system including one or more processors, the one or more processors being used to invoke computer instructions to cause the electronic device to perform the method as described in any one of claims 1 to 3.

6. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes instructions that, when executed on an electronic device, cause the electronic device to perform the method as described in any one of claims 1 to 3.

Citation Information

Patent Citations

  • Data display method and device of intelligent watch

    CN107766026A

  • View staggered display method, electronic device and storage medium

    CN109002241A

  • Information display method and and device, and wearable equipment

    CN113867666A