Data display method and electronic equipment

By prioritizing and displaying progress indicator graphics based on the accumulated amount of exercise indicators in the exercise recording interface, the problem of users having difficulty distinguishing between multiple progress indicator graphics is solved, and the user experience and interface stability are improved.

CN118733168AActive Publication Date: 2024-10-01HONOR DEVICE CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Multiple progress indicator graphics placed side by side in the existing sports recording interface cause visual distraction for the user, making it difficult to quickly understand and evaluate the progress status, affecting the user experience.

Method used

By obtaining the accumulated amount of sports indicators, the priority of each progress indication graphic is determined and displayed in the progress card. If there is overlap between any two progress indication graphics, the higher priority graphic is displayed on the lower priority graphic. Increase user attention to high-priority sports metrics.

Benefits of technology

It improves the user experience, making it easier for users to notice higher-priority sports indicators, stimulating motivation to continue exercising, reducing the frequency of interface refreshes and the occupation of processing resources, and reducing lags.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733168A_ABST
    Figure CN118733168A_ABST
Patent Text Reader

Abstract

The embodiment of the invention is applied to the field of display, and provides a data display method and electronic equipment, and the method comprises the steps: obtaining the cumulant of each motion index in a plurality of motion indexes; according to the cumulant of each motion index, priorities corresponding to multiple progress indication graphs are determined, and the multiple progress indication graphs comprise the progress indication graph corresponding to each motion index; according to the priorities corresponding to the multiple progress indication graphs, a progress card is displayed, the progress card comprises the multiple progress indication graphs, and any two progress indication graphs in the multiple progress indication graphs coincide. And under the condition that the progress indication graphs with different priorities exist in the plurality of progress indication graphs, the progress indication graph with the high priority is displayed on the progress indication graph with the low priority. Based on the technical method provided by the invention, the user can more easily notice the progress indication graph with higher priority, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data display technology, and more specifically, to a data display method and an electronic device. Background Art

[0002] Due to the rapid popularization of electronic devices such as mobile phones and wearable devices (such as smart watches and bracelets), more and more people carry electronic devices to exercise while running, and use sports recording applications in electronic devices to record sports-related information.

[0003] The electronic device can display a motion record interface. The motion record interface can include a progress indicator graphic corresponding to each of the multiple motion indicators, and the multiple progress indicator graphics are usually arranged in parallel. The motion record interface can show the user the completion status of multiple motion indicators. However, multiple progress indicator graphics are arranged in parallel in the motion record interface, and the user's line of sight needs to move back and forth between different graphics, which may cause visual distraction, so that the multiple progress indicator graphics arranged in parallel may cause difficulties for the user to understand and evaluate the progress status, affecting the user's visual sensory experience. Summary of the invention

[0004] The present application provides a data display method and an electronic device, which can remind a user of a higher priority exercise indicator by displaying a progress card, so that the user pays attention to the accumulated amount of the higher priority exercise indicator, thereby improving the user experience.

[0005] In a first aspect, a data display method is provided, comprising: obtaining a cumulative amount of each motion indicator among a plurality of motion indicators; determining priorities respectively corresponding to a plurality of progress indicator graphics according to the cumulative amount of each motion indicator, the plurality of progress indicator graphics including a progress indicator graphic corresponding to each motion indicator; displaying a progress card according to the priorities respectively corresponding to the plurality of progress indicator graphics, the progress card including the plurality of progress indicator graphics, any two of the plurality of progress indicator graphics overlapping, and in the case where there are progress indicator graphics with different priorities among the plurality of progress indicator graphics, a progress indicator graphic with a higher priority is displayed above a progress indicator graphic with a lower priority.

[0006] The data display method provided by the present application determines the priority of the progress indicator graphic corresponding to each sports indicator according to the cumulative amount of each sports indicator, and displays the progress card according to the priority of each progress indicator graphic. In the progress card, there is overlap between any two progress indicator graphics. Thus, it is easier for users to notice the progress indicator graphics with higher priority. By displaying the progress card to remind users of the sports indicators with higher priority, it helps users pay attention to the cumulative amount of the sports indicators with higher priority, thereby improving the user experience.

[0007] In some possible implementations, the priorities corresponding to multiple progress indicator graphics are determined based on the cumulative amount of each motion indicator, including: for any progress indicator graphic among the multiple progress indicator graphics, when the cumulative amount of the motion indicator corresponding to any one of the progress indicator graphics is greater than or equal to a preset cumulative amount, determining the priority corresponding to any one of the progress indicator graphics to be a first priority; when the cumulative amount of the motion indicator corresponding to any one of the progress indicator graphics is less than the preset cumulative amount, determining the priority corresponding to any one of the progress indicator graphics to be a second priority, and the second priority is greater than the first priority.

[0008] The progress indicator graphic corresponding to the exercise indicator whose cumulative amount has not reached the preset cumulative amount has a higher priority, so that the user can more clearly understand the exercise indicator whose cumulative amount has not reached the preset cumulative amount, thereby inspiring the user to continue exercising, that is, providing motivation for the user to continue exercising.

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

[0010] When the priorities corresponding to multiple progress indicator graphics have not changed, there is no need to set or adjust the stacking order of the indicator graphics again in the process of determining the progress card, which reduces the time required to determine the progress card based on the new cumulative amount of each exercise indicator and reduces lag.

[0011] In some possible implementations, the displaying of the progress card based on the latest priorities respectively corresponding to the multiple progress indication graphics and the redrawn multiple progress indication graphics includes: determining the layer levels respectively corresponding to the multiple redrawn progress indication graphics according to the latest priorities respectively corresponding to the multiple redrawn progress indication graphics, wherein the layer level of the progress indication graphics with a higher priority is greater than the layer level of the progress indication graphics with a lower priority; synthesizing the multiple redrawn progress indication graphics according to the layer levels respectively corresponding to the multiple redrawn progress indication graphics; and displaying the synthesized graphics 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 multiple progress indicator graphics, sorting the progress indicator graphics with the same priority according to a preset priority sorting relationship; displaying the progress card according to the priorities respectively corresponding to the multiple progress indicator graphics includes: displaying the progress card according to the priorities respectively corresponding to the multiple progress indicator graphics and the sorting results.

[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 the progress indicator graphics in the progress card is consistent with the importance of the motion indicators represented by the preset priority sorting relationship, thereby improving the user experience.

[0014] In some possible implementations, before determining the priorities respectively corresponding to the multiple progress indicator graphics according to the cumulative amount of each motion indicator, it also includes: judging whether there is a motion indicator among the multiple motion indicators whose cumulative amount change value is greater than a preset change amount; determining the priorities respectively corresponding to the multiple progress indicator graphics according to the cumulative amount of each motion indicator includes: determining the priorities respectively corresponding to the multiple progress indicator graphics according to the cumulative amount of each motion indicator, when there is at least one motion indicator among the multiple motion indicators whose cumulative amount change value is greater than the preset change amount.

[0015] The progress card is not generated every time after the cumulative amount of each of the multiple motion indicators is obtained, so as to avoid frequent refreshing of the progress card which may cause the interface to flicker or become unstable, and reduce the occupation of processing resources.

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

[0017] In some possible implementations, the multiple exercise indicators include at least two of the number of steps, exercise duration, and energy consumption.

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

[0019] In a second aspect, a data display device is provided, comprising a unit for executing the method in the first aspect. The device may be a terminal device or a chip in the terminal device.

[0020] In a third aspect, an electronic device is provided, comprising one or more processors and a memory, wherein the memory is coupled to the one or more processors, the memory being used to store computer program code, the computer program code comprising computer instructions, and the one or more processors calling the computer instructions so that the electronic device executes the method of the first aspect.

[0021] In a fourth aspect, a chip system is provided. The chip system is applied to an electronic device, and the chip system includes one or more processors. The one or more processors are used to call computer instructions so that the electronic device executes the method of the first aspect.

[0022] In a fifth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes instructions, and when the instructions are executed on an electronic device, the electronic device executes the method of the first aspect.

[0023] In a sixth aspect, a computer program product is provided, the computer program product comprising: a computer program code, when the computer program code is executed on an electronic device, the electronic device executes the method of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;

[0025] Figure 2 is a schematic diagram of a software system of an electronic device provided in an embodiment of the present application;

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

[0027] Figure 4 is a schematic flow chart of a progress card update method;

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

[0029] Figure 6 is a schematic flow chart of a data display method provided in an embodiment of the present application;

[0030] Figure 7 is a schematic structural diagram of another data display method provided in an embodiment of the present application;

[0031] Figure 8 is a schematic structural diagram of another data display method provided in an embodiment of the present application;

[0032] Fig. 9 is a schematic diagram of the data display process provided by the embodiment of the present application;

[0033] Fig.10 It is a schematic diagram of a data display device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0034] Figure 1 A hardware system of an electronic device suitable for the present application is shown.

[0035] The electronic device 100 can be a mobile phone, a smart screen, a tablet computer, a wearable device, a vehicle-mounted device, an augmented reality (AR) device, a virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), a projector, etc. The embodiment of the present application does not impose any restrictions on the specific type of the electronic device 100.

[0036] The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light 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 relationship between the modules shown is only a schematic illustration and does not constitute a limitation on the connection relationship between the modules of the electronic device 100. Optionally, the modules of the electronic device 100 may also adopt a combination of multiple connection modes 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 the present application, the electronic device 100 may include Figure 1 More or fewer components than those shown, or the electronic device 100 may include Figure 1 A combination of some of the components shown, or the electronic device 100 may include Figure 1 Subassemblies of some of the components shown. Figure 1 The components shown may be implemented in hardware, software, or a combination of software and hardware.

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

[0040] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0041] The electronic device 100 can implement a display function through a GPU, a display screen 194 and an application processor.

[0042] The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change 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 (Micro OLED) or a quantum dot light emitting diode (QLED). In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0044] The external memory 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 memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.

[0045] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, and applications required for at least one function (for example, a sound playback function and an image playback function). The data storage area may store data created during the use of the electronic device 100 (for example, audio data and a phone book). In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as: at least one disk storage device, a flash memory device, and a universal flash storage (UFS). The processor 110 executes various processing methods of the electronic device 100 by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor.

[0046] The touch sensor 180K is also called a touch control device. The touch sensor 180K can be set on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, which is also called a touch control screen. The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor 180K can pass 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 the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100 and set at a different position from the display screen 194.

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

[0048] The gyro sensor 180B may be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (ie, x, y, and z axes) may be determined by the gyro sensor 180B.

[0049] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The present application embodiment takes the Android system of the layered architecture as an example to exemplify the operating system of the electronic device 100.

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

[0051] The application layer may include applications such as camera, calendar, call, map, navigation, music, video, setting, short message, sports, etc. The sports application may be used to execute the data display method provided in the embodiment of the present application.

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

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

[0054] The graphic framework is mainly used to generate an intuitive and easy-to-use user interface. The graphic framework may include a meta-ability cross-platform execution environment (ACE) user interface (UI) framework, etc.

[0055] The system library includes the basic library and the algorithm library, among which the algorithm library includes gesture algorithm, audio algorithm, pressure algorithm, motion algorithm, etc.

[0056] The kernel layer is the layer between hardware and software. The kernel layer includes the kernel core, hardware abstraction layer (HAL) and driver. HAL and driver can both connect to the hardware.

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

[0058] Due to the rapid popularization of electronic devices such as mobile phones and wearable devices (such as smart watches and bracelets), more and more people carry electronic devices to exercise while running, and use sports recording applications in electronic devices to record sports-related information.

[0059] When the user is exercising, each step will experience a periodic change in acceleration. Specifically, along the user's forward direction, when the foot touches the ground, there will be a short acceleration peak (positive acceleration), which is caused by the impact of the foot with the ground and the transfer of body weight. Subsequently, the body will enter a relatively stable stage with acceleration close to zero or slightly fluctuating. When the foot leaves the ground and swings forward, a short negative acceleration peak may occur. In addition, during the user's movement, each step will also produce a change in acceleration in the vertical direction. The acceleration sensor detects the acceleration at each time point. Based on the acceleration output by the acceleration sensor, the change in acceleration can be determined, thereby determining the number of steps.

[0060] HAL can connect to sensors and receive sensor data. Sensor data includes data output by acceleration sensors, data output by gyroscopes, and data output by other sensors. HAL can transmit sensor data to motion algorithms in the system library.

[0061] The motion algorithm can determine the cumulative amount of each motion indicator among multiple motion indicators such as the number of steps, exercise duration, and energy consumption based on the sensor data. The motion algorithm can transmit the cumulative amount of each motion indicator to the motion health service of the application framework layer. The motion health service can transmit the cumulative amount of each motion indicator to the motion application in the application layer.

[0062] Sports applications can generate progress cards based on accumulated exercise data.

[0063] The graphic framework can generate a sports record interface according to the progress card. The sports record interface can include the progress card.

[0064] The display driver in the driver can be connected to the display screen to drive the display screen so that the display displays a graphical user interface.

[0065] A graphical user interface (GUI) is a visual interface for human-computer interaction. It uses graphics, images, text and other elements to display information, and receives user instructions through input devices such as mouse, keyboard, and touch screen. GUI is a user interface (UI). User interface refers to the way people interact with machines (such as operation and control), that is, the level at which users interact with computers. It defines the way people interact with machines.

[0066] Figure 3 (a) in FIG. 1 shows a GUI of an electronic device, which is a directory interface 310 of the electronic device. The directory interface 310 includes a plurality of icons. When a motion record display operation is detected, the electronic device may display the following: Figure 3 The motion record interface 320 shown in (b) in FIG. The motion record display operation may be an operation in which a user clicks the motion record icon 311 on the directory interface 310. Alternatively, when the motion record icon 311 is highlighted on the directory interface 310, the motion record display operation may be a user sliding a finger on the directory interface 310 in a preset direction. The directory interface 310 may include multiple icons, and a certain icon may be highlighted in a manner in which the size of the certain icon is larger than the sizes of other icons, the certain icon may flash, or a highlight mark may be set around the icon.

[0067] The exercise record interface 320 may include an exercise record card. The exercise record card includes multiple progress indicator graphics 321 to 323. There is no overlap between the multiple progress indicator graphics 321 to 323. Each progress indicator graphic is used to represent the cumulative amount of the corresponding exercise index. The exercise indexes corresponding to the multiple progress indicator graphics 321 to 323 may be exercise duration, number of steps, energy consumption, etc. The multiple progress indicator graphics 321 to 323 in the exercise record card may be located in the same layer.

[0068] Exemplarily, the exercise indicator corresponding to the progress indication graphic 321 may be the number of steps, the exercise indicator corresponding to the progress indication graphic 322 may be the energy consumption, and the exercise indicator corresponding to the progress indication graphic 323 may be the exercise duration.

[0069] The multiple progress indicating graphics 321 to 323 may all be circular progress bars. The shape of each progress bar may be a closed ring or a non-closed ring. The centers of the multiple progress indicating graphics 321 to 323 may be the same. In other words, the multiple progress indicating graphics 321 to 323 may be multiple concentric rings.

[0070] When the motion record display operation is detected, the electronic device can generate a motion record card according to the accumulated motion data. In the motion record card, each of the plurality of progress indicator graphics 321 to 323 represents the accumulated amount of the corresponding motion index.

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

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

[0073] Step S410, determining the accumulated motion data.

[0074] When the exercise record display operation is detected on the directory interface 310, the electronic device may periodically or non-periodically determine the exercise cumulative data. Each time the electronic device determines the exercise cumulative data, it can be understood that step S410 is performed once.

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

[0076] Step S421, judging whether the cumulative amount of steps has changed according to the accumulated exercise data.

[0077] By comparing the cumulative amount of steps in the latest determined motion cumulative data with the cumulative amount of steps in the last determined motion cumulative data, it is possible to determine whether the cumulative amount of steps has changed. The cumulative amount of steps determined the latest is the cumulative amount of steps determined in step S610 this time. The cumulative amount of steps determined the last time is the cumulative amount of steps determined the last time step S610 was performed.

[0078] When the cumulative amount of steps does not change, the progress indicator graphic corresponding to the steps in the exercise record card does not change, and there is no need to draw the progress indicator graphic corresponding to the steps again, and it can be determined that the update of the progress indicator graphic corresponding to the steps is completed. The progress indicator graphic corresponding to the steps in the exercise record card can be used as the progress indicator graphic corresponding to the steps in the updated exercise record card.

[0079] When the cumulative amount of the number of steps has changed, step S422 is performed.

[0080] Step S422, drawing a progress indicator graphic corresponding to the number of steps according to the cumulative amount of the number of steps in the latest accumulated exercise data.

[0081] Step S431, judging whether the accumulated amount of energy consumption has changed according to the latest accumulated exercise data.

[0082] By comparing the cumulative amount of energy consumption in the most recently determined exercise cumulative data with the cumulative amount of energy consumption in the last determined exercise cumulative data, it can be determined whether the cumulative amount of energy consumption has changed.

[0083] When the cumulative number of steps does not change, the progress indicator graphic corresponding to the energy consumption in the exercise record card does not change, and there is no need to draw the progress indicator graphic corresponding to the energy consumption again, and it can be determined that the update of the progress indicator graphic corresponding to the energy consumption is completed. The progress indicator graphic corresponding to the energy consumption in the exercise record card can be used as the progress indicator graphic corresponding to the energy consumption in the updated exercise record card.

[0084] When the accumulated amount of energy consumption changes, the process proceeds to step S432.

[0085] Step S432: Draw a progress indicator graph corresponding to the energy consumption according to the accumulated energy consumption in the latest accumulated exercise data.

[0086] Step S441, judging whether the accumulated amount of exercise duration has changed according to the latest accumulated exercise data.

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

[0088] When the cumulative number of steps does not change, the progress indicator graphic corresponding to the exercise duration in the exercise record card does not change, and there is no need to draw the progress indicator graphic corresponding to the energy consumption again, so it can be determined that the update of the progress indicator graphic corresponding to the energy consumption is complete. The progress indicator graphic corresponding to the exercise duration in the exercise record card can be used as the progress indicator graphic corresponding to the exercise duration in the updated exercise record card.

[0089] When the accumulated amount of exercise time changes, proceed to step S442.

[0090] Step S442, drawing a progress indicator graphic corresponding to the exercise duration according to the accumulated amount of exercise duration in the latest accumulated exercise data.

[0091] For each exercise index such as the number of steps, energy consumption, and exercise duration, when the corresponding progress indicator graphic is drawn or it is determined that the accumulated amount of the exercise index has not changed, step S450 can be performed.

[0092] Step S450, updating the exercise record card.

[0093] In the updated sports record card, the progress indicator graphic corresponding to the sports indicator whose cumulative amount has not changed is the progress indicator graphic corresponding to the sports indicator in the original sports record card, and the progress indicator graphic corresponding to the sports indicator whose cumulative amount has changed is the newly drawn progress indicator graphic corresponding to the sports indicator.

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

[0095] However, the multiple progress indicating graphics 321 to 323 in the exercise recording interface 320 are located at the same level. Therefore, the multiple progress indicating graphics 321 to 323 can be understood as being arranged in parallel.

[0096] The user's line of sight needs to move back and forth between different graphics, which may cause visual distraction, making it difficult for the user to quickly and accurately capture the status information of each graphic, which may cause difficulties for the user to understand and evaluate the progress status, and thus the user's visual sensory experience of the exercise recording interface 320 may be poor.

[0097] In order to improve the user's visual experience, an embodiment of the present application provides a data display method. In a sports record interface generated by the data display method provided in an embodiment of the present application, if the sports indicators with the accumulated amount reaching the target are different among the multiple sports indicators, the stacking order of the multiple progress indicator graphics from top to bottom in the graphical user interface may be different. Different sports indicators correspond to different

[0098] Each sports indicator may be provided with a corresponding preset cumulative amount. When the cumulative amount of a certain sports indicator is greater than or equal to (i.e., reaches) the preset cumulative amount corresponding to the certain sports indicator, the cumulative amount of the certain sports indicator meets the standard. On the contrary, when the cumulative amount of the certain sports indicator is less than (i.e., does not reach) the preset cumulative amount corresponding to the certain sports indicator, the cumulative amount of the certain sports indicator does not meet the standard.

[0099] Taking the multiple sports indicators of number of steps, energy consumption, and exercise duration as an example, Table 1 shows the stacking order of the progress indicator graphics in the sports record interface under various conditions of reaching the target. The sports indicators for reaching the target in different cumulative amounts are different. The order of the multiple sports indicators in the stacking order of the progress indicator graphics in the sports record interface represents the order of the multiple sports indicators corresponding to the multiple progress indicator graphics arranged from top to bottom in the sports record interface.

[0100] Table 1

[0101]

[0102] The three progress indicator graphics corresponding to the number of 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 amount of energy consumption, and the cumulative amount of exercise duration are all below the standard, the order of arrangement of the multiple progress indicator graphics from top to bottom is a progress indicator graphic 521 corresponding to the number of steps, a progress indicator graphic 522 corresponding to the energy consumption, and a 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 meets the standard, but the cumulative amount of energy consumption and the cumulative amount of exercise duration do not meet the standard, the order of arrangement of multiple progress indicator graphics from top to bottom is the progress indicator graphic 522 corresponding to the energy consumption, the progress indicator graphic 523 corresponding to the exercise duration, and the progress indicator graphic 521 corresponding to the number of steps.

[0105] like Figure 5 As shown in (c) in the figure, in the exercise recording interface 530, when the cumulative amount of steps and the cumulative amount of energy consumption meet the standards but the cumulative amount of exercise time does not meet the standards, the order of arrangement of multiple progress indicator graphics from top to bottom is the progress indicator graphic 523 corresponding to the exercise time, the progress indicator graphic 521 corresponding to the number of steps, and the progress indicator graphic 522 corresponding to the 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 order of arrangement of multiple progress indicator graphics from top to bottom is a progress indicator graphic 521 corresponding to the number of steps, a progress indicator graphic 522 corresponding to the energy consumption, and a progress indicator graphic 523 corresponding to the exercise duration.

[0107] exist Figure 5 In the exercise record interface shown, when the cumulative amount of some exercise indicators does not meet the standard and the cumulative amount of other exercise indicators meets the standard, the progress indicator graphics corresponding to the exercise indicators whose cumulative amount does not meet the standard are located above the other exercise indicators whose cumulative amount meets the standard.

[0108] Figure 5 In the illustrated exercise record interface, multiple progress indicator graphics corresponding to multiple exercise indicators are stacked, making the exercise record interface more attractive. The order of the multiple progress indicator graphics corresponding to the multiple exercise indicators is determined according to whether the cumulative amount of each exercise indicator in the multiple exercise indicators meets the standard, thereby reminding the user to exercise.

[0109] The progress indicator graphic in the exercise recording interface can be understood as a dynamic element or control. A dynamic element is a graphic element that changes based on user interaction or application state changes. A control is a graphic element in a graphical user interface that allows the user to interact.

[0110] The shape of the progress indicator graphic may also be a circle, a ring or other shapes. Each progress indicator graphic may be a progress indicator ring. The progress indicator ring may be understood as a ring-shaped visual element for displaying progress. The progress indicator ring may be, for example, a closed or open circle, an elliptical ring, a polygonal ring, etc.

[0111] The exercise record interface may also include an exercise indicator mark located in the area surrounding each progress indicator graphic. Each exercise indicator mark is used to indicate the exercise indicator corresponding to the progress indicator graphic surrounding the exercise indicator mark. The exercise indicator mark may include text or a mark graphic.

[0112] The shapes of the progress indication graphics corresponding to the multiple sports indicators can be the same or different. For example, the progress indication graphics corresponding to the multiple sports indicators can all be ring-shaped.

[0113] Exemplarily, the progress can be represented by two parts in the progress indication graphic. The completed part represents the cumulative amount of the corresponding sports indicator, and the uncompleted part represents the difference between the cumulative amount of the sports indicator and the preset cumulative amount of the sports indicator. Different parts can be represented by different colors, textures, etc. The area or length ratio of the completed part in the progress indication graphic to the progress indication graphic increases as the cumulative amount of the corresponding sports indicator increases.

[0114] It should be understood that when the cumulative amount corresponding to a certain sports indicator is 0, the progress indication graphic may only include the unfinished part. When the cumulative amount corresponding to a certain sports indicator is the preset cumulative amount of the sports indicator, the progress indication graphic may only include the completed part.

[0115] In the case where the progress indicator graphic is a progress indicator ring, the ratio between the length of the completed portion and the total length of the progress indicator graphic may 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 may 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] In the case where the progress indicator graphic is circular or sector-shaped, the completed portion and the uncompleted portion may both be sector-shaped. The ratio between the angle of the completed portion and the total angle of the progress indicator graphic may 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 angle of the completed portion and the total angle of the progress indicator graphic may 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.

[0117] In the case where the progress indicator graphic is circular or sector-shaped, the completed portion may be circular or sector-shaped, and the uncompleted portion may be an annular or sector-shaped portion located outside the completed portion. The ratio between the radius of the completed portion and the radius of the progress indicator graphic may be positively correlated with the ratio between the cumulative amount of the exercise index corresponding to the progress indicator graphic and the preset cumulative amount of the exercise index.

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

[0119] In some embodiments, the progress indication graphic may include graphics respectively located in two layers. The display of the progress indication graphic may be achieved by overlapping and covering the graphics respectively located in the two layers. The graphics in the layer below the progress indication graphic are background graphics. The background graphics, as the overall background of the progress bar, may provide a basic style and color. The completion graphics in the layer above the progress indication graphic may extend from the starting end of the progress indication graphic to the corresponding completion ratio position.

[0120] That is, in the progress indication graphic, the unfinished part may be the part where the background graphic is outside the graphic of the completed part, and the completed part may include the parts of the two layers of the progress indication graphic that are respectively located in the area where the completed graphic is located.

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

[0122] In the case where a certain progress indicating graphic is located below another progress indicating graphic, both levels in the certain progress indicating graphic may be located below the other progress indicating graphic.

[0123] In other embodiments, the unfinished part and the completed part may be drawn separately to obtain a progress indication graphic. Alternatively, after drawing the background color graphic, the color of the completed part may be replaced to obtain a progress indication graphic.

[0124] Figure 5 The exercise recording interface shown can be performed by executing Figure 6 The data shown are obtained by Figure 6 The data display method shown can obtain a progress card. The exercise record interface can include a progress card.

[0125] Combine the following Figure 6 The data display method provided in the embodiment of the present application is described in detail. The execution subject of the method provided in the embodiment of the present application can be an electronic device, or a software / hardware module in the electronic device that can perform image selection. For the sake of convenience, the following embodiments are described by taking the electronic device as an example. The 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 It is a schematic flow chart of a data display method provided in an embodiment of the present application.

[0127] Step S610, obtaining the cumulative amount of each of the multiple sports indices.

[0128] Exemplarily, step S610 may be performed periodically or aperiodically.

[0129] The multiple exercise indicators may include at least two of the number of steps, exercise duration, and energy consumption.

[0130] The cumulative amount refers to the cumulative sum of a certain indicator or value within a period of time. For example, the cumulative amount of a certain sports indicator can be the cumulative sum of the sports indicator within one hour, one natural day, one month or one year.

[0131] The accumulated amount of the motion index can be determined based on the output of a sensor in the electronic device. For example, the accumulated amount of the motion index can be determined based on data output by sensors such as an acceleration sensor and a gyroscope. The acceleration sensor is used to measure acceleration values. The gyroscope is used to measure angular velocity.

[0132] Alternatively, execute Figure 6 The electronic device of the method shown may also receive the accumulated amount of the exercise index from other electronic devices. The other electronic device may be a wearable device, etc. The wearable device may be provided with an acceleration sensor, a gyroscope, etc. The wearable device may determine the accumulated amount of the exercise index and send it to the execution Figure 6 An electronic device according to the method described herein.

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

[0134] An interface may also be referred to as a user interface or a graphical user interface. An interface may include one or more cards. Where an interface includes multiple cards, the multiple cards may be arranged and combined in a variety of ways to accommodate different layouts and screen sizes. For example, cards may be stacked horizontally or vertically, or arranged in a grid layout. Each card may contain different content, such as text, images, buttons, etc., to display different information or functionality.

[0135] User operations may include one or more types of operations. User operations may include touch input (such as clicking, sliding, dragging, etc.) through the interface, voice input, input operations through external input devices (such as through a keyboard or touch pad), etc., or one or more operations.

[0136] For example, the user operation may be an operation in which the user clicks the motion record icon 311 on the directory interface 310. The user operation may also be an operation in which the user slides a finger on the directory interface 310 in a preset direction when the motion record icon 311 is highlighted on the directory interface 310. The user operation may also be an operation in which the user speaks a voice command within the voice monitoring range of the electronic device. The voice command may be, for example, "open motion record" or the like.

[0137] After receiving the user operation, the cumulative amount of each of the multiple motion indices may be determined multiple times periodically or aperiodically.

[0138] Alternatively, after receiving the user operation, a request message may be sent to the wearable device, so that the wearable device periodically or non-periodically sends the accumulated amount of each exercise index multiple times.

[0139] Step S620: determining priorities corresponding to a plurality of progress indicator graphics respectively according to the accumulated amount of each exercise index, wherein the plurality of progress indicator graphics include a progress indicator graphic corresponding to each exercise index.

[0140] Whether the cumulative amount of each sports indicator meets the standard is determined based on the size relationship between the cumulative amount of each sports indicator and the preset cumulative amount. Different preset cumulative amounts can be set for different sports indicators. Thus, for a certain sports indicator, whether the cumulative amount of the certain sports indicator meets the standard can be determined based on the size relationship between the cumulative amount of the certain sports indicator and the preset cumulative amount of the certain sports indicator. When the cumulative amount of a certain sports indicator is greater than or equal to the preset cumulative amount of the certain sports indicator, the cumulative amount of the certain sports indicator meets the standard.

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

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

[0143] For each exercise index, the progress indication graphic may represent the ratio of the accumulated amount of the exercise index to the preset accumulated amount of the exercise index. The ratio of the accumulated amount of the exercise index to the preset accumulated amount may be represented by a percentage, for example.

[0144] When the change in the accumulated amount is greater than or equal to the preset change amount, step S620 and step S630 can be performed. Thus, the progress card is not generated every time the accumulated amount of each of the multiple sports indicators is obtained, so as to avoid frequent refreshing of the progress card which may cause the interface to flicker or become unstable.

[0145] It should be understood that the preset change amount may be greater than or equal to 0. If the preset change amount is greater than 0, step S620 and step S630 may be performed when the change in the cumulative amount is greater than or equal to the preset change amount. If the preset change amount is 0, step S620 and step S630 may be performed when the change in the cumulative amount is greater than the preset change amount.

[0146] Step S630, displaying a progress card according to the priorities corresponding to the multiple progress indicator graphics respectively, wherein the progress card includes multiple progress indicator graphics, and there is overlap between any two of the multiple progress indicator graphics. In addition, when there are progress indicator graphics with different priorities among the multiple progress indicator graphics, the progress indicator graphic with a higher priority is displayed above the progress indicator graphic with a lower priority.

[0147] It should be understood that each progress indication graphic may have a portion that does not overlap with other progress indication graphics, so that different progress indication graphics can be clearly distinguished to avoid confusion and misunderstanding.

[0148] The progress indication graphic corresponding to the sports index whose cumulative amount reaches the standard and the progress indication graphic corresponding to the sports index whose cumulative amount does not reach the standard may have different priorities.

[0149] In some embodiments, a sports index whose cumulative amount does not meet the requirement may have a lower priority, while a sports index whose cumulative amount meets the requirement may have a higher priority.

[0150] A progress indicator graphic with a higher priority can be displayed above a progress indicator graphic with a lower priority. Thus, in an interface including progress cards, the progress indicator graphic corresponding to the sports indicator with the cumulative amount reaching the target is located at the top. This immediate feedback and sense of achievement will greatly enhance the user's self-confidence and motivation. This positive psychological effect will motivate the user to continue exercising in order to achieve a higher goal or maintain the existing sports results.

[0151] On the contrary, in other embodiments, the progress indicator graphic corresponding to the sports index whose cumulative amount does not meet the standard may have a higher priority, while the progress indicator graphic corresponding to the sports index whose cumulative amount meets the standard may have a lower priority.

[0152] That is to say, for any one of the multiple progress indicator graphics, when the cumulative amount of the exercise index corresponding to any one of the progress indicator graphics is greater than or equal to the preset cumulative amount, the priority corresponding to any one of the progress indicator graphics can be determined as the first priority.

[0153] When the accumulated amount of the exercise index corresponding to any one of the progress indication graphics is less than the preset accumulated amount, the priority corresponding to any one of the progress indication graphics is determined to be the second priority, and the second priority is greater than the first priority.

[0154] A progress indicator graphic with a higher priority can be displayed above a progress indicator graphic with a lower priority. Thus, the user can be reminded to continue exercising so that the cumulative amount of the exercise indicators that have not reached the target increases, thereby gradually completing the goal. The user can more clearly recognize the gap between the exercise he is currently doing and the target, thereby motivating the user to continue exercising, that is, providing motivation for the user to continue exercising. This clear feedback helps users maintain their focus on exercise and encourages them to continue working hard to achieve their goals.

[0155] In the case that there are progress indicating graphics with the same priority among the multiple progress indicating graphics, the multiple progress indicating graphics with the same priority can be randomly arranged, and different progress indicating graphics can be located in different layers.

[0156] Alternatively, the progress indication graphics with the same priority may be sorted according to a preset priority sorting relationship. Thus, in step S630, the progress card may be displayed according to the priorities and sorting results respectively corresponding to the plurality of progress indication graphics.

[0157] The preset priority ranking relationship may be a ranking representing the importance of multiple sports indicators. For the progress indicator graphics with the same priority, they are sorted according to the importance of the corresponding sports indicators, so that the stacking order of the progress indicator graphics in the progress card is consistent with the importance of the sports indicators represented by the preset priority ranking relationship.

[0158] The progress indicator graphics corresponding to more important sports indicators can be located in higher layers.

[0159] The preset priority order relationship may be set based on experience, or the user may set the preset priority order relationship as needed.

[0160] For example, when the multiple exercise indicators are steps, exercise duration, and energy consumption, the preset priority ranking relationship may be a progress indicator graphic corresponding to the steps, a progress indicator graphic corresponding to the exercise duration, and a progress indicator graphic corresponding to the energy consumption. That is, after determining the priority of each progress indicator graphic, the progress indicator graphics may be ranked according to the stacking order of the progress indicator graphics in the exercise record interface under various conditions of reaching the target as shown in Table 1.

[0161] Alternatively, in the case where there are multiple progress indicator graphics whose priorities are all the second priority, the multiple progress indicator graphics whose priorities are all the second priority can be sorted according to the size of the ratio represented by each progress indicator graphic. In the progress card, the multiple progress indicator graphics whose priorities are all the second priority can be arranged according to the size of the ratio represented by the progress indicator graphics.

[0162] Each progress indicator graphic can be represented as the ratio of the cumulative amount of the exercise index corresponding to the progress indicator graphic to the preset cumulative amount corresponding to the exercise index. For multiple progress indicator graphics of the second priority, the progress indicator graphics can be sorted in the order of the ratios represented by the progress indicator graphics, and the progress indicator graphics representing a larger ratio can be set above the progress indicator graphics representing a smaller ratio. In other words, in the progress card, the progress indicator graphic representing the largest ratio is located at the top of the multiple progress indicator graphics whose priorities are all the second priority.

[0163] For multiple progress indicator graphics whose priorities are all the second priority, by setting the progress indicator graphic representing a larger ratio above the progress indicator graphic representing a larger ratio, the user is reminded that the cumulative amount of the exercise indicator is about to reach the target, thereby reminding the user to stay motivated and encouraging them to keep working hard.

[0164] For multiple progress indicator graphics of the second priority, after the progress indicator graphics are sorted in the order of the ratios represented by the progress indicator graphics, the progress indicator graphics representing a smaller ratio may also be set above the progress indicator graphics representing a larger ratio. That is, in the progress card, the progress indicator graphics representing the smallest ratio is located at the top of the multiple progress indicator graphics of the second priority.

[0165] Thus, users can be effectively reminded of the exercise indicators that are most different from the target, and can be helped to clarify the next direction of effort. This can not only improve the user's exercise efficiency, but also enhance the user's exercise motivation and satisfaction.

[0166] In the case where there are multiple progress indicator graphics with the first priority level, the multiple progress indicator graphics with the first priority level can be randomly arranged, and different progress indicator graphics can be placed in different layers. Alternatively, the multiple progress indicator graphics with the first priority level can be sorted according to a preset priority sorting relationship, so that the stacking order of the multiple progress indicator graphics with the first priority level in the progress card is consistent with the importance of the sports indicator represented by the preset priority sorting relationship.

[0167] During step S630, the layer levels corresponding to the plurality of progress indication graphics may be determined according to their respective priorities. The layer level of a progress indication graphic with a high priority is greater than the layer level of a progress indication graphic with a low priority.

[0168] The multiple progress indicator graphics may be synthesized according to the layer levels respectively corresponding to the multiple progress indicator graphics.

[0169] The level of a layer is used to describe the order of layers in the vertical direction of the display screen plane. The larger the level of a layer, the closer the layer is to the front in the vertical direction of the display screen plane and the higher it is between layers.

[0170] The synthesized graphics can be displayed as progress cards.

[0171] In the case where there are progress indicating graphics with the same priority among the multiple progress indicating graphics, the layer levels corresponding to the multiple progress indicating graphics can be determined according to the priorities corresponding to the multiple progress indicating graphics and a preset priority sorting relationship.

[0172] The multiple progress indicator graphics are synthesized by adding the progress indicator graphics to the initial card in order of priority from low to high. The initial card may be a card that does not include the progress indicator graphics.

[0173] Step S610 may be performed multiple times. After each step S610 is performed, the progress indicator graphic corresponding to the sports index may be redrawn according to the latest determined cumulative amount of the sports index, and the priority of the redrawn progress indicator graphic corresponding to the sports index may be determined.

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

[0175] The redrawn multiple progress indicator graphics may be synthesized, or the progress indicator graphics corresponding to the progress motion indicator may be deleted from the previously determined progress card and the progress indicator graphics corresponding to the redrawn progress motion indicator may be added in the order from low to high priority. The order of adding the progress indicator graphics corresponding to the redrawn progress motion indicator may be the latest priority of the motion indicator.

[0176] Different progress indicator graphics are located in different layers. The later the progress indicator graphics are added, the closer they are to the front in the vertical direction of the display screen plane, that is, the higher they are on the layer. In other words, different orders of adding progress indicator graphics can be reflected as different stacking levels of progress indicator graphics seen visually.

[0177] In some embodiments, after each step S610 is performed to obtain the cumulative amount of each motion indicator, a progress indicator graphic corresponding to each motion indicator can be drawn according to 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 drawn multiple progress indicator graphics and the latest priority corresponding to each progress indicator graphic.

[0178] That is to say, according to the latest priority level corresponding to each progress indication graphic, the layer level of the drawn multiple progress indication graphics is set, so that a progress card can be generated.

[0179] For example, when it is determined that the change in the accumulated amount of any exercise indicator is greater than or equal to the preset change amount, a progress indicator graphic corresponding to each exercise indicator is drawn according to the accumulated amount of each exercise indicator, the priority corresponding to each exercise indicator is determined, and a progress card is generated based on the drawn multiple progress indicator graphics and the latest priority corresponding to each progress indicator graphic. Figure 7 The method shown.

[0180] Steps S610 to S630 may be performed when the electronic device receives a user operation. The user operation may be an operation of the user on the initial interface. The initial interface may be, for example, Figure 3 The directory interface 310 shown in (a) of FIG. After receiving the user operation, the electronic device may perform steps S610 to S630.

[0181] In the process of generating a progress card based on the cumulative amount of each motion indicator, the cumulative amount of the motion indicator may change. In order to improve the accuracy of the progress card, in the process of generating a progress card based on the cumulative amount of each motion indicator obtained last time, if a new cumulative amount of each motion indicator is obtained, it is necessary to stop generating the progress card based on the cumulative amount of each motion indicator determined last time, and generate the progress card again based on the new cumulative amount of each motion indicator obtained. Therefore, the progress card cannot be generated in time, resulting in the inability to display the motion record interface determined according to the progress card to the user in time, resulting in freezes.

[0182] In order to reduce the jamming, in other embodiments, after obtaining the cumulative amount of each motion indicator each time 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 based on the progress card generated based on the previous cumulative amount of the motion indicator to obtain a new progress card when the priority of each motion indicator has not changed.

[0183] That is, in step S630, when the priorities corresponding to the plurality of progress indicator graphics have not changed, the progress indicator graphics corresponding to each motion indicator can be updated according to the accumulated amount of each motion indicator, an updated progress card can be obtained, and the updated progress card can be displayed. The updated progress card is the new progress card.

[0184] In the case where there is a progress indicator graphic with a changed priority among the multiple progress indicator graphics, the progress indicator graphic corresponding to each exercise indicator can be redrawn according to the accumulated amount of each exercise indicator, and the progress card can be displayed based on the latest priority corresponding to the multiple progress indicator graphics and the redrawn multiple progress indicator graphics. 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, and therefore it can be determined that there are progress indicator graphics whose priority has changed.

[0186] In order to reduce the amount of calculation and avoid wasting computing resources, in the process of generating progress cards based on the cumulative amount of each motion indicator obtained last time, if the new cumulative amount of each progress indicator is determined, and the existence of progress indicator graphics with changed priority among multiple progress indicator graphics is determined based on the new cumulative amount of each progress indicator, the generation of progress cards based on the cumulative amount of each motion indicator obtained last time can be stopped.

[0187] That is to say, in the process of determining the progress card based on the cumulative amount of motion indicators among the multiple motion indicators obtained last time, if it is determined that there is a progress indication graphic whose priority has changed among the multiple progress indication graphics, the processing based on the cumulative amount of motion indicators obtained last time is stopped, and the progress indication graphic corresponding to each motion indicator is redrawn according to the latest cumulative amount of each motion indicator, and the progress card is displayed based on the latest priorities corresponding to the multiple progress indication graphics and the redrawn multiple progress indication graphics.

[0188] In the process of generating a progress card based on the cumulative amount of each motion index obtained last time, if the priorities corresponding to the plurality of progress indication graphics have not changed, the generation of the progress card based on the cumulative amount of each motion index obtained last time may not be stopped. After the progress card is generated based on the cumulative amount of each motion index obtained last time, the progress indication graphics of the progress card may be updated to obtain a new progress card. Thus, the new progress card may be displayed, and the displayed progress card is determined based on the new cumulative amount of each motion index, and has high accuracy and real-time performance.

[0189] The updating of the progress indicator graphic corresponding to each sports indicator may be to update the progress indicator graphic corresponding to the sports indicator whose change amount is greater than or equal to the preset change amount, so that the updated progress indicator graphic represents the new cumulative amount of the corresponding sports indicator.

[0190] In the process of determining a new progress card, there is no need to set or adjust the layer level of the indicator graphic again, which reduces the time required to determine the progress card based on the new accumulation of each sports indicator and reduces lag.

[0191] After the progress card is determined according to the new accumulated amount of each exercise indicator, the exercise record interface can be determined according to the progress card. Animation can be generated according to the image in the exercise record interface and the image in the initial interface.

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

[0193] The time required to determine the progress card based on the new cumulative amount of each motion indicator is reduced. When displaying motion effects, the motion effects can be displayed in time to reduce lag.

[0194] Through the data display method provided in the embodiment of the present application, the priority of the progress indicator graphic corresponding to each sports indicator is determined according to the cumulative amount of each sports indicator, and the progress card is displayed according to the priority of each progress indicator graphic. In the progress card, there is overlap between any two progress indicator graphics. Thereby, it is easier for the user to notice the progress indicator graphics with higher priority, and by displaying the progress card to remind the user of the sports indicator with higher priority, it is helpful for the user to pay attention to the cumulative amount of the sports indicator with higher priority.

[0195] Combine the following Figure 7 and Figure 8 , the data display method provided in the embodiment of the present application is described.

[0196] Figure 7 It is a schematic flow chart of a data display method provided in an embodiment of the present application.

[0197] Step S701, determining the cumulative amount of each sports index.

[0198] Step S702 , determining whether there is a sports index whose cumulative change is greater than a preset change.

[0199] In the case where step S701 is performed for the first time, it may be determined that there is a sports index among the plurality of sports indexes whose cumulative amount of change is greater than a preset change amount.

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

[0201] In the case that there is a sports index whose cumulative amount change is greater than a preset change, steps S703 to S705 may be performed.

[0202] Step S703: Draw a progress indicator graphic corresponding to each exercise indicator according to the accumulated amount of each exercise indicator.

[0203] For any sports index, when the accumulated amount of the any sports index is less than the preset accumulated amount of the any sports index, the progress indication graphic of the any sports index represents the ratio of the accumulated amount of the any sports index to the preset accumulated amount.

[0204] In the case where the accumulated amount of any one of the sports indicators is less than or equal to the preset accumulated amount of any one of the sports indicators, the progress indicator graphic of any one of the sports indicators represents 100%.

[0205] Step S704: determining the priority corresponding to the progress indicator graphic of each sports indicator according to the accumulated amount of each sports indicator.

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

[0207] That is to say, the priority corresponding to the progress indicator graphic of each exercise indicator can indicate whether the accumulated amount of the exercise indicator reaches the standard.

[0208] Step S705 , determining a target stacking order of the progress indicator graphics corresponding to the plurality of motion indicators respectively according to the priority corresponding to the progress indicator graphics of each motion indicator.

[0209] The priorities corresponding to the progress indication graphics of the multiple sports indicators can indicate the current achievement of the target. According to the current achievement of the target, the target stacking order of the progress indication graphics corresponding to the multiple sports indicators can be determined.

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

[0211] When there are multiple progress indicator graphics with equal priority among multiple progress indicator graphics, the order of the multiple progress indicator graphics with equal priority in the target stacking order is the same as the order of the multiple progress indicator graphics with equal priority in the preset priority sorting relationship.

[0212] Taking multiple sports indicators including number of steps, energy consumption, and exercise duration as an example, according to the stacking order of progress indicator graphics in the sports record interface under various target-reaching conditions shown in Table 1, the target stacking order of the progress indicator graphics corresponding to the multiple sports indicators under the current target-reaching condition can be determined.

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

[0214] Step S706, generating a progress card according to the progress indication graphic corresponding to each exercise 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 the stacking order.

[0216] Alternatively, after deleting the progress indication graphics corresponding to the multiple sports indicators in the progress card obtained last time, multiple progress indication graphics are added in the reverse order of the stacking order to generate a new progress card.

[0217] For example, a new progress card can be obtained by performing multiple modification operations on the progress card obtained last time in an order opposite to the stacking order. The new progress card can also be understood as a generated progress card. Different modification operations are performed corresponding to different motion indicators. Each modification operation is used to delete the progress indicator graphic of the motion indicator corresponding to the modification operation in the progress card obtained last time or the progress card obtained by the last modification operation, and add the progress indicator graphic of the motion indicator corresponding to the modification operation redrawn by step S703.

[0218] Among them, the first modification operation is performed on the progress card obtained last time, and the second and subsequent modification operations are performed on the progress card obtained by the last modification operation.

[0219] For example, if the target stacking order is the number of steps, energy consumption, and exercise duration, you can first delete the progress indicator graphic corresponding to the exercise duration in the last progress card obtained, and add the redrawn progress indicator graphic corresponding to the exercise duration. Then delete the progress indicator graphic corresponding to the energy consumption, and add the redrawn progress indicator graphic corresponding to the energy consumption. Finally, delete the progress indicator graphic corresponding to the number of steps, and add the redrawn progress indicator graphic corresponding to the number of steps. Thus, the generated progress card is obtained.

[0220] The progress indicator graphics added first are located below the progress indicator graphics added later. In other words, the progress indicator graphics added later, that is, the progress indicator graphics that are closer to the front in the stacking order, are located at a larger layer level.

[0221] If it is determined in step S702 that there is no cumulative amount change greater than or equal to the preset change amount, step S707 may be performed.

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

[0223] After step S706 or step S707, step S710 may be performed.

[0224] Step S710, display the progress card.

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

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

[0227] If the user is in the process of exercising, after receiving a user operation for triggering the display of an interface including the progress card, due to the frequent changes in the accumulation of one or more exercise indicators, the electronic device stops generating the progress card based on the accumulation of the exercise indicators determined last time after determining the accumulation of new exercise indicators each time, and regenerates the progress card based on the accumulation of the new exercise indicators. Due to the limitation of the processing power of the electronic device, the progress card may be constantly redrawn and the progress card cannot be displayed, resulting in freezes and poor user experience.

[0228] For example, if the user operation is an operation performed by the user on the initial interface, after generating the progress card, the electronic device can generate a motion effect based on the initial interface and the motion recording interface including the progress card. However, since the progress card is constantly redrawn, the generation of the motion effect waits for the generation of the progress card, resulting in a freeze in the refresh page.

[0229] In other embodiments, Figure 8 As shown, when it is determined in step S702 that there is a sports index whose cumulative amount change is greater than a preset change, steps S703 and S704 may be performed, and step S808 may be performed after steps S703 and S704 are performed.

[0230] Step S808, determining whether there is a progress indicator graph whose priority has changed.

[0231] When step S808 is performed for the first time, it may be determined that there is a progress indicator graph whose priority has changed.

[0232] In addition to performing step S808 for the first time, the priority of the progress indicator graphic corresponding to each sports indicator determined by step S704 this time can be compared with the priority of the progress indicator graphic corresponding to the sports indicator determined by the last step S704 to determine whether the priority of the indicator icon corresponding to the sports indicator has changed.

[0233] In the case where there is a progress indicator graph whose priority has changed, steps S705 and S706 are performed.

[0234] If there is no progress indicator graph whose priority has changed, proceed to step S809.

[0235] Step S809: updating the progress card according to the progress indication graphic corresponding to each exercise indicator.

[0236] The updating of the progress card according to the progress indication graphic corresponding to each sports indicator can be understood as replacing the progress indication graphic corresponding to each sports indicator in the progress card with the progress indication graphic corresponding to the sports indicator drawn in step S703.

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

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

[0239] That is, in step S808, when the sports application determines that there is a progress indicator graphic with a changed priority, the sports application proceeds to steps S705 and S706, and transmits the progress card generated in step S706 to the graphics framework. The graphics framework can generate a sports record interface including the progress card, and transmit the sports record interface to the display driver. The display driver can drive the display screen so that the display screen displays the sports record interface.

[0240] If the sports application determines that there is no progress indicator graphic with a changed priority in step S808, the sports application can transmit the sports indicator graphic to the graphics framework. The graphics framework can update the sports indicator graphic in the progress card to obtain a new progress card, thereby determining a new sports record interface.

[0241] Optionally, in step S703, a progress indicator graphic corresponding to each exercise indicator may be drawn according to the accumulated amount of the exercise indicator.

[0242] The layer level of the redrawn progress indication graphic corresponding to any motion indicator in the updated progress card is the same as the layer level of the progress indication graphic corresponding to any motion indicator in the progress card before the update.

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

[0244] Optionally, in step S703, in the progress indication graphics corresponding to the plurality of motion indicators, for the motion indicator whose cumulative amount change is greater than or equal to the preset change amount, the graphics may be redrawn according to the cumulative amount of the motion indicator. For the motion indicator whose cumulative amount change is less than the preset change amount, the progress indication graphics corresponding to the motion indicator may not be drawn. In other words, for the motion indicator whose cumulative amount change is less than the preset change amount, the progress indication graphics corresponding to the motion indicator in the progress card before the update may be used as the progress indication graphics corresponding to the motion indicator in the progress card after the progress indication graphics are updated.

[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 by the current 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 to determine the change in the cumulative amount of the progress indicator.

[0246] In step S808, when the sports application determines that there is no progress indicator graphic with a changed priority, the sports application can transmit the sports indication graphic drawn this time to the graphics framework. Thus, the graphics framework can update the progress card according to the received sports indication graphic.

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

[0248] Step S803, updating the progress indication graphic corresponding to each exercise indicator in the progress card to obtain a progress card with the progress indication graphic updated.

[0249] The progress card for updating the progress indication graphic may be the progress card obtained last time. In the case where step S803 is performed for the first time, the progress card for updating the progress indication graphic may also be a preset progress card. The preset progress card may include a progress indication graphic corresponding to each of the multiple motion indicators.

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

[0251] In the preset progress card, the progress indication graphic corresponding to each motion indicator may be an initial progress indication graphic. The initial progress indication graphic may represent a preset ratio. The preset ratio may be, for example, 0. In the preset progress card, any two of the multiple progress indication graphics overlap, and different progress indication graphics are located in different layers.

[0252] If it is determined in step S808 that there is a progress indicator graph whose priority has changed, steps S705 and S806 may be performed.

[0253] Step S806, for the progress card after the progress indication graphic is updated, adjust the layer level of the progress indication graphic according to the target stacking order to obtain a new progress card.

[0254] When it is determined in step S808 that there is no progress indicator graphic with a changed priority, the progress card after the progress indicator graphic is updated may be used as a new progress card.

[0255] The new progress card obtained by performing step S707, step S806 or determining in step S808 that there is no progress indicator graph whose priority has changed can be understood as the progress card obtained this time.

[0256] After step S707, step S809 or step S806, step S710 may be performed.

[0257] It should be understood that the display of the progress card in step S710 may be that the electronic device displays the progress card, or the electronic device controls or drives the display screen to display the progress card.

[0258] like Fig. 9As shown, the processor that the memory in the electronic device may include may include an embedded multi media card (EMMC) 910, a 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 may store a resource file 911. The resource file 911 includes a compressed image file. After obtaining a progress card through the data display method provided in the embodiment of the present application, the motion record interface may be determined according to the progress card. The motion record interface may be compressed to obtain a compressed image file. The motion record interface may include a progress card. For example, the MCU 930 or other processors in the electronic device (such as an application processor) may be used to execute Figure 6 , Figure 7 or Figure 8 The data display method shown is used to determine the progress card according to the accumulated amount of each sports index, compress the sports record interface including the progress card, and store the compressed image file obtained by compression in EMMC 910 as a part of resource file 911.

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

[0261] 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 be, for example, a direct memory access for two dimensional data (DMA2D).

[0262] The display 940 may include a 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 displays a user interface. In other words, the processor in the display 940 may include a display driver.

[0263] The EMMC 910 and the MCU 930 may be connected via a secure digital input and output (SDIO). The PSRAM 920 and the MCU 930 may be connected via a field programmable gate array mezzanine card (FMC). The MCU 930 and the display 940 may be connected via a mobile industry processor interface (MIPI).

[0264] The MCU 920 may 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 the MCU 920 may decompress the compressed image file stored in the compressed resource 921 to obtain the motion recording interface. The first processing unit 931 may store the motion recording interface in the resource cache 922.

[0266] The second processing unit 932 in the MCU 920 may perform image rendering according to the motion record interface in the resource buffer 922 to obtain a rendered motion record interface. The second processing unit 932 may store the rendered motion record interface in the frame buffer 923 .

[0267] The MCU 920 may 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 may drive the display screen to make the display screen display the motion recording interface.

[0268] When the electronic device detects a user operation, the progress card generated for the first time by the sports application can be transmitted to the graphic framework in the application layer program framework layer.

[0269] The graphic framework can generate a sports record interface according to the progress card. The sports record interface can include a progress card. The sports record interface can also include the cumulative amount of each sports indicator. Exemplarily, the progress card can include text for indicating the cumulative amount of each sports indicator.

[0270] In step S601 and step S701, the cumulative amount of each motion index can be understood as the cumulative amount of each motion index in the current statistical period. In the motion record interface, statistical graphs of one or more motion indicators can also be included. The statistical graph of each motion index can be determined based on the historical cumulative amount of the motion index in multiple statistical periods before the current statistical period. The statistical graph can be, for example, a bar graph or a line graph. The statistical graph of each motion index can represent the change in the historical cumulative amount of the motion index in multiple statistical periods. For example, the statistical period is a natural day, and the statistical graph of the number of steps can represent the change in the historical cumulative amount of the number of steps in multiple natural days. It should be understood that the historical cumulative amount of a certain motion index in each previous statistical period can be the last cumulative amount of the certain motion index obtained before the end of the statistical period.

[0271] The graphic framework can also switch the user interface, that is, switch the screen, according to the current interface and the motion recording interface of the electronic device.

[0272] Switching of the user interface may involve multiple processes such as initialization, destruction, and screen switching of the graphics framework.

[0273] Initialization (Init) is used to initialize parameters. After the parameters are initialized, the screen can be switched. The screen switching can be achieved by using animation or object animation.

[0274] When switching screens with animation, the screen switching can be achieved through system tick timer (Tick) event processing. Tick event is a concept in computer programming and systems, usually used to describe an event triggered at a certain time interval (such as milliseconds or frames) during an event loop or animation rendering process. In animation rendering, the Tick event is used to set the playback interval between two adjacent frames in the animation, thereby achieving animation frame playback. 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 / 60 seconds.

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

[0276] The block transition effect divides the screen into multiple blocks (such as 8×6 blocks) and randomly redraws several of the blocks each time the screen switches. For example, two blocks can be redrawn each time. This transition effect saves resources and is suitable for devices or environments with low performance.

[0277] Cover transition animation, the new screen moves from one direction until it completely covers the original screen content.

[0278] In the sliding transition effect, the new screen image is spliced ​​together with the original screen image (the original screen image is in front, and the new screen image is in the back), and slides from the specified direction.

[0279] In the wipe transition effect, the new screen image expands from one direction, giving an effect of erasing the original screen image and revealing the new screen image.

[0280] In some embodiments, the user interface may be switched without transition. The no-transition method means that there is no transition with visual effects during the user interface switching process, that is, the screen switching is achieved without animation.

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

[0282] In the process of switching screens using display effects other than no transition, a dynamic effect can be generated, and the dynamic effect includes multiple frames of images. The multiple frames of images are stored in the resource file 911 in chronological order, so that the dynamic effect can be displayed.

[0283] After the screen switching is completed, the graphic framework can generate a sports record interface based on the new progress card, and store the sports record interface generated based on the progress card in the resource file 911. Thus, the electronic device realizes the real-time display of the progress card determined according to the accumulated amount of the sports index.

[0284] The display of the user interface may also involve redrawing (invalidation). The main function of redrawing in the interface display is to update the user interface. Through redrawing, the redrawn area can be marked in the exercise record interface and the content of the area can be updated.

[0285] For example, in Figure 8 In the image display method shown, step S809 can be implemented by the graphics framework through redrawing (invalidate). The graphics framework can mark the redrawn progress indicator graphic in the progress card of the exercise record interface, and update the indicated progress indicator graphic, thereby obtaining a new exercise record interface. The marked progress indicator graphic can be determined by the graphics framework according to the progress indicator corresponding to the received progress indicator graphic.

[0286] It should be understood that the above examples are intended to help those skilled in the art understand the embodiments of the present application, rather than to limit the embodiments of the present application to the specific numerical values ​​or specific 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 the present application.

[0287] Combination of the above Figures 3 to 9 , describes in detail the data display method of the embodiment of the present application, and will be combined with Fig.10 It should be understood that the data display device in the embodiment of the present application can execute the data display method in the embodiment of the present application, that is, the specific working process of the following various products can refer to the corresponding process in the embodiment of the method.

[0288] Fig.10 It is a schematic diagram of a data display device provided in an embodiment of the present application.

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

[0290] The acquisition unit 1010 is used to acquire the accumulation amount of each motion index among the multiple motion indexes.

[0291] The processing unit 1020 is configured to determine priorities corresponding to a plurality of progress indicator graphics according to the accumulated amount of each sports indicator, wherein the plurality of progress indicator graphics include a progress indicator graphic corresponding to each sports indicator.

[0292] The processing unit 1020 is also used to display a progress card according to the priorities corresponding to the multiple progress indication graphics respectively, the progress card including the multiple progress indication graphics, there is overlap between any two progress indication graphics among the multiple progress indication graphics, and when there are progress indication graphics with different priorities among the multiple progress indication graphics, the progress indication graphic with a higher priority is displayed above the progress indication graphic with a lower priority.

[0293] Optionally, the processing unit 1020 is specifically used to, for any one of the multiple progress indicator graphics, determine that the priority corresponding to any one of the progress indicator graphics is the first priority when the cumulative amount of the sports indicator corresponding to any one of the progress indicator graphics 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 exercise index corresponding to any one of the progress indicator graphics is less than the preset cumulative amount, determine that the priority corresponding to any one of the progress indicator graphics is a second priority, and the second priority is greater than the first priority.

[0295] Optionally, the processing unit 1020 is specifically configured to update the progress indication graphic corresponding to each sports indicator in the progress card according to the accumulated amount of each sports indicator when the priorities corresponding to the multiple progress indication graphics have not changed.

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

[0297] Optionally, the processing unit 1020 is specifically used to determine the layer levels corresponding to the multiple redrawn progress indicator graphics according to the latest priorities respectively corresponding to the multiple redrawn progress indicator graphics, wherein the layer level of the progress indicator graphics with a higher priority is greater than the layer level of the progress indicator graphics with a lower priority.

[0298] The processing unit 1020 is specifically configured to synthesize the multiple redrawn progress indication graphics according to the layer levels to which the multiple redrawn progress indication graphics respectively correspond.

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

[0300] Optionally, the processing unit 1020 is further configured to, when there are progress indication graphics with the same priority among the multiple progress indication graphics, sort the progress indication 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 priorities and sorting results respectively corresponding to the multiple progress indication graphics.

[0302] Optionally, the processing unit 1020 is further configured to determine whether there is a sports indicator among the multiple sports indicators whose cumulative amount change value is greater than a preset change amount.

[0303] The processing unit 1020 is further configured to determine priorities corresponding to the plurality of progress indicator graphics respectively according to the accumulation of each motion indicator when there is at least one motion indicator among the plurality of motion indicators whose accumulated amount change value is greater than the preset change amount.

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

[0305] Optionally, the multiple exercise indicators include at least two of the number of steps, exercise duration and energy consumption.

[0306] It should be noted that the data display device 1000 is implemented in the form of a functional unit. The term "unit" here can be implemented in the form of software and / or hardware, and is not specifically limited to this.

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

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

[0309] The present application also provides a chip, the chip comprising a data interface and one or more processors. When the one or more processors execute instructions, the one or more processors read the instructions stored in the memory through the data interface to implement the data display method described in the above method embodiment.

[0310] The one or more processors may be general-purpose processors or special-purpose processors. For example, the one or more processors may be a central processing unit (CPU), a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices such as discrete gates, transistor logic devices, or discrete hardware components.

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

[0312] The processor and the memory may be provided separately or integrated together. For example, the processor and the memory may be integrated on a system on chip (SOC) of a terminal device. That is, the chip may also include a memory.

[0313] The memory may store a program, which may be executed by the processor to generate instructions, so that the processor executes the data display method described in the above method embodiment according to the instructions.

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

[0315] Exemplarily, the memory can be used to store the relevant program of the data display method provided in the embodiment of the present application, and the processor can be used to call the relevant program of the data display method stored in the memory to implement the data display method of the embodiment of the present application. For example, the processor can be used to: obtain the cumulative amount of each motion index in a plurality of motion indexes; according to the cumulative amount of each motion index, determine the priority corresponding to a plurality of progress indication graphics respectively, the plurality of progress indication graphics include the progress indication graphics corresponding to each motion index; according to the priority corresponding to the plurality of progress indication graphics respectively, display a progress card, the progress card includes the plurality of progress indication graphics, there is overlap between any two progress indication graphics in the plurality of progress indication graphics, and in the case where there are progress indication graphics with different priorities in the plurality of progress indication graphics, the progress indication graphics with high priority are displayed above the progress indication graphics with low priority.

[0316] The chip can be arranged in an electronic device.

[0317] The present application also provides a computer program product, which, when executed by a processor, implements the data display method described in any method embodiment of the present application.

[0318] The computer program product may be stored in a memory, for example, a program, which is finally converted into an executable target file that can be executed by a processor after preprocessing, compiling, assembling and linking.

[0319] The present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a computer, the data display method described in any method embodiment of the present application is implemented. The computer program can be a high-level language program or an executable target program.

[0320] The computer-readable storage medium is, for example, a memory. The memory may be a volatile memory or a nonvolatile memory, or the memory may include both a volatile memory and a nonvolatile memory. Among them, the nonvolatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).

[0321] The embodiments of the present application may involve the use of user data. In actual applications, user-specific personal data may be used in the scheme described herein within the scope permitted by applicable laws and regulations, subject to the requirements of applicable laws and regulations of the country where the user is located (for example, with the user's explicit consent, effective notification to the user, etc.).

[0322] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0323] In order to facilitate the clear description of the technical solution of the present application, the words "first", "second" and the like are used to distinguish between identical or similar items with substantially the same functions and effects. In the description of the present application, the terms "first", "second" and the like are used only for descriptive purposes and are not to be understood as indicating or implying relative importance, and a specific order or sequence. Those skilled in the art will understand that the words "first", "second" and the like do not limit the quantity and execution order, and the words "first", "second" and the like do not necessarily limit them to be different. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to specific circumstances.

[0324] In the present 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 refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple. In the description of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that three relationships can exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0325] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean 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 the present application.

[0326] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example 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 performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

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

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

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

[0330] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0331] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A data display method, characterized in that: The method comprises: Obtaining a cumulative amount of each of the plurality of motion indicators; Determining priorities corresponding to a plurality of progress indicator graphics respectively according to the accumulated amount of each exercise indicator, wherein the plurality of progress indicator graphics include a progress indicator graphic corresponding to each exercise indicator; A progress card is displayed according to the priorities respectively corresponding to the multiple progress indication graphics, the progress card including the multiple progress indication graphics, any two of the multiple progress indication graphics overlap, and when there are progress indication graphics with different priorities among the multiple progress indication graphics, the progress indication graphic with a higher priority is displayed above the progress indication graphic with a lower priority.

2. The method according to claim 1, characterized in that Determining the priorities corresponding to the plurality of progress indicator graphics respectively according to the accumulated amount of each exercise index includes: For any one of the plurality of progress indication graphics, when the cumulative amount of the exercise index corresponding to the any one of the progress indication graphics is greater than or equal to the preset cumulative amount, determining the priority corresponding to the any one of the progress indication graphics to be the first priority; When the accumulated amount of the exercise index corresponding to any one of the progress indication graphics is less than the preset accumulated amount, the priority corresponding to any one of the progress indication graphics is determined to be a second priority, and the second priority is greater than the first priority.

3. The method according to claim 1 or 2, characterized in that: The displaying of the progress card according to the priorities respectively corresponding to the plurality of progress indication graphics comprises: When the priorities respectively corresponding to the plurality of progress indication graphics have not changed, updating the progress indication graphics corresponding to each exercise indicator in the progress card according to the accumulated amount of each exercise indicator; In the case where there are progress indicator graphics whose priorities have changed among the multiple progress indicator graphics, the progress indicator graphics corresponding to each motion indicator are redrawn according to the accumulated amount of each motion indicator, and the progress card is displayed based on the latest priorities corresponding to the multiple progress indicator graphics and the redrawn multiple progress indicator graphics.

4. The method according to claim 3, characterized in that The displaying of the progress card based on the latest priorities respectively corresponding to the multiple progress indication graphics and the redrawn multiple progress indication graphics includes: Determining the layer levels corresponding to the redrawn multiple progress indication graphics respectively according to the latest priorities respectively corresponding to the redrawn multiple progress indication graphics, wherein the layer level of the progress indication graphics with a higher priority is greater than the layer level of the progress indication graphics with a lower priority; synthesizing the redrawn multiple progress indication graphics according to the layer levels respectively corresponding to the redrawn multiple progress indication graphics; The synthesized graphics are displayed as the progress card.

5. The method according to claim 2, characterized in that: The method further comprises: In the case where there are progress indicating graphics with the same priority among the plurality of progress indicating graphics, sorting the progress indicating graphics with the same priority according to a preset priority sorting relationship; The displaying of the progress card according to the priorities respectively corresponding to the plurality of progress indication graphics comprises: The progress card is displayed according to the priorities and sorting results respectively corresponding to the multiple progress indication graphics.

6. The method according to any one of claims 1 to 5, characterized in that Before determining the priorities corresponding to the plurality of progress indicator graphics respectively according to the accumulated amount of each exercise index, the method further includes: Determine whether there is a sports indicator among the multiple sports indicators whose cumulative amount change value is greater than a preset change amount; Determining the priorities corresponding to the plurality of progress indicator graphics respectively according to the accumulated amount of each exercise index includes: In the case that there is at least one sports indicator among the multiple sports indicators whose cumulative amount change value is greater than the preset change amount, the priorities respectively corresponding to the multiple progress indicator graphics are determined according to the cumulative amount of each sports indicator.

7. The method according to any one of claims 1 to 6, characterized in that The step of obtaining the cumulative amount of each of the plurality of motion indicators comprises: After receiving a user operation, the cumulative amount of each sports indicator in the multiple sports health indicators is determined, and the user operation is used to trigger the display of an interface including the progress card.

8. The method according to any one of claims 1 to 7, characterized in that The multiple exercise indicators include at least two of the number of steps, exercise duration and energy consumption.

9. An electronic device, characterized in that: The electronic device includes: one or more processors, and a memory; The memory is coupled to the one or more processors, and the memory is used to store computer program codes, wherein the computer program codes include computer instructions, and the one or more processors call the computer instructions to enable the electronic device to perform the method as claimed in any one of claims 1 to 8.

10. A chip system, characterized in that: The chip system is applied to an electronic device, and the chip system includes one or more processors, and the one or more processors are used to call computer instructions so that the electronic device executes the method as described in any one of claims 1 to 8.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium comprises instructions, which, when executed on an electronic device, enable the electronic device to perform the method as claimed in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Method and device for setting movement target, storage medium and processor

    CN107330242A

  • Data display method and device of intelligent watch

    CN107766026A

  • View staggered display method, electronic device and storage medium

    CN109002241A

  • Image display method and device and electronic equipment

    CN112148415A

  • Information display method and and device, and wearable equipment

    CN113867666A