WO2021249073A1 - Health data display method and electronic device - Google Patents

Health data display method and electronic device Download PDF

Info

Publication number
WO2021249073A1
WO2021249073A1 PCT/CN2021/092122 CN2021092122W WO2021249073A1 WO 2021249073 A1 WO2021249073 A1 WO 2021249073A1 CN 2021092122 W CN2021092122 W CN 2021092122W WO 2021249073 A1 WO2021249073 A1 WO 2021249073A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
user
electronic device
health data
dimension
Prior art date
Application number
PCT/CN2021/092122
Other languages
French (fr)
Chinese (zh)
Inventor
漆永强
梁萍
黎元昶
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021249073A1 publication Critical patent/WO2021249073A1/en

Links

Images

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H15/00ICT specially adapted for medical reports, e.g. generation or transmission thereof
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B24/00Electric or electronic controls for exercising apparatus of preceding groups; Controlling or monitoring of exercises, sportive games, training or athletic performances
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Definitions

  • the embodiments of the present application relate to the field of electronic equipment, and in particular to a health data display method and electronic equipment.
  • an electronic device such as a smart phone
  • a health management application application, APP
  • the collected health data such as the user's exercise status can be displayed to the user through the health management APP.
  • the user can view the current health status through the APP in the electronic device, and implement the user's own health management based on this.
  • the health data interface displayed by the electronic device to the user through the APP plays a very important role for the user to efficiently manage their own health.
  • the embodiment of the present application provides a health data display method and electronic device, which solves the current problem that current health data cannot be displayed intuitively to users.
  • a method for displaying health data includes: receiving a first operation of a user.
  • a first interface is displayed, the first area of the first interface includes M first elements, the M first elements correspond to M dimensions, and each of the M first elements
  • the first element is used to display the degree of completion of the corresponding dimension, the degree of completion of the dimension is the degree of completion of tasks included in the dimension, the degree of completion of the multiple tasks is determined according to the corresponding health data, and M is an integer greater than 1.
  • the graphic formed by the M first elements is a rotationally symmetric graphic, and the areas of any two elements in the M first elements are the same.
  • the health data can be divided into different dimensions, and each dimension can include one or more tasks, and the completion of tasks in the different dimensions can be displayed globally, so that users can Clearly and intuitively know the current health data completion status.
  • a multi-leaf grass (such as clover, etc.) model can be used to display health data on the interface.
  • Each leaf of the multi-leaf grass can be a first element, and each leaf can be used to display the first element.
  • One element corresponds to the degree of completion of the dimension.
  • the first region further includes N second elements, each of the N second elements corresponds to a first element, and N is less than or equal to M and greater than Or an integer equal to 0.
  • the second element is included in the first element corresponding to the second element, and is used to indicate the degree of completion of the dimension corresponding to the first element. Based on this solution, more elements can be set, so that the user can know the current health data more clearly through the first interface. Exemplarily, taking M as 3, one first element corresponds to one leaf in the clover model as an example. Two layers can be set on the first interface, among which, the lower layer can be clover whose size and color do not change, as a reference.
  • An upper layer can be set on the basis of this layer, for example, a small clover leaf can be set as the second element in a clover leaf.
  • a small clover leaf can be set as the second element in a clover leaf.
  • the area of the M first elements is fixed, and the area of the second element is based on the degree of completion of the dimension corresponding to the first element corresponding to the second element Sure.
  • the area of the second element has a positive correlation with the degree of completion of the dimension.
  • the colors of the first element and the second element are different. Based on this solution, the user can distinguish the size difference between the first element used as the background and the second element used to characterize the completion of the current task by color.
  • the two-dimensional coordinates of the image displayed by the electronic device are used as a reference, and the center line of the first element is aligned with the coordinates at the first moment.
  • the axis forms a first angle
  • the center line of the first element forms a second angle with the coordinate axis at the second time
  • the second time is later than the first time, the second angle and the first angle different.
  • the angle between the corresponding center line and the coordinate axis can change with time.
  • the two-dimensional coordinates of the displayed image of the electronic device can be based on the center of the display screen of the electronic device as the origin.
  • the positive x-axis direction is to the right along the horizontal direction of the electronic device.
  • the positive direction of the y-axis is upward along the vertical direction of the electronic device.
  • the two-dimensional coordinates of the image displayed by the electronic device are used as a reference, and the center line of the second element is at the third time and coordinates
  • the axis forms a third angle
  • the center line of the second element forms a fourth angle with the coordinate axis at the fourth time
  • the fourth time is later than the third time, the fourth angle and the third angle different.
  • each different first element (such as the leaves of M leaf grass) can have a different color.
  • the colors of different first elements are displayed in a normalized manner, for example, they may be displayed in green. So that users can more intuitively know whether the current tasks are all completed.
  • the method further includes: receiving a second operation of the user on the first element.
  • a second interface is displayed, and the second interface includes the detailed completion status of the task in the dimension corresponding to the first element.
  • the first interface further includes: a second area, the second area including the first history within a preset period displayed by any of the possible health data display methods as described above Health data.
  • a preset period can be a preset time period such as one week, one month, etc.
  • the first historical health data is displayed through thumbnails of images composed of M first elements corresponding to different dates in the preset period.
  • this example provides a better implementation method, which is to display the thumbnail of the current day's M leaf grass on the date corresponding to each time period, so as to pass the smaller Of the screen area to show users more information.
  • the method further includes: receiving a third operation of the user on the thumbnail in the second area.
  • M first elements corresponding to the thumbnail are displayed in the first area.
  • the method further includes: receiving a fourth operation of the user on the thumbnail in the second area.
  • M first elements and N second elements corresponding to the thumbnail are displayed in the first area.
  • the method further includes: receiving a fifth operation of the user on the second area.
  • the second historical health data is displayed in the second area, and the second historical health data is displayed through thumbnails of images composed of M first elements corresponding to different dates in the preset period of.
  • the time corresponding to the second historical health data is different from the time corresponding to the first historical health data.
  • the first interface further includes a third area, the third area includes an incentive phrase, the incentive phrase is determined according to the degree of completion of the dimensions corresponding to the M first elements displayed in the first area of.
  • the motivational phrase may be displayed on the first interface under the current date, or displayed on the first interface under the historical date.
  • the first interface further includes a first control
  • the method includes: receiving a sixth operation of the user on the first control.
  • a third interface is displayed, and the third interface includes images corresponding to the M first elements displayed in the first area, so as to facilitate sharing operations on the images.
  • the first interface provides users with an entrance to share the current M-leaf grass model, that is, the first control.
  • a sixth operation such as clicking or touching
  • the user can obtain a picture that includes the corresponding image of the current M-leaf grass model, and then share health data accordingly.
  • the first interface further includes a second control
  • the method further includes: receiving a seventh operation of the user on the second control.
  • a configuration menu is displayed on the first interface, so that the user can set tasks in different dimensions through the configuration menu, or generate weekly/monthly/annual reports corresponding to health data through the configuration menu.
  • a second control is provided that enables users to actively manage the corresponding dimensions of different blades in M-leaf grass and the corresponding tasks in different dimensions.
  • the seventh operation such as clicking or touching
  • the user can see the configuration menu from the first interface, and then perform related operations on the control of the target management function in the configuration menu to realize the management of the dimension and the tasks under the dimension.
  • the configuration menu may also include related functional controls for generating weekly reports, monthly reports, quarterly reports, and/or annual reports, so that users can perform corresponding operations on them to obtain corresponding collection data.
  • the health data is acquired by the electronic device itself, and/or acquired by other electronic devices, and/or input by the user. Based on this scheme, the way to obtain health data in this application is explained. For example, a part or all of the health data can be obtained through a sensor module provided in the electronic device. For another example, part or all of the health data can be obtained through a wearable device that communicates with an electronic device. For another example, it can be input by the user (for example, the user performs a check-in operation, etc.).
  • the method further includes: receiving an eighth operation of the user, where the eighth operation includes a double-click operation, or a long-press operation, or a zoom operation on the first area.
  • the eighth operation includes a double-click operation, or a long-press operation, or a zoom operation on the first area.
  • a first element is added to the first area, and the dimension corresponding to the newly added first element is different from the dimension corresponding to the first element currently displayed in the first area.
  • the dimension corresponding to each first element includes one or more tasks; the colors and/or transparency of the first elements with different task completion degrees are different.
  • an easy-to-implement display method is provided, that is, only one layer is set on the first interface, and the color and/or transparency of the layer has a corresponding relationship with the completion degree of the corresponding dimension.
  • the size of the first element on the first interface can also be adjusted to display the task completion degree.
  • the color of the first element is the first element.
  • a color when all tasks in the dimension have been completed, the color of the first element is the second color; the different colors of the first element are used to indicate the different degrees of completion of tasks in the corresponding dimension, and the color of the first element.
  • a specific method for displaying the task completion degree of the corresponding dimension through the color of the first element is provided. That is, the darker the color, the higher the degree of completion of the task, on the contrary, the lighter the color, the lower the degree of completion of the task.
  • the color of the first element is determined according to the following formula:
  • R is R S of the first RGB color values
  • R E R is the second color values of RGB
  • N i is the number of tasks in the i-th dimension
  • i is the i-th dimension of the number of tasks have been completed
  • S G is the G value of the RGB of the first color
  • E G is the G value of the RGB of the second color
  • S B is the B value of the RGB of the first color
  • E B is the B value of the RGB of the second color.
  • the transparency of the first element is the first element A transparency; when all tasks in this dimension have been completed, the transparency of the first element is the second transparency; the different transparency of the first element is used to indicate the different degrees of completion of the tasks in the corresponding dimension, and the transparency of the first element
  • the completion of the task can be displayed by setting a layer. That is, through the transparency of the first element, the degree of completion of the corresponding task is shown. For example, the greater the transparency, the higher the degree of completion, on the contrary, the lower the transparency, the lower the degree of completion. Or, the smaller the transparency, the higher the degree of completion, on the contrary, the greater the transparency, the lower the degree of completion.
  • the transparency of the first element is determined according to the following formula:
  • T 0 is the first transparency
  • T N is the end of transparency
  • N i is the number of tasks in the i-th dimension
  • i is the number of completed tasks in the i-th dimension.
  • a health data display device in a second aspect, includes a receiving unit and a display unit.
  • the receiving unit is used to receive the first operation of the user.
  • the display unit is configured to display a first interface in response to the first operation.
  • the first area of the first interface includes M first elements, the M first elements correspond to M dimensions, and the M first elements Each first element in is used to display the degree of completion of the corresponding dimension.
  • the degree of completion of the dimension is the degree of completion of tasks included in the dimension.
  • the degree of completion of the multiple tasks is determined according to the corresponding health data, and M is greater than An integer of 1.
  • the graphic formed by the M first elements is a rotationally symmetric graphic, and the areas of any two elements in the M first elements are the same.
  • the first region further includes N second elements, each of the N second elements corresponds to a first element, and N is less than or equal to M and greater than Or an integer equal to 0.
  • the second element is included in the first element corresponding to the second element, and is used to indicate the degree of completion of the dimension corresponding to the first element.
  • the area of the M first elements is fixed, and the area of the second element is based on the degree of completion of the dimension corresponding to the first element corresponding to the second element Sure.
  • the area of the second element has a positive correlation with the degree of completion of the dimension.
  • the colors of the first element and the second element are different.
  • the two-dimensional coordinates of the image displayed by the electronic device are used as a reference, and the center line of the first element is aligned with the coordinates at the first moment.
  • the axis forms a first angle
  • the center line of the first element forms a second angle with the coordinate axis at the second time
  • the second time is later than the first time, the second angle and the first angle different.
  • the two-dimensional coordinates of the image displayed by the electronic device are used as a reference, and the center line of the second element is at the third time and coordinates
  • the axis forms a third angle
  • the center line of the second element forms a fourth angle with the coordinate axis at the fourth time
  • the fourth time is later than the third time, the fourth angle and the third angle different.
  • the color of each first element of the M first elements is different.
  • the colors of the M first elements are the same.
  • the receiving unit is further configured to receive a second operation of the user on the first element.
  • the display unit is further configured to display a second interface in response to the second operation, the second interface including detailed completion status of tasks in the dimension corresponding to the first element.
  • the first interface further includes: a second area, and the second area includes the first history in a preset period displayed by any one of the possible health data display devices as described above. Health data.
  • the first historical health data is displayed through thumbnails of images composed of M first elements corresponding to different dates in the preset period.
  • the receiving unit is further configured to receive a third operation of the user on the thumbnail in the second area.
  • the display unit is further configured to display M first elements corresponding to the thumbnail in the first area in response to the third operation.
  • the receiving unit is further configured to receive a fourth operation of the user on the thumbnail in the second area.
  • the display unit is further configured to display M first elements and N second elements corresponding to the thumbnail in the first area in response to the fourth operation.
  • the receiving unit is further configured to receive a fifth operation of the user on the second area.
  • the display unit is further configured to display second historical health data in the second area in response to the fifth operation, where the second historical health data is an image composed of M first elements corresponding to different dates in the preset period Thumbnails for display.
  • the time corresponding to the second historical health data is different from the time corresponding to the first historical health data.
  • the first interface further includes a third area, the third area includes an incentive phrase, the incentive phrase is determined according to the degree of completion of the dimensions corresponding to the M first elements displayed in the first area of.
  • the first interface further includes a first control
  • the receiving unit is further configured to receive a sixth operation of the user on the first control.
  • the display unit is further configured to display a third interface in response to the sixth operation.
  • the third interface includes images corresponding to the M first elements displayed in the first area, so as to facilitate sharing operations on the images.
  • the first interface further includes a second control
  • the receiving unit is further configured to receive a seventh operation of the user on the second control.
  • the display unit is also used to display a configuration menu on the first interface in response to the seventh operation, so that the user can set tasks in different dimensions through the configuration menu, or generate a weekly/monthly report corresponding to health data through the configuration menu Report/Annual Report.
  • the health data is acquired by the electronic device itself, and/or acquired by other electronic devices, and/or input by the user.
  • the receiving unit is further configured to receive an eighth operation of the user, and the eighth operation includes a double-click operation, or a long-press operation, or a zoom operation on the first area.
  • the display unit adds a first element to the first area, and the dimension corresponding to the newly added first element is different from the dimension corresponding to the first element currently displayed in the first area.
  • the dimension corresponding to each first element includes one or more tasks; the colors and/or transparency of the first elements with different task completion degrees are different.
  • the color of the first element is the first element.
  • a color when all tasks in the dimension have been completed, the color of the first element is the second color; the different colors of the first element are used to indicate the different degrees of completion of tasks in the corresponding dimension, and the color of the first element The deeper, the higher the completion of the task of the corresponding dimension.
  • the color of the first element is determined according to the following formula:
  • R is R S of the first RGB color values
  • R E R is the second color values of RGB
  • N i is the number of tasks in the i-th dimension
  • i is the i-th dimension of the number of tasks have been completed
  • S G is the G value of the RGB of the first color
  • E G is the G value of the RGB of the second color
  • S B is the B value of the RGB of the first color
  • E B is the B value of the RGB of the second color.
  • the transparency of the first element is the first element A transparency; when all tasks in this dimension have been completed, the transparency of the first element is the second transparency; the different transparency of the first element is used to indicate the different degrees of completion of the tasks in the corresponding dimension, and the transparency of the first element The larger the task, the higher the completion of the task of the corresponding dimension.
  • the transparency of the first element is determined according to the following formula:
  • T 0 is the first transparency
  • T N is the end of transparency
  • N i is the number of tasks in the i-th dimension
  • i is the number of completed tasks in the i-th dimension.
  • an electronic device in a third aspect, includes one or more processors and one or more memories.
  • the one or more memories are coupled with the one or more processors, and the one or more memories store computer instructions.
  • the electronic device executes the computer instructions, the electronic device is caused to execute the health data display method as described in any one of the first aspect and possible settings thereof.
  • a computer-readable storage medium includes computer instructions.
  • the health data described in any one of the first aspect and its possible settings are executed. Show method.
  • a chip system in a fifth aspect, includes a processing circuit and an interface.
  • the processing circuit is used to call and run the computer program stored in the storage medium from the storage medium to execute the health data display method as described in any one of the first aspect and its possible settings.
  • any one of the above-mentioned second aspect to the fifth aspect can correspond to the above-mentioned first aspect and any one of its possible designs. Therefore, it can bring similar technical effects, which will not be omitted here. Go into details.
  • Figure 1 is a schematic diagram of health data display
  • FIG. 2 is a schematic diagram of the composition of an electronic device provided by an embodiment of the application.
  • FIG. 3 is a schematic drawing of leaves in a multi-leaf grass model provided by an embodiment of the application.
  • FIG. 4 is a schematic diagram of a color change of a leaf provided by an embodiment of the application.
  • FIG. 5 is a schematic diagram of a display of a multi-leaf grass model provided by an embodiment of the application.
  • FIG. 6 is a schematic diagram of a display process of a multi-leaf grass model provided by an embodiment of the application.
  • FIG. 7 is a schematic flowchart of a method for displaying health data according to an embodiment of the application.
  • FIG. 8 is a schematic diagram of an interface of an electronic device provided by an embodiment of the application.
  • FIG. 9A is a schematic diagram of another interface of an electronic device provided by an embodiment of this application.
  • FIG. 9B is a schematic diagram of another interface of an electronic device provided by an embodiment of this application.
  • FIG. 9C is a schematic diagram of another interface of an electronic device provided by an embodiment of this application.
  • 10A is a schematic diagram of an interface of yet another electronic device provided by an embodiment of this application.
  • 10B is a schematic diagram of an interface of yet another electronic device provided by an embodiment of this application.
  • FIG. 11A is a schematic diagram of an interface of yet another electronic device provided by an embodiment of this application.
  • FIG. 11B is a schematic diagram of another interface of an electronic device provided by an embodiment of this application.
  • FIG. 11C is a schematic diagram of another interface of an electronic device provided by an embodiment of this application.
  • FIG. 12A is a schematic diagram of another interface of an electronic device provided by an embodiment of this application.
  • FIG. 12B is a schematic diagram of another interface of an electronic device provided by an embodiment of this application.
  • FIG. 12C is a schematic diagram of another interface of an electronic device provided by an embodiment of this application.
  • FIG. 12D is a schematic diagram of another interface of an electronic device provided by an embodiment of this application.
  • FIG. 13A is a schematic diagram of another interface of an electronic device provided by an embodiment of this application.
  • FIG. 13B is a schematic diagram of an interface of yet another electronic device provided by an embodiment of this application.
  • 14A is a schematic diagram of an interface of yet another electronic device provided by an embodiment of the application.
  • 14B is a schematic diagram of an interface of yet another electronic device provided by an embodiment of this application.
  • 14C is a schematic diagram of an interface of yet another electronic device provided by an embodiment of this application.
  • 15A is a schematic diagram of an interface of yet another electronic device provided by an embodiment of this application.
  • 15B is a schematic diagram of an interface of yet another electronic device provided by an embodiment of this application.
  • 16A is a schematic diagram of an interface of yet another electronic device provided by an embodiment of this application.
  • 16B is a schematic diagram of an interface of yet another electronic device provided by an embodiment of this application.
  • 16C is a schematic diagram of an interface of yet another electronic device provided by an embodiment of this application.
  • 16D is a schematic diagram of an interface of yet another electronic device provided by an embodiment of this application.
  • 16E is a schematic diagram of an interface of yet another electronic device provided by an embodiment of this application.
  • FIG. 17 is a schematic diagram of the composition of a health data display device provided by an embodiment of the application.
  • FIG. 18 is a schematic diagram of the composition of a chip system provided by an embodiment of the application.
  • FIG. 19 is a schematic diagram of the composition of an electronic device provided by an embodiment of the application.
  • the health data may be data used to provide the user so that the user can actively perform health management based on the data.
  • the health data may include exercise data (such as the number of steps, the number of medium and high intensity exercises, etc.).
  • the health data may also include sleep data (such as regular sleep, etc.).
  • the health data may also include emotional data (such as whether to perform breathing training, etc.).
  • the user can input an operation to start the health management APP on the electronic device.
  • the electronic device can run the APP and display the content of the homepage. For example, in conjunction with FIG.
  • the electronic device is a smart phone (or simply referred to as a mobile phone) as shown in FIG. 1, and APP1 is set as a health management APP as an example.
  • the user can touch the APP1 icon on the display screen of the mobile phone to trigger the mobile phone to start APP1.
  • the interface shown in Figure 1 (b) can be displayed on the mobile phone interface. Among them, it can include the user's current exercise situation.
  • the user's current number of steps (such as 4590 steps) and whether the user has currently performed fitness activities (if not performed yet) can be displayed on the interface. Based on these health data, users can effectively manage their own health.
  • the user's target number of steps of 6000 takes the user's target number of steps of 6000 as an example.
  • the current number of steps is less than 6000 steps, for example, the current number of steps is 4590 steps, you can increase the number of walking appropriately to complete the target number of steps.
  • the user’s target fitness activity is performed twice as an example. When the user sees that no fitness is currently being performed, the fitness activity can be appropriately arranged to complete the goal.
  • the health management APP can display the user's current activity status and other health data on its corresponding interface to display corresponding information to the user.
  • this display method is too singular, and users cannot intuitively obtain current health data through this interface, and thus cannot effectively motivate users to take the initiative in health management.
  • the embodiment of the present application provides a health data display method, which can display the health data to the user more intuitively, so as to encourage the user to perform health management accordingly.
  • the health data display method provided in the embodiments of the present application can be applied to a user's electronic device.
  • the electronic device can be a mobile phone, a tablet computer, a personal digital assistant (PDA), an augmented reality (AR) ⁇ virtual reality (VR) device, a media player, etc., a portable device with a display screen.
  • PDA personal digital assistant
  • AR augmented reality
  • VR virtual reality
  • the electronic device can also be a wearable electronic device with a display screen, such as a smart watch or a smart bracelet.
  • the embodiment of the application does not impose special restrictions on the specific form of the device.
  • FIG. 2 is a schematic structural diagram of an electronic device 200 provided by an embodiment of this application.
  • the electronic device 200 may include a processor 210, an external memory interface 220, an internal memory 230, and a universal serial bus. (universal serial bus, USB) interface 240, charging management module 250, power management module 251, battery 252, antenna 1, antenna 2, mobile communication module 260, wireless communication module 270, audio module 280, speaker 280A, receiver 280B, microphone 280C, earphone interface 280D, sensor module 290, buttons 291, motor 292, indicator 293, camera 294, display screen 295, subscriber identification module (SIM) card interface 296, etc.
  • SIM subscriber identification module
  • the sensor module may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc.
  • the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device 200.
  • the electronic device 200 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components.
  • the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
  • the processor 210 may include one or more processing units.
  • the processor 210 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait.
  • AP application processor
  • modem processor modem processor
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • the different processing units may be independent devices or integrated in one or more processors.
  • the controller may be the nerve center and command center of the electronic device 200.
  • the controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 210 for storing instructions and data.
  • the memory in the processor 210 is a cache memory.
  • the memory can store instructions or data that have just been used or recycled by the processor 210. If the processor 210 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 210 is reduced, and the efficiency of the system is improved.
  • the electronic device 200 may implement a display function through a GPU, a display screen 295, an application processor 210, and the like.
  • the GPU is a microprocessor for image processing, which is connected to the display screen 295 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations and is used for graphics rendering.
  • the processor 210 may include one or more GPUs, which execute program instructions to generate or change display information.
  • the display screen 295 is used to display images, videos, etc.
  • the display screen 295 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • active matrix organic light-emitting diode active-matrix organic light-emitting diode
  • active-matrix organic light-emitting diode active-matrix organic light-emitting diode
  • light emitting diode AMOLED
  • flexible light-emitting diode flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diode (QLED), etc.
  • the electronic device 200
  • the wireless communication function of the electronic device 200 can be implemented by the antenna 1, the antenna 2, the mobile communication module 260, the wireless communication module 270, the modem processor, and the baseband processor.
  • the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in the electronic device 200 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 260 may provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the electronic device 200.
  • the mobile communication module 260 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), and the like.
  • the mobile communication module 260 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modem processor for demodulation.
  • the mobile communication module 260 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves for radiation via the antenna 1.
  • at least part of the functional modules of the mobile communication module 260 may be provided in the processor 210.
  • at least part of the functional modules of the mobile communication module 260 and at least part of the modules of the processor 210 may be provided in the same device.
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal.
  • the demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low-frequency baseband signal is processed by the baseband processor and then passed to the application processor.
  • the application processor outputs a sound signal through an audio device (not limited to a speaker 280A, a receiver 280B, etc.), or displays an image or video through a display screen 295.
  • the modem processor may be an independent device.
  • the modem processor may be independent of the processor 210 and be provided in the same device as the mobile communication module 260 or other functional modules.
  • the wireless communication module 270 can provide applications on the electronic device 200 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellites.
  • WLAN wireless local area networks
  • BT wireless fidelity
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication technology
  • infrared technology infrared, IR
  • the wireless communication module 270 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 270 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 210.
  • the wireless communication module 270 can also receive a signal to be sent from the processor 210, perform frequency modulation, amplify, and convert it into electromagnetic waves to radiate through the antenna 2.
  • the antenna 1 of the electronic device 200 is coupled with the mobile communication module 260, and the antenna 2 is coupled with the wireless communication module 270, so that the electronic device 200 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
  • the GNSS may include the global positioning system (GPS), the global navigation satellite system (GLONASS), the Beidou navigation satellite system (BDS), and the quasi-zenith satellite system (quasi). -zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite-based augmentation systems
  • the electronic device 200 can communicate with the wearable electronic device through the antenna 1 and/or the antenna 2 and the wireless communication module 270 provided therein. So that mobile phones can collect user health data through wearable electronic devices.
  • the sensor module 290 that can be provided in the electronic device 200 may include multiple different sensors, so as to collect various data required for the operation of the electronic device 200.
  • the touch sensor is also called “touch panel”.
  • the touch sensor may be provided on the display screen 295, and the touch screen is composed of the touch sensor and the display screen 295, which is also called a “touch screen”.
  • the touch sensor is used to detect touch operations acting on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • the display screen 295 may provide visual output related to the touch operation.
  • the touch sensor may also be disposed on the surface of the electronic device 200, which is different from the position of the display screen 295.
  • the pressure sensor is used to sense the pressure signal and can convert the pressure signal into an electrical signal.
  • the pressure sensor may be provided on the display screen 295.
  • the capacitive pressure sensor may include at least two parallel plates with conductive materials. When a force is applied to the pressure sensor, the capacitance between the electrodes changes.
  • the electronic device 200 determines the intensity of the pressure according to the change in capacitance.
  • the electronic device 200 detects the intensity of the touch operation according to the pressure sensor.
  • the electronic device 200 may also calculate the touched position according to the detection signal of the pressure sensor.
  • touch operations that act on the same touch position but have different touch operation intensities can correspond to different operation instructions. For example: when a touch operation whose intensity is less than the first pressure threshold is applied to the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
  • the gyroscope sensor can be used to determine the movement posture of the electronic device 200.
  • the angular velocity of the electronic device 200 around three axes ie, x, y, and z axes
  • the gyroscope sensor can be used for shooting anti-shake.
  • the gyroscope sensor detects the jitter angle of the electronic device 200, and calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to counteract the jitter of the electronic device 200 through reverse movement to achieve anti-shake.
  • the gyroscope sensor can also be used for navigation and somatosensory game scenes.
  • the air pressure sensor is used to measure air pressure.
  • the electronic device 200 calculates the altitude based on the air pressure value measured by the air pressure sensor to assist positioning and navigation.
  • the magnetic sensor includes a Hall sensor.
  • the electronic device 200 may use a magnetic sensor to detect the opening and closing of the flip holster.
  • the electronic device 200 can detect the opening and closing of the flip according to the magnetic sensor. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, features such as automatic unlocking of the flip cover are set.
  • the acceleration sensor can detect the magnitude of the acceleration of the electronic device 200 in various directions (generally three axes). When the electronic device 200 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device 200, and be used in applications such as horizontal and vertical screen switching, pedometers, and so on.
  • the electronic device 200 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 200 may use a distance sensor to measure the distance to achieve fast focusing.
  • the proximity light sensor may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode.
  • the light emitting diode may be an infrared light emitting diode.
  • the electronic device 200 emits infrared light to the outside through the light emitting diode.
  • the electronic device 200 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 200. When insufficient reflected light is detected, the electronic device 200 can determine that there is no object near the electronic device 200.
  • the electronic device 200 can use the proximity light sensor to detect that the user holds the electronic device 200 close to the ear to talk, so as to automatically turn off the screen to save power.
  • the proximity light sensor can also be used in the leather case mode, and the pocket mode automatically unlocks and locks the screen.
  • the ambient light sensor is used to sense the brightness of the ambient light.
  • the electronic device 200 can adaptively adjust the brightness of the display screen 295 according to the perceived brightness of the ambient light.
  • the ambient light sensor can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor can also cooperate with the proximity light sensor to detect whether the electronic device 200 is in the pocket to prevent accidental touch.
  • the fingerprint sensor is used to collect fingerprints.
  • the electronic device 200 can use the collected fingerprint characteristics to realize fingerprint unlocking, access application locks, fingerprint photographs, fingerprint answering calls, and so on.
  • the temperature sensor is used to detect temperature.
  • the electronic device 200 uses the temperature detected by the temperature sensor to execute the temperature processing strategy. For example, when the temperature reported by the temperature sensor exceeds a threshold, the electronic device 200 performs a reduction in the performance of the processor 210 located near the temperature sensor, so as to reduce power consumption and implement thermal protection.
  • the electronic device 200 when the temperature is lower than another threshold, the electronic device 200 heats the battery 252 to avoid abnormal shutdown of the electronic device 200 due to low temperature.
  • the electronic device 200 boosts the output voltage of the battery 252 to avoid abnormal shutdown caused by low temperature.
  • Bone conduction sensors can acquire vibration signals.
  • the bone conduction sensor can obtain the vibration signal of the vibrating bone mass of the human voice.
  • the bone conduction sensor can also contact the human pulse and receive the blood pressure pulse signal.
  • the bone conduction sensor may also be provided in the earphone, combined with the bone conduction earphone.
  • the audio module 280 can parse the voice signal based on the vibration signal of the vibrating bone block of the voice obtained by the bone conduction sensor to realize the voice function.
  • the application processor may analyze the heart rate information based on the blood pressure beating signal obtained by the bone conduction sensor, and realize the heart rate detection function.
  • the processor 210 may be configured to start the corresponding APP according to the operation of starting the health management APP input by the user, and display the corresponding interface on the display screen 295. For example, when you want to open the health management APP "sports and health", touch the icon of the "sports and health” APP on the display screen 295. In response to the touch operation, the processor 210 may start the "sports and health” APP, and display the home page interface of the "sports and health” APP on the display screen 295.
  • the processor 210 may also be used to obtain part or all of the user's health data collected by the sensor module 290 with the cooperation of the sensor module 290.
  • part of the user's health data may also be provided by a wearable electronic device that communicates with the electronic device 200. That is to say, the user's health data acquired by the electronic device 200 may include the health data acquired through the sensor module 290 of the electronic device 200, may also include the health data acquired through the user's wearable electronic device, and of course may also include The health data acquired through the sensor module 290 and the health data acquired through the wearable electronic device.
  • the health data may include data of multiple different dimensions.
  • the health data may include data of a sleep dimension, data of an activity dimension, and data of an emotion dimension.
  • the sleep dimension data may include data related to the user's sleep, such as the user's sleep quality, the user's sleep time, and the user's wake-up time.
  • the data of the activity dimension may include data related to the user's activity, such as the number of steps of the user, the time the user participates in medium and high-intensity sports, and the number of times the user performs fitness training.
  • the emotional dimension data may include data related to the user's emotions, such as the number of times the user performs breathing training, the user's heart rate, and so on.
  • the user's health data may also be input to the processor in the electronic device 200 by the user touching a button on the interface displayed in the "sports and health” APP, such as a "check in” button. 210's.
  • a button on the interface displayed in the "sports and health” APP such as a "check in” button.
  • the "check in” button for fitness training can be displayed on the interface of the "sports and health” APP. After the user has performed a fitness training, he can touch the "check in” button to input the operation of completing the fitness training.
  • the processor 210 may also be used to display the user's current health data through visual images on an interface in the "sports and health" APP after acquiring the user's health data.
  • the clover model can be used to display the user's health data.
  • each leaf in the clover can be used to identify one dimension of health data.
  • the processor 210 can identify the corresponding relationship between the current health data and the preset target by controlling the size, color, and brightness of each blade. The specific health data display method will be described in detail below, and will not be repeated here.
  • the electronic device 200 can implement a shooting function through an ISP, a camera 294, a video codec, a GPU, a display screen 295, and an application processor.
  • the ISP is used to process the data fed back by the camera 294. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the camera 294 through the lens, and the light signal is converted into an electrical signal. The photosensitive element of the camera 294 transmits the electrical signal to the ISP for processing and is converted into an image visible to the naked eye. ISP can also optimize the image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be provided in the camera 294.
  • the camera 294 is used to capture still images or videos.
  • the object generates an optical image through the lens and is projected to the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transfers the electrical signal to the ISP to convert it into a digital image signal.
  • ISP outputs digital image signals to DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • the electronic device 200 may include 1 or N cameras 294, and N is a positive integer greater than 1.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 200 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
  • Video codecs are used to compress or decompress digital video.
  • the electronic device 200 may support one or more video codecs. In this way, the electronic device 200 can play or record videos in multiple encoding formats, such as: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
  • MPEG moving picture experts group
  • MPEG2 MPEG2, MPEG3, MPEG4, etc.
  • the NPU is a neural-network (NN) computing processor 210.
  • NN neural-network
  • the input information can be quickly processed, and it can also continuously self-learn.
  • applications such as intelligent cognition of the electronic device 200 can be realized, such as image recognition, face recognition, voice recognition, text understanding, and so on.
  • the charging management module 250 is used to receive charging input from the charger.
  • the charger can be a wireless charger or a wired charger.
  • the charging management module 250 may receive the charging input of the wired charger through the USB interface 240.
  • the charging management module 250 may receive the wireless charging input through the wireless charging coil of the electronic device 200. While the charging management module 250 charges the battery 252, it can also supply power to the electronic device 200 through the power management module 251.
  • the power management module 251 is used to connect the battery 252, the charging management module 250 and the processor 210.
  • the power management module 251 receives input from the battery 252 and/or the charge management module 250, and supplies power to the processor 210, the internal memory 230, the external memory, the display screen 295, the camera 294, and the wireless communication module 270.
  • the power management module 251 can also be used to monitor the capacity of the battery 252, the number of cycles of the battery 252, and the health status (leakage, impedance) of the battery 252 and other parameters.
  • the power management module 251 may also be provided in the processor 210.
  • the power management module 251 and the charging management module 250 may also be provided in the same device.
  • the external memory interface 220 may be used to connect an external memory card, such as a Micro SD card, so as to expand the storage capacity of the electronic device 200.
  • the external memory card communicates with the processor 210 through the external memory interface 220 to realize the data storage function. For example, save music, video and other files in an external memory card.
  • the internal memory 230 may be used to store computer executable program code, the executable program code including instructions.
  • the processor 210 executes various functional applications and data processing of the electronic device 200 by running instructions stored in the internal memory 230.
  • the internal memory 230 may include a storage program area and a storage data area.
  • the storage program area can store an operating system, at least one application program (such as a sound playback function, an image playback function, etc.) required by at least one function.
  • the data storage area can store data (such as audio data, phone book, etc.) created during the use of the electronic device 200.
  • the internal memory 230 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like.
  • UFS universal flash storage
  • the electronic device 200 can implement audio functions through an audio module 280, a speaker 280A, a receiver 280B, a microphone 280C, a headphone interface 280D, and an application processor. For example, music playback, recording, etc.
  • the audio module 280 is used for converting digital audio information into an analog audio signal for output, and also for converting an analog audio input into a digital audio signal.
  • the audio module 280 can also be used to encode and decode audio signals.
  • the audio module 280 may be provided in the processor 210, or part of the functional modules of the audio module 280 may be provided in the processor 210.
  • the speaker 280A also called “speaker” is used to convert audio electrical signals into sound signals.
  • the electronic device 200 can listen to music through the speaker 280A, or listen to a hands-free call.
  • the receiver 280B also called a "handset" is used to convert audio electrical signals into sound signals.
  • the electronic device 200 answers a call or voice message, it can receive the voice by bringing the receiver 280B close to the human ear.
  • Microphone 280C also called “microphone” or “microphone” is used to convert sound signals into electrical signals.
  • the user can approach the microphone 280C through the mouth to make a sound, and input the sound signal into the microphone 280C.
  • the electronic device 200 may be provided with at least one microphone 280C.
  • the electronic device 200 may be provided with two microphones 280C, which can implement noise reduction functions in addition to collecting sound signals.
  • the electronic device 200 may also be provided with three, four or more microphones 280C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions.
  • the earphone interface 280D is used to connect wired earphones.
  • the earphone interface 280D can be a USB interface 240, or a 3.5mm open mobile terminal platform (OMTP) standard interface, and a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface .
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA, CTIA
  • the button 291 includes a power-on button, a volume button, and so on.
  • the button 291 may be a mechanical button 291. It may also be a touch button 291.
  • the electronic device 200 can receive key 291 input, and generate key signal input related to user settings and function control of the electronic device 200.
  • the motor 292 can generate vibration prompts.
  • the motor 292 can be used for vibrating notification of incoming calls, and can also be used for touch vibration feedback.
  • touch operations that act on different applications can correspond to different vibration feedback effects.
  • Acting on touch operations in different areas of the display screen 295, the motor 292 can also correspond to different vibration feedback effects.
  • Different application scenarios for example: time reminding, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 293 can be an indicator light, which can be used to indicate the charging status, power change, and can also be used to indicate messages, missed calls, notifications, and so on.
  • the SIM card interface 296 is used to connect to the SIM card.
  • the SIM card can be inserted into the SIM card interface 296 or pulled out from the SIM card interface 296 to achieve contact and separation with the electronic device 200.
  • the electronic device 200 may support one or N SIM card interfaces 296, and N is a positive integer greater than one.
  • the SIM card interface 296 may support Nano SIM cards, Micro SIM cards, SIM cards, etc.
  • the same SIM card interface 296 can insert multiple cards at the same time. The types of the multiple cards can be the same or different.
  • the SIM card interface 296 can also be compatible with different types of SIM cards.
  • the SIM card interface 296 may also be compatible with external memory cards.
  • the electronic device 200 interacts with the network through the SIM card to implement functions such as call and data communication.
  • the electronic device 200 adopts an eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 200 and cannot be separated from the electronic device 200.
  • the health data display methods provided in the embodiments of the present application can all be implemented in the electronic device 200 described above. The following describes the method in detail with an example.
  • the current display of health data can be displayed through the tab as shown in Figure 1, or the health data can be displayed through a linear or circular progress bar.
  • displaying health data to users in these ways cannot enable users to intuitively obtain the overall situation of their health data.
  • users can set corresponding tasks and goals corresponding to the tasks by targeting different health data.
  • the health data reaches the goal of the task, it means that the task is completed.
  • users can implement active management of their own health status based on health data.
  • the completion of different tasks can be displayed through a multi-leaf clover (such as clover, four-leaf clover, etc.) model.
  • a multi-leaf clover such as clover, four-leaf clover, etc.
  • different tasks can be divided into different dimensions according to the types of their corresponding health data, and each dimension can correspond to a leaf in the multi-leaf grass model.
  • the overall display of the user's health data is realized. This enables users to more intuitively and comprehensively know the completion of different tasks in each dimension, and then perform active health management accordingly.
  • the tasks and health data corresponding to different dimensions displayed in the multi-leaf grass model may be selected by the user or preset in the electronic device.
  • the tasks in each dimension and the goals of the corresponding tasks can be set by the user themselves, or can be recommended values preset in the electronic device.
  • a three-leaf clover model is used to show tasks in three different dimensions, of which the three different dimensions are the movement dimensions including the step count task, the medium and high exercise intensity task, and the fitness training task; including the regular wake-up task The dimensions of sleep; and the emotional dimension of breathing training, for example.
  • the tasks in the motion dimension can be selected by the user from the task library through operations such as input and click operations, and the target can be input by the user through a virtual keyboard or a physical keyboard or other input devices.
  • the electronic device can determine the goal of the corresponding task according to the recommendations preset in the electronic device.
  • the recommended value may be obtained based on big data, or it may be flexibly determined by the electronic device based on the user's historical task completion status.
  • the task and the target corresponding to the task can be determined by referring to the method for determining the movement dimension, which will not be repeated here.
  • the tasks corresponding to the user's health data may be divided into M dimensions, such as X 1 -X M , where M is an integer greater than or equal to 1.
  • the X 1 dimension includes N 1 tasks
  • the X 2 dimension includes N 2 tasks
  • the X M dimension includes N M tasks.
  • each of the M dimensions can correspond to one leaf in the multi-leaf grass model.
  • the dimension X 1 corresponds to blade 1
  • the dimension X 2 corresponds to blade 2
  • the dimension X M corresponds to blade M. That is to say, when displaying health data including M dimensions, an M-leaf grass model with M leaves can be used for display.
  • each blade in the M-leaf grass model has a corresponding relationship with the added dimensions and tasks in the setting menu such as target management in the electronic device. That is to say, when the dimensions and/or tasks are increased or decreased by user settings or other methods in the setting menu such as goal management, the corresponding M-leaf grass model will also change. For example, when the user increases the dimensions of health data through the target management menu (for example, from the previous 3 dimensions to 4 dimensions), the number of leaves in the M leaf grass will also change correspondingly (for example, from the previous 3 dimensions). The number of leaves is increased to 4 leaves).
  • users can directly control the selected number and types of dimensions and tasks in setting menus such as adjustment target management through the interface of the electronic device.
  • the user can also add leaves by operating any one of the M leaves.
  • the user can increase or decrease the blades of the M-leaf grass model by double-clicking, or pressing for a certain period of time, or dragging, or zooming.
  • the dimensions and tasks in the setting menus such as goal management will also change accordingly.
  • the processor may draw and limit each leaf corresponding to the M-leaf grass model according to the following method.
  • FIG. 3 is a schematic drawing of a clover leaf provided in an embodiment of this application.
  • the processor can obtain the outline of the clover blade by drawing a circle (or ellipse) and a triangle respectively, and perform beautification processing on the basis of the outline (such as processing the edges and corners as Fillet, etc.) to obtain an image of the clover leaf.
  • the triangle, the ring or the ellipse may have different relative positional relationships.
  • the left side and the right side of the triangle may be circumscribed to the circle as shown in the figure.
  • the left and right fixed points of the triangle may also be set on the outer edge of the circle.
  • the processor can draw other leaves in the M-leaf grass by a similar method, and display them in the same layer, so as to realize the display of the M-leaf grass.
  • the processor may also perform rotation or symmetry processing on the image of the blade after obtaining the image of one blade as shown in (b) of FIG. 3 to obtain images of other blades.
  • the colors of different blades may be different.
  • visual parameters such as the depth, and/or transparency, and/or area of the color of the leaf can be adjusted to identify the completion of the task in the corresponding dimension.
  • the depth of the color of the leaf can be adjusted to identify the completion of the task in the corresponding dimension.
  • the start color of the blade as ( SR , S G , S B )
  • the end color of the blade as (E R , E G , E B )
  • colors of different depths can correspond to different color values (ie RGB values) under the RGB standard color spectrum. Therefore, in this example, different color values under the RGB standard color spectrum can be used to identify different colors and colors.
  • the starting color ( SR , S G , S B ) can be FCA077.
  • the end color (E R , E G , E B ) can be FB6522.
  • the color depth of the blade under the corresponding degree of completion can be determined according to the following formula (1), such as (R i , G i , B i ) The color value of the leaf in an intermediate state.
  • S R is the start values of RGB colors R
  • E R R value is the end color of RGB
  • N i is the number of tasks in the i-th dimension
  • i is the number of completed tasks in the i-th dimension.
  • S G is the G value of the RGB of the start color
  • E G is the G value of the RGB of the end color.
  • S B is the RGB B value of the start color
  • E B is the RGB B value of the end color.
  • the color of the corresponding leaf can be set to (R 1 , G 1 , B 1 ). in,
  • the color of the blade may also be adjusted according to the degree of completion of the task.
  • i/N i in formula (1) can be used for the completion progress of the task in this dimension. Exemplarily, taking this dimension includes walking, mid-to-high intensity exercise, and fitness training, and the goal of walking is 6000 steps as an example. When all three tasks are completed, but 50% of the walking task is completed (that is, 3000 steps have been completed), i/N i in the formula (1) can be converted according to the completion degree of the walking task (that is, 50%) The obtained task completion degree of the entire dimension, such as the conversion result, can be 25%.
  • the lighter color corresponding to the blade 401 can be used to identify that the task in the corresponding dimension is low in completion, or the task in the corresponding dimension has not been completed.
  • the color of the blade can be changed to a darker color shown by the blade 402.
  • the change process can be dynamically displayed or directly switched.
  • the effect of the dynamic display may be a slow change of the color of the leaf from the initial color to the color in the intermediate state, and finally stop when the color of the leaf is the corresponding color in the intermediate state.
  • the effect of the direct switching may be that the color of the leaf is directly displayed as the corresponding color in the intermediate state.
  • an image identifier for identifying the corresponding dimension may also be set in each blade.
  • 403 in FIG. 4 can be used to identify that the blade is a blade corresponding to the movement dimension.
  • the image identifier corresponding to the item dimension may be set according to user-defined selection. It can also be that the electronic device automatically matches and obtains the item according to the item type.
  • the source of the image identification selected by the user or automatically matched by the electronic device may be an image identification database stored locally in the electronic device, or may be derived from a network database, which is not limited in the embodiment of the present application.
  • the transparency of the blade can be set to identify the completion of the task in the corresponding dimension. Take, for example, setting the start transparency of the blade to the first transparency (such as 20%) and setting the end transparency of the blade to the second value (such as 80%).
  • the transparency of the blade under the corresponding degree of completion can be determined according to the following formula (2), for example, T i is used to identify the transparency of the blade in an intermediate state.
  • T 0 is the first transparency
  • T N is the end of transparency
  • N i is the number of tasks in the i-th dimension
  • i is the number of completed tasks in the i-th dimension.
  • the transparency of the corresponding blade can be set to
  • the transparency of the blade may also be adjusted according to the degree of completion of the task.
  • i/N i in formula (2) can be used for the completion progress of the task in this dimension.
  • taking this dimension includes walking, mid-to-high intensity exercise, and fitness training, and the goal of walking is 6000 steps as an example.
  • i/N i in the formula (2) can be converted according to the completion degree of the walking task (that is, 50%)
  • the obtained task completion degree of the entire dimension, such as the conversion result can be 25%.
  • the area of the blade can also be adjusted to identify the completion of the task in the corresponding dimension. In this way, the user can intuitively obtain the completion of the task in this dimension by observing the area of the blade.
  • any one of the above three methods can be used (that is, any one of the depth, transparency, or size of the color of the corresponding leaf is adjusted with the completion of the task) to achieve health in the corresponding dimension.
  • Display of data It is also possible to combine any two of the above three methods, or use the three at the same time to realize the display of health data in the corresponding dimensions.
  • the processor of the electronic device can display the M-leaf grass image including one layer on the interface, so that the user can intuitively and quickly learn the M leaf grass image in different dimensions through the M-leaf image.
  • the completion of the task and then obtain the overall health data, and perform other actions accordingly. For example, if the degree of completion of a task in a certain dimension is low, strengthen the related actions of the task in that dimension. This achieves the purpose of the user's active health management based on the health data displayed in the M leaf grass image.
  • the present application also provides a method for displaying health data.
  • This method can display the completion of tasks in the current dimension by adding new leaf images on the basis of the above-mentioned M leaf grass.
  • the colors of the leaves corresponding to all three dimensions may be light colors as shown in (a) in FIG. 5.
  • the three leaves may be set to colors of different color systems. For example, you can set 501 to light orange, 502 to light purple, and 503 to light blue.
  • the color of the leaves can change accordingly. For example, take only one task in the dimensions corresponding to 502 and 503 as an example.
  • the colors of 502 and 503 can be adjusted to the corresponding dark colors. For example, in conjunction with (b) in FIG.
  • the light purple corresponding to 502 can be adjusted to the dark purple corresponding to 505, thereby prompting the user that the task in the current dimension has been completed.
  • the light blue corresponding to 503 can also be adjusted to the dark blue corresponding to 506 to remind the user that the task in the current dimension has been completed.
  • a smaller blade may be set in 501 to identify the progress of the current task.
  • a layer 504 can be set on top of the layer 507 (ie, 501 as shown in Figure 5 (a)). This layer 504 can be used to identify the completion The number of tasks.
  • the 504 may be set to a darker color, such as a deep orange.
  • the processor can display the small leaves in the 504 layer on the display screen. In other words, the user can see that a small blade 504 appears in the blade 507. As the progress of the task continues to improve, the 504 can be enlarged accordingly until all tasks are expanded to completely overlap with 507 when all tasks are completed. In this example, since the layer 504 is set above 507, when all tasks are completed, the 501 can be displayed as a dark orange corresponding to 508 as shown in (c) in FIG. 5.
  • 504 is related to the progress of the task in this dimension. Therefore, in this example, the area of 504 can be continuously adjusted with the progress of the task. In other words, there is a corresponding relationship between the area of 504 and the completion of the task.
  • the longitudinal size of 507 that is, the size that coincides with the y axis in the coordinate system or the size in the parallel direction
  • the quantity is divided equally, for example, divided equally into 3 parts.
  • the vertical highest point of 504 is 1/3 of the vertical size of 507, and the other parts of 504 can be reduced in proportion to the vertical size to obtain the size of 504.
  • the area of 504 can be 1/3 of the area of 507, that is, the size of 507 can be obtained by reducing the size of 507 to 1/3 of the previous one.
  • the size of the 504 can also be obtained by calculation in other ways, which will not be repeated in the embodiment of the present application.
  • the overall change of the clover model can be triggered (such as the overall adjustment of colors, lighting, dithering and other effects) in order to motivate users to persist in completing tasks in all dimensions.
  • the clover model shown in (c) in FIG. 5 is displayed on the interface as an example.
  • the leaves corresponding to different dimensions can be set to different colors, for example, 501 is set to orange, 502 is set to purple, and 503 is set to blue.
  • the processor can adjust the color of each leaf of the clover model to green, so as to visually show the user a complete green clover shape.
  • the processor in order to make the color adjustment not make the user feel too abrupt, can control to gradually reduce the clover model with different colors to the origin, and gradually expand to the size and position before the reduction, and when it is expanded That is, the color of each leaf is set to green.
  • the display of the clover model on the interface may be directly included on the interface when the processor displays the page on the display screen, or may be displayed to the user through animation effects.
  • the display of the health data display method as shown in FIG. 5 as an example.
  • the initial position of 601 ie 501 as shown in Figure 5 (a)
  • Figure 6 (a) the initial position of 601 (ie 501 as shown in Figure 5 (a))
  • the central axis of 601 and the positive direction of the y-axis of the two-dimensional coordinate system of the display screen are at a certain angle, for example, the angle may be -60°.
  • the area of the 601 can also be set to be smaller than the size of 602 when the display is completed (as shown in (b) in FIG. 6).
  • the processor can set a preset time, from the beginning to the end of the preset time, 601 dynamically rotates from the initial position to the position when the display is completed. Its size can also gradually increase with the passage of time within the preset time.
  • the display method of 502 and 503 as shown in (a) in Figure 5 can be similar to that of 601, so that at the end of the preset time, the clover image as shown in (b) in Figure 6 can be obtained. . This completes the dynamic display of the clover model. It should be understood that the dynamic display can effectively increase the user's interest in health data access, and therefore can increase the probability that the user actively performs health management based on the health data.
  • the small blade 504 shown in FIG. 5 may also be dynamically displayed as shown in (a) in FIG. 6 and (b) in FIG. 6 described above.
  • the beneficial effects are similar, and will not be repeated here.
  • the dynamic display method of the small blade 504 can be completely the same as the dynamic display method of the large blade 601 as shown in (a) in FIG. 6, or may be different.
  • the included angle between its central axis and the positive direction of the y-axis of the two-dimensional coordinate system of the display screen can be different from that of the large blade 601, for example, it can be set as -90° etc. shown in (c) in Fig. 6.
  • the display of the small blade 603 is based on the display of the large blade 601, that is, logically, the appearance of the small blade 603 should be more reasonable after the appearance of the large blade 601. Therefore, in some implementation scenarios of the present application, the blades 501, 502, and 503 as shown in (a) of FIG. 5 can be rotated and entered at the same time.
  • the small blade 603 can perform the above-mentioned rotating entry after a delay of a period of time (for example, 150 milliseconds) after the rotating entry 601 starts. This can provide users with a better viewing experience.
  • the clover model can also be presented to the user in other ways, such as flying in, flashing, and so on.
  • the embodiment of the application does not limit this.
  • other layers can be set in addition to the image corresponding to the clover model to further increase the recognizability of the green clover .
  • the processor displays the complete green clover model on the interface
  • other layers can be set in addition to the image corresponding to the clover model to further increase the recognizability of the green clover .
  • the images corresponding to 510 and 511 can be similar to the image formed by the edge of 509, and the color can be set to a color such as white or gold to show the light-emitting effect of the blade 509 to the user.
  • the lighting effects displayed by 510 and 511 can be synchronized or asynchronous.
  • the light-emitting effect can be displayed within a preset time when the green clover grows to the end position, so as to improve the user's viewing experience while reducing the display pressure on the processor and the display screen caused by the light-emitting effect .
  • the health data display method provided by the embodiments of this application can intuitively display the health data to the user by displaying the completion of tasks in different dimensions , So that users can know their overall health data distribution more quickly and conveniently.
  • the electronic device when the electronic device displays the health data according to the above-mentioned M-leaf grass model, it can also combine the current display mode of the electronic device to properly process the display of the M-leaf grass to obtain a better display. Effect.
  • the electronic device can obtain the display mode of the current device, such as day or night mode. And adjust the content of the leaf display according to the corresponding display mode.
  • the electronic device can obtain the local time, geographic status, location information and other data provided by the sensor module, and make appropriate adjustments to the content displayed by the blade. For example, when the local time, and/or geographic status, and/or location information are different, the electronic The device can adjust the color of the blade to the color, transparency or size that matches the data.
  • the user can also make corresponding adjustments in the always on display (AOD) mode, so that the image of the M-leaf grass model can be displayed in the AOD scene, thereby enabling the user
  • AOD always on display
  • the method may include S701-S704.
  • the electronic device receives an operation of starting the "sports and health" APP input by the user.
  • the electronic device displays the home page interface of the "sports and health" APP.
  • the user When the user wants to know his own health data through the "sports and health" APP in his electronic device, he can input the operation to start the "sports and health” APP on the display screen of the electronic device. Among them, the user can touch the icon of the APP, or click the icon of the APP, or other methods (such as input by keys or an external input device) to input the operation of starting the APP.
  • the embodiments of this application do not impose restrictions on this. For ease of description, the following takes an example in which the user inputs the operation of starting the APP to the electronic device by touching the icon of the APP.
  • the electronic device can start the "sports and health" APP and display the home page interface of the APP.
  • the home page interface of the "sports and health” APP may be an interface as shown in (a) in FIG. 8.
  • the home page interface may include tabs for displaying different health data of the user.
  • the tab 801 is used to display the user's exercise record.
  • the exercise type displayed in the exercise record may be the exercise type preset by the user (or automatically generated by the system).
  • the exercise type may be as shown in the figure. Plank support".
  • the exercise record can also be used to display the completion goal of the corresponding exercise type preset by the user (or automatically generated by the system).
  • the plank support can have 23 moving targets.
  • the completion of the current goals can be displayed. For example, 5/23 indicates that the current goals are 23 and 5 have been completed.
  • the tab 801 can also display the calories consumed by the completed exercise. For example, the completed 5 planks consumed 5 kilocalories (referred to as 5 kcal).
  • the home page interface can also display tabs corresponding to other health data. For example, a tab 802 for representing data related to the user's heart rate, a tab 804 for representing data related to the user's sleep, and a tab 803 for representing data related to the user's weight.
  • the user can instruct the electronic device to update the current data through the slide down operation as described in (a) in Figure 8 .
  • the electronic device may update the current data, and at the same time display the prompt information corresponding to 805 as shown in (b) of FIG. 8 on the display screen.
  • the prompt message may be "Synchronizing data". Until the electronic device completes the update of the current data, and displays the corresponding updated data in each tab on the home page interface.
  • each item of current health data is displayed in the form of a linear/circular progress bar. This display method also has similar problems with the above tabs.
  • a "healthy life” tab is added to the home page interface.
  • the user can enter the health data display interface based on the multi-leaf grass model provided in the above description.
  • the electronic device receives an operation of entering the health data display interface input by the user.
  • the user can touch the "Healthy Life” tab on the home page interface to enter the corresponding interface operation. Similar to the operation of opening the "sports and health” APP described above, in some embodiments, the user can enter the corresponding interface by touching the "healthy life” tab. In other embodiments, the user can also click/double-click the "healthy life” tab to enter the corresponding interface. In other embodiments, the user may also input the operation in other ways, for example, input the operation through an external input device.
  • the home page interface may include many elements that need to be displayed. Therefore, when the user does not find the "Healthy Life” tab on the currently displayed interface, he can enter the slide-up operation as shown in Figure 9A. Or, click the button 901 as shown in FIG. 9B to trigger the electronic device to display the undisplayed part of the homepage interface. In response to the operation input by the user, the electronic device may display an interface as shown in FIG. 9C. You can see that after scrolling up on the home page interface, the "Healthy Life" tab appears on the display screen.
  • the electronic device displays a health data display interface.
  • the electronic device can switch from the current homepage interface to the "healthy life” interface.
  • the "healthy life” interface may be the interface shown in FIG. 10A.
  • the interface may include a health data display element 1001 with a clover structure.
  • the dimensional information corresponding to each leaf in the clover structure can also be shown.
  • the dimensions of sleep, activity, and mood as shown in Figure 10A.
  • each leaf may be provided with an identifier for identifying dimensional information corresponding to the leaf. For example, referring to FIG.
  • the flag shown in 1005 can be set on the leaf corresponding to the activity dimension
  • the flag shown in 1006 can be set on the leaf corresponding to the sleep dimension
  • the flag shown in 1007 can be set on the leaf corresponding to the emotional dimension.
  • logo In some possible implementation manners, 1005, 1006, and/or 1007 in the figure can be set as dynamic images, so as to improve the recognition of the logo and facilitate the user to quickly establish the correspondence between the leaves and the dimensions of the health data.
  • each leaf of the clover model is in a light-colored state, and there is no growth corresponding to the completed The number of small blades.
  • the "healthy life” interface may also include other elements in addition to the above description, so that the user can obtain more information from the interface, and proceed further accordingly. Operation.
  • the interface may further include 1002 for identifying current date information.
  • the interface may also include a thumbnail 1003 that is used to identify the completion of tasks within this week.
  • the current date information shown in 1002 may correspond to the health data of the clover model shown in 1001.
  • the health data displayed by the clover model is the health data on Wednesday, June 3, 2020.
  • the 1003 also provides the function of showing more historical data to the user.
  • the user can trigger the electronic device to display earlier health data in 1101 by sliding the 1101 (swiping to the right as shown in the figure).
  • the health data for the week from "Monday, May 25, 2020" to "Sunday, May 31, 2020" as shown in FIG. 11B can be displayed.
  • the user can adjust the display information of the clover model displayed on 1102 on the interface by clicking the thumbnail of the clover model of a certain day in 1101. For example, when the electronic device receives the user's touch on the thumbnail corresponding to "Wednesday, May 27, 2020", the health data of "Wednesday, May 27, 2020” can be displayed in 1102. It can be seen that the user has completed all the tasks of the motion dimension on the same day, so it is displayed in dark colors on the corresponding blades. For another example, when the electronic device receives the user's touch on the thumbnail corresponding to "Tuesday, May 26, 2020", the health data of "Tuesday, May 26, 2020” can be displayed in 1102 (as shown in Figure 11C) . It can be seen that the user completed all three dimensions of the task on the same day, so the dark color can be displayed on the corresponding blade.
  • the thumbnails corresponding to the clover model for each day in a week are displayed as an example for description.
  • the thumbnails corresponding to the clover model of each day in units of months may also be displayed on the interface as shown in FIG. 10A.
  • 1003 included in FIG. 10A may also include the corresponding thumbnail information for each day from May 1, 2020 to May 31, 2020, so that the user can intuitively understand the task completion of the current month.
  • the thumbnail display in the unit of month in the above description contains more content (for example, it can include the thumbnails of the clover model corresponding to each day within the month), so you can confirm that the user wants to view The content is displayed at the time. Therefore, in other implementations of the present application, the user can click some elements in the interface as shown in FIG. 10A to trigger the electronic device to display the thumbnails corresponding to each day of the month. For example, the user can click (or double-click or long-press, etc.) 1002 to trigger the electronic device to display thumbnails corresponding to each day of the month. In response to this operation, the electronic device may display an upper-level window or display a new interface on the interface as shown in FIG. 10A, and the window or interface may include such elements as the above-mentioned thumbnails in units of months.
  • the clover model of the date corresponding to the thumbnail can be displayed in 1001.
  • the display of the clover model may be directly displayed on the screen, or may be displayed on the screen in the form of an animation effect as shown in FIG. 6.
  • another blade may be displayed in the form of animation effects in the blade to indicate the completion of the task. condition. For example, as shown in FIG. 12A, take the user clicking on the thumbnail corresponding to "Friday, May 25, 2020" in 1201 as an example. Referring to FIG. 12B, FIG. 12C, and FIG.
  • the electronic device may display the clover model corresponding to 1202 in the form of an animation effect on the interface. Since the user has completed all the tasks of the motion dimension that day, as the rotation of the blade corresponding to the motion dimension becomes larger, another clover image with a darker color can be displayed in a fan-shaped rotation. When the leaf corresponding to the motion dimension is displayed, the clover image in it is also displayed, covering the leaf image of the motion dimension of the corresponding area, which is used to show the degree of completion of the task in the current dimension.
  • the area of the clover leaf in the clover corresponding to the motion dimension can correspond to the dimension when it is fully displayed.
  • the size of the leaves are the same, that is, the darker color image is used to cover the lighter color image.
  • the electronic device can set another image of the leaf with a darker color on the layer where the image of the leaf corresponding to the motion dimension is located, so as to achieve the coverage of the image.
  • the electronic device can also directly adjust the color change of the image of the blade corresponding to the movement dimension through calculation to achieve a visual coverage effect.
  • the user can enter the image input operation of the clover displayed on the interface to view the specific task completion information in the corresponding dimension.
  • the user may input the first operation on a blade in 1001 as shown in FIG. 10A.
  • the electronic device may pop up a new window on the interface.
  • the window may include elements such as a progress bar or a new M-leaf grass for displaying the completion status of different tasks in this dimension.
  • the user when the user inputs a second operation to a certain element of the window, the detailed completion status of the corresponding task can be displayed near the element, for example, the current running 4/5.
  • the first operation and the second operation can be the same as a click operation, a sliding operation, a double-tap operation, a touch operation or other operations.
  • the first operation may also be an operation different from the second operation. The embodiment of the application does not limit this.
  • the interface may also include 1004 for motivating the user to perform active health management based on current health data.
  • the reminder phrase can be "feel nervous, do a breathing exercise to keep yourself in your best condition".
  • the prompt displayed in 1004 is variable, and the prompt may be a prompt corresponding to the user's current health data.
  • a reminder phrase library can be set in an electronic device, and the electronic device can select corresponding reminder phrases from the reminder phrase library to display through the collected health data of the user, so as to prompt the user to perform corresponding health activities, such as increasing exercise.
  • Another example is to pay attention to rest, so as to encourage users to actively manage their health.
  • the electronic device can scroll in 1004 to display the prompt information in the prompt phrase library.
  • the electronic device can adjust the probability of the appearance of different phrases according to the collected health data of the user, such as improving the current health data to show the lack of health activities corresponding
  • the appearance probability of the prompt phrase is another example of reducing the appearance probability of the prompt phrase corresponding to the current health data showing sufficient health activities.
  • the electronic device can also flexibly display some or more of them according to user settings or scene requirements. Content, the embodiment of the application does not limit this.
  • the interface as shown in FIG. 10A may also include other elements.
  • the completion status of specific tasks included in each dimension can also be displayed. For example, 1008 as shown in Figure 10A.
  • tabs corresponding to tasks such as "fitness training” and “breathing training” can also be displayed on the interface. It is understandable that due to the size limitation of the electronic device display screen, the elements displayed on one interface are limited.
  • the user when the user wants to view more task tabs, he can input the corresponding operation to make the electronic device display corresponding Elements. For example, as shown in FIG. 13A, the user can input a swipe up operation on the interface, and in response to the operation, the electronic device can scroll up the screen content to display the content shown in FIG. 13B on the display screen. In this example, in response to a sliding operation input by the user, the electronic device can display the complete "fitness training", "breathing training” and "regular wake up” corresponding tabs on the display screen. From these tabs, users can see the preset goals and completion status of the corresponding tasks.
  • the data collection involved in the embodiments of the present application may be collected by the electronic device itself, such as a sensor module that cooperates with the electronic device, or received from a wearable device worn by the user. It can also be entered actively by the user. As an example, the user can implement active input of data by “punching in”.
  • the electronic device can display a corresponding window or interface in order to receive the user's check-in operation.
  • the interface may further include a share button as shown in 1501.
  • the user can realize the sharing operation of current health data by clicking the sharing button.
  • the electronic device may display the sharing preview interface as shown in FIG. 15B.
  • the sharing interface it is possible to display the exercise data of the shared day and the number of times to obtain a complete clover (such as a healthy clover) determined according to the historical data collection situation.
  • the interface can also include a button to select a sharing object. For example, it may include a button 1503 to share with friends, a button 1504 to share to Moments, a button 1505 to share to a blog, and a button 1506 to save the image 1502 locally, and so on.
  • an extended function button 1601 may also be displayed on the interface.
  • the user can click the extended function button to call up a drop-down menu to provide more function buttons.
  • the user can click (eg, click for the first time) 1601 to call up buttons including functions such as "target management", "weekly report", and "setting".
  • the user can select the function he wants to execute by entering the click operation again.
  • the user can input a second click operation of clicking the "target management" button to manage tasks in various dimensions.
  • the electronic device may display an interface as shown in FIG. 16C on the screen. It can be seen that on this interface, multiple tasks that may be included in different dimensions are shown.
  • the activity dimension can include tasks such as walking, mid-to-high intensity exercise, and fitness exercise. Tasks such as breathing training can be included in the emotional dimension.
  • the sleep dimension can include tasks such as getting up regularly and going to bed early. Users can select tasks included in different dimensions shown in the clover model according to their own needs. For example, when the user wants to display a fitness training task under the motion dimension in the clover model, the task can be checked as shown in FIG.
  • the user can add the task to the emotional dimension by checking the "breathing training” task.
  • the user can add the task to the sleep dimension by checking the task of "waking up regularly”.
  • the completion goals corresponding to different tasks in the goal management function shown in Figure 16C can be set by the user, automatically generated by the electronic device based on historical records, or set by the electronic device. Yes, the embodiments of this application do not limit this.
  • the user can input a second click on the "weekly report” button to view the weekly report formed by historical records through the clover model.
  • the electronic device may display an interface as shown in FIG. 16E on the screen.
  • the interface can include the number of healthy clover that the user has acquired cumulatively, the number of small goals achieved, and weekly health data. According to this interface, users can obtain historical health data clearly and perform operations such as data analysis or sharing based on this.
  • the above-mentioned electronic equipment may include a health data display device to implement the above-mentioned health data display method.
  • the health data display device includes hardware structures and/or software modules corresponding to various functions.
  • the embodiment of the present application may divide the health data display device into functional modules according to the foregoing method examples.
  • each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or software function modules.
  • the division of modules in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
  • FIG. 17 shows a schematic diagram of the composition of a health data display device 1700.
  • the health data display device 1700 may be a chip in an electronic device or a system on a chip.
  • the health data display device 1700 shown in FIG. 17 includes: a receiving unit 1701 and a display unit 1702.
  • the receiving unit 1701 is configured to receive the first operation of the user.
  • the display unit 1702 is configured to display a first interface in response to the first operation, the first area of the first interface includes M first elements, the M first elements correspond to M dimensions, and the M Each first element in the first element is used to display the degree of completion of the corresponding dimension, the degree of completion of the dimension is the degree of completion of tasks included in the dimension, and the degree of completion of the multiple tasks is determined according to the corresponding health data.
  • M is an integer greater than 1.
  • the figure formed by the M first elements is a rotationally symmetric figure, and any two of the M first elements have the same area.
  • the first region further includes N second elements, each of the N second elements corresponds to a first element, and N is less than or equal to M and greater than Or an integer equal to 0.
  • the second element is included in the first element corresponding to the second element, and is used to indicate the degree of completion of the dimension corresponding to the first element.
  • the area of the M first elements is fixed, and the area of the second element is based on the degree of completion of the dimension corresponding to the first element corresponding to the second element Sure.
  • the area of the second element has a positive correlation with the degree of completion of the dimension.
  • the colors of the first element and the second element are different.
  • the two-dimensional coordinates of the image displayed by the electronic device are used as a reference, and the center line of the first element is aligned with the coordinates at the first moment.
  • the axis forms a first angle
  • the center line of the first element forms a second angle with the coordinate axis at the second time
  • the second time is later than the first time, the second angle and the first angle different.
  • the two-dimensional coordinates of the image displayed by the electronic device are used as a reference, and the center line of the second element is at the third time and coordinates
  • the axis forms a third angle
  • the center line of the second element forms a fourth angle with the coordinate axis at the fourth time
  • the fourth time is later than the third time, the fourth angle and the third angle different.
  • the color of each first element of the M first elements is different.
  • the colors of the M first elements are the same.
  • the receiving unit 1701 is further configured to receive a second operation of the user on the first element.
  • the display unit 1702 is further configured to display a second interface in response to the second operation, the second interface including the detailed completion status of the task in the dimension corresponding to the first element.
  • the first interface further includes: a second area, and the second area includes the first history in a preset period displayed by any one of the possible health data display devices as described above. Health data.
  • the first historical health data is displayed through thumbnails of images composed of M first elements corresponding to different dates in the preset period.
  • the receiving unit 1701 is further configured to receive a third operation of the user on the thumbnail in the second area.
  • the display unit 1702 is further configured to display the M first elements corresponding to the thumbnail in the first area in response to the third operation.
  • the receiving unit 1701 is further configured to receive a fourth operation of the user on the thumbnail in the second area.
  • the display unit 1702 is further configured to display M first elements and N second elements corresponding to the thumbnail in the first area in response to the fourth operation.
  • the receiving unit 1701 is further configured to receive a fifth operation of the user on the second area.
  • the display unit 1702 is further configured to display second historical health data in the second area in response to the fifth operation.
  • the second historical health data is composed of M first elements corresponding to different dates in the preset period
  • the thumbnail of the image is displayed.
  • the time corresponding to the second historical health data is different from the time corresponding to the first historical health data.
  • the first interface further includes a third area, the third area includes an incentive phrase, the incentive phrase is determined according to the degree of completion of the dimensions corresponding to the M first elements displayed in the first area of.
  • the first interface further includes a first control
  • the receiving unit 1701 is further configured to receive a sixth operation of the user on the first control.
  • the display unit 1702 is further configured to display a third interface in response to the sixth operation, the third interface including images corresponding to the M first elements displayed in the first area, so as to facilitate sharing operations on the images.
  • the first interface further includes a second control
  • the receiving unit 1701 is further configured to receive a seventh operation of the user on the second control.
  • the display unit 1702 is further configured to display a configuration menu on the first interface in response to the seventh operation, so that the user can set tasks in different dimensions through the configuration menu, or generate a weekly report corresponding to health data through the configuration menu. Monthly/annual report.
  • the health data is acquired by the electronic device itself, and/or acquired by other electronic devices, and/or input by the user.
  • the receiving unit 1701 is further configured to receive an eighth operation of the user, and the eighth operation includes a double-click operation, or a long-press operation, or a zoom operation on the first area.
  • the display unit 1702 adds a first element to the first area, and the dimension corresponding to the newly added first element is different from the dimension corresponding to the first element currently displayed in the first area.
  • the dimension corresponding to each first element includes one or more tasks; the colors and/or transparency of the first elements with different task completion degrees are different.
  • the color of the first element is the first element.
  • a color when all tasks in the dimension have been completed, the color of the first element is the second color; the different colors of the first element are used to indicate the different degrees of completion of tasks in the corresponding dimension, and the color of the first element The deeper, the higher the completion of the task of the corresponding dimension.
  • the color of the first element is determined according to the following formula:
  • R is R S of the first RGB color values
  • R E R is the second color values of RGB
  • N i is the number of tasks in the i-th dimension
  • i is the i-th dimension of the number of tasks have been completed
  • S G is the G value of the RGB of the first color
  • E G is the G value of the RGB of the second color
  • S B is the B value of the RGB of the first color
  • E B is the B value of the RGB of the second color.
  • the transparency of the first element is the first element A transparency; when all tasks in this dimension have been completed, the transparency of the first element is the second transparency; the different transparency of the first element is used to indicate the different degrees of completion of the tasks in the corresponding dimension, and the transparency of the first element The larger the task, the higher the completion of the task of the corresponding dimension.
  • the transparency of the first element is determined according to the following formula:
  • T 0 is the first transparency
  • T N is the end of transparency
  • N i is the number of tasks in the i-th dimension
  • i is the number of completed tasks in the i-th dimension.
  • the health data display device 1700 provided in the embodiment of the present application is used to perform the functions involved in the above-mentioned embodiment, and therefore can achieve the same effect as the above-mentioned method.
  • the health data display device 1700 provided in the embodiment of the present application may include a processing module or a control module for supporting the receiving unit 1701 and/or the display unit 1702 to complete the corresponding functions. .
  • FIG. 18 shows a schematic diagram of the composition of a chip system 1800.
  • the chip system 1800 may include: a processor 1801 and a communication interface 1802, which are used to support the electronic device to implement the functions involved in the foregoing embodiments.
  • the chip system 1800 also includes a memory for storing necessary program instructions and data for the terminal.
  • the chip system can be composed of chips, or include chips and other discrete devices.
  • FIG. 19 shows a schematic diagram of the composition of an electronic device 1900.
  • the electronic device 1900 may include: a processor 1901 and a memory 1902.
  • the memory 1902 is used to store computer execution instructions.
  • the processor 1901 executes the instructions stored in the memory 1902, the electronic device 1900 can be caused to perform S701-S704 as shown in FIG. 7 and other operations that the electronic device needs to perform.
  • the functions or actions or operations or steps in the foregoing embodiments can be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • a software program When implemented using a software program, it can be implemented in the form of a computer program product in whole or in part.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or include one or more data storage devices such as servers, data centers, etc. that can be integrated with the medium.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Medical Informatics (AREA)
  • Public Health (AREA)
  • Primary Health Care (AREA)
  • Epidemiology (AREA)
  • Biophysics (AREA)
  • Pathology (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Molecular Biology (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • Veterinary Medicine (AREA)
  • Physical Education & Sports Medicine (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A health data display method and an electronic device, relating the field of electronic devices, and solving the existing problem that current health data cannot be visually displayed to a user. The specific solution is: receiving a first operation of a user; displaying a first interface in response to the first operation, a first region of the first interface comprising M first elements, the M first elements corresponding to M dimensions, each first element of the M first elements being used for displaying the degree of completion of the corresponding dimension, the degree of completion of the dimension being the degree of completion of a task comprised in the dimension, the degree of completion of the plurality of tasks being determined according to the corresponding health data, and M being an integer greater than 1. A graph composed of the M first elements is a rotationally symmetric graph, and the area of any two of the M first elements is the same.

Description

一种健康数据展示方法和电子设备Health data display method and electronic equipment
本申请要求于2020年6月8日提交国家知识产权局、申请号为202010514771.8、申请名称为“一种健康数据展示方法和电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the State Intellectual Property Office on June 8, 2020, the application number is 202010514771.8, and the application name is "a method for displaying health data and electronic equipment", the entire content of which is incorporated by reference In this application.
技术领域Technical field
本申请实施例涉及电子设备领域,尤其涉及一种健康数据展示方法和电子设备。The embodiments of the present application relate to the field of electronic equipment, and in particular to a health data display method and electronic equipment.
背景技术Background technique
随着人们生活水平的提高,对于日常生活中的健康管理的需求越发高涨。目前,电子设备(如智能手机)中可以设置健康管理类的应用程序(application,APP),并通过该健康管理类的APP向用户展示采集到的用户的运动情况等健康数据。这样,用户就可以通过该电子设备中的APP,查看当前的健康情况,并据此实现用户对于自身健康的管理。With the improvement of people's living standards, the demand for health management in daily life is increasing. Currently, an electronic device (such as a smart phone) can be provided with a health management application (application, APP), and the collected health data such as the user's exercise status can be displayed to the user through the health management APP. In this way, the user can view the current health status through the APP in the electronic device, and implement the user's own health management based on this.
因此,电子设备通过APP向用户展示的包括健康数据界面,对于用户高效地对自身健康进行管理起到了非常重要的作用。Therefore, the health data interface displayed by the electronic device to the user through the APP plays a very important role for the user to efficiently manage their own health.
发明内容Summary of the invention
本申请实施例提供一种健康数据展示方法和电子设备,解决了目前无法直观地向用户展示当前健康数据的问题。The embodiment of the present application provides a health data display method and electronic device, which solves the current problem that current health data cannot be displayed intuitively to users.
为达到上述目的,本申请实施例采用如下技术方案:In order to achieve the foregoing objectives, the following technical solutions are adopted in the embodiments of the present application:
第一方面,提供一种健康数据展示方法,该方法包括:接收用户的第一操作。响应于该第一操作,展示第一界面,该第一界面的第一区域中包括M个第一元素,该M个第一元素与M个维度对应,该M个第一元素中的每个第一元素用于展示对应维度的完成度,该维度的完成度是该维度中包括任务的完成度,该多个任务的完成度是根据对应的健康数据确定的,M为大于1的整数。其中,由该M个第一元素构成的图形为旋转对称图形,并且,该M个第一元素中的任意两个元素的面积均相同。In a first aspect, a method for displaying health data is provided. The method includes: receiving a first operation of a user. In response to the first operation, a first interface is displayed, the first area of the first interface includes M first elements, the M first elements correspond to M dimensions, and each of the M first elements The first element is used to display the degree of completion of the corresponding dimension, the degree of completion of the dimension is the degree of completion of tasks included in the dimension, the degree of completion of the multiple tasks is determined according to the corresponding health data, and M is an integer greater than 1. Wherein, the graphic formed by the M first elements is a rotationally symmetric graphic, and the areas of any two elements in the M first elements are the same.
基于该方案,在本申请实施例中,可以通过将健康数据划分为不同的维度,每个维度下可以包括一个或多个任务,并通过全局展示该不同维度下的任务完成情况,使得用户能够清楚直观地知晓当前的健康数据完成情况。作为一种示例,在界面上可以以多叶草(如三叶草等)模型进行健康数据的展示,其中,多叶草的每个叶片可以为一个第一元素,每个叶片可以用于展示该第一元素对应维度的完成度。Based on this solution, in the embodiments of the present application, the health data can be divided into different dimensions, and each dimension can include one or more tasks, and the completion of tasks in the different dimensions can be displayed globally, so that users can Clearly and intuitively know the current health data completion status. As an example, a multi-leaf grass (such as clover, etc.) model can be used to display health data on the interface. Each leaf of the multi-leaf grass can be a first element, and each leaf can be used to display the first element. One element corresponds to the degree of completion of the dimension.
在一种可能的实现方式中,该第一区域中还包括N个第二元素,该N个第二元素中的每个元素均对应于一个第一元素,N是小于或等于M,且大于或等于0的整数。该第二元素包括在与该第二元素对应的第一元素内,用于指示该第一元素对应维度的完成度。基于该方案,可以通过设置更多的元素,使得用户可以通过该第一界面更加清楚地知晓当前健康数据。示例性的,以M为3,一个第一元素对应三叶草模型中的一个叶片为例。可以在第一界面上设置两个图层,其中,处于下层的图层可以为大小和颜色均不改变的三叶草,作为参考。在该图层的基础上可以设置上层图层,例如,在一个三叶草叶片中设置小的三叶草叶片作为第二元素。当该下层图层的三叶草对应维度的完成度发生变化时,可以通过小的三叶草的颜色,和/或面积(即大小),和/或透明度的差异,直观地向用户展示该维度的完成度。In a possible implementation manner, the first region further includes N second elements, each of the N second elements corresponds to a first element, and N is less than or equal to M and greater than Or an integer equal to 0. The second element is included in the first element corresponding to the second element, and is used to indicate the degree of completion of the dimension corresponding to the first element. Based on this solution, more elements can be set, so that the user can know the current health data more clearly through the first interface. Exemplarily, taking M as 3, one first element corresponds to one leaf in the clover model as an example. Two layers can be set on the first interface, among which, the lower layer can be clover whose size and color do not change, as a reference. An upper layer can be set on the basis of this layer, for example, a small clover leaf can be set as the second element in a clover leaf. When the degree of completion of the clover corresponding to the dimension of the lower layer changes, the color, and/or area (ie size), and/or transparency of the small clover can be used to intuitively show the user the degree of completion of the dimension .
在一种可能的实现方式中,该第一界面中,该M个第一元素的面积固定不变,该第二元素的面积根据与该第二元素对应的第一元素对应的维度的完成度确定。该第二元素的面积与该维度的完成度呈正相关的关系。基于该方案,提供了一种第二元素随着维度下任务完成度变化的实现方式,即随着任务完成度的提升,第二元素(如上述示例中的小叶片)的面积可以随之增加,以使得用户能够直观地通过小叶片的大小变化知晓对应维度下任务的完成进度。In a possible implementation manner, in the first interface, the area of the M first elements is fixed, and the area of the second element is based on the degree of completion of the dimension corresponding to the first element corresponding to the second element Sure. The area of the second element has a positive correlation with the degree of completion of the dimension. Based on this solution, an implementation method is provided in which the second element changes with the task completion degree under the dimension, that is, as the task completion degree increases, the area of the second element (such as the small blade in the above example) can be increased accordingly , So that the user can intuitively know the completion progress of the task in the corresponding dimension through the size change of the small blade.
在一种可能的实现方式中,该第一元素和该第二元素的颜色不同。基于该方案,使得用户可以通过颜色区分作为背景的第一元素和用于表征当前任务完成情况的第二元素的大小差异。In a possible implementation manner, the colors of the first element and the second element are different. Based on this solution, the user can distinguish the size difference between the first element used as the background and the second element used to characterize the completion of the current task by color.
在一种可能的实现方式中,该第一元素在展示在该第一界面上的过程中,以电子设备展示图像的二维坐标为参考,该第一元素的中心线在第一时刻与坐标轴呈第一夹角,该第一元素的中心线在第二时刻与该坐标轴呈第二夹角,该第二时刻晚于该第一时刻,该第二夹角与该第一夹角不同。基于该方案,在第一界面上展示第一元素时,可以通过动画效果的方式展示在界面上。例如,通过以三叶草叶片的叶根位置为原点的旋转展示。可以理解的是,当三叶草叶片进行旋转展示时,对应的中心线与坐标轴之间的夹角可以随着时间的变化而变化。其中,所述电子设备展示图像的二维坐标可以为以电子设备的展示屏的中心为原点,当用户手持电子设备,并且面对展示屏时,x轴正方向沿电子设备水平方向向右,y轴正方向为沿电子设备垂直方向向上。In a possible implementation manner, during the process of displaying the first element on the first interface, the two-dimensional coordinates of the image displayed by the electronic device are used as a reference, and the center line of the first element is aligned with the coordinates at the first moment. The axis forms a first angle, the center line of the first element forms a second angle with the coordinate axis at the second time, the second time is later than the first time, the second angle and the first angle different. Based on this solution, when the first element is displayed on the first interface, it can be displayed on the interface by way of animation effects. For example, it is displayed by rotating the position of the root of the clover blade as the origin. It is understandable that when the clover blade is rotated and displayed, the angle between the corresponding center line and the coordinate axis can change with time. Wherein, the two-dimensional coordinates of the displayed image of the electronic device can be based on the center of the display screen of the electronic device as the origin. When the user holds the electronic device and faces the display screen, the positive x-axis direction is to the right along the horizontal direction of the electronic device. The positive direction of the y-axis is upward along the vertical direction of the electronic device.
在一种可能的实现方式中,该第二元素在展示在该第一界面上的过程中,以电子设备展示图像的二维坐标为参考,该第二元素的中心线在第三时刻与坐标轴呈第三夹角,该第二元素的中心线在第四时刻与该坐标轴呈第四夹角,该第四时刻晚于该第三时刻,该第四夹角与该第三夹角不同。基于该方案,提供了第二元素在展示过程中的一种动态效果展示方式。其方式与上一种可能的实现方式中,第一元素的动态展示类似,其效果也可参考。In a possible implementation manner, during the process of displaying the second element on the first interface, the two-dimensional coordinates of the image displayed by the electronic device are used as a reference, and the center line of the second element is at the third time and coordinates The axis forms a third angle, the center line of the second element forms a fourth angle with the coordinate axis at the fourth time, the fourth time is later than the third time, the fourth angle and the third angle different. Based on this solution, a dynamic effect display mode of the second element in the display process is provided. The method is similar to the dynamic display of the first element in the previous possible implementation method, and its effect can also be referred to.
在一种可能的实现方式中,当该M个第一元素对应维度下的任务未被全部完成时,该M个第一元素的中每个第一元素的颜色各不相同。当该M个第一元素对应维度下的任务均被完成时,该M个第一元素的颜色相同。基于该方案,提供了一种后的展示方法,即当有任务没有被完成时,则每个不同的第一元素(如M叶草的叶片)可以具有不同的颜色。当所有任务均完成时,则将不同的第一元素的颜色归一化显示,例如可以显示为绿色。以便用户能够更加直观地知晓当前的任务是否全部被完成。In a possible implementation manner, when the tasks in the dimensions corresponding to the M first elements are not all completed, the color of each first element of the M first elements is different. When the tasks in the dimensions corresponding to the M first elements are all completed, the colors of the M first elements are the same. Based on this solution, a post-display method is provided, that is, when a task is not completed, each different first element (such as the leaves of M leaf grass) can have a different color. When all tasks are completed, the colors of different first elements are displayed in a normalized manner, for example, they may be displayed in green. So that users can more intuitively know whether the current tasks are all completed.
在一种可能的实现方式中,该方法还包括:接收用户的对该第一元素的第二操作。响应于该第二操作,展示第二界面,该第二界面包括该第一元素对应的维度下任务的详细完成情况。基于该方案,当用户想要通过第一元素获取对应维度下任务的详细情况时,可以对该第一元素输入点击,触摸等第二操作,则可以从界面上看的到对应维度下的任务的具体情况。例如该维度下都包括哪些任务,每个任务的当前完成情况,每个任务的目标等。In a possible implementation manner, the method further includes: receiving a second operation of the user on the first element. In response to the second operation, a second interface is displayed, and the second interface includes the detailed completion status of the task in the dimension corresponding to the first element. Based on this solution, when the user wants to obtain the detailed information of the task in the corresponding dimension through the first element, he can input the second operation such as click, touch, etc. on the first element, and the task in the corresponding dimension can be seen from the interface. Specific circumstances. For example, which tasks are included in this dimension, the current completion status of each task, and the goal of each task.
在一种可能的实现方式中,该第一界面还包括:第二区域,该第二区域包括通过如上述所述的任一种可能的健康数据展示方法展示的预设周期内的第一历史健康数据。基于该方案,在该第一界面上可以提供用户查看预设周期内的历史任务的完成情况的区域,即第二区域。该预设周期可以为一周,一个月等预设的时间周期。In a possible implementation manner, the first interface further includes: a second area, the second area including the first history within a preset period displayed by any of the possible health data display methods as described above Health data. Based on this solution, an area where the user can view the completion of historical tasks within a preset period can be provided on the first interface, that is, the second area. The preset period can be a preset time period such as one week, one month, etc.
在一种可能的实现方式中,第一历史健康数据是通过该预设周期内不同日期对应的 由M个第一元素构成的图像的缩略图进行展示的。基于该方案,由于第一界面的显示区域有限,因此本示例提供了一种较好的实现方式,即在每个时间周期对应的日期下显示当天的M叶草的缩略图,以便通过较小的占屏面积向用户展示较多的信息。In a possible implementation manner, the first historical health data is displayed through thumbnails of images composed of M first elements corresponding to different dates in the preset period. Based on this solution, due to the limited display area of the first interface, this example provides a better implementation method, which is to display the thumbnail of the current day's M leaf grass on the date corresponding to each time period, so as to pass the smaller Of the screen area to show users more information.
在一种可能的实现方式中,该方法还包括:接收用户的对该第二区域中的缩略图的第三操作。响应于该第三操作,在该第一区域展示与该缩略图对应的M个第一元素。基于该方案,当用户想要查看历史记录中的某一天的具体任务完成情况时,可以通过对对应的缩略图输入点击或触摸等第三操作,由此即可在第一区域中放大该缩略图,清晰地查看当天的任务完成情况。In a possible implementation manner, the method further includes: receiving a third operation of the user on the thumbnail in the second area. In response to the third operation, M first elements corresponding to the thumbnail are displayed in the first area. Based on this solution, when the user wants to view the completion of a specific task on a certain day in the history, he can input a third operation such as a click or touch on the corresponding thumbnail, so that the zoom can be enlarged in the first area. Thumbnails to clearly view the completion of tasks on the day.
在一种可能的实现方式中,该方法还包括:接收用户的对该第二区域中的缩略图的第四操作。响应于该第四操作,在该第一区域展示与该缩略图对应的M个第一元素和N个第二元素。基于该方案,在用户查看历史记录中的某天对应的任务完成情况时,在第一区域中可以显示第一元素,也可同时显示第二元素,以便用户能够通过第二元素清楚地了解当天任务的完成情况。In a possible implementation manner, the method further includes: receiving a fourth operation of the user on the thumbnail in the second area. In response to the fourth operation, M first elements and N second elements corresponding to the thumbnail are displayed in the first area. Based on this solution, when the user views the completion of the task corresponding to a certain day in the history, the first element can be displayed in the first area, and the second element can also be displayed at the same time, so that the user can clearly understand the day through the second element The completion of the task.
在一种可能的实现方式中,该方法还包括:接收用户对该第二区域的第五操作。响应于该第五操作,在该第二区域展示第二历史健康数据,该第二历史健康数据是通过该预设周期内不同日期对应的由M个第一元素构成的图像的缩略图进行展示的。该第二历史健康数据对应的时间不同于该第一为历史健康数据对应的时间。基于该方案,当用户想要查看更早或更晚的历史记录时,则可以通过向第二区域输入左滑或右滑的第五操作,以便在该第一界面上显示对应的预设周期内的历史记录。In a possible implementation manner, the method further includes: receiving a fifth operation of the user on the second area. In response to the fifth operation, the second historical health data is displayed in the second area, and the second historical health data is displayed through thumbnails of images composed of M first elements corresponding to different dates in the preset period of. The time corresponding to the second historical health data is different from the time corresponding to the first historical health data. Based on this solution, when the user wants to view earlier or later history records, he can input the fifth operation of sliding left or right into the second area to display the corresponding preset period on the first interface History within.
在一种可能的实现方式中,该第一界面还包括第三区域,该第三区域包括激励短语,该激励短语是根据该第一区域展示的M个第一元素对应的维度的完成度确定的。基于该方案,通过设置激励短语,使得用户能够收到电子设备根据当前的运动情况给出的健康管理建议,以便用户可以更加科学地对自身健康进行管理。示例性的,该激励短语可以是显示在当前日期下的第一界面中的,也可以是显示在历史日期下的第一界面中的。In a possible implementation manner, the first interface further includes a third area, the third area includes an incentive phrase, the incentive phrase is determined according to the degree of completion of the dimensions corresponding to the M first elements displayed in the first area of. Based on this solution, by setting the motivational phrase, the user can receive the health management advice given by the electronic device according to the current exercise situation, so that the user can manage his own health more scientifically. Exemplarily, the motivational phrase may be displayed on the first interface under the current date, or displayed on the first interface under the historical date.
在一种可能的实现方式中,该第一界面还包括第一控件,该方法包括:接收用户对该第一控件的第六操作。响应于该第六操作,展示第三界面,该第三界面包括与该第一区域展示的该M个第一元素对应的图像,以便于对此图像进行分享操作。基于该方案,在第一界面向用户提供了分享当前M叶草模型的入口,即第一控件。通过输入点击或触摸等第六操作,使得用户可获取包括当前M叶草模型对应图像的图片,进而据此进行健康数据的分享。In a possible implementation manner, the first interface further includes a first control, and the method includes: receiving a sixth operation of the user on the first control. In response to the sixth operation, a third interface is displayed, and the third interface includes images corresponding to the M first elements displayed in the first area, so as to facilitate sharing operations on the images. Based on this solution, the first interface provides users with an entrance to share the current M-leaf grass model, that is, the first control. By inputting a sixth operation such as clicking or touching, the user can obtain a picture that includes the corresponding image of the current M-leaf grass model, and then share health data accordingly.
在一种可能的实现方式中,该第一界面还包括第二控件,该方法还包括:接收用户对该第二控件的第七操作。响应于该第七操作,在该第一界面上展示配置菜单,以便于用户通过该配置菜单设置不同维度下的任务,或者,通过该配置菜单生成健康数据对应的周报/月报/年报。基于该方案,提供了使得用户能够主动管理M叶草中不同叶片对应维度,以及不同维度下对应任务的入口,即第二控件。通过输入点击或触摸等第七操作,使得用户可以从第一界面上看到配置菜单,进而通过对配置菜单中的目标管理功能的控件进行相关操作,实现对于维度以及维度下的任务的管理。另外,在该配置菜单中还可以包括生成周报,月报,季报,和/或年报的相关功能控件,使得用户可以对其进行对应的操作获取对应的集合数据。In a possible implementation manner, the first interface further includes a second control, and the method further includes: receiving a seventh operation of the user on the second control. In response to the seventh operation, a configuration menu is displayed on the first interface, so that the user can set tasks in different dimensions through the configuration menu, or generate weekly/monthly/annual reports corresponding to health data through the configuration menu. Based on this solution, a second control is provided that enables users to actively manage the corresponding dimensions of different blades in M-leaf grass and the corresponding tasks in different dimensions. By entering the seventh operation such as clicking or touching, the user can see the configuration menu from the first interface, and then perform related operations on the control of the target management function in the configuration menu to realize the management of the dimension and the tasks under the dimension. In addition, the configuration menu may also include related functional controls for generating weekly reports, monthly reports, quarterly reports, and/or annual reports, so that users can perform corresponding operations on them to obtain corresponding collection data.
在一种可能的实现方式中,该健康数据是电子设备自行获取的,和/或通过其他电子设备采集获取的,和/或通过用户自行输入的。基于该方案,说明了本申请中健康数据的 获取途径。例如,可以通过电子设备中设置的传感器模块获取一部分或全部健康数据。又如,可以通过与电子设备通信的可穿戴设备获取一部分或全部健康数据。又如,可以通过用户自行输入(如用户进行打卡操作等)。In a possible implementation manner, the health data is acquired by the electronic device itself, and/or acquired by other electronic devices, and/or input by the user. Based on this scheme, the way to obtain health data in this application is explained. For example, a part or all of the health data can be obtained through a sensor module provided in the electronic device. For another example, part or all of the health data can be obtained through a wearable device that communicates with an electronic device. For another example, it can be input by the user (for example, the user performs a check-in operation, etc.).
在一种可能的实现方式中,该方法还包括:接收用户的第八操作,该第八操作包括对该第一区域的双击操作,或长按操作,或缩放操作。响应于该第八操作,在该第一区域新增第一元素,该新增的第一元素对应的维度与当前第一区域中展示的第一元素对应的维度不同。基于该方案,提供了一种便捷的使得用户对不同维度及其中的任务进行管理的方式。即通过对M叶草中的一个叶片,和/或第一区域中的空白区域输入第八操作,获得增加或减少一个叶片的效果,同时用户还可以通过该界面对新增的叶片对应的维度信息进行修改和调整。可以理解是,当用户通过该第八操作新增或删除一个叶片时,对应的配置菜单中也会自动进行调整,可以保证第一界面中的M叶草的显示与配置菜单中的信息的一致性。In a possible implementation manner, the method further includes: receiving an eighth operation of the user, where the eighth operation includes a double-click operation, or a long-press operation, or a zoom operation on the first area. In response to the eighth operation, a first element is added to the first area, and the dimension corresponding to the newly added first element is different from the dimension corresponding to the first element currently displayed in the first area. Based on this solution, a convenient way for users to manage different dimensions and tasks in them is provided. That is, by inputting the eighth operation to a blade in the M leaf grass and/or the blank area in the first area, the effect of adding or reducing a blade can be obtained. At the same time, the user can also use the interface to adjust the dimension corresponding to the newly added blade. Information is modified and adjusted. It is understandable that when the user adds or deletes a blade through the eighth operation, the corresponding configuration menu will also be automatically adjusted, which can ensure that the display of M leaf grass in the first interface is consistent with the information in the configuration menu sex.
在一种可能的实现方式中,每个第一元素对应的维度中包括一个或多个任务;具有不同任务的完成度的第一元素的颜色,和/或透明度不同。基于该方案,提供了一种便于实现的展示方法,即在第一界面上只设置一个图层,该图层的颜色,和/或透明度与对应维度的完成度存在对应关系。通过调整不同元素的颜色或者透明度即可实现对于该维度下的任务完成情况的快速展示。当然,在另一些实施例中,还可通过调整该第一界面上第一元素的大小,实现对任务完成度的展示。In a possible implementation manner, the dimension corresponding to each first element includes one or more tasks; the colors and/or transparency of the first elements with different task completion degrees are different. Based on this solution, an easy-to-implement display method is provided, that is, only one layer is set on the first interface, and the color and/or transparency of the layer has a corresponding relationship with the completion degree of the corresponding dimension. By adjusting the color or transparency of different elements, you can quickly display the completion of tasks in this dimension. Of course, in other embodiments, the size of the first element on the first interface can also be adjusted to display the task completion degree.
在一种可能的实现方式中,针对该M个第一元素中的每个第一元素,当与该第一元素对应的维度下的所有任务均未完成时,该第一元素的颜色为第一颜色;当该维度下的所有任务均已完成时,该第一元素的颜色为第二颜色;第一元素的不同颜色用于表示对应维度下任务的不同完成度,该第一元素的颜色越深,对应维度的任务完成度越高。基于该方案,提供了一种具体的通过第一元素的颜色来展示对应该维度的任务完成度的方法。即颜色越深,则任务完成度越高,反之,颜色越浅,则任务完成度越低。In a possible implementation manner, for each first element of the M first elements, when all tasks in the dimension corresponding to the first element are not completed, the color of the first element is the first element. A color; when all tasks in the dimension have been completed, the color of the first element is the second color; the different colors of the first element are used to indicate the different degrees of completion of tasks in the corresponding dimension, and the color of the first element The deeper, the higher the completion of the task of the corresponding dimension. Based on this solution, a specific method for displaying the task completion degree of the corresponding dimension through the color of the first element is provided. That is, the darker the color, the higher the degree of completion of the task, on the contrary, the lighter the color, the lower the degree of completion of the task.
在一种可能的实现方式中,该第一元素的颜色根据如下公式确定:In a possible implementation, the color of the first element is determined according to the following formula:
Figure PCTCN2021092122-appb-000001
Figure PCTCN2021092122-appb-000001
其中,其中,S R为第一颜色的RGB的R值,E R为第二颜色的RGB的R值,N i为第i维度下的任务数量,i为第i维度下的已完成任务数量;S G为第一颜色的RGB的G值,E G为第二颜色的RGB的G值;S B为第一颜色的RGB的B值,E B为第二颜色的RGB的B值。基于该方案,提供了一种颜色与任务完成度之间的对应关系示例。通过该公式,即可获取当前任务完成度下需要显示的颜色。 Wherein, wherein R is R S of the first RGB color values, R E R is the second color values of RGB, N i is the number of tasks in the i-th dimension, i is the i-th dimension of the number of tasks have been completed ; S G is the G value of the RGB of the first color, E G is the G value of the RGB of the second color; S B is the B value of the RGB of the first color, and E B is the B value of the RGB of the second color. Based on this solution, an example of the correspondence between color and task completion is provided. Through this formula, the color that needs to be displayed under the current task completion degree can be obtained.
在一种可能的实现方式中,针对该M个第一元素中的每个第一元素,当与该第一元素对应的维度下的所有任务均未完成时,该第一元素的透明度为第一透明度;当该维度下的所有任务均已完成时,该第一元素的透明度为第二透明度;第一元素的不同透明度用于表示对应维度下任务的不同完成度,该第一元素的透明度越大,对应维度的任务完 成度越高。基于该方案,提供了又一种通过设置一个图层即可对任务的完成度进行展示的方案。即通过第一元素的透明度,展示对应任务的完成度。例如,透明度越大,则完成度越高,反之,透明度越小,则完成度越低。或者,透明度越小,则完成度越高,反之,透明度越大,则完成度越低。In a possible implementation manner, for each first element of the M first elements, when all tasks in the dimension corresponding to the first element are not completed, the transparency of the first element is the first element A transparency; when all tasks in this dimension have been completed, the transparency of the first element is the second transparency; the different transparency of the first element is used to indicate the different degrees of completion of the tasks in the corresponding dimension, and the transparency of the first element The larger the task, the higher the completion of the task of the corresponding dimension. Based on this solution, another solution is provided in which the completion of the task can be displayed by setting a layer. That is, through the transparency of the first element, the degree of completion of the corresponding task is shown. For example, the greater the transparency, the higher the degree of completion, on the contrary, the lower the transparency, the lower the degree of completion. Or, the smaller the transparency, the higher the degree of completion, on the contrary, the greater the transparency, the lower the degree of completion.
在一种可能的实现方式中,该第一元素的透明度根据如下公式确定:In a possible implementation, the transparency of the first element is determined according to the following formula:
Figure PCTCN2021092122-appb-000002
Figure PCTCN2021092122-appb-000002
其中,T 0为第一透明度,T N为结束透明度,N i为第i维度下的任务数量,i为第i维度下的已完成任务数量。基于该方案,提供了一种根据任务完成度确定需要显示的透明度的方法。 Wherein, T 0 is the first transparency, T N is the end of transparency, N i is the number of tasks in the i-th dimension, i is the number of completed tasks in the i-th dimension. Based on this solution, a method for determining the transparency that needs to be displayed according to the degree of completion of the task is provided.
第二方面,提供一种健康数据展示装置,该装置包括:接收单元,展示单元。该接收单元用于接收用户的第一操作。展示单元用于响应于该第一操作,展示第一界面,该第一界面的第一区域中包括M个第一元素,该M个第一元素与M个维度对应,该M个第一元素中的每个第一元素用于展示对应维度的完成度,该维度的完成度是该维度中包括任务的完成度,该多个任务的完成度是根据对应的健康数据确定的,M为大于1的整数。其中,由该M个第一元素构成的图形为旋转对称图形,并且,该M个第一元素中的任意两个元素的面积均相同。In a second aspect, a health data display device is provided. The device includes a receiving unit and a display unit. The receiving unit is used to receive the first operation of the user. The display unit is configured to display a first interface in response to the first operation. The first area of the first interface includes M first elements, the M first elements correspond to M dimensions, and the M first elements Each first element in is used to display the degree of completion of the corresponding dimension. The degree of completion of the dimension is the degree of completion of tasks included in the dimension. The degree of completion of the multiple tasks is determined according to the corresponding health data, and M is greater than An integer of 1. Wherein, the graphic formed by the M first elements is a rotationally symmetric graphic, and the areas of any two elements in the M first elements are the same.
在一种可能的实现方式中,该第一区域中还包括N个第二元素,该N个第二元素中的每个元素均对应于一个第一元素,N是小于或等于M,且大于或等于0的整数。该第二元素包括在与该第二元素对应的第一元素内,用于指示该第一元素对应维度的完成度。In a possible implementation manner, the first region further includes N second elements, each of the N second elements corresponds to a first element, and N is less than or equal to M and greater than Or an integer equal to 0. The second element is included in the first element corresponding to the second element, and is used to indicate the degree of completion of the dimension corresponding to the first element.
在一种可能的实现方式中,该第一界面中,该M个第一元素的面积固定不变,该第二元素的面积根据与该第二元素对应的第一元素对应的维度的完成度确定。该第二元素的面积与该维度的完成度呈正相关的关系。In a possible implementation manner, in the first interface, the area of the M first elements is fixed, and the area of the second element is based on the degree of completion of the dimension corresponding to the first element corresponding to the second element Sure. The area of the second element has a positive correlation with the degree of completion of the dimension.
在一种可能的实现方式中,该第一元素和该第二元素的颜色不同。In a possible implementation manner, the colors of the first element and the second element are different.
在一种可能的实现方式中,该第一元素在展示在该第一界面上的过程中,以电子设备展示图像的二维坐标为参考,该第一元素的中心线在第一时刻与坐标轴呈第一夹角,该第一元素的中心线在第二时刻与该坐标轴呈第二夹角,该第二时刻晚于该第一时刻,该第二夹角与该第一夹角不同。In a possible implementation manner, during the process of displaying the first element on the first interface, the two-dimensional coordinates of the image displayed by the electronic device are used as a reference, and the center line of the first element is aligned with the coordinates at the first moment. The axis forms a first angle, the center line of the first element forms a second angle with the coordinate axis at the second time, the second time is later than the first time, the second angle and the first angle different.
在一种可能的实现方式中,该第二元素在展示在该第一界面上的过程中,以电子设备展示图像的二维坐标为参考,该第二元素的中心线在第三时刻与坐标轴呈第三夹角,该第二元素的中心线在第四时刻与该坐标轴呈第四夹角,该第四时刻晚于该第三时刻,该第四夹角与该第三夹角不同。In a possible implementation manner, during the process of displaying the second element on the first interface, the two-dimensional coordinates of the image displayed by the electronic device are used as a reference, and the center line of the second element is at the third time and coordinates The axis forms a third angle, the center line of the second element forms a fourth angle with the coordinate axis at the fourth time, the fourth time is later than the third time, the fourth angle and the third angle different.
在一种可能的实现方式中,当该M个第一元素对应维度下的任务未被全部完成时,该M个第一元素的中每个第一元素的颜色各不相同。当该M个第一元素对应维度下的任务均被完成时,该M个第一元素的颜色相同。In a possible implementation manner, when the tasks in the dimensions corresponding to the M first elements are not all completed, the color of each first element of the M first elements is different. When the tasks in the dimensions corresponding to the M first elements are all completed, the colors of the M first elements are the same.
在一种可能的实现方式中,接收单元还用于接收用户的对该第一元素的第二操作。展示单元还用于响应于该第二操作,展示第二界面,该第二界面包括该第一元素对应的维度下任务的详细完成情况。In a possible implementation manner, the receiving unit is further configured to receive a second operation of the user on the first element. The display unit is further configured to display a second interface in response to the second operation, the second interface including detailed completion status of tasks in the dimension corresponding to the first element.
在一种可能的实现方式中,该第一界面还包括:第二区域,该第二区域包括通过如上述所述的任一种可能的健康数据展示装置展示的预设周期内的第一历史健康数据。In a possible implementation, the first interface further includes: a second area, and the second area includes the first history in a preset period displayed by any one of the possible health data display devices as described above. Health data.
在一种可能的实现方式中,第一历史健康数据是通过该预设周期内不同日期对应的由M个第一元素构成的图像的缩略图进行展示的。In a possible implementation manner, the first historical health data is displayed through thumbnails of images composed of M first elements corresponding to different dates in the preset period.
在一种可能的实现方式中,接收单元还用于接收用户的对该第二区域中的缩略图的第三操作。展示单元还用于响应于该第三操作,在该第一区域展示与该缩略图对应的M个第一元素。In a possible implementation manner, the receiving unit is further configured to receive a third operation of the user on the thumbnail in the second area. The display unit is further configured to display M first elements corresponding to the thumbnail in the first area in response to the third operation.
在一种可能的实现方式中,接收单元还用于接收用户的对该第二区域中的缩略图的第四操作。展示单元还用于响应于该第四操作,在该第一区域展示与该缩略图对应的M个第一元素和N个第二元素。In a possible implementation manner, the receiving unit is further configured to receive a fourth operation of the user on the thumbnail in the second area. The display unit is further configured to display M first elements and N second elements corresponding to the thumbnail in the first area in response to the fourth operation.
在一种可能的实现方式中,接收单元还用于接收用户对该第二区域的第五操作。展示单元还用于响应于该第五操作,在该第二区域展示第二历史健康数据,该第二历史健康数据是通过该预设周期内不同日期对应的由M个第一元素构成的图像的缩略图进行展示的。该第二历史健康数据对应的时间不同于该第一为历史健康数据对应的时间。In a possible implementation manner, the receiving unit is further configured to receive a fifth operation of the user on the second area. The display unit is further configured to display second historical health data in the second area in response to the fifth operation, where the second historical health data is an image composed of M first elements corresponding to different dates in the preset period Thumbnails for display. The time corresponding to the second historical health data is different from the time corresponding to the first historical health data.
在一种可能的实现方式中,该第一界面还包括第三区域,该第三区域包括激励短语,该激励短语是根据该第一区域展示的M个第一元素对应的维度的完成度确定的。In a possible implementation manner, the first interface further includes a third area, the third area includes an incentive phrase, the incentive phrase is determined according to the degree of completion of the dimensions corresponding to the M first elements displayed in the first area of.
在一种可能的实现方式中,该第一界面还包括第一控件,接收单元还用于接收用户对该第一控件的第六操作。展示单元还用于响应于该第六操作,展示第三界面,该第三界面包括与该第一区域展示的该M个第一元素对应的图像,以便于对此图像进行分享操作。In a possible implementation manner, the first interface further includes a first control, and the receiving unit is further configured to receive a sixth operation of the user on the first control. The display unit is further configured to display a third interface in response to the sixth operation. The third interface includes images corresponding to the M first elements displayed in the first area, so as to facilitate sharing operations on the images.
在一种可能的实现方式中,该第一界面还包括第二控件,接收单元还用于接收用户对该第二控件的第七操作。展示单元还用于响应于该第七操作,在该第一界面上展示配置菜单,以便于用户通过该配置菜单设置不同维度下的任务,或者,通过该配置菜单生成健康数据对应的周报/月报/年报。In a possible implementation manner, the first interface further includes a second control, and the receiving unit is further configured to receive a seventh operation of the user on the second control. The display unit is also used to display a configuration menu on the first interface in response to the seventh operation, so that the user can set tasks in different dimensions through the configuration menu, or generate a weekly/monthly report corresponding to health data through the configuration menu Report/Annual Report.
在一种可能的实现方式中,该健康数据是电子设备自行获取的,和/或通过其他电子设备采集获取的,和/或通过用户自行输入的。In a possible implementation manner, the health data is acquired by the electronic device itself, and/or acquired by other electronic devices, and/or input by the user.
在一种可能的实现方式中,接收单元还用于接收用户的第八操作,该第八操作包括对该第一区域的双击操作,或长按操作,或缩放操作。展示单元响应于该第八操作,在该第一区域新增第一元素,该新增的第一元素对应的维度与当前第一区域中展示的第一元素对应的维度不同。In a possible implementation manner, the receiving unit is further configured to receive an eighth operation of the user, and the eighth operation includes a double-click operation, or a long-press operation, or a zoom operation on the first area. In response to the eighth operation, the display unit adds a first element to the first area, and the dimension corresponding to the newly added first element is different from the dimension corresponding to the first element currently displayed in the first area.
在一种可能的实现方式中,每个第一元素对应的维度中包括一个或多个任务;具有不同任务的完成度的第一元素的颜色,和/或透明度不同。In a possible implementation manner, the dimension corresponding to each first element includes one or more tasks; the colors and/or transparency of the first elements with different task completion degrees are different.
在一种可能的实现方式中,针对该M个第一元素中的每个第一元素,当与该第一元素对应的维度下的所有任务均未完成时,该第一元素的颜色为第一颜色;当该维度下的所有任务均已完成时,该第一元素的颜色为第二颜色;第一元素的不同颜色用于表示对应维度下任务的不同完成度,该第一元素的颜色越深,对应维度的任务完成度越高。In a possible implementation manner, for each first element of the M first elements, when all tasks in the dimension corresponding to the first element are not completed, the color of the first element is the first element. A color; when all tasks in the dimension have been completed, the color of the first element is the second color; the different colors of the first element are used to indicate the different degrees of completion of tasks in the corresponding dimension, and the color of the first element The deeper, the higher the completion of the task of the corresponding dimension.
在一种可能的实现方式中,该第一元素的颜色根据如下公式确定:In a possible implementation, the color of the first element is determined according to the following formula:
Figure PCTCN2021092122-appb-000003
Figure PCTCN2021092122-appb-000003
其中,其中,S R为第一颜色的RGB的R值,E R为第二颜色的RGB的R值,N i为第i维度下的任务数量,i为第i维度下的已完成任务数量;S G为第一颜色的RGB的G值,E G为第二颜色的RGB的G值;S B为第一颜色的RGB的B值,E B为第二颜色的RGB的B值。 Wherein, wherein R is R S of the first RGB color values, R E R is the second color values of RGB, N i is the number of tasks in the i-th dimension, i is the i-th dimension of the number of tasks have been completed ; S G is the G value of the RGB of the first color, E G is the G value of the RGB of the second color; S B is the B value of the RGB of the first color, and E B is the B value of the RGB of the second color.
在一种可能的实现方式中,针对该M个第一元素中的每个第一元素,当与该第一元素对应的维度下的所有任务均未完成时,该第一元素的透明度为第一透明度;当该维度下的所有任务均已完成时,该第一元素的透明度为第二透明度;第一元素的不同透明度用于表示对应维度下任务的不同完成度,该第一元素的透明度越大,对应维度的任务完成度越高。In a possible implementation manner, for each first element of the M first elements, when all tasks in the dimension corresponding to the first element are not completed, the transparency of the first element is the first element A transparency; when all tasks in this dimension have been completed, the transparency of the first element is the second transparency; the different transparency of the first element is used to indicate the different degrees of completion of the tasks in the corresponding dimension, and the transparency of the first element The larger the task, the higher the completion of the task of the corresponding dimension.
在一种可能的实现方式中,该第一元素的透明度根据如下公式确定:In a possible implementation, the transparency of the first element is determined according to the following formula:
Figure PCTCN2021092122-appb-000004
Figure PCTCN2021092122-appb-000004
其中,T 0为第一透明度,T N为结束透明度,N i为第i维度下的任务数量,i为第i维度下的已完成任务数量。 Wherein, T 0 is the first transparency, T N is the end of transparency, N i is the number of tasks in the i-th dimension, i is the number of completed tasks in the i-th dimension.
第三方面,提供一种电子设备,该电子设备包括一个或多个处理器和一个或多个存储器。该一个或多个存储器与该一个或多个处理器耦合,该一个或多个存储器存储有计算机指令。当该一个或多个处理器执行该计算机指令时,使得该电子设备执行如上述第一方面及其可能的设置中任一项所述的健康数据展示方法。In a third aspect, an electronic device is provided. The electronic device includes one or more processors and one or more memories. The one or more memories are coupled with the one or more processors, and the one or more memories store computer instructions. When the one or more processors execute the computer instructions, the electronic device is caused to execute the health data display method as described in any one of the first aspect and possible settings thereof.
第四方面,提供一种计算机可读存储介质,该计算机可读存储介质包括计算机指令,当该计算机指令运行时,执行如上述第一方面及其可能的设置中任一项所述的健康数据展示方法。In a fourth aspect, a computer-readable storage medium is provided. The computer-readable storage medium includes computer instructions. When the computer instructions are executed, the health data described in any one of the first aspect and its possible settings are executed. Show method.
第五方面,提供一种芯片系统,该芯片包括处理电路和接口。该处理电路用于从存储介质中调用并运行该存储介质中存储的计算机程序,以执行如上述第一方面及其可能的设置中任一项所述的健康数据展示方法。In a fifth aspect, a chip system is provided, and the chip includes a processing circuit and an interface. The processing circuit is used to call and run the computer program stored in the storage medium from the storage medium to execute the health data display method as described in any one of the first aspect and its possible settings.
可以理解的是,上述第二方面至第五方面中任一种设计方式均可对应到上述第一方面及其任一种可能的设计,因此,能够带来类似的技术效果,此处不再赘述。It is understandable that any one of the above-mentioned second aspect to the fifth aspect can correspond to the above-mentioned first aspect and any one of its possible designs. Therefore, it can bring similar technical effects, which will not be omitted here. Go into details.
附图说明Description of the drawings
图1为一种健康数据展示的示意图;Figure 1 is a schematic diagram of health data display;
图2为本申请实施例提供的一种电子设备的组成示意图;2 is a schematic diagram of the composition of an electronic device provided by an embodiment of the application;
图3为本申请实施例提供的一种多叶草模型中叶片的绘制示意图;FIG. 3 is a schematic drawing of leaves in a multi-leaf grass model provided by an embodiment of the application;
图4为本申请实施例提供的一种叶片颜色变化的示意图;FIG. 4 is a schematic diagram of a color change of a leaf provided by an embodiment of the application;
图5为本申请实施例提供的一种多叶草模型的显示示意图;FIG. 5 is a schematic diagram of a display of a multi-leaf grass model provided by an embodiment of the application;
图6为本申请实施例提供的一种多叶草模型的展示过程示意图;FIG. 6 is a schematic diagram of a display process of a multi-leaf grass model provided by an embodiment of the application;
图7为本申请实施例提供的一种健康数据展示方法的流程示意图;FIG. 7 is a schematic flowchart of a method for displaying health data according to an embodiment of the application;
图8为本申请实施例提供的一种电子设备的界面的示意图;FIG. 8 is a schematic diagram of an interface of an electronic device provided by an embodiment of the application;
图9A为本申请实施例提供的又一种电子设备的界面的示意图;FIG. 9A is a schematic diagram of another interface of an electronic device provided by an embodiment of this application;
图9B为本申请实施例提供的又一种电子设备的界面的示意图;FIG. 9B is a schematic diagram of another interface of an electronic device provided by an embodiment of this application;
图9C为本申请实施例提供的又一种电子设备的界面的示意图;FIG. 9C is a schematic diagram of another interface of an electronic device provided by an embodiment of this application;
图10A为本申请实施例提供的又一种电子设备的界面的示意图;10A is a schematic diagram of an interface of yet another electronic device provided by an embodiment of this application;
图10B为本申请实施例提供的又一种电子设备的界面的示意图;10B is a schematic diagram of an interface of yet another electronic device provided by an embodiment of this application;
图11A为本申请实施例提供的又一种电子设备的界面的示意图;FIG. 11A is a schematic diagram of an interface of yet another electronic device provided by an embodiment of this application;
图11B为本申请实施例提供的又一种电子设备的界面的示意图;FIG. 11B is a schematic diagram of another interface of an electronic device provided by an embodiment of this application;
图11C为本申请实施例提供的又一种电子设备的界面的示意图;FIG. 11C is a schematic diagram of another interface of an electronic device provided by an embodiment of this application;
图12A为本申请实施例提供的又一种电子设备的界面的示意图;FIG. 12A is a schematic diagram of another interface of an electronic device provided by an embodiment of this application;
图12B为本申请实施例提供的又一种电子设备的界面的示意图;FIG. 12B is a schematic diagram of another interface of an electronic device provided by an embodiment of this application;
图12C为本申请实施例提供的又一种电子设备的界面的示意图;FIG. 12C is a schematic diagram of another interface of an electronic device provided by an embodiment of this application;
图12D为本申请实施例提供的又一种电子设备的界面的示意图;FIG. 12D is a schematic diagram of another interface of an electronic device provided by an embodiment of this application;
图13A为本申请实施例提供的又一种电子设备的界面的示意图;FIG. 13A is a schematic diagram of another interface of an electronic device provided by an embodiment of this application;
图13B为本申请实施例提供的又一种电子设备的界面的示意图;FIG. 13B is a schematic diagram of an interface of yet another electronic device provided by an embodiment of this application;
图14A为本申请实施例提供的又一种电子设备的界面的示意图;14A is a schematic diagram of an interface of yet another electronic device provided by an embodiment of the application;
图14B为本申请实施例提供的又一种电子设备的界面的示意图;14B is a schematic diagram of an interface of yet another electronic device provided by an embodiment of this application;
图14C为本申请实施例提供的又一种电子设备的界面的示意图;14C is a schematic diagram of an interface of yet another electronic device provided by an embodiment of this application;
图15A为本申请实施例提供的又一种电子设备的界面的示意图;15A is a schematic diagram of an interface of yet another electronic device provided by an embodiment of this application;
图15B为本申请实施例提供的又一种电子设备的界面的示意图;15B is a schematic diagram of an interface of yet another electronic device provided by an embodiment of this application;
图16A为本申请实施例提供的又一种电子设备的界面的示意图;16A is a schematic diagram of an interface of yet another electronic device provided by an embodiment of this application;
图16B为本申请实施例提供的又一种电子设备的界面的示意图;16B is a schematic diagram of an interface of yet another electronic device provided by an embodiment of this application;
图16C为本申请实施例提供的又一种电子设备的界面的示意图;16C is a schematic diagram of an interface of yet another electronic device provided by an embodiment of this application;
图16D为本申请实施例提供的又一种电子设备的界面的示意图;16D is a schematic diagram of an interface of yet another electronic device provided by an embodiment of this application;
图16E为本申请实施例提供的又一种电子设备的界面的示意图;16E is a schematic diagram of an interface of yet another electronic device provided by an embodiment of this application;
图17为本申请实施例提供的一种健康数据展示装置的组成示意图;FIG. 17 is a schematic diagram of the composition of a health data display device provided by an embodiment of the application;
图18为本申请实施例提供的一种芯片系统的组成示意图;FIG. 18 is a schematic diagram of the composition of a chip system provided by an embodiment of the application;
图19为本申请实施例提供的一种电子设备的组成示意图。FIG. 19 is a schematic diagram of the composition of an electronic device provided by an embodiment of the application.
具体实施方式detailed description
一般而言,用户可以通过其电子设备(如智能手机,智能手表等)中设置的健康管理类APP,进行自身健康的管理。需要说明的是,本申请中,健康数据可以为用于提供给用户以便用户能够根据该数据主动进行健康管理的数据。例如,该健康数据可以包括运动数据(如步数,中高强度运动次数等)。该健康数据还可以包括睡眠数据(如规律睡眠等)。该健康数据还可以包括情绪数据(如是否进行呼吸训练等)。示例性的,用户可以在电子设备上输入启动该健康管理类APP的操作,作为对该操作的响应,电子设备可以运行该APP,并展示首页内容。例如,结合图1,以电子设备为如图1所示的智能手机(或简称为手机),其中设置的APP1为健康管理类APP为例。如图1中的(a)所示,用户可以触摸手机展示屏上APP1的图标,以触发手机启动APP1。在启动给APP1后,手机界面上可以展示如图1中的(b)所示的界面。其中,可以包括用户当前的运动情况。如图1中的(b)所示,该界面上可以展示有用户当前的步数(如4590步),以及用户当前是否进行过健身活动(如尚未进行)。根据这些健康数据,用户就可以对自身的健康情况进行有效的管理。例如,以用户的目标步数为6000步为例。当用户看到当前步数不足6000步,如当前步数为4590步,则可以通过适当增加行走,以完成目标步数。又如,用户的目标健身活动进行次数为2次为例。当用户看到当前尚未进行健身时,则可以适当安排健身活动,以完成目标。Generally speaking, users can manage their own health through health management apps set in their electronic devices (such as smart phones, smart watches, etc.). It should be noted that, in this application, the health data may be data used to provide the user so that the user can actively perform health management based on the data. For example, the health data may include exercise data (such as the number of steps, the number of medium and high intensity exercises, etc.). The health data may also include sleep data (such as regular sleep, etc.). The health data may also include emotional data (such as whether to perform breathing training, etc.). Exemplarily, the user can input an operation to start the health management APP on the electronic device. As a response to the operation, the electronic device can run the APP and display the content of the homepage. For example, in conjunction with FIG. 1, the electronic device is a smart phone (or simply referred to as a mobile phone) as shown in FIG. 1, and APP1 is set as a health management APP as an example. As shown in Figure 1 (a), the user can touch the APP1 icon on the display screen of the mobile phone to trigger the mobile phone to start APP1. After starting to APP1, the interface shown in Figure 1 (b) can be displayed on the mobile phone interface. Among them, it can include the user's current exercise situation. As shown in (b) in Figure 1, the user's current number of steps (such as 4590 steps) and whether the user has currently performed fitness activities (if not performed yet) can be displayed on the interface. Based on these health data, users can effectively manage their own health. For example, take the user's target number of steps of 6000 as an example. When the user sees that the current number of steps is less than 6000 steps, for example, the current number of steps is 4590 steps, you can increase the number of walking appropriately to complete the target number of steps. As another example, the user’s target fitness activity is performed twice as an example. When the user sees that no fitness is currently being performed, the fitness activity can be appropriately arranged to complete the goal.
目前,健康管理类APP可以通过在其对应的界面上展示用户的当前活动情况等健康数据,以实现向用户展示对应信息。但是,这种展示方法过于单一,用户无法通过该界 面直观获取当前健康数据,由此也就无法有效地激励用户主动进行健康管理。At present, the health management APP can display the user's current activity status and other health data on its corresponding interface to display corresponding information to the user. However, this display method is too singular, and users cannot intuitively obtain current health data through this interface, and thus cannot effectively motivate users to take the initiative in health management.
为了解决上述问题,本申请实施例提供一种健康数据展示方法,能够更加直观地向用户展示其健康数据,以激励用户据此进行健康管理。In order to solve the above-mentioned problem, the embodiment of the present application provides a health data display method, which can display the health data to the user more intuitively, so as to encourage the user to perform health management accordingly.
下面将结合附图对本申请实施例的实施方式进行详细描述。The implementation of the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings.
需要说明的是,本申请实施例提供的健康数据展示方法,可以应用在用户的电子设备中。该电子设备可以是手机、平板电脑、个人数字助理(personal digital assistant,PDA)、增强现实(augmented reality,AR)\虚拟现实(virtual reality,VR)设备、媒体播放器等设置有展示屏的便携式移动设备,该电子设备也可以是智能手表,智能手环等设置有展示屏的可穿戴电子设备。本申请实施例对该设备的具体形态不作特殊限制。It should be noted that the health data display method provided in the embodiments of the present application can be applied to a user's electronic device. The electronic device can be a mobile phone, a tablet computer, a personal digital assistant (PDA), an augmented reality (AR)\virtual reality (VR) device, a media player, etc., a portable device with a display screen. A mobile device. The electronic device can also be a wearable electronic device with a display screen, such as a smart watch or a smart bracelet. The embodiment of the application does not impose special restrictions on the specific form of the device.
请参考图2,为本申请实施例提供的一种电子设备200的结构示意图,如图2所示,该电子设备200可以包括处理器210,外部存储器接口220,内部存储器230,通用串行总线(universal serial bus,USB)接口240,充电管理模块250,电源管理模块251,电池252,天线1,天线2,移动通信模块260,无线通信模块270,音频模块280,扬声器280A,受话器280B,麦克风280C,耳机接口280D,传感器模块290,按键291,马达292,指示器293,摄像头294,展示屏295,以及用户标识模块(subscriber identification module,SIM)卡接口296等。其中,传感器模块可以包括压力传感器,陀螺仪传感器,气压传感器,磁传感器,加速度传感器,距离传感器,接近光传感器,指纹传感器,温度传感器,触摸传感器,环境光传感器,骨传导传感器等。Please refer to FIG. 2, which is a schematic structural diagram of an electronic device 200 provided by an embodiment of this application. As shown in FIG. 2, the electronic device 200 may include a processor 210, an external memory interface 220, an internal memory 230, and a universal serial bus. (universal serial bus, USB) interface 240, charging management module 250, power management module 251, battery 252, antenna 1, antenna 2, mobile communication module 260, wireless communication module 270, audio module 280, speaker 280A, receiver 280B, microphone 280C, earphone interface 280D, sensor module 290, buttons 291, motor 292, indicator 293, camera 294, display screen 295, subscriber identification module (SIM) card interface 296, etc. Among them, the sensor module may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc.
可以理解的是,本实施例示意的结构并不构成对电子设备200的具体限定。在另一些实施例中,电子设备200可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device 200. In other embodiments, the electronic device 200 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.
处理器210可以包括一个或多个处理单元,例如:处理器210可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 210 may include one or more processing units. For example, the processor 210 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait. Among them, the different processing units may be independent devices or integrated in one or more processors.
控制器可以是电子设备200的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller may be the nerve center and command center of the electronic device 200. The controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
处理器210中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器210中的存储器为高速缓冲存储器。该存储器可以保存处理器210刚用过或循环使用的指令或数据。如果处理器210需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器210的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 210 for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. The memory can store instructions or data that have just been used or recycled by the processor 210. If the processor 210 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 210 is reduced, and the efficiency of the system is improved.
电子设备200可以通过GPU,展示屏295,以及应用处理器210等实现展示功能。GPU为图像处理的微处理器,连接展示屏295和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器210可包括一个或多个GPU,其执行程序指令以生成或改变展示信息。The electronic device 200 may implement a display function through a GPU, a display screen 295, an application processor 210, and the like. The GPU is a microprocessor for image processing, which is connected to the display screen 295 and the application processor. The GPU is used to perform mathematical and geometric calculations and is used for graphics rendering. The processor 210 may include one or more GPUs, which execute program instructions to generate or change display information.
展示屏295用于展示图像,视频等。展示屏295包括展示面板。展示面板可以采用液晶展示屏295(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light  emitting diode,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备200可以包括1个或N个展示屏295,N为大于1的正整数。The display screen 295 is used to display images, videos, etc. The display screen 295 includes a display panel. The display panel can be a liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode). light emitting diode (AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diode (QLED), etc. In some embodiments, the electronic device 200 may include one or N display screens 295, and N is a positive integer greater than one.
电子设备200的无线通信功能可以通过天线1,天线2,移动通信模块260,无线通信模块270,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 200 can be implemented by the antenna 1, the antenna 2, the mobile communication module 260, the wireless communication module 270, the modem processor, and the baseband processor.
天线1和天线2用于发射和接收电磁波信号。电子设备200中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 200 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna can be used in combination with a tuning switch.
移动通信模块260可以提供应用在电子设备200上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块260可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块260可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块260还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块260的至少部分功能模块可以被设置于处理器210中。在一些实施例中,移动通信模块260的至少部分功能模块可以与处理器210的至少部分模块被设置在同一个器件中。The mobile communication module 260 may provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the electronic device 200. The mobile communication module 260 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), and the like. The mobile communication module 260 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modem processor for demodulation. The mobile communication module 260 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves for radiation via the antenna 1. In some embodiments, at least part of the functional modules of the mobile communication module 260 may be provided in the processor 210. In some embodiments, at least part of the functional modules of the mobile communication module 260 and at least part of the modules of the processor 210 may be provided in the same device.
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器280A,受话器280B等)输出声音信号,或通过展示屏295展示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器210,与移动通信模块260或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. The low-frequency baseband signal is processed by the baseband processor and then passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 280A, a receiver 280B, etc.), or displays an image or video through a display screen 295. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 210 and be provided in the same device as the mobile communication module 260 or other functional modules.
无线通信模块270可以提供应用在电子设备200上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块270可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块270经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器210。无线通信模块270还可以从处理器210接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 270 can provide applications on the electronic device 200 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellites. System (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. The wireless communication module 270 may be one or more devices integrating at least one communication processing module. The wireless communication module 270 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 210. The wireless communication module 270 can also receive a signal to be sent from the processor 210, perform frequency modulation, amplify, and convert it into electromagnetic waves to radiate through the antenna 2.
在一些实施例中,电子设备200的天线1和移动通信模块260耦合,天线2和无线通信模块270耦合,使得电子设备200可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导 航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the electronic device 200 is coupled with the mobile communication module 260, and the antenna 2 is coupled with the wireless communication module 270, so that the electronic device 200 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc. The GNSS may include the global positioning system (GPS), the global navigation satellite system (GLONASS), the Beidou navigation satellite system (BDS), and the quasi-zenith satellite system (quasi). -zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
作为一种示例,以电子设备200为手机为例。手机可以通过天线1和/或天线2以及其中设置的无线通信模块270,与可穿戴电子设备进行通信连接。以便手机能够通过可穿戴电子设备采集获取用户的健康数据。As an example, take the electronic device 200 as a mobile phone as an example. The mobile phone can communicate with the wearable electronic device through the antenna 1 and/or the antenna 2 and the wireless communication module 270 provided therein. So that mobile phones can collect user health data through wearable electronic devices.
本示例中,电子设备200中可以设置的传感器模块290中可以包括多个不同的传感器,以便对各项电子设备200运行所需的数据进行采集。In this example, the sensor module 290 that can be provided in the electronic device 200 may include multiple different sensors, so as to collect various data required for the operation of the electronic device 200.
其中,触摸传感器,也称“触控面板”。触摸传感器可以设置于展示屏295,由触摸传感器与展示屏295组成触摸屏,也称“触控屏”。触摸传感器用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。在一些实施例中,可以通过展示屏295提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器也可以设置于电子设备200的表面,与展示屏295所处的位置不同。Among them, the touch sensor is also called "touch panel". The touch sensor may be provided on the display screen 295, and the touch screen is composed of the touch sensor and the display screen 295, which is also called a “touch screen”. The touch sensor is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. In some embodiments, the display screen 295 may provide visual output related to the touch operation. In other embodiments, the touch sensor may also be disposed on the surface of the electronic device 200, which is different from the position of the display screen 295.
压力传感器用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器可以设置于展示屏295。压力传感器的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器,电极之间的电容改变。电子设备200根据电容的变化确定压力的强度。当有触摸操作作用于展示屏295,电子设备200根据压力传感器检测所述触摸操作强度。电子设备200也可以根据压力传感器的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。The pressure sensor is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor may be provided on the display screen 295. There are many types of pressure sensors, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors and so on. The capacitive pressure sensor may include at least two parallel plates with conductive materials. When a force is applied to the pressure sensor, the capacitance between the electrodes changes. The electronic device 200 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 295, the electronic device 200 detects the intensity of the touch operation according to the pressure sensor. The electronic device 200 may also calculate the touched position according to the detection signal of the pressure sensor. In some embodiments, touch operations that act on the same touch position but have different touch operation intensities can correspond to different operation instructions. For example: when a touch operation whose intensity is less than the first pressure threshold is applied to the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
陀螺仪传感器可以用于确定电子设备200的运动姿态。在一些实施例中,可以通过陀螺仪传感器确定电子设备200围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器检测电子设备200抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备200的抖动,实现防抖。陀螺仪传感器还可以用于导航,体感游戏场景。The gyroscope sensor can be used to determine the movement posture of the electronic device 200. In some embodiments, the angular velocity of the electronic device 200 around three axes (ie, x, y, and z axes) can be determined by a gyroscope sensor. The gyroscope sensor can be used for shooting anti-shake. Exemplarily, when the shutter is pressed, the gyroscope sensor detects the jitter angle of the electronic device 200, and calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to counteract the jitter of the electronic device 200 through reverse movement to achieve anti-shake. The gyroscope sensor can also be used for navigation and somatosensory game scenes.
气压传感器用于测量气压。在一些实施例中,电子设备200通过气压传感器测得的气压值计算海拔高度,辅助定位和导航。The air pressure sensor is used to measure air pressure. In some embodiments, the electronic device 200 calculates the altitude based on the air pressure value measured by the air pressure sensor to assist positioning and navigation.
磁传感器包括霍尔传感器。电子设备200可以利用磁传感器检测翻盖皮套的开合。在一些实施例中,当电子设备200是翻盖机时,电子设备200可以根据磁传感器检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。The magnetic sensor includes a Hall sensor. The electronic device 200 may use a magnetic sensor to detect the opening and closing of the flip holster. In some embodiments, when the electronic device 200 is a flip machine, the electronic device 200 can detect the opening and closing of the flip according to the magnetic sensor. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, features such as automatic unlocking of the flip cover are set.
加速度传感器可检测电子设备200在各个方向上(一般为三轴)加速度的大小。当电子设备200静止时可检测出重力的大小及方向。还可以用于识别电子设备200姿态,应用于横竖屏切换,计步器等应用。The acceleration sensor can detect the magnitude of the acceleration of the electronic device 200 in various directions (generally three axes). When the electronic device 200 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device 200, and be used in applications such as horizontal and vertical screen switching, pedometers, and so on.
距离传感器,用于测量距离。电子设备200可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备200可以利用距离传感器测距以实现快速对焦。Distance sensor, used to measure distance. The electronic device 200 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 200 may use a distance sensor to measure the distance to achieve fast focusing.
接近光传感器可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发 光二极管可以是红外发光二极管。电子设备200通过发光二极管向外发射红外光。电子设备200使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备200附近有物体。当检测到不充分的反射光时,电子设备200可以确定电子设备200附近没有物体。电子设备200可以利用接近光传感器检测用户手持电子设备200贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器也可用于皮套模式,口袋模式自动解锁与锁屏。The proximity light sensor may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 200 emits infrared light to the outside through the light emitting diode. The electronic device 200 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 200. When insufficient reflected light is detected, the electronic device 200 can determine that there is no object near the electronic device 200. The electronic device 200 can use the proximity light sensor to detect that the user holds the electronic device 200 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor can also be used in the leather case mode, and the pocket mode automatically unlocks and locks the screen.
环境光传感器用于感知环境光亮度。电子设备200可以根据感知的环境光亮度自适应调节展示屏295亮度。环境光传感器也可用于拍照时自动调节白平衡。环境光传感器还可以与接近光传感器配合,检测电子设备200是否在口袋里,以防误触。The ambient light sensor is used to sense the brightness of the ambient light. The electronic device 200 can adaptively adjust the brightness of the display screen 295 according to the perceived brightness of the ambient light. The ambient light sensor can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor can also cooperate with the proximity light sensor to detect whether the electronic device 200 is in the pocket to prevent accidental touch.
指纹传感器用于采集指纹。电子设备200可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。The fingerprint sensor is used to collect fingerprints. The electronic device 200 can use the collected fingerprint characteristics to realize fingerprint unlocking, access application locks, fingerprint photographs, fingerprint answering calls, and so on.
温度传感器用于检测温度。在一些实施例中,电子设备200利用温度传感器检测的温度,执行温度处理策略。例如,当温度传感器上报的温度超过阈值,电子设备200执行降低位于温度传感器附近的处理器210的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备200对电池252加热,以避免低温导致电子设备200异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备200对电池252的输出电压执行升压,以避免低温导致的异常关机。The temperature sensor is used to detect temperature. In some embodiments, the electronic device 200 uses the temperature detected by the temperature sensor to execute the temperature processing strategy. For example, when the temperature reported by the temperature sensor exceeds a threshold, the electronic device 200 performs a reduction in the performance of the processor 210 located near the temperature sensor, so as to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 200 heats the battery 252 to avoid abnormal shutdown of the electronic device 200 due to low temperature. In some other embodiments, when the temperature is lower than another threshold, the electronic device 200 boosts the output voltage of the battery 252 to avoid abnormal shutdown caused by low temperature.
骨传导传感器可以获取振动信号。在一些实施例中,骨传导传感器可以获取人体声部振动骨块的振动信号。骨传导传感器也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器也可以设置于耳机中,结合成骨传导耳机。音频模块280可以基于所述骨传导传感器获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器获取的血压跳动信号解析心率信息,实现心率检测功能。Bone conduction sensors can acquire vibration signals. In some embodiments, the bone conduction sensor can obtain the vibration signal of the vibrating bone mass of the human voice. The bone conduction sensor can also contact the human pulse and receive the blood pressure pulse signal. In some embodiments, the bone conduction sensor may also be provided in the earphone, combined with the bone conduction earphone. The audio module 280 can parse the voice signal based on the vibration signal of the vibrating bone block of the voice obtained by the bone conduction sensor to realize the voice function. The application processor may analyze the heart rate information based on the blood pressure beating signal obtained by the bone conduction sensor, and realize the heart rate detection function.
在本申请实施例中,处理器210可以用于根据用户输入的启动健康管理类APP的操作,启动对应的APP,并在展示屏295上展示对应的界面。例如,当想要打开健康管理类APP“运动健康”时,触摸展示屏295上“运动健康”APP的图标。作为对该触摸操作的响应,处理器210可以启动该“运动健康”APP,并在展示屏295上展示该“运动健康”APP的首页界面。In the embodiment of the present application, the processor 210 may be configured to start the corresponding APP according to the operation of starting the health management APP input by the user, and display the corresponding interface on the display screen 295. For example, when you want to open the health management APP "sports and health", touch the icon of the "sports and health" APP on the display screen 295. In response to the touch operation, the processor 210 may start the "sports and health" APP, and display the home page interface of the "sports and health" APP on the display screen 295.
该处理器210还可以用于在传感器模块290的配合下,获取传感器模块290采集获取的用户的部分或所有健康数据。当然,用户的部分健康数据也可以是与电子设备200通信的可穿戴电子设备提供的。也就是说,电子设备200获取的用户的健康数据中,可以包括通过电子设备200的传感器模块290获取的健康数据,也可以包括通过用户的可穿戴电子设备获取的健康数据,当然也可同时包括通过传感器模块290获取的健康数据以及通过可穿戴电子设备获取的健康数据。The processor 210 may also be used to obtain part or all of the user's health data collected by the sensor module 290 with the cooperation of the sensor module 290. Of course, part of the user's health data may also be provided by a wearable electronic device that communicates with the electronic device 200. That is to say, the user's health data acquired by the electronic device 200 may include the health data acquired through the sensor module 290 of the electronic device 200, may also include the health data acquired through the user's wearable electronic device, and of course may also include The health data acquired through the sensor module 290 and the health data acquired through the wearable electronic device.
在本申请实施例中,该健康数据可以包括多个不同维度的数据,例如,该健康数据可以包括睡眠维度的数据,活动维度的数据,以及情绪维度的数据。其中,睡眠维度的数据可以包括与用户的睡眠相关数据,例如用户的睡眠质量,用户的入睡时间,以及用户的起床时间等。活动维度的数据可以包括与用户的活动相关的数据,例如用户的步数,用户参与中高强度运动的时间,以及用户进行健身训练的次数等。情绪维度的数据可以包括与用户的情绪相关的数据,例如用户进行呼吸训练的次数,用户的心率情况等。In the embodiment of the present application, the health data may include data of multiple different dimensions. For example, the health data may include data of a sleep dimension, data of an activity dimension, and data of an emotion dimension. Among them, the sleep dimension data may include data related to the user's sleep, such as the user's sleep quality, the user's sleep time, and the user's wake-up time. The data of the activity dimension may include data related to the user's activity, such as the number of steps of the user, the time the user participates in medium and high-intensity sports, and the number of times the user performs fitness training. The emotional dimension data may include data related to the user's emotions, such as the number of times the user performs breathing training, the user's heart rate, and so on.
需要说明的是,在另一些实施例中,用户的健康数据也可以是用户通过触摸“运动健 康”APP中展示的界面上的按钮,如“打卡”按钮,输入给电子设备200中的处理器210的。例如,在“运动健康”APP的界面上可以展示有健身训练的“打卡”按钮,在用户进行一次健身训练之后,可以通过触摸该“打卡”按钮,输入已经完成健身训练的操作。It should be noted that in other embodiments, the user's health data may also be input to the processor in the electronic device 200 by the user touching a button on the interface displayed in the "sports and health" APP, such as a "check in" button. 210's. For example, the "check in" button for fitness training can be displayed on the interface of the "sports and health" APP. After the user has performed a fitness training, he can touch the "check in" button to input the operation of completing the fitness training.
处理器210还可以用于在获取用户的健康数据后,可以在“运动健康”APP中的一个界面上通过可视化的图像,展示用户目前的健康数据。例如,可以通过三叶草模型,展示用户的健康数据。其中,三叶草中的每个叶片可以用于标识一个维度的健康数据。处理器210可以通过控制每个叶片的大小,颜色以及亮度等特征,标识当前健康数据与预设目标之间的对应关系。其具体的健康数据展示方法将在下面详细说明,此处不再赘述。The processor 210 may also be used to display the user's current health data through visual images on an interface in the "sports and health" APP after acquiring the user's health data. For example, the clover model can be used to display the user's health data. Among them, each leaf in the clover can be used to identify one dimension of health data. The processor 210 can identify the corresponding relationship between the current health data and the preset target by controlling the size, color, and brightness of each blade. The specific health data display method will be described in detail below, and will not be repeated here.
电子设备200可以通过ISP,摄像头294,视频编解码器,GPU,展示屏295以及应用处理器等实现拍摄功能。The electronic device 200 can implement a shooting function through an ISP, a camera 294, a video codec, a GPU, a display screen 295, and an application processor.
ISP用于处理摄像头294反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头294感光元件上,光信号转换为电信号,摄像头294感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头294中。The ISP is used to process the data fed back by the camera 294. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the camera 294 through the lens, and the light signal is converted into an electrical signal. The photosensitive element of the camera 294 transmits the electrical signal to the ISP for processing and is converted into an image visible to the naked eye. ISP can also optimize the image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be provided in the camera 294.
摄像头294用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备200可以包括1个或N个摄像头294,N为大于1的正整数。The camera 294 is used to capture still images or videos. The object generates an optical image through the lens and is projected to the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transfers the electrical signal to the ISP to convert it into a digital image signal. ISP outputs digital image signals to DSP for processing. DSP converts digital image signals into standard RGB, YUV and other formats of image signals. In some embodiments, the electronic device 200 may include 1 or N cameras 294, and N is a positive integer greater than 1.
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备200在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 200 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
视频编解码器用于对数字视频压缩或解压缩。电子设备200可以支持一种或多种视频编解码器。这样,电子设备200可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。Video codecs are used to compress or decompress digital video. The electronic device 200 may support one or more video codecs. In this way, the electronic device 200 can play or record videos in multiple encoding formats, such as: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
NPU为神经网络(neural-network,NN)计算处理器210,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备200的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。The NPU is a neural-network (NN) computing processor 210. By learning from a biological neural network structure, for example, a transfer mode between human brain neurons, the input information can be quickly processed, and it can also continuously self-learn. Through the NPU, applications such as intelligent cognition of the electronic device 200 can be realized, such as image recognition, face recognition, voice recognition, text understanding, and so on.
充电管理模块250用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块250可以通过USB接口240接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块250可以通过电子设备200的无线充电线圈接收无线充电输入。充电管理模块250为电池252充电的同时,还可以通过电源管理模块251为电子设备200供电。The charging management module 250 is used to receive charging input from the charger. Among them, the charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 250 may receive the charging input of the wired charger through the USB interface 240. In some embodiments of wireless charging, the charging management module 250 may receive the wireless charging input through the wireless charging coil of the electronic device 200. While the charging management module 250 charges the battery 252, it can also supply power to the electronic device 200 through the power management module 251.
电源管理模块251用于连接电池252,充电管理模块250与处理器210。电源管理模块251接收电池252和/或充电管理模块250的输入,为处理器210,内部存储器230,外部存储器,展示屏295,摄像头294,和无线通信模块270等供电。电源管理模块251还可以用于监测电池252容量,电池252循环次数,电池252健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块251也可以设置于处理器210中。在另一 些实施例中,电源管理模块251和充电管理模块250也可以设置于同一个器件中。The power management module 251 is used to connect the battery 252, the charging management module 250 and the processor 210. The power management module 251 receives input from the battery 252 and/or the charge management module 250, and supplies power to the processor 210, the internal memory 230, the external memory, the display screen 295, the camera 294, and the wireless communication module 270. The power management module 251 can also be used to monitor the capacity of the battery 252, the number of cycles of the battery 252, and the health status (leakage, impedance) of the battery 252 and other parameters. In some other embodiments, the power management module 251 may also be provided in the processor 210. In other embodiments, the power management module 251 and the charging management module 250 may also be provided in the same device.
外部存储器接口220可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备200的存储能力。外部存储卡通过外部存储器接口220与处理器210通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 220 may be used to connect an external memory card, such as a Micro SD card, so as to expand the storage capacity of the electronic device 200. The external memory card communicates with the processor 210 through the external memory interface 220 to realize the data storage function. For example, save music, video and other files in an external memory card.
内部存储器230可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器210通过运行存储在内部存储器230的指令,从而执行电子设备200的各种功能应用以及数据处理。内部存储器230可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备200使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器230可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。The internal memory 230 may be used to store computer executable program code, the executable program code including instructions. The processor 210 executes various functional applications and data processing of the electronic device 200 by running instructions stored in the internal memory 230. The internal memory 230 may include a storage program area and a storage data area. Among them, the storage program area can store an operating system, at least one application program (such as a sound playback function, an image playback function, etc.) required by at least one function. The data storage area can store data (such as audio data, phone book, etc.) created during the use of the electronic device 200. In addition, the internal memory 230 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like.
电子设备200可以通过音频模块280,扬声器280A,受话器280B,麦克风280C,耳机接口280D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 200 can implement audio functions through an audio module 280, a speaker 280A, a receiver 280B, a microphone 280C, a headphone interface 280D, and an application processor. For example, music playback, recording, etc.
音频模块280用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块280还可以用于对音频信号编码和解码。在一些实施例中,音频模块280可以设置于处理器210中,或将音频模块280的部分功能模块设置于处理器210中。The audio module 280 is used for converting digital audio information into an analog audio signal for output, and also for converting an analog audio input into a digital audio signal. The audio module 280 can also be used to encode and decode audio signals. In some embodiments, the audio module 280 may be provided in the processor 210, or part of the functional modules of the audio module 280 may be provided in the processor 210.
扬声器280A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备200可以通过扬声器280A收听音乐,或收听免提通话。The speaker 280A, also called "speaker", is used to convert audio electrical signals into sound signals. The electronic device 200 can listen to music through the speaker 280A, or listen to a hands-free call.
受话器280B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备200接听电话或语音信息时,可以通过将受话器280B靠近人耳接听语音。The receiver 280B, also called a "handset", is used to convert audio electrical signals into sound signals. When the electronic device 200 answers a call or voice message, it can receive the voice by bringing the receiver 280B close to the human ear.
麦克风280C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息或需要通过语音助手触发电子设备200执行某些功能时,用户可以通过人嘴靠近麦克风280C发声,将声音信号输入到麦克风280C。电子设备200可以设置至少一个麦克风280C。在另一些实施例中,电子设备200可以设置两个麦克风280C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备200还可以设置三个,四个或更多麦克风280C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。 Microphone 280C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending voice information, or when the electronic device 200 needs to be triggered to perform certain functions through a voice assistant, the user can approach the microphone 280C through the mouth to make a sound, and input the sound signal into the microphone 280C. The electronic device 200 may be provided with at least one microphone 280C. In other embodiments, the electronic device 200 may be provided with two microphones 280C, which can implement noise reduction functions in addition to collecting sound signals. In some other embodiments, the electronic device 200 may also be provided with three, four or more microphones 280C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions.
耳机接口280D用于连接有线耳机。耳机接口280D可以是USB接口240,也可以是3.5mm的开放移动电子设备200平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。The earphone interface 280D is used to connect wired earphones. The earphone interface 280D can be a USB interface 240, or a 3.5mm open mobile terminal platform (OMTP) standard interface, and a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface .
按键291包括开机键,音量键等。按键291可以是机械按键291。也可以是触摸式按键291。电子设备200可以接收按键291输入,产生与电子设备200的用户设置以及功能控制有关的键信号输入。The button 291 includes a power-on button, a volume button, and so on. The button 291 may be a mechanical button 291. It may also be a touch button 291. The electronic device 200 can receive key 291 input, and generate key signal input related to user settings and function control of the electronic device 200.
马达292可以产生振动提示。马达292可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于展示屏295不同区域的触摸操作,马达292也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。The motor 292 can generate vibration prompts. The motor 292 can be used for vibrating notification of incoming calls, and can also be used for touch vibration feedback. For example, touch operations that act on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. Acting on touch operations in different areas of the display screen 295, the motor 292 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminding, receiving information, alarm clock, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
指示器293可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。The indicator 293 can be an indicator light, which can be used to indicate the charging status, power change, and can also be used to indicate messages, missed calls, notifications, and so on.
SIM卡接口296用于连接SIM卡。SIM卡可以通过插入SIM卡接口296,或从SIM卡接口296拔出,实现和电子设备200的接触和分离。电子设备200可以支持1个或N个SIM卡接口296,N为大于1的正整数。SIM卡接口296可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口296可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口296也可以兼容不同类型的SIM卡。SIM卡接口296也可以兼容外部存储卡。电子设备200通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备200采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备200中,不能和电子设备200分离。The SIM card interface 296 is used to connect to the SIM card. The SIM card can be inserted into the SIM card interface 296 or pulled out from the SIM card interface 296 to achieve contact and separation with the electronic device 200. The electronic device 200 may support one or N SIM card interfaces 296, and N is a positive integer greater than one. The SIM card interface 296 may support Nano SIM cards, Micro SIM cards, SIM cards, etc. The same SIM card interface 296 can insert multiple cards at the same time. The types of the multiple cards can be the same or different. The SIM card interface 296 can also be compatible with different types of SIM cards. The SIM card interface 296 may also be compatible with external memory cards. The electronic device 200 interacts with the network through the SIM card to implement functions such as call and data communication. In some embodiments, the electronic device 200 adopts an eSIM, that is, an embedded SIM card. The eSIM card can be embedded in the electronic device 200 and cannot be separated from the electronic device 200.
本申请实施例提供的健康数据展示方法均可以在上述电子设备200中实现。以下结合示例对该方法进行详细介绍。The health data display methods provided in the embodiments of the present application can all be implemented in the electronic device 200 described above. The following describes the method in detail with an example.
可以理解的是,目前对于健康数据的展示,可以通过如图1所示的选项卡进行展示,也可以通过直线或环形进度条来展示健康数据的情况。但是,通过这些方式将健康数据展示给用户,无法使得用户能够直观地获取其健康数据的整体情况。It is understandable that the current display of health data can be displayed through the tab as shown in Figure 1, or the health data can be displayed through a linear or circular progress bar. However, displaying health data to users in these ways cannot enable users to intuitively obtain the overall situation of their health data.
一般而言,用户可以通过针对不同的健康数据,设置对应的任务以及与该任务对应的目标。当健康数据达到该任务的目标时,则表示完成该任务。通过完成一个或多个任务,用户就可以实现根据健康数据对自身健康状态的主动管理。Generally speaking, users can set corresponding tasks and goals corresponding to the tasks by targeting different health data. When the health data reaches the goal of the task, it means that the task is completed. By completing one or more tasks, users can implement active management of their own health status based on health data.
本申请实施例提供的健康数据展示方法中,可以通过多叶草(如三叶草,四叶草等)模型展示不同任务的完成情况。例如,可以将不同的任务根据其对应的健康数据的类型,划分为不同的维度,每个维度可以对应到多叶草模型中的一个叶片。通过展示具有上述对应关系的多叶草模型,实现对用户健康数据的整体展示。使得用户能够更加直观全面地知晓每个维度下不同任务的完成情况,进而据此进行主动的健康管理。In the health data display method provided by the embodiments of the present application, the completion of different tasks can be displayed through a multi-leaf clover (such as clover, four-leaf clover, etc.) model. For example, different tasks can be divided into different dimensions according to the types of their corresponding health data, and each dimension can correspond to a leaf in the multi-leaf grass model. By displaying the multi-leaf grass model with the above-mentioned corresponding relationship, the overall display of the user's health data is realized. This enables users to more intuitively and comprehensively know the completion of different tasks in each dimension, and then perform active health management accordingly.
其中,在多叶草模型中展示的不同维度所对应的任务以及健康数据,可以是用户自行选择的,也可以是预置在电子设备中的。类似的,每个维度下的任务以及对应任务的目标,可以是用户自行设置的,也可以是电子设备中预置的推荐值。例如,以通过具有三个叶片的三叶草模型来展示三个不同维度下的任务,其中三个不同维度分别为包括步数任务,中高运动强度任务,以及健身训练任务的运动维度;包括规律起床任务的睡眠维度;以及包括呼吸训练的情绪维度为例。运动维度中的任务可以是用户通过输入点击操作等操作从任务库中选取的,其目标可以是用户通过虚拟键盘或实体键盘或其他输入设备输入的。当用户未配置该维度下的任务以及任务目标时,电子设备可以根据预置在电子设备中的推荐之确定对应任务的目标。其中,该推荐值可以是根据大数据获取的,也可以是电子设备根据用户的历史任务完成情况灵活确定。类似的,对于三个维度中的其他两个维度(如睡眠维度以及情绪维度),其任务及任务对应的目标的确定可以参考上述运动维度的确定方法,此处不再赘述。Among them, the tasks and health data corresponding to different dimensions displayed in the multi-leaf grass model may be selected by the user or preset in the electronic device. Similarly, the tasks in each dimension and the goals of the corresponding tasks can be set by the user themselves, or can be recommended values preset in the electronic device. For example, a three-leaf clover model is used to show tasks in three different dimensions, of which the three different dimensions are the movement dimensions including the step count task, the medium and high exercise intensity task, and the fitness training task; including the regular wake-up task The dimensions of sleep; and the emotional dimension of breathing training, for example. The tasks in the motion dimension can be selected by the user from the task library through operations such as input and click operations, and the target can be input by the user through a virtual keyboard or a physical keyboard or other input devices. When the user has not configured the task and task goal in this dimension, the electronic device can determine the goal of the corresponding task according to the recommendations preset in the electronic device. Wherein, the recommended value may be obtained based on big data, or it may be flexibly determined by the electronic device based on the user's historical task completion status. Similarly, for the other two dimensions of the three dimensions (such as the sleep dimension and the emotional dimension), the task and the target corresponding to the task can be determined by referring to the method for determining the movement dimension, which will not be repeated here.
示例性的,可以将用户的健康数据对应的任务划分到M个维度中,如X 1-X M,M为大于或等于1的整数。每个维度中可以包括N i个任务,其中,i=1,2,3,……,M,N i可以用于标识维度X i中包括的任务数量。例如,X 1维度中包括N 1个任务,X 2维度中包括N 2个任务,以此类推,X M维度中包括N M个任务。 Exemplarily, the tasks corresponding to the user's health data may be divided into M dimensions, such as X 1 -X M , where M is an integer greater than or equal to 1. Each dimension may include tasks N i where, i = 1,2,3, ......, M , N i may be used to identify the number of tasks included in the dimension X i. For example, the X 1 dimension includes N 1 tasks, the X 2 dimension includes N 2 tasks, and so on, the X M dimension includes N M tasks.
在本示例中,针对M个维度中的每个维度,可以对应到多叶草模型中的一个叶片。例如,X 1维度对应到叶片1,X 2维度对应到叶片2,X M维度对应到叶片M。也就是说, 在对包括M个维度的健康数据进行展示时,可以采用具有M个叶片的M叶草模型进行展示。 In this example, for each of the M dimensions, it can correspond to one leaf in the multi-leaf grass model. For example, the dimension X 1 corresponds to blade 1, the dimension X 2 corresponds to blade 2, and the dimension X M corresponds to blade M. That is to say, when displaying health data including M dimensions, an M-leaf grass model with M leaves can be used for display.
应当理解的是,M叶草模型中的每个叶片与电子设备中的目标管理等设置菜单中增加维度和任务存在对应关系。也就是说,当目标管理等设置菜单中,由用户设置或其他方式而增加或减少了维度和/或任务时,对应的M叶草模型也会发生变化。例如,当用户通过目标管理菜单,增加了健康数据的维度(如从之前的3个维度增加到了4个维度),则M叶草中的叶片数量也会发生对应的变化(如从之前的3个叶片增加到4个叶片)。It should be understood that each blade in the M-leaf grass model has a corresponding relationship with the added dimensions and tasks in the setting menu such as target management in the electronic device. That is to say, when the dimensions and/or tasks are increased or decreased by user settings or other methods in the setting menu such as goal management, the corresponding M-leaf grass model will also change. For example, when the user increases the dimensions of health data through the target management menu (for example, from the previous 3 dimensions to 4 dimensions), the number of leaves in the M leaf grass will also change correspondingly (for example, from the previous 3 dimensions). The number of leaves is increased to 4 leaves).
需要说明的是,在一些实现方式中,用户可以通过电子设备的界面,直接控制调整目标管理等设置菜单中维度与任务的选定数量和类型。在另一些实现方式中,用户还可以通过对M叶片中其中任意一片叶子的操作,增加叶片。例如,用户可以通过双击,或按压一定时间,或拖拽,或缩放等操作实现对M叶草模型的叶片的增加或减少。对应的,在叶片增加或减少的同时,目标管理等设置菜单中的维度和任务也会发生对应的变化。It should be noted that in some implementations, users can directly control the selected number and types of dimensions and tasks in setting menus such as adjustment target management through the interface of the electronic device. In other implementations, the user can also add leaves by operating any one of the M leaves. For example, the user can increase or decrease the blades of the M-leaf grass model by double-clicking, or pressing for a certain period of time, or dragging, or zooming. Correspondingly, as the blades increase or decrease, the dimensions and tasks in the setting menus such as goal management will also change accordingly.
作为一种示例,处理器可以根据如下方法绘制并限制M叶草模型对应的每一个叶片。As an example, the processor may draw and limit each leaf corresponding to the M-leaf grass model according to the following method.
请参考图3,为本申请实施例提供的一种三叶草叶片的绘制示意图。如图3中的(a)所示,处理器可以通过分别进行圆形(或椭圆形)绘制以及三角形绘制,获取三叶草叶片的轮廓,并在该轮廓基础上进行美化处理(如将棱角处理为圆角等),获取三叶草叶片的图像。其中,三角形以及环形或椭圆形可以具有不同的相对位置关系。例如,在一些实现方式中,该三角形的左边与右边可以是如图中所示的与圆形所外切的关系。又如,在另一些实现方式中,该三角形的左右两个定点也可以是设置在圆形的外沿上的。Please refer to FIG. 3, which is a schematic drawing of a clover leaf provided in an embodiment of this application. As shown in (a) in Figure 3, the processor can obtain the outline of the clover blade by drawing a circle (or ellipse) and a triangle respectively, and perform beautification processing on the basis of the outline (such as processing the edges and corners as Fillet, etc.) to obtain an image of the clover leaf. Among them, the triangle, the ring or the ellipse may have different relative positional relationships. For example, in some implementations, the left side and the right side of the triangle may be circumscribed to the circle as shown in the figure. For another example, in other implementations, the left and right fixed points of the triangle may also be set on the outer edge of the circle.
应当理解的是,处理器可以通过类似方法绘制M叶草中的其他叶片,并在同一个图层中展示,以实现对M叶草的展示。当然,处理器也可以在获取如图3中的(b)所示的一个叶片的图像后,将该叶片的图像进行旋转或者对称处理,以获取其他叶片的图像。It should be understood that the processor can draw other leaves in the M-leaf grass by a similar method, and display them in the same layer, so as to realize the display of the M-leaf grass. Of course, the processor may also perform rotation or symmetry processing on the image of the blade after obtaining the image of one blade as shown in (b) of FIG. 3 to obtain images of other blades.
本申请中,为了区分不同的叶片对应不同维度的任务,在一些实现方式中,不同叶片的颜色可以不同。针对M叶草模型中的每个叶片,可以通过调整该叶片的颜色的深度,和/或透明度,和/或面积等可视化参数,来标识对应维度下的任务完成情况。In this application, in order to distinguish tasks of different dimensions corresponding to different blades, in some implementation manners, the colors of different blades may be different. For each leaf in the M-leaf grass model, visual parameters such as the depth, and/or transparency, and/or area of the color of the leaf can be adjusted to identify the completion of the task in the corresponding dimension.
示例性的,在一些实施例中,可以通过调整叶片颜色的深度来标识对应维度下的任务完成情况。以设置叶片的开始颜色为(S R,S G,S B),设置叶片的结束颜色为(E R,E G,E B)为例。可以理解的是,不同深度的颜色可以在RGB标准色谱下对应到不同的颜色值(即RGB值),因此,本示例中,可以以RGB标准色谱下不同的颜色值来标识不同的颜色以及颜色深度。例如,开始颜色(S R,S G,S B)可以为FCA077。又如,结束颜色(E R,E G,E B)可以为FB6522。 Exemplarily, in some embodiments, the depth of the color of the leaf can be adjusted to identify the completion of the task in the corresponding dimension. Take setting the start color of the blade as ( SR , S G , S B ) and the end color of the blade as (E R , E G , E B ) as an example. It is understandable that colors of different depths can correspond to different color values (ie RGB values) under the RGB standard color spectrum. Therefore, in this example, different color values under the RGB standard color spectrum can be used to identify different colors and colors. depth. For example, the starting color ( SR , S G , S B ) can be FCA077. For another example, the end color (E R , E G , E B ) can be FB6522.
本示例中,随着该叶片对应维度下的任务的完成度不断上升,可以根据如下公式(1)确定对应完成度下的叶片颜色深度,如用(R i,G i,B i)标识在某一中间状态下叶片的颜色值。 In this example, as the degree of completion of the task in the corresponding dimension of the blade continues to rise, the color depth of the blade under the corresponding degree of completion can be determined according to the following formula (1), such as (R i , G i , B i ) The color value of the leaf in an intermediate state.
Figure PCTCN2021092122-appb-000005
Figure PCTCN2021092122-appb-000005
其中,S R为开始颜色的RGB的R值,E R为结束颜色的RGB的R值,N i为第i维度下的任务数量,i为第i维度下的已完成任务数量。S G为开始颜色的RGB的G值,E G为结束颜色的RGB的G值。S B为开始颜色的RGB的B值,E B为结束颜色的RGB的B值。 Wherein, S R is the start values of RGB colors R, E R R value is the end color of RGB, N i is the number of tasks in the i-th dimension, i is the number of completed tasks in the i-th dimension. S G is the G value of the RGB of the start color, and E G is the G value of the RGB of the end color. S B is the RGB B value of the start color, and E B is the RGB B value of the end color.
例如,以维度1下包括3个任务,其中有1个任务已被完成,即N i=3,i=1为例。对应叶片的颜色可以被设置为(R 1,G 1,B 1)。其中,
Figure PCTCN2021092122-appb-000006
Figure PCTCN2021092122-appb-000007
For example, take dimension 1 including 3 tasks, of which 1 task has been completed, that is, N i =3, i=1 as an example. The color of the corresponding leaf can be set to (R 1 , G 1 , B 1 ). in,
Figure PCTCN2021092122-appb-000006
Figure PCTCN2021092122-appb-000007
需要说明的是,在本申请的另一些实现方式中,叶片的颜色还可以是根据任务的完成度调整的。此时,公式(1)中的i/N i可以用于该维度中,任务的完成进度。示例性的,以该维度中包括步行,中高强度运动,以及健身训练,步行的目标为6000步为例。在所有三个任务均为完成,但是步行任务完成了50%(即已经完成3000步)时,该公式(1)中的i/N i可以为根据该步行任务完成度(即50%)换算获取的整个维度的任务完成度,如换算的结果可以为25%。则处理器可以将对应叶片的颜色调整为(R 1',G' 1,B 1'),其中,R 1'=S R+(E R-S R)×25%,G 1'=S G+(E G-S G)×25%,B 1'=S B+(E B-S B)×25%。 It should be noted that in other implementations of the present application, the color of the blade may also be adjusted according to the degree of completion of the task. At this time, i/N i in formula (1) can be used for the completion progress of the task in this dimension. Exemplarily, taking this dimension includes walking, mid-to-high intensity exercise, and fitness training, and the goal of walking is 6000 steps as an example. When all three tasks are completed, but 50% of the walking task is completed (that is, 3000 steps have been completed), i/N i in the formula (1) can be converted according to the completion degree of the walking task (that is, 50%) The obtained task completion degree of the entire dimension, such as the conversion result, can be 25%. The processor may correspond to color adjustment blade (R 1 ', G' 1 , B 1 '), wherein, R 1' = S R + (E R -S R) × 25%, G 1 '= S G +(E G -S G )×25%, B 1 '=S B +(E B -S B )×25%.
由此,用户就可以通过叶片的颜色,直观地获取该维度下任务的完成情况。例如,请参考图4,叶片401对应的较浅的颜色可以用于标识对应维度中的任务完成度较低,或者尚未完成对应维度下的任务。随着任务完成度的提高,该叶片的颜色可以变化为叶片402所示的较深的颜色。需要说明的是,在界面上展示该叶片的颜色变换时,其变化过程可以是动态示出的,也可以是直接切换的。例如,该动态示出的效果可以为叶片的颜色从开始颜色逐渐向中间状态下的颜色的缓慢变化,最终停止在叶片的颜色为中间状态下对应的颜色。又如,该直接切换的效果可以为叶片的颜色直接展示为中间状态下对应的颜色。In this way, the user can intuitively obtain the completion status of the task in this dimension through the color of the blade. For example, referring to FIG. 4, the lighter color corresponding to the blade 401 can be used to identify that the task in the corresponding dimension is low in completion, or the task in the corresponding dimension has not been completed. As the task completion degree increases, the color of the blade can be changed to a darker color shown by the blade 402. It should be noted that when the color change of the blade is displayed on the interface, the change process can be dynamically displayed or directly switched. For example, the effect of the dynamic display may be a slow change of the color of the leaf from the initial color to the color in the intermediate state, and finally stop when the color of the leaf is the corresponding color in the intermediate state. For another example, the effect of the direct switching may be that the color of the leaf is directly displayed as the corresponding color in the intermediate state.
需要说明的是,由于采用M叶草进行健康数据的展示时,界面上可能会出现多个叶片图像用于标识不同维度的健康数据。因此,为了区分不同叶片对应的维度,本申请实施例中,还可以在每个叶片中设置用于标识对应维度的图像标识。例如,如图4中的403可以用于标识该叶片是运动维度对应的叶片。其中,在本示例中,该与项目维度对应的图像标识可以是依据用户自定义选择进行设置的。也可以是电子设备依据项目类型,根据项目类型自动进行匹配获取的。其中用户自定义选择或者电子设备自动匹配的图像标识来源可以是电子设备本地存储的图像标识数据库,也可以是来源于网络数据库,本申请实施例对此不做限制。It should be noted that when M leaf grass is used to display health data, multiple leaf images may appear on the interface to identify health data of different dimensions. Therefore, in order to distinguish the dimensions corresponding to different blades, in this embodiment of the present application, an image identifier for identifying the corresponding dimension may also be set in each blade. For example, 403 in FIG. 4 can be used to identify that the blade is a blade corresponding to the movement dimension. Wherein, in this example, the image identifier corresponding to the item dimension may be set according to user-defined selection. It can also be that the electronic device automatically matches and obtains the item according to the item type. The source of the image identification selected by the user or automatically matched by the electronic device may be an image identification database stored locally in the electronic device, or may be derived from a network database, which is not limited in the embodiment of the present application.
在另一些实施例中,可以通过设置叶片的透明度来标识对应维度下的任务完成情况。以设置叶片的开始透明度为第一透明度(如20%),设置叶片的结束透明度为第二值(如80%)为例。In other embodiments, the transparency of the blade can be set to identify the completion of the task in the corresponding dimension. Take, for example, setting the start transparency of the blade to the first transparency (such as 20%) and setting the end transparency of the blade to the second value (such as 80%).
随着该叶片对应维度下的任务的完成度不断上升,可以根据如下公式(2)确定对应完成度下的叶片的透明度,如用T i标识在某一中间状态下叶片的透明度。 As the completion degree of the task in the corresponding dimension of the blade continues to rise, the transparency of the blade under the corresponding degree of completion can be determined according to the following formula (2), for example, T i is used to identify the transparency of the blade in an intermediate state.
Figure PCTCN2021092122-appb-000008
Figure PCTCN2021092122-appb-000008
其中,T 0为第一透明度,T N为结束透明度,N i为第i维度下的任务数量,i为第i维度下的已完成任务数量。 Wherein, T 0 is the first transparency, T N is the end of transparency, N i is the number of tasks in the i-th dimension, i is the number of completed tasks in the i-th dimension.
例如,以维度2下包括3个任务,其中已经有2个任务被完成,即N i=3,i=2为例。对应叶片的透明度可以被设置为
Figure PCTCN2021092122-appb-000009
For example, the dimensions 2 includes three tasks, which have two tasks is completed, i.e., N i = 3, i = 2 as an Example. The transparency of the corresponding blade can be set to
Figure PCTCN2021092122-appb-000009
类似于上述关于颜色变化的说明,在本申请的另一些实现方式中,叶片的透明度还可以是根据任务的完成度调整的。此时,公式(2)中的i/N i可以用于该维度中,任务的完成进度。示例性的,以该维度中包括步行,中高强度运动,以及健身训练,步行的目标为6000步为例。在所有三个任务均为完成,但是步行任务完成了50%(即已经完成3000步)时,该公式(2)中的i/N i可以为根据该步行任务完成度(即50%)换算获取的整个维度的任务完成度,如换算的结果可以为25%。则处理器可以将对应叶片的透明度调整为T i'=T 0+(T N-T 0)×25%。 Similar to the above description of the color change, in other implementations of the present application, the transparency of the blade may also be adjusted according to the degree of completion of the task. At this time, i/N i in formula (2) can be used for the completion progress of the task in this dimension. Exemplarily, taking this dimension includes walking, mid-to-high intensity exercise, and fitness training, and the goal of walking is 6000 steps as an example. When all three tasks are completed, but 50% of the walking task is completed (that is, 3000 steps have been completed), i/N i in the formula (2) can be converted according to the completion degree of the walking task (that is, 50%) The obtained task completion degree of the entire dimension, such as the conversion result, can be 25%. Then the processor can adjust the transparency of the corresponding blade to T i '=T 0 +(T N -T 0 )×25%.
由此,用户就可以通过叶片的透明度,直观地获取该维度下任务的完成情况。In this way, the user can intuitively obtain the completion of tasks in this dimension through the transparency of the blade.
在另一些实施例中,还可以通过调整叶片的面积来标识对应维度下的任务完成情况。由此,用户就可以通过观察叶片的面积,直观地获取该维度下任务的完成情况。In other embodiments, the area of the blade can also be adjusted to identify the completion of the task in the corresponding dimension. In this way, the user can intuitively obtain the completion of the task in this dimension by observing the area of the blade.
需要说明的是,在实际实现中,可以采用上述三种方式中的任一种(即随着任务完成度调整对应叶片的颜色的深度、透明度或尺寸中任意一个参数)实现对对应维度下健康数据的展示。也可以结合上述三种方式中的任意两种,或三种同时使用,实现对对应维度下健康数据的展示。It should be noted that in actual implementation, any one of the above three methods can be used (that is, any one of the depth, transparency, or size of the color of the corresponding leaf is adjusted with the completion of the task) to achieve health in the corresponding dimension. Display of data. It is also possible to combine any two of the above three methods, or use the three at the same time to realize the display of health data in the corresponding dimensions.
可以理解的是,通过上述三种方式,电子设备的处理器可以通过在界面上展示包括一个图层的M叶草图像,使得用户能够通过该M叶草图像,直观快速地获知不同维度下的任务完成情况,进而获取整体的健康数据,并据此进行其他动作。例如,如果某一维度下的任务完成度较低,则加强该维度下任务的相关动作。由此实现用户根据M叶草图像所展示的健康数据进行主动的健康管理的目的。It is understandable that through the above three methods, the processor of the electronic device can display the M-leaf grass image including one layer on the interface, so that the user can intuitively and quickly learn the M leaf grass image in different dimensions through the M-leaf image. The completion of the task, and then obtain the overall health data, and perform other actions accordingly. For example, if the degree of completion of a task in a certain dimension is low, strengthen the related actions of the task in that dimension. This achieves the purpose of the user's active health management based on the health data displayed in the M leaf grass image.
在另一些实现方式中,为了使得用户能够更加清楚地获取不同维度下的任务完成情况,本申请还提供一种健康数据的展示方法。该方法可以在上述M叶草的基础上,通过增加新的叶片图像来展示当前维度下任务的完成情况。示例性的,以下以M=3,即将健康数据划分为3个维度,对应采用三叶草模型展示健康数据为例。In other implementation manners, in order to enable users to more clearly obtain task completion status in different dimensions, the present application also provides a method for displaying health data. This method can display the completion of tasks in the current dimension by adding new leaf images on the basis of the above-mentioned M leaf grass. Exemplarily, the following uses M=3, that is, dividing the health data into 3 dimensions, and correspondingly adopting the clover model to display the health data as an example.
请参考图5。在所有三个维度的任务均未完成时时,则所有三个维度对应的叶片颜色可以为如图5中的(a)所示的浅色。在一些实现方式中,为了标识不同维度对应的叶片,可以将三个叶片设置为不同色系的颜色。例如,可以将501设置为浅橙色,将502设置为浅紫色,将503设置为浅蓝色。随着各个维度下任务的完成度的提升,叶片的颜色可以随之变化。例如,以502以及503对应的维度下均只包括一个任务为例。当502和503对应维度下的任务完成时,则可以将502和503的颜色调整为对应的深色。例如,结合图5中的(b),可以将502对应的浅紫色调整为505对应的深紫色,由此提示用户当前维度下的任务已经完成。类似的,也可将503对应的浅蓝色调整为506对应的深蓝色,以提示用户当前维度下的任务已经完成。Please refer to Figure 5. When the tasks in all three dimensions are not completed, the colors of the leaves corresponding to all three dimensions may be light colors as shown in (a) in FIG. 5. In some implementations, in order to identify leaves corresponding to different dimensions, the three leaves may be set to colors of different color systems. For example, you can set 501 to light orange, 502 to light purple, and 503 to light blue. As the completion of tasks in various dimensions increases, the color of the leaves can change accordingly. For example, take only one task in the dimensions corresponding to 502 and 503 as an example. When the tasks in the corresponding dimensions of 502 and 503 are completed, the colors of 502 and 503 can be adjusted to the corresponding dark colors. For example, in conjunction with (b) in FIG. 5, the light purple corresponding to 502 can be adjusted to the dark purple corresponding to 505, thereby prompting the user that the task in the current dimension has been completed. Similarly, the light blue corresponding to 503 can also be adjusted to the dark blue corresponding to 506 to remind the user that the task in the current dimension has been completed.
对于501而言,以其对应的维度中包括3个任务为例,当该3个任务中完成了1个时,由于并未完成全部任务,因此501的颜色保持不变,为浅橙色。在一些实现方式中,为了使得用户能够通过该三叶草模型获取更加具体的任务完成情况,可以在501中设置较小的叶片,用于标识当前任务的进度。如图5中的(b)所示,可以在507(即如图5 中的(a)所示的501)的图层之上中设置图层504,该图层504可以用于标识已经完成的任务的数量。在一些实现方式中,该504可以被设置为较深的颜色,例如深橙色。当507对应维度下的3个任务完成1个之后,处理器就可以将该504图层中的小叶片展示在展示屏上。也就是说,用户可以看到在叶片507中出现了一个小的叶片504。随着任务的进度不断提升,该504可以随之变大,直到所有任务均以完成时扩展为与507完全重叠。本示例中,由于504的图层被设置在507之上,因此,当所有任务全部完成时,该501可以展示为如图5中的(c)所示的508对应的深橙色。For 501, taking 3 tasks in its corresponding dimension as an example, when one of the three tasks is completed, since all tasks have not been completed, the color of 501 remains unchanged and is light orange. In some implementation manners, in order to enable the user to obtain more specific task completion status through the clover model, a smaller blade may be set in 501 to identify the progress of the current task. As shown in (b) in Figure 5, a layer 504 can be set on top of the layer 507 (ie, 501 as shown in Figure 5 (a)). This layer 504 can be used to identify the completion The number of tasks. In some implementations, the 504 may be set to a darker color, such as a deep orange. When one of the three tasks in the corresponding dimension of 507 is completed, the processor can display the small leaves in the 504 layer on the display screen. In other words, the user can see that a small blade 504 appears in the blade 507. As the progress of the task continues to improve, the 504 can be enlarged accordingly until all tasks are expanded to completely overlap with 507 when all tasks are completed. In this example, since the layer 504 is set above 507, when all tasks are completed, the 501 can be displayed as a dark orange corresponding to 508 as shown in (c) in FIG. 5.
基于上述说明,504与该维度下任务的进度相关,因此,本示例中,504的面积可以随着任务的进度不断调整。也就是说,504的面积与任务的完成情况存在对应关系。例如,以电子设备的展示屏正常展示图像时的二维坐标系为例,可以将507的纵向尺寸(即与坐标系中y轴重合或者平行方向的尺寸)按照其对应的维度中包括的任务数量进行均分,例如均分为3份。当完成其中的1个任务时,则504的纵向最高点为507纵向尺寸的1/3,504的其他部分可以依照该纵向尺寸等比缩小,以获取504的尺寸。又如,当完成1个任务时,则504的面积可以为507面积的1/3,即将507的尺寸等比缩小到之前的1/3即可获取504的尺寸。当然,该504的尺寸还可以根据其他方式计算获取,本申请实施例对此不作赘述。Based on the above description, 504 is related to the progress of the task in this dimension. Therefore, in this example, the area of 504 can be continuously adjusted with the progress of the task. In other words, there is a corresponding relationship between the area of 504 and the completion of the task. For example, taking the two-dimensional coordinate system when the display screen of an electronic device normally displays an image as an example, the longitudinal size of 507 (that is, the size that coincides with the y axis in the coordinate system or the size in the parallel direction) can be determined according to the tasks included in the corresponding dimension. The quantity is divided equally, for example, divided equally into 3 parts. When one of the tasks is completed, the vertical highest point of 504 is 1/3 of the vertical size of 507, and the other parts of 504 can be reduced in proportion to the vertical size to obtain the size of 504. For another example, when one task is completed, the area of 504 can be 1/3 of the area of 507, that is, the size of 507 can be obtained by reducing the size of 507 to 1/3 of the previous one. Of course, the size of the 504 can also be obtained by calculation in other ways, which will not be repeated in the embodiment of the present application.
需要说明的是,为了能够使得三叶草模型的展示更加生动,以便获取更好的展示效果,在本申请的一些实现方式中,当用户完成所有维度下的任务时,可以触发三叶草模型的整体变化(如颜色的整体调整,发光,抖动等效果),以便激励用户能够坚持完成所有维度的任务。It should be noted that, in order to make the display of the clover model more vivid, so as to obtain a better display effect, in some implementations of this application, when the user completes tasks in all dimensions, the overall change of the clover model can be triggered ( Such as the overall adjustment of colors, lighting, dithering and other effects) in order to motivate users to persist in completing tasks in all dimensions.
示例性的,以当用户完成所有维度下的任务时,在界面上展示如图5中的(c)所示的三叶草模型为例。结合上述说明,在任务尚未完成时,不同维度对应的叶片可以被设置为不同的颜色,例如,501被设置为橙色,502被设置为紫色,503被设置为蓝色。在本示例中,当用户完成所有三个维度的任务时,处理器可以将三叶草模型的每个叶片的颜色均调整为绿色,以从视觉上向用户展示一个完整的绿色三叶草形态。在具体实现时,为了能够使得颜色的调整不会让用户觉得过于突兀,处理器可以控制将具有不同颜色的三叶草模型逐渐缩小至原点,并逐渐展开到缩小之前的尺寸以及位置,并在展开时即将每个叶片的颜色均设置为绿色。For example, when the user completes tasks in all dimensions, the clover model shown in (c) in FIG. 5 is displayed on the interface as an example. In combination with the above description, when the task has not been completed, the leaves corresponding to different dimensions can be set to different colors, for example, 501 is set to orange, 502 is set to purple, and 503 is set to blue. In this example, when the user completes tasks in all three dimensions, the processor can adjust the color of each leaf of the clover model to green, so as to visually show the user a complete green clover shape. In the specific implementation, in order to make the color adjustment not make the user feel too abrupt, the processor can control to gradually reduce the clover model with different colors to the origin, and gradually expand to the size and position before the reduction, and when it is expanded That is, the color of each leaf is set to green.
需要说明的是,本申请中,三叶草模型在界面上的展示,可以是在处理器在展示屏上展示该页面时直接包括在该界面上的,也可以是通过动画效果展示给用户的。示例性的,以通过如图5所示的健康数据展示方法进行展示为例。结合图6中的(a),随着处理器在展示屏上展示三叶草模型的界面,601(即如图5中的(a)所示的501)的初始位置可以如图6中的(a)所示,即601的中心轴线与展示屏的二维坐标系的y轴正方向呈一定角度,例如,该角度可以为-60°。并且,该601的面积也可以设置为一个小于完成展示(如图6中的(b)所示的状态)时602的尺寸。处理器可以设置一个预设时间,从该预设时间开始到结束,601动态地从初始位置旋转到完成展示时的位置。其大小也可以随着该预设时间内,时间的推移逐渐变大。与之类似,如图5中的(a)所示的502以及503的展示方法可以与601类似,这样就可以在预设时间结束时,获取如图6中的(b)所示的三叶草图像。由此即完成了三叶草模型的动态展示。应当理解的是,通过该动态展示,能够有效地提升用户对于健康数据查阅的兴趣,因此能够提升用户根据该健康数据主动进行健康管理的概率。It should be noted that, in this application, the display of the clover model on the interface may be directly included on the interface when the processor displays the page on the display screen, or may be displayed to the user through animation effects. Exemplarily, take the display of the health data display method as shown in FIG. 5 as an example. Combined with (a) in Figure 6, as the processor displays the interface of the clover model on the display screen, the initial position of 601 (ie 501 as shown in Figure 5 (a)) can be as shown in Figure 6 (a) ), that is, the central axis of 601 and the positive direction of the y-axis of the two-dimensional coordinate system of the display screen are at a certain angle, for example, the angle may be -60°. In addition, the area of the 601 can also be set to be smaller than the size of 602 when the display is completed (as shown in (b) in FIG. 6). The processor can set a preset time, from the beginning to the end of the preset time, 601 dynamically rotates from the initial position to the position when the display is completed. Its size can also gradually increase with the passage of time within the preset time. Similarly, the display method of 502 and 503 as shown in (a) in Figure 5 can be similar to that of 601, so that at the end of the preset time, the clover image as shown in (b) in Figure 6 can be obtained. . This completes the dynamic display of the clover model. It should be understood that the dynamic display can effectively increase the user's interest in health data access, and therefore can increase the probability that the user actively performs health management based on the health data.
在示例的另一些实现方式中,还可以对如图5所示的小叶片504执行如上述图6中的(a)以及图6中的(b)所示的动态展示。其有益效果类似,此处不再赘述。需要说明的是,本申请的不同实现方式中,小叶片504的动态展示方法可以与如图6中的(a)所示的大叶片601的动态展示方法完全相同,也可以有所区别。例如,结合图6中的(c),小叶片603在初始位置下,其中心轴线与展示屏的二维坐标系的y轴正方向的夹角可以与大叶片601不同,如可以设置为如图6中的(c)所示的-90°等。In other implementations of the example, the small blade 504 shown in FIG. 5 may also be dynamically displayed as shown in (a) in FIG. 6 and (b) in FIG. 6 described above. The beneficial effects are similar, and will not be repeated here. It should be noted that in different implementations of the present application, the dynamic display method of the small blade 504 can be completely the same as the dynamic display method of the large blade 601 as shown in (a) in FIG. 6, or may be different. For example, in conjunction with Figure 6 (c), in the initial position of the small blade 603, the included angle between its central axis and the positive direction of the y-axis of the two-dimensional coordinate system of the display screen can be different from that of the large blade 601, for example, it can be set as -90° etc. shown in (c) in Fig. 6.
应当理解的是,对于用户而言,由于小叶片603的展示是基于大叶片601的展示的,即从逻辑上而言,小叶片603的出现应当在大叶片601的出现之后更为合理。因此,在本申请的一些实现场景下,如图5中的(a)所示的叶片501,502以及503可以在同一时刻进行旋转进入。小叶片603则可以在601开始旋转进入之后,延迟一段时间(如150毫秒)后再执行上述旋转进入。由此能够为用户提供更好的观看体验。It should be understood that for the user, since the display of the small blade 603 is based on the display of the large blade 601, that is, logically, the appearance of the small blade 603 should be more reasonable after the appearance of the large blade 601. Therefore, in some implementation scenarios of the present application, the blades 501, 502, and 503 as shown in (a) of FIG. 5 can be rotated and entered at the same time. The small blade 603 can perform the above-mentioned rotating entry after a delay of a period of time (for example, 150 milliseconds) after the rotating entry 601 starts. This can provide users with a better viewing experience.
当然,在另一些示例中,三叶草模型也可通过其他方式展现给用户,例如飞入,闪现等。本申请实施例对此不作限制。Of course, in other examples, the clover model can also be presented to the user in other ways, such as flying in, flashing, and so on. The embodiment of the application does not limit this.
在本申请的另一些实现方式中,在处理器在界面上展示完整的绿色三叶草模型后,还可以在该三叶草模型对应的图像之外,设置其他图层,以便进一步增加绿色三叶草的可辨识度。例如,请参考图5中的(d),可以在509之外设置510以及511。该510以及511对应的图像可以与509边缘构成的图像相似,其颜色可以设置为白色或金色等颜色,用于向用户展示该叶片509的发光效果。510与511所展示的发光效果可以是同步的,也可是不同步的。类似的,在如图5中的(a)所示的502以及503对应的绿色叶片长大后,也可以在其外沿设置如510和/或511类似的图层,以便使得绿色三叶草的动画效果更佳生动,提升用户的观看体验。应当理解的是,上述说明中,仅以在叶片外沿设置图层以提供发光效果为例,在不同的实现方式中,该新增的图层还可以用于提供其他动态效果,以提升用户的观看体验。另外,该发光效果可以是在绿色三叶草长大到结束位置时,在预设时间内展示的,以便在提升用户观看体验的同时,降低由于该发光效果导致的对处理器以及展示屏的展示压力。In some other implementations of this application, after the processor displays the complete green clover model on the interface, other layers can be set in addition to the image corresponding to the clover model to further increase the recognizability of the green clover . For example, please refer to (d) in Figure 5, you can set 510 and 511 in addition to 509. The images corresponding to 510 and 511 can be similar to the image formed by the edge of 509, and the color can be set to a color such as white or gold to show the light-emitting effect of the blade 509 to the user. The lighting effects displayed by 510 and 511 can be synchronized or asynchronous. Similarly, after the green leaves corresponding to 502 and 503 as shown in (a) in Figure 5 grow up, you can also set a layer similar to 510 and/or 511 on the outer edge to make the green clover animation The effect is better and vivid, and the user's viewing experience is improved. It should be understood that in the above description, only the layer provided on the outer edge of the blade to provide the luminous effect is taken as an example. In different implementations, the newly added layer can also be used to provide other dynamic effects to improve users. Viewing experience. In addition, the light-emitting effect can be displayed within a preset time when the green clover grows to the end position, so as to improve the user's viewing experience while reducing the display pressure on the processor and the display screen caused by the light-emitting effect .
可以看到,基于上述说明,本申请实施例提供的健康数据展示方法,结合多叶草(如M叶草)模型,通过展示不同维度下的任务完成情况,能够直观地向用户展示其健康数据,使得用户可以更加快速便捷的知晓其整体的健康数据分布情况。It can be seen that, based on the above description, the health data display method provided by the embodiments of this application, combined with the multi-leaf grass (such as M leaf grass) model, can intuitively display the health data to the user by displaying the completion of tasks in different dimensions , So that users can know their overall health data distribution more quickly and conveniently.
需要说明的是,电子设备在根据上述M叶草模型进行健康数据的展示时,还可以结合当前电子设备所处的展示模式,对M叶草的展示进行适当地处理,以获取更好的展示效果。例如,电子设备可以获取当前设备的展示模式,如白天或夜晚模式。并依据对应的展示模式对叶片展示的内容进行调整。又如,电子设备可以获取传感器模块提供的当地时间,地理状态,位置信息等数据,对叶片展示的内容进行适当调整,比如当地时间、和/或地理状态、和/或位置信息不同时,电子设备可以将叶片的颜色调整为与该数据所匹配的颜色,透明度或尺寸。在本申请的另一些实现方式中,用户还可以在始终展示(always on display,AOD)模式下进行对应的调整,以便该M叶草模型的图像可以在AOD场景下进行展示,由此使得用户能够更加便捷地获取由M叶草模型展示出的健康数据的整体状况。It should be noted that when the electronic device displays the health data according to the above-mentioned M-leaf grass model, it can also combine the current display mode of the electronic device to properly process the display of the M-leaf grass to obtain a better display. Effect. For example, the electronic device can obtain the display mode of the current device, such as day or night mode. And adjust the content of the leaf display according to the corresponding display mode. For another example, the electronic device can obtain the local time, geographic status, location information and other data provided by the sensor module, and make appropriate adjustments to the content displayed by the blade. For example, when the local time, and/or geographic status, and/or location information are different, the electronic The device can adjust the color of the blade to the color, transparency or size that matches the data. In other implementations of this application, the user can also make corresponding adjustments in the always on display (AOD) mode, so that the image of the M-leaf grass model can be displayed in the AOD scene, thereby enabling the user The overall condition of the health data displayed by the M leaf grass model can be obtained more conveniently.
为了使本领域技术人员能够更加清楚地知晓本申请实施例提供的健康数据展示方法的执行过程,以下以电子设备通过“运动健康”APP向用户提供该基于多叶草模型的健康数据展示为例。如图7所示,该方法可以包括S701-S704。In order to enable those skilled in the art to more clearly understand the execution process of the health data display method provided by the embodiments of the present application, the following is an example of how the electronic device provides the user with the health data display based on the multi-leaf grass model through the "sports and health" APP. . As shown in Figure 7, the method may include S701-S704.
S701、电子设备接收用户输入的启动“运动健康”APP的操作。S701. The electronic device receives an operation of starting the "sports and health" APP input by the user.
S702、电子设备响应于该操作,展示“运动健康”APP的首页界面。S702. In response to the operation, the electronic device displays the home page interface of the "sports and health" APP.
当用户想要通过其电子设备中的“运动健康”APP了解自己的健康数据时,可以在电子设备的展示屏上,输入启动该“运动健康”APP的操作。其中,用户可以通过触摸该APP的图标,或点击该APP的图标,或其他方式(如通过按键或外部输入设备输入)实现输入启动该APP的操作。本申请实施例对此不做限制。为了便于说明,以下以用户通过触摸该APP的图标向电子设备输入启动该APP的操作为例。When the user wants to know his own health data through the "sports and health" APP in his electronic device, he can input the operation to start the "sports and health" APP on the display screen of the electronic device. Among them, the user can touch the icon of the APP, or click the icon of the APP, or other methods (such as input by keys or an external input device) to input the operation of starting the APP. The embodiments of this application do not impose restrictions on this. For ease of description, the following takes an example in which the user inputs the operation of starting the APP to the electronic device by touching the icon of the APP.
作为对该触摸操作的响应,电子设备可以启动该“运动健康”APP,并展示该APP的首页界面。示例性的,该“运动健康”APP的首页界面可以为如图8中的(a)所示的界面。如图8中的(a)所示,该首页界面上可以包括用于展示用户不同健康数据的选项卡。例如,选项卡801用于展示用户的运动记录,该运动记录所展示的运动类型可以是用户预先设置的(或系统自动生成的)运动类型,例如,该运动类型可以为图中所示的“平板支撑”。在一些实施例中,该运动记录还可用于展示用户预先设置的(或系统自动生成的)对应运动类型的完成目标。例如,如图8中的(a)所示,该平板支撑的运动目标可以设置为23个。在该选项卡801中可以展示当前目标的完成情况,例如用5/23表示当前目标为23个,已经完成了5个。为了能够使得用户能够更加清楚地了解运动对于自身健康数据的影响,该选项卡801中还可以展示已完成运动所消耗的热量,例如,已经完成的5个平板支撑消耗了5千卡路里(简称为5千卡)。与该选项卡801类似,首页界面上还可展示有其他健康数据对应的选项卡。例如,用于表示用户心率相关数据的选项卡802,用于表示用户睡眠相关数据的选项卡804,以及用于表示用户体重相关数据的选项卡803。As a response to the touch operation, the electronic device can start the "sports and health" APP and display the home page interface of the APP. Exemplarily, the home page interface of the "sports and health" APP may be an interface as shown in (a) in FIG. 8. As shown in (a) in Figure 8, the home page interface may include tabs for displaying different health data of the user. For example, the tab 801 is used to display the user's exercise record. The exercise type displayed in the exercise record may be the exercise type preset by the user (or automatically generated by the system). For example, the exercise type may be as shown in the figure. Plank support". In some embodiments, the exercise record can also be used to display the completion goal of the corresponding exercise type preset by the user (or automatically generated by the system). For example, as shown in Figure 8(a), the plank support can have 23 moving targets. In this tab 801, the completion of the current goals can be displayed. For example, 5/23 indicates that the current goals are 23 and 5 have been completed. In order to enable users to more clearly understand the impact of exercise on their own health data, the tab 801 can also display the calories consumed by the completed exercise. For example, the completed 5 planks consumed 5 kilocalories (referred to as 5 kcal). Similar to the tab 801, the home page interface can also display tabs corresponding to other health data. For example, a tab 802 for representing data related to the user's heart rate, a tab 804 for representing data related to the user's sleep, and a tab 803 for representing data related to the user's weight.
可以理解的是,由于用户的健康数据可以是实时变化的,因此,在用户进入该首页界面后,可以通过如图8中的(a)所述的下滑操作,指示电子设备对当前数据进行更新。作为对该下滑操作的响应,电子设备可以对当前数据进行更新,同时在展示屏上展示如图8中的(b)所示的805对应的提示信息。例如,该提示信息可以为“正在同步数据”。直至电子设备完成当前数据的更新,并在首页界面上的各个选项卡中展示对应的更新后的数据。It is understandable that since the user’s health data can change in real time, after the user enters the home page interface, the user can instruct the electronic device to update the current data through the slide down operation as described in (a) in Figure 8 . As a response to the sliding operation, the electronic device may update the current data, and at the same time display the prompt information corresponding to 805 as shown in (b) of FIG. 8 on the display screen. For example, the prompt message may be "Synchronizing data". Until the electronic device completes the update of the current data, and displays the corresponding updated data in each tab on the home page interface.
可以看到在如图8所示的首页界面上,虽然能够向用户展示出一部分健康数据,但是以选项卡的形式展示出各个数据的状态,不够直观。使得用户很难全面地对自身健康数据进行了解。也就无法起到激励用户根据该健康数据进行对应的调整。It can be seen that on the home page interface as shown in Figure 8, although part of the health data can be displayed to the user, the status of each data is displayed in the form of tabs, which is not intuitive enough. This makes it difficult for users to fully understand their own health data. It is also unable to motivate users to make corresponding adjustments based on the health data.
目前,还有其他一些健康数据的展示方式,例如,通过直线/环形进度条的形式展示当前健康数据中的每项数据。这种展示方式也存在与上述选项卡类似的问题。Currently, there are other ways to display health data, for example, each item of current health data is displayed in the form of a linear/circular progress bar. This display method also has similar problems with the above tabs.
因此,在本示例中,在首页界面上增加“健康生活”选项卡,通过该“健康生活”选项卡,用户就可以进入到上述说明中提供的基于多叶草模型的健康数据展示界面。Therefore, in this example, a "healthy life" tab is added to the home page interface. Through the "healthy life" tab, the user can enter the health data display interface based on the multi-leaf grass model provided in the above description.
S703、电子设备接收用户输入的进入健康数据展示界面的操作。S703. The electronic device receives an operation of entering the health data display interface input by the user.
用户在想要了解其健康数据的总体情况,或者设置的不同目标的总体完成情况时,可以通过触摸首页界面上的“健康生活”选项卡,输入进入对应界面的操作。与上述打开“运动健康”APP的操作类似,在一些实施例中,用户可以通过触摸“健康生活”选项卡实现输入进入对应界面的操作。在另一些实施例中,用户还可以通过点击/双击“健康生活”选项卡实现进入对应界面的操作。在另一些实施例中,用户还可以通过其他方式输入该操作,例如,通过外部输入设备输入该操作等。When users want to know the overall situation of their health data, or the overall completion of different goals set, they can touch the "Healthy Life" tab on the home page interface to enter the corresponding interface operation. Similar to the operation of opening the "sports and health" APP described above, in some embodiments, the user can enter the corresponding interface by touching the "healthy life" tab. In other embodiments, the user can also click/double-click the "healthy life" tab to enter the corresponding interface. In other embodiments, the user may also input the operation in other ways, for example, input the operation through an external input device.
需要说明的是,目前,首页界面上可能包括很多元素需要被展示,因此,当用户在 当前展示的界面上没有发现“健康生活”选项卡时,可以输入如图9A所示的上滑操作,或者,点击如图9B所示的按钮901,以触发电子设备展示首页界面上未被展示的部分。作为对用户输入的操作的响应,电子设备可以展示如图9C所示的界面。可以看到,在首页界面向上滚动后,在展示屏上就出现了“健康生活”选项卡。It should be noted that currently, the home page interface may include many elements that need to be displayed. Therefore, when the user does not find the "Healthy Life" tab on the currently displayed interface, he can enter the slide-up operation as shown in Figure 9A. Or, click the button 901 as shown in FIG. 9B to trigger the electronic device to display the undisplayed part of the homepage interface. In response to the operation input by the user, the electronic device may display an interface as shown in FIG. 9C. You can see that after scrolling up on the home page interface, the "Healthy Life" tab appears on the display screen.
S704、电子设备响应于该操作,展示健康数据展示界面。S704. In response to the operation, the electronic device displays a health data display interface.
作为对用户输入的进入“健康生活”选项卡的操作的响应,电子设备可以从当前首页界面上切换到“健康生活”的界面。In response to the operation of entering the "healthy life" tab input by the user, the electronic device can switch from the current homepage interface to the "healthy life" interface.
作为一种示例,该“健康生活”的界面可以为如图10A所示的界面。如图10A所示,该界面中可以包括三叶草结构的健康数据展示元素1001。在一些实施例中,在该1001中,还可示出三叶草结构中每个叶片对应的维度信息。例如,如图10A所示的睡眠,活动以及情绪维度。可以理解的是,为了使得用户能够将三叶草结构中的每个叶片与不同维度建立直观的对应关系,可以在每个叶片中设置用于标识与该叶片对应的维度信息的标识。例如,参考如图10B,可以在活动维度对应的叶片上设置如1005所示的标识,在睡眠维度对应的叶片上设置如1006所示的标识,在情绪维度对应的叶片上设置如1007所示的标识。在一些可能的实现方式中,可以将图中的1005,1006和/或1007设置为动态图像,以便提高标识的辨识度,便于用户快速地建立叶片与健康数据的维度之间的对应关系。As an example, the "healthy life" interface may be the interface shown in FIG. 10A. As shown in FIG. 10A, the interface may include a health data display element 1001 with a clover structure. In some embodiments, in this 1001, the dimensional information corresponding to each leaf in the clover structure can also be shown. For example, the dimensions of sleep, activity, and mood as shown in Figure 10A. It is understandable that, in order to enable the user to establish an intuitive correspondence between each leaf in the clover structure and different dimensions, each leaf may be provided with an identifier for identifying dimensional information corresponding to the leaf. For example, referring to FIG. 10B, the flag shown in 1005 can be set on the leaf corresponding to the activity dimension, the flag shown in 1006 can be set on the leaf corresponding to the sleep dimension, and the flag shown in 1007 can be set on the leaf corresponding to the emotional dimension. Logo. In some possible implementation manners, 1005, 1006, and/or 1007 in the figure can be set as dynamic images, so as to improve the recognition of the logo and facilitate the user to quickly establish the correspondence between the leaves and the dimensions of the health data.
结合图4以及图5的说明,该图10A的示例中,由于每个维度的任务都未完成,因此,三叶草模型的每个叶片均处于浅色的状态,其中也没有生长出对应于已经完成任务数量的小叶片。With reference to the description of Figure 4 and Figure 5, in the example of Figure 10A, since the tasks of each dimension are not completed, each leaf of the clover model is in a light-colored state, and there is no growth corresponding to the completed The number of small blades.
另外,在本申请的另一些实施例中,在“健康生活”的界面上还可以包括除上述说明之外的其他元素,以便用户可以从该界面上获取更多的信息,并据此进行进一步的操作。In addition, in other embodiments of the present application, the "healthy life" interface may also include other elements in addition to the above description, so that the user can obtain more information from the interface, and proceed further accordingly. Operation.
示例性的,在一些可能的实现方式中,如图10A所示,该界面上还可以包括用于标识当前日期信息的1002。该界面上还可以包括用于标识本周内任务完成情况的缩略图的1003。Exemplarily, in some possible implementation manners, as shown in FIG. 10A, the interface may further include 1002 for identifying current date information. The interface may also include a thumbnail 1003 that is used to identify the completion of tasks within this week.
其中,1002展示的当前日期信息可以与1001示出的三叶草模型的健康数据对应。如图10A所示,该三叶草模型展示的健康数据即为2020年6月3日星期三的健康数据。从如图10A所示的1003中,用户即可快速获取本周的历史健康数据。在一些实施例中,该1003还提供向用户展示更多历史数据的功能。例如,请参考图11A,用户可以通过滑动该1101(如图中的向右滑动)触发电子设备在1101中展示更早的健康数据。例如,可以展示如图11B所示的“2020年5月25日星期一”到“2020年5月31日星期日”这一周的健康数据。用户可以通过点击1101中某一天的三叶草模型的缩略图,调整界面上1102上展示的三叶草模型的展示信息。例如,当电子设备接收到用户触摸“2020年5月27日星期三”对应的缩略图时,可以在1102中展示该“2020年5月27日星期三”的健康数据。可以看到,用户在当日完成了运动维度的所有任务,因此在对应的叶片上展示为深色。又如,当电子设备接收到用户触摸“2020年5月26日星期二”对应的缩略图时,可以在1102中展示该“2020年5月26日星期二”的健康数据(如图11C所示)。可以看到,用户在当日完成了所有三个维度的任务,因此在对应叶片上均可展示深色。Among them, the current date information shown in 1002 may correspond to the health data of the clover model shown in 1001. As shown in Figure 10A, the health data displayed by the clover model is the health data on Wednesday, June 3, 2020. From 1003 shown in FIG. 10A, the user can quickly obtain the historical health data of this week. In some embodiments, the 1003 also provides the function of showing more historical data to the user. For example, referring to FIG. 11A, the user can trigger the electronic device to display earlier health data in 1101 by sliding the 1101 (swiping to the right as shown in the figure). For example, the health data for the week from "Monday, May 25, 2020" to "Sunday, May 31, 2020" as shown in FIG. 11B can be displayed. The user can adjust the display information of the clover model displayed on 1102 on the interface by clicking the thumbnail of the clover model of a certain day in 1101. For example, when the electronic device receives the user's touch on the thumbnail corresponding to "Wednesday, May 27, 2020", the health data of "Wednesday, May 27, 2020" can be displayed in 1102. It can be seen that the user has completed all the tasks of the motion dimension on the same day, so it is displayed in dark colors on the corresponding blades. For another example, when the electronic device receives the user's touch on the thumbnail corresponding to "Tuesday, May 26, 2020", the health data of "Tuesday, May 26, 2020" can be displayed in 1102 (as shown in Figure 11C) . It can be seen that the user completed all three dimensions of the task on the same day, so the dark color can be displayed on the corresponding blade.
需要说明的是,图10A中,是以展示以一周为单位的每天的三叶草模型对应的缩略图为例进行说明的。在本申请的另一些实现方式中,还可以在如图10A所示的界面上展示以月为单位的每天的三叶草模型对应的缩略图。在该示例中,图10A所包括的1003, 也可以包括2020年5月1日至2020年5月31日中每天对应的缩略图情况,以便用户可以直观地了解到当月的任务完成情况。It should be noted that, in FIG. 10A, the thumbnails corresponding to the clover model for each day in a week are displayed as an example for description. In some other implementation manners of the present application, the thumbnails corresponding to the clover model of each day in units of months may also be displayed on the interface as shown in FIG. 10A. In this example, 1003 included in FIG. 10A may also include the corresponding thumbnail information for each day from May 1, 2020 to May 31, 2020, so that the user can intuitively understand the task completion of the current month.
应当理解的是,上述说明中的以月为单位的缩略图展示,由于其包括的内容较多(如可以包括该月内,每天对应三叶草模型的缩略图),因此可以在确定用户想要查看该内容时进行展示。因此,在本申请的另一些实现方式中,用户可以通过点击如图10A所示界面中的一些元素,以触发电子设备展示当月中每天对应的缩略图。例如,用户可以通过点击(或双击或长按等操作)1002,以触发电子设备展示当月中每天对应的缩略图。作为对该操作的响应,电子设备可以在如图10A所示的界面上展示上层窗口或展示新的界面,该窗口或界面中就可以包括上述以月为单位的缩略图等元素。It should be understood that the thumbnail display in the unit of month in the above description contains more content (for example, it can include the thumbnails of the clover model corresponding to each day within the month), so you can confirm that the user wants to view The content is displayed at the time. Therefore, in other implementations of the present application, the user can click some elements in the interface as shown in FIG. 10A to trigger the electronic device to display the thumbnails corresponding to each day of the month. For example, the user can click (or double-click or long-press, etc.) 1002 to trigger the electronic device to display thumbnails corresponding to each day of the month. In response to this operation, the electronic device may display an upper-level window or display a new interface on the interface as shown in FIG. 10A, and the window or interface may include such elements as the above-mentioned thumbnails in units of months.
在本示例中,结合图6中的说明,用户在点击图10A中的1003中的某一个缩略图后,在1001中可以展示与该缩略图对应的日期的三叶草模型。该三叶草模型的展示,可以是直接出现在屏幕上的,也可以是如图6所示的以动画效果的形式展示在屏幕上的。需要说明的是,在一些实施例中,当某一个叶片对应的维度中有部分或者全部任务被完成时,则该叶片中还可以以动画效果的形式展示出另一个叶片,以标示任务的完成情况。例如,如图12A所示,以用户点击了1201中的“2020年5月25日星期五”对应的缩略图为例。参考图12B,图12C,以及图12D,作为对用户输入的操作的响应,电子设备在界面上可以以动画效果的形式展示1202对应的三叶草模型。由于当日用户完成了所有运动维度的任务,因此,随着运动维度对应的叶片的旋转变大,其中可以以扇形旋转展现另一个颜色较深三叶草图像。当运动维度对应的叶片完成展示时,其中的三叶草图像也完成展示,覆盖对应区域的运动维度的叶片图像,用于展示当前维度中任务的完成度。例如,如图12D所示,由于该运动维度中只包括一个任务,并且用户完成了该维度的任务,因此,运动维度对应的三叶草中的三叶草叶片在完全展示时,其面积可以与该维度对应的叶片尺寸相当,即用较深颜色的图像覆盖较浅颜色的图像。需要说明的是,在具体实现过程中,电子设备可以在运动维度对应的叶片的图像所在图层之上,设置另一个具有较深颜色的叶片的图像,以便实现图像的覆盖。电子设备也可以通过计算,直接调整运动维度对应叶片的图像的颜色变化,达到从视觉上的覆盖效果。In this example, in conjunction with the description in FIG. 6, after the user clicks a certain thumbnail in 1003 in FIG. 10A, the clover model of the date corresponding to the thumbnail can be displayed in 1001. The display of the clover model may be directly displayed on the screen, or may be displayed on the screen in the form of an animation effect as shown in FIG. 6. It should be noted that, in some embodiments, when some or all of the tasks in the dimension corresponding to a certain blade are completed, another blade may be displayed in the form of animation effects in the blade to indicate the completion of the task. condition. For example, as shown in FIG. 12A, take the user clicking on the thumbnail corresponding to "Friday, May 25, 2020" in 1201 as an example. Referring to FIG. 12B, FIG. 12C, and FIG. 12D, as a response to the operation input by the user, the electronic device may display the clover model corresponding to 1202 in the form of an animation effect on the interface. Since the user has completed all the tasks of the motion dimension that day, as the rotation of the blade corresponding to the motion dimension becomes larger, another clover image with a darker color can be displayed in a fan-shaped rotation. When the leaf corresponding to the motion dimension is displayed, the clover image in it is also displayed, covering the leaf image of the motion dimension of the corresponding area, which is used to show the degree of completion of the task in the current dimension. For example, as shown in Figure 12D, since the motion dimension only includes one task and the user has completed the task of this dimension, the area of the clover leaf in the clover corresponding to the motion dimension can correspond to the dimension when it is fully displayed. The size of the leaves are the same, that is, the darker color image is used to cover the lighter color image. It should be noted that in the specific implementation process, the electronic device can set another image of the leaf with a darker color on the layer where the image of the leaf corresponding to the motion dimension is located, so as to achieve the coverage of the image. The electronic device can also directly adjust the color change of the image of the blade corresponding to the movement dimension through calculation to achieve a visual coverage effect.
需要说明的是,结合图10A所示的界面,在本申请的一些实现方式中,用户可以通过界面上展示的三叶草的图像输入操作,以查看对应维度下的具体任务完成信息。例如,用户可以如图10A所示的1001中的一个叶片输入第一操作。响应于该第一操作,电子设备可以在界面上弹出新的窗口,该窗口可以包括进度条或者新的M叶草等元素,用于展示该维度下不同任务的完成情况。对应的,当用户向该窗口的某一元素输入第二操作时,可以在在该元素附近现实对应任务的详细完成情况,例如当前跑步4/5。又如,游泳0/5等。其中,该第一操作可以与第二操作同为点击操作,滑动操作,双击操作,触摸操作或其他操作。当然该第一操作也可以是与第二操作不同的操作。本申请实施例对此不作限制。It should be noted that, in conjunction with the interface shown in FIG. 10A, in some implementations of the present application, the user can enter the image input operation of the clover displayed on the interface to view the specific task completion information in the corresponding dimension. For example, the user may input the first operation on a blade in 1001 as shown in FIG. 10A. In response to the first operation, the electronic device may pop up a new window on the interface. The window may include elements such as a progress bar or a new M-leaf grass for displaying the completion status of different tasks in this dimension. Correspondingly, when the user inputs a second operation to a certain element of the window, the detailed completion status of the corresponding task can be displayed near the element, for example, the current running 4/5. Another example is swimming 0/5 and so on. Wherein, the first operation and the second operation can be the same as a click operation, a sliding operation, a double-tap operation, a touch operation or other operations. Of course, the first operation may also be an operation different from the second operation. The embodiment of the application does not limit this.
请继续参考图10A,该界面上还可包括用于激励用户根据当健康数据进行主动健康管理的1004。如图10A所示,该提示断短语可以为“感到紧张,做个呼吸练习让自己保持最佳状态”。Please continue to refer to FIG. 10A. The interface may also include 1004 for motivating the user to perform active health management based on current health data. As shown in Figure 10A, the reminder phrase can be "feel nervous, do a breathing exercise to keep yourself in your best condition".
在本申请中,该1004所展示的提示是可变的,该提示可以是与用户当前健康数据对应的提示。例如,在电子设备中可以设置提示短语库,电子设备可以通过采集到的用户的健康数据,从提示短语库中选取对应的提示短语进行展示,以便提示用户进行对应的 健康活动,比如增加锻炼,又如注意休息等,以便激励用户对其健康进行主动管理。又如,电子设备可以在1004中滚动展示提示短语库中的提示信息,电子设备可以根据采集到的用户的健康数据,调整不同短语出现的概率,如提升当前健康数据展示缺乏的健康活动对应的提示短语的出现概率,又如降低当前健康数据展示足够的健康活动对应的提示短语的出现概率。In this application, the prompt displayed in 1004 is variable, and the prompt may be a prompt corresponding to the user's current health data. For example, a reminder phrase library can be set in an electronic device, and the electronic device can select corresponding reminder phrases from the reminder phrase library to display through the collected health data of the user, so as to prompt the user to perform corresponding health activities, such as increasing exercise. Another example is to pay attention to rest, so as to encourage users to actively manage their health. For another example, the electronic device can scroll in 1004 to display the prompt information in the prompt phrase library. The electronic device can adjust the probability of the appearance of different phrases according to the collected health data of the user, such as improving the current health data to show the lack of health activities corresponding The appearance probability of the prompt phrase is another example of reducing the appearance probability of the prompt phrase corresponding to the current health data showing sufficient health activities.
需要说明的是,上述示例中的1002,1003以及1004,仅仅为一种示例性的说明,在另一些实现方式中,电子设备还可以根据用户设置或场景需求,灵活展示其中的一部分或更多内容,本申请实施例对此不做限制。It should be noted that 1002, 1003, and 1004 in the above examples are merely exemplary descriptions. In other implementations, the electronic device can also flexibly display some or more of them according to user settings or scene requirements. Content, the embodiment of the application does not limit this.
应当理解的是,用户通过如图10A所示的界面,已经可以较为清楚地了解与当前健康活动对应的不同维度下任务的完成情况了。本申请实施例中,为了能够使得用户可以获取更加详实的数据,在该如图10A所示的界面中,还可以包括其他元素。示例性的,在该界面上,还可以展示每个维度中包括的具体的任务的完成情况。例如,如图10A所示的1008。如图10A所示,在1004以下,在界面上还可以展示有“健身训练”,“呼吸训练”等任务对应的选项卡。可以理解的是,由于电子设备展示屏的尺寸限制,在一个界面上展示的元素有限,因此,当用户想要查看更多任务的选项卡时,可以通过输入对应的操作,使得电子设备展示对应的元素。例如,如图13A所示,用户可以在界面上输入上滑操作,作为对该操作的响应,电子设备可以向上滚动屏幕内容,以在展示屏上展示如图13B所示的内容。在该示例中,响应于用户输入的上滑操作,电子设备可以在展示屏上展示完整的“健身训练”,“呼吸训练”以及“规律起床”对应的选项卡。从这些选项卡中,用户就可以看到对应任务的预设目标以及完成情况。It should be understood that the user can already understand the completion of tasks in different dimensions corresponding to the current health activity more clearly through the interface as shown in FIG. 10A. In the embodiment of the present application, in order to enable the user to obtain more detailed data, the interface as shown in FIG. 10A may also include other elements. Exemplarily, on the interface, the completion status of specific tasks included in each dimension can also be displayed. For example, 1008 as shown in Figure 10A. As shown in Figure 10A, below 1004, tabs corresponding to tasks such as "fitness training" and "breathing training" can also be displayed on the interface. It is understandable that due to the size limitation of the electronic device display screen, the elements displayed on one interface are limited. Therefore, when the user wants to view more task tabs, he can input the corresponding operation to make the electronic device display corresponding Elements. For example, as shown in FIG. 13A, the user can input a swipe up operation on the interface, and in response to the operation, the electronic device can scroll up the screen content to display the content shown in FIG. 13B on the display screen. In this example, in response to a sliding operation input by the user, the electronic device can display the complete "fitness training", "breathing training" and "regular wake up" corresponding tabs on the display screen. From these tabs, users can see the preset goals and completion status of the corresponding tasks.
结合上述说明,本申请实施例中涉及的数据采集,可以是电子设备自行采集的,例如配合电子设备的传感器模块,又如从用户佩戴的可穿戴设备接收等。也可以是用户主动输入的。作为一种示例,用户可以通过“打卡”的方式实现数据的主动输入。In combination with the foregoing description, the data collection involved in the embodiments of the present application may be collected by the electronic device itself, such as a sensor module that cooperates with the electronic device, or received from a wearable device worn by the user. It can also be entered actively by the user. As an example, the user can implement active input of data by “punching in”.
作为一种示例,当用户想要对某个预设的任务打卡时,可以输入对应的操作。响应于该操作,电子设备可以展示对应的窗口或界面,以便接收用户的打卡操作。As an example, when the user wants to check in a certain preset task, he can input the corresponding operation. In response to this operation, the electronic device can display a corresponding window or interface in order to receive the user's check-in operation.
例如,结合图14A。当用户想要打卡“规律起床”任务时,可以点击如图14A的屏幕上的“规律起床”选项卡,响应于该操作,电子设备可以展示如图14B所示的窗口。在该窗口上提供“打卡”按钮。当用户对该“打卡”按钮输入点击或触摸操作后,则电子设备可以认为用户完成了此次打卡。如果此次“打卡”符合预设时间约定,则认为该任务完成1次。在一种可能的实现方式中,当用户完成1次任务后,如图14C所示,电子设备可以在选项卡上调整对应图像的颜色,并展示“已打卡”字样,以便用户确认已经打卡成功。For example, in conjunction with Figure 14A. When the user wants to check in the "regular wake up" task, he can click the "regular wake up" tab on the screen of FIG. 14A, and in response to this operation, the electronic device may display the window as shown in FIG. 14B. Provide a "punch in" button on this window. After the user inputs a click or touch operation on the "punch-in" button, the electronic device can consider that the user has completed the punch-in. If the "punch-in" this time meets the preset time agreement, the task is considered to be completed once. In a possible implementation, when the user completes a task, as shown in Figure 14C, the electronic device can adjust the color of the corresponding image on the tab and display the words "checked in" so that the user can confirm that the check has been successful .
需要说明的是,在本示例中,在“健康生活”的界面上,除了展示有上述元素之外,还可以提供其他内容,以进一步提升该界面与用户的交互性能。It should be noted that, in this example, in addition to displaying the above elements on the "healthy life" interface, other content can also be provided to further improve the interaction performance between the interface and the user.
示例性的,结合图15A,在一种可能的实现方式中,在该界面上还可包括如图中的1501的分享按钮。用户可以通过点击该分享按钮,实现当前健康数据的分享操作。电子设备在接收到用户输入的点击该分享按钮的操作之后,可以展示如图15B所示的分享预览界面。在该分享界面中,可以展示有所分享当日的运动数据,以及根据历史数据采集情况确定的获取完整三叶草(如称为健康三叶草)的次数。此外,在该界面上,还可包括选择分享对象的按钮。例如其中可以包括分享给朋友的按钮1503,分享给朋友圈的按钮1504,分享到博客按钮1505,以及将该图像1502保存到本地的按钮1506等。Exemplarily, in conjunction with FIG. 15A, in a possible implementation manner, the interface may further include a share button as shown in 1501. The user can realize the sharing operation of current health data by clicking the sharing button. After receiving the operation of clicking the sharing button input by the user, the electronic device may display the sharing preview interface as shown in FIG. 15B. In the sharing interface, it is possible to display the exercise data of the shared day and the number of times to obtain a complete clover (such as a healthy clover) determined according to the historical data collection situation. In addition, the interface can also include a button to select a sharing object. For example, it may include a button 1503 to share with friends, a button 1504 to share to Moments, a button 1505 to share to a blog, and a button 1506 to save the image 1502 locally, and so on.
在另一些可能的实现方式中,结合图16A,在该界面上还可以展示有扩展功能按钮 1601。用户可以通过点击该扩展功能按钮,唤出下拉菜单,以提供更多的功能按钮。示例性的,如图16A所示,用户可以点击(如第一次点击)1601,唤出包括“目标管理”,“周报”以及“设置”等功能的按钮。用户可以通过再次输入点击操作,选取想要执行的功能。In other possible implementation manners, in conjunction with FIG. 16A, an extended function button 1601 may also be displayed on the interface. The user can click the extended function button to call up a drop-down menu to provide more function buttons. Exemplarily, as shown in FIG. 16A, the user can click (eg, click for the first time) 1601 to call up buttons including functions such as "target management", "weekly report", and "setting". The user can select the function he wants to execute by entering the click operation again.
在一些场景下,如图16B所示,用户可以输入点击“目标管理”按钮的第二次点击操作,以便进行各个维度下任务的管理。作为对该操作的响应,电子设备可以在屏幕上展示如图16C所示的界面。可以看到,在该界面上,示出了不同维度下可能包括的多个任务。例如,活动维度下可以包括步行,中高强度运动,以及健身运动等任务。情绪维度下可以包括呼吸训练等任务。睡眠维度下可以包括规律起床,以及早睡等任务。用户可以根据自身需要,选取在三叶草模型中展示的不同维度下包括的任务。例如,当用户想要在三叶草模型中展示运动维度下的健身训练任务时,可以如图16C所示的勾选该任务。类似的,用户可以通过勾选“呼吸训练”任务,以便将该任务加入到情绪维度中。用户可以通过勾选“规律起床”任务,以便将该任务加入到睡眠维度中。需要说明的是,在如图16C所示的目标管理功能中的不同任务对应的完成目标,可以是用户自行设置的,也可以是电子设备根据历史记录自动生成的,也可以是电子设备自行设置的,本申请实施例对此不作限制。In some scenarios, as shown in FIG. 16B, the user can input a second click operation of clicking the "target management" button to manage tasks in various dimensions. In response to this operation, the electronic device may display an interface as shown in FIG. 16C on the screen. It can be seen that on this interface, multiple tasks that may be included in different dimensions are shown. For example, the activity dimension can include tasks such as walking, mid-to-high intensity exercise, and fitness exercise. Tasks such as breathing training can be included in the emotional dimension. The sleep dimension can include tasks such as getting up regularly and going to bed early. Users can select tasks included in different dimensions shown in the clover model according to their own needs. For example, when the user wants to display a fitness training task under the motion dimension in the clover model, the task can be checked as shown in FIG. 16C. Similarly, the user can add the task to the emotional dimension by checking the "breathing training" task. The user can add the task to the sleep dimension by checking the task of "waking up regularly". It should be noted that the completion goals corresponding to different tasks in the goal management function shown in Figure 16C can be set by the user, automatically generated by the electronic device based on historical records, or set by the electronic device. Yes, the embodiments of this application do not limit this.
在另一些场景下,如图16D所示,用户可以对“周报”按钮输入第二次点击,以通过三叶草模型查看历史记录形成的周报情况。响应于用户的点击操作,电子设备可以在屏幕上展示如图16E所示的界面。如图16E所示,在该界面中,可以包括用户累计获取的健康三叶草的个数,达成小目标的数量,以及每周的健康数据。根据该界面,用户就可以清楚明了地获取历史健康数据,并据此进行数据的分析或分享等操作。In other scenarios, as shown in FIG. 16D, the user can input a second click on the "weekly report" button to view the weekly report formed by historical records through the clover model. In response to the user's click operation, the electronic device may display an interface as shown in FIG. 16E on the screen. As shown in FIG. 16E, the interface can include the number of healthy clover that the user has acquired cumulatively, the number of small goals achieved, and weekly health data. According to this interface, users can obtain historical health data clearly and perform operations such as data analysis or sharing based on this.
上述主要从电子设备的角度对本申请实施例提供的方案进行了介绍。可以理解的是,上述电子设备可以包括健康数据展示装置,以实现上述健康数据展示方法。其中,该健康数据展示装置为了实现上述功能,其包括了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solutions provided by the embodiments of the present application from the perspective of electronic devices. It is understandable that the above-mentioned electronic equipment may include a health data display device to implement the above-mentioned health data display method. In order to realize the above-mentioned functions, the health data display device includes hardware structures and/or software modules corresponding to various functions. Those skilled in the art should easily realize that, in combination with the units of the examples described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered as going beyond the scope of this application.
本申请实施例可以根据上述方法示例对健康数据展示装置进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。可选的,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application may divide the health data display device into functional modules according to the foregoing method examples. For example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware or software function modules. Optionally, the division of modules in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
图17示出了的一种健康数据展示装置1700的组成示意图,该健康数据展示装置1700可以电子设备中的芯片或者片上系统。作为一种可实现方式,图17所示健康数据展示装置1700包括:接收单元1701和展示单元1702。FIG. 17 shows a schematic diagram of the composition of a health data display device 1700. The health data display device 1700 may be a chip in an electronic device or a system on a chip. As an implementable manner, the health data display device 1700 shown in FIG. 17 includes: a receiving unit 1701 and a display unit 1702.
其中,该接收单元1701,用于接收用户的第一操作。该展示单元1702,用于响应于该第一操作,展示第一界面,该第一界面的第一区域中包括M个第一元素,该M个第一元素与M个维度对应,该M个第一元素中的每个第一元素用于展示对应维度的完成度,该维度的完成度是该维度中包括任务的完成度,该多个任务的完成度是根据对应的健康数据确定的,M为大于1的整数。其中,由该M个第一元素构成的图形为旋转对称图形, 并且,该M个第一元素中的任意两个元素的面积均相同。Wherein, the receiving unit 1701 is configured to receive the first operation of the user. The display unit 1702 is configured to display a first interface in response to the first operation, the first area of the first interface includes M first elements, the M first elements correspond to M dimensions, and the M Each first element in the first element is used to display the degree of completion of the corresponding dimension, the degree of completion of the dimension is the degree of completion of tasks included in the dimension, and the degree of completion of the multiple tasks is determined according to the corresponding health data. M is an integer greater than 1. Wherein, the figure formed by the M first elements is a rotationally symmetric figure, and any two of the M first elements have the same area.
在一种可能的实现方式中,该第一区域中还包括N个第二元素,该N个第二元素中的每个元素均对应于一个第一元素,N是小于或等于M,且大于或等于0的整数。该第二元素包括在与该第二元素对应的第一元素内,用于指示该第一元素对应维度的完成度。In a possible implementation manner, the first region further includes N second elements, each of the N second elements corresponds to a first element, and N is less than or equal to M and greater than Or an integer equal to 0. The second element is included in the first element corresponding to the second element, and is used to indicate the degree of completion of the dimension corresponding to the first element.
在一种可能的实现方式中,该第一界面中,该M个第一元素的面积固定不变,该第二元素的面积根据与该第二元素对应的第一元素对应的维度的完成度确定。该第二元素的面积与该维度的完成度呈正相关的关系。In a possible implementation manner, in the first interface, the area of the M first elements is fixed, and the area of the second element is based on the degree of completion of the dimension corresponding to the first element corresponding to the second element Sure. The area of the second element has a positive correlation with the degree of completion of the dimension.
在一种可能的实现方式中,该第一元素和该第二元素的颜色不同。In a possible implementation manner, the colors of the first element and the second element are different.
在一种可能的实现方式中,该第一元素在展示在该第一界面上的过程中,以电子设备展示图像的二维坐标为参考,该第一元素的中心线在第一时刻与坐标轴呈第一夹角,该第一元素的中心线在第二时刻与该坐标轴呈第二夹角,该第二时刻晚于该第一时刻,该第二夹角与该第一夹角不同。In a possible implementation manner, during the process of displaying the first element on the first interface, the two-dimensional coordinates of the image displayed by the electronic device are used as a reference, and the center line of the first element is aligned with the coordinates at the first moment. The axis forms a first angle, the center line of the first element forms a second angle with the coordinate axis at the second time, the second time is later than the first time, the second angle and the first angle different.
在一种可能的实现方式中,该第二元素在展示在该第一界面上的过程中,以电子设备展示图像的二维坐标为参考,该第二元素的中心线在第三时刻与坐标轴呈第三夹角,该第二元素的中心线在第四时刻与该坐标轴呈第四夹角,该第四时刻晚于该第三时刻,该第四夹角与该第三夹角不同。In a possible implementation manner, during the process of displaying the second element on the first interface, the two-dimensional coordinates of the image displayed by the electronic device are used as a reference, and the center line of the second element is at the third time and coordinates The axis forms a third angle, the center line of the second element forms a fourth angle with the coordinate axis at the fourth time, the fourth time is later than the third time, the fourth angle and the third angle different.
在一种可能的实现方式中,当该M个第一元素对应维度下的任务未被全部完成时,该M个第一元素的中每个第一元素的颜色各不相同。当该M个第一元素对应维度下的任务均被完成时,该M个第一元素的颜色相同。In a possible implementation manner, when the tasks in the dimensions corresponding to the M first elements are not all completed, the color of each first element of the M first elements is different. When the tasks in the dimensions corresponding to the M first elements are all completed, the colors of the M first elements are the same.
在一种可能的实现方式中,接收单元1701还用于接收用户的对该第一元素的第二操作。展示单元1702还用于响应于该第二操作,展示第二界面,该第二界面包括该第一元素对应的维度下任务的详细完成情况。In a possible implementation manner, the receiving unit 1701 is further configured to receive a second operation of the user on the first element. The display unit 1702 is further configured to display a second interface in response to the second operation, the second interface including the detailed completion status of the task in the dimension corresponding to the first element.
在一种可能的实现方式中,该第一界面还包括:第二区域,该第二区域包括通过如上述所述的任一种可能的健康数据展示装置展示的预设周期内的第一历史健康数据。In a possible implementation, the first interface further includes: a second area, and the second area includes the first history in a preset period displayed by any one of the possible health data display devices as described above. Health data.
在一种可能的实现方式中,第一历史健康数据是通过该预设周期内不同日期对应的由M个第一元素构成的图像的缩略图进行展示的。In a possible implementation manner, the first historical health data is displayed through thumbnails of images composed of M first elements corresponding to different dates in the preset period.
在一种可能的实现方式中,接收单元1701还用于接收用户的对该第二区域中的缩略图的第三操作。展示单元1702还用于响应于该第三操作,在该第一区域展示与该缩略图对应的M个第一元素。In a possible implementation manner, the receiving unit 1701 is further configured to receive a third operation of the user on the thumbnail in the second area. The display unit 1702 is further configured to display the M first elements corresponding to the thumbnail in the first area in response to the third operation.
在一种可能的实现方式中,接收单元1701还用于接收用户的对该第二区域中的缩略图的第四操作。展示单元1702还用于响应于该第四操作,在该第一区域展示与该缩略图对应的M个第一元素和N个第二元素。In a possible implementation manner, the receiving unit 1701 is further configured to receive a fourth operation of the user on the thumbnail in the second area. The display unit 1702 is further configured to display M first elements and N second elements corresponding to the thumbnail in the first area in response to the fourth operation.
在一种可能的实现方式中,接收单元1701还用于接收用户对该第二区域的第五操作。展示单元1702还用于响应于该第五操作,在该第二区域展示第二历史健康数据,该第二历史健康数据是通过该预设周期内不同日期对应的由M个第一元素构成的图像的缩略图进行展示的。该第二历史健康数据对应的时间不同于该第一为历史健康数据对应的时间。In a possible implementation manner, the receiving unit 1701 is further configured to receive a fifth operation of the user on the second area. The display unit 1702 is further configured to display second historical health data in the second area in response to the fifth operation. The second historical health data is composed of M first elements corresponding to different dates in the preset period The thumbnail of the image is displayed. The time corresponding to the second historical health data is different from the time corresponding to the first historical health data.
在一种可能的实现方式中,该第一界面还包括第三区域,该第三区域包括激励短语,该激励短语是根据该第一区域展示的M个第一元素对应的维度的完成度确定的。In a possible implementation manner, the first interface further includes a third area, the third area includes an incentive phrase, the incentive phrase is determined according to the degree of completion of the dimensions corresponding to the M first elements displayed in the first area of.
在一种可能的实现方式中,该第一界面还包括第一控件,接收单元1701还用于接收用户对该第一控件的第六操作。展示单元1702还用于响应于该第六操作,展示第三界面,该第三界面包括与该第一区域展示的该M个第一元素对应的图像,以便于对此图像进行 分享操作。In a possible implementation manner, the first interface further includes a first control, and the receiving unit 1701 is further configured to receive a sixth operation of the user on the first control. The display unit 1702 is further configured to display a third interface in response to the sixth operation, the third interface including images corresponding to the M first elements displayed in the first area, so as to facilitate sharing operations on the images.
在一种可能的实现方式中,该第一界面还包括第二控件,接收单元1701还用于接收用户对该第二控件的第七操作。展示单元1702还用于响应于该第七操作,在该第一界面上展示配置菜单,以便于用户通过该配置菜单设置不同维度下的任务,或者,通过该配置菜单生成健康数据对应的周报/月报/年报。In a possible implementation manner, the first interface further includes a second control, and the receiving unit 1701 is further configured to receive a seventh operation of the user on the second control. The display unit 1702 is further configured to display a configuration menu on the first interface in response to the seventh operation, so that the user can set tasks in different dimensions through the configuration menu, or generate a weekly report corresponding to health data through the configuration menu. Monthly/annual report.
在一种可能的实现方式中,该健康数据是电子设备自行获取的,和/或通过其他电子设备采集获取的,和/或通过用户自行输入的。In a possible implementation manner, the health data is acquired by the electronic device itself, and/or acquired by other electronic devices, and/or input by the user.
在一种可能的实现方式中,接收单元1701还用于接收用户的第八操作,该第八操作包括对该第一区域的双击操作,或长按操作,或缩放操作。展示单元1702响应于该第八操作,在该第一区域新增第一元素,该新增的第一元素对应的维度与当前第一区域中展示的第一元素对应的维度不同。In a possible implementation manner, the receiving unit 1701 is further configured to receive an eighth operation of the user, and the eighth operation includes a double-click operation, or a long-press operation, or a zoom operation on the first area. In response to the eighth operation, the display unit 1702 adds a first element to the first area, and the dimension corresponding to the newly added first element is different from the dimension corresponding to the first element currently displayed in the first area.
在一种可能的实现方式中,每个第一元素对应的维度中包括一个或多个任务;具有不同任务的完成度的第一元素的颜色,和/或透明度不同。In a possible implementation manner, the dimension corresponding to each first element includes one or more tasks; the colors and/or transparency of the first elements with different task completion degrees are different.
在一种可能的实现方式中,针对该M个第一元素中的每个第一元素,当与该第一元素对应的维度下的所有任务均未完成时,该第一元素的颜色为第一颜色;当该维度下的所有任务均已完成时,该第一元素的颜色为第二颜色;第一元素的不同颜色用于表示对应维度下任务的不同完成度,该第一元素的颜色越深,对应维度的任务完成度越高。In a possible implementation manner, for each first element of the M first elements, when all tasks in the dimension corresponding to the first element are not completed, the color of the first element is the first element. A color; when all tasks in the dimension have been completed, the color of the first element is the second color; the different colors of the first element are used to indicate the different degrees of completion of tasks in the corresponding dimension, and the color of the first element The deeper, the higher the completion of the task of the corresponding dimension.
在一种可能的实现方式中,该第一元素的颜色根据如下公式确定:In a possible implementation, the color of the first element is determined according to the following formula:
Figure PCTCN2021092122-appb-000010
Figure PCTCN2021092122-appb-000010
其中,其中,S R为第一颜色的RGB的R值,E R为第二颜色的RGB的R值,N i为第i维度下的任务数量,i为第i维度下的已完成任务数量;S G为第一颜色的RGB的G值,E G为第二颜色的RGB的G值;S B为第一颜色的RGB的B值,E B为第二颜色的RGB的B值。 Wherein, wherein R is R S of the first RGB color values, R E R is the second color values of RGB, N i is the number of tasks in the i-th dimension, i is the i-th dimension of the number of tasks have been completed ; S G is the G value of the RGB of the first color, E G is the G value of the RGB of the second color; S B is the B value of the RGB of the first color, and E B is the B value of the RGB of the second color.
在一种可能的实现方式中,针对该M个第一元素中的每个第一元素,当与该第一元素对应的维度下的所有任务均未完成时,该第一元素的透明度为第一透明度;当该维度下的所有任务均已完成时,该第一元素的透明度为第二透明度;第一元素的不同透明度用于表示对应维度下任务的不同完成度,该第一元素的透明度越大,对应维度的任务完成度越高。In a possible implementation manner, for each first element of the M first elements, when all tasks in the dimension corresponding to the first element are not completed, the transparency of the first element is the first element A transparency; when all tasks in this dimension have been completed, the transparency of the first element is the second transparency; the different transparency of the first element is used to indicate the different degrees of completion of the tasks in the corresponding dimension, and the transparency of the first element The larger the task, the higher the completion of the task of the corresponding dimension.
在一种可能的实现方式中,该第一元素的透明度根据如下公式确定:In a possible implementation, the transparency of the first element is determined according to the following formula:
Figure PCTCN2021092122-appb-000011
Figure PCTCN2021092122-appb-000011
其中,T 0为第一透明度,T N为结束透明度,N i为第i维度下的任务数量,i为第i维度下的已完成任务数量。 Wherein, T 0 is the first transparency, T N is the end of transparency, N i is the number of tasks in the i-th dimension, i is the number of completed tasks in the i-th dimension.
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。本申请实施例提供的健康数据展示装置1700,用于 执行上述实施例中涉及的功能,因此可以达到与上述方法相同的效果。作为可选而不是必须,可以理解的是,必要时,本申请实施例提供的健康数据展示装置1700可以包括用于支持上述接收单元1701和/或展示单元1702完成相应功能的处理模块或者控制模块。It should be noted that all relevant content of the steps involved in the foregoing method embodiments can be cited in the functional description of the corresponding functional module, and will not be repeated here. The health data display device 1700 provided in the embodiment of the present application is used to perform the functions involved in the above-mentioned embodiment, and therefore can achieve the same effect as the above-mentioned method. As optional but not necessary, it can be understood that, when necessary, the health data display device 1700 provided in the embodiment of the present application may include a processing module or a control module for supporting the receiving unit 1701 and/or the display unit 1702 to complete the corresponding functions. .
图18示出了的一种芯片系统1800的组成示意图。该芯片系统1800可以包括:处理器1801和通信接口1802,用于支持电子设备实现上述实施例中所涉及的功能。在一种可能的设计中,芯片系统1800还包括存储器,用于保存终端必要的程序指令和数据。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。FIG. 18 shows a schematic diagram of the composition of a chip system 1800. The chip system 1800 may include: a processor 1801 and a communication interface 1802, which are used to support the electronic device to implement the functions involved in the foregoing embodiments. In a possible design, the chip system 1800 also includes a memory for storing necessary program instructions and data for the terminal. The chip system can be composed of chips, or include chips and other discrete devices.
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。It should be noted that all relevant content of the steps involved in the foregoing method embodiments can be cited in the functional description of the corresponding functional module, and will not be repeated here.
图19示出了的一种电子设备1900的组成示意图。该电子设备1900可以包括:处理器1901和存储器1902。该存储器1902用于存储计算机执行指令。示例性的,在一些实施例中,当该处理器1901执行该存储器1902存储的指令时,可以使得该电子设备1900执行如图7所示的S701-S704,以及电子设备需要执行的其他操作。FIG. 19 shows a schematic diagram of the composition of an electronic device 1900. The electronic device 1900 may include: a processor 1901 and a memory 1902. The memory 1902 is used to store computer execution instructions. Exemplarily, in some embodiments, when the processor 1901 executes the instructions stored in the memory 1902, the electronic device 1900 can be caused to perform S701-S704 as shown in FIG. 7 and other operations that the electronic device needs to perform.
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。It should be noted that all relevant content of the steps involved in the foregoing method embodiments can be cited in the functional description of the corresponding functional module, and will not be repeated here.
在上述实施例中的功能或动作或操作或步骤等,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式来实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包括一个或多个可以用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带),光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。The functions or actions or operations or steps in the foregoing embodiments can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using a software program, it can be implemented in the form of a computer program product in whole or in part. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center. Transmission to another website, computer, server, or data center via wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or include one or more data storage devices such as servers, data centers, etc. that can be integrated with the medium. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).
尽管结合具体特征及其实施例对本申请进行了描述,显而易见的,在不脱离本申请的精神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本申请的示例性说明,且视为已覆盖本申请范围内的任意和所有修改、变化、组合或等同物。显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包括这些改动和变型在内。Although the application has been described in combination with specific features and embodiments, it is obvious that various modifications and combinations can be made without departing from the spirit and scope of the application. Correspondingly, the specification and drawings are merely exemplary descriptions of the application as defined by the appended claims, and are deemed to have covered any and all modifications, changes, combinations or equivalents within the scope of the application. Obviously, those skilled in the art can make various changes and modifications to the application without departing from the spirit and scope of the application. In this way, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalent technologies, this application is also intended to include these modifications and variations.

Claims (21)

  1. 一种健康数据展示方法,其特征在于,所述方法包括:A method for displaying health data, characterized in that the method includes:
    接收用户的第一操作;Receive the user's first operation;
    响应于所述第一操作,展示第一界面,所述第一界面的第一区域中包括M个第一元素,所述M个第一元素与M个维度对应,所述M个第一元素中的每个第一元素用于展示对应维度的完成度,所述维度的完成度是所述维度中包括任务的完成度,所述多个任务的完成度是根据对应的健康数据确定的,M为大于1的整数;In response to the first operation, a first interface is displayed, the first area of the first interface includes M first elements, the M first elements correspond to M dimensions, and the M first elements Each first element in is used to display the degree of completion of the corresponding dimension, the degree of completion of the dimension is the degree of completion of tasks included in the dimension, and the degree of completion of the multiple tasks is determined according to corresponding health data, M is an integer greater than 1;
    其中,由所述M个第一元素构成的图形为旋转对称图形,并且,所述M个第一元素中的任意两个元素的面积均相同。Wherein, the graph formed by the M first elements is a rotationally symmetric graph, and any two of the M first elements have the same area.
  2. 根据权利要求1所述的方法,其特征在于,所述第一区域中还包括N个第二元素,所述N个第二元素中的每个元素均对应于一个第一元素,N是小于或等于M,且大于或等于0的整数;The method according to claim 1, wherein the first region further comprises N second elements, each of the N second elements corresponds to a first element, and N is less than Or an integer equal to M and greater than or equal to 0;
    所述第二元素包括在与所述第二元素对应的第一元素内,用于指示所述第一元素对应维度的完成度。The second element is included in the first element corresponding to the second element, and is used to indicate the degree of completion of the dimension corresponding to the first element.
  3. 根据权利要求2所述的方法,其特征在于,所述第一界面中,所述M个第一元素的面积固定不变,所述第二元素的面积根据与所述第二元素对应的第一元素对应的维度的完成度确定;所述第二元素的面积与所述维度的完成度呈正相关的关系。The method according to claim 2, wherein in the first interface, the area of the M first elements is fixed, and the area of the second element is based on the second element corresponding to the second element. The degree of completion of the dimension corresponding to an element is determined; the area of the second element has a positive correlation with the degree of completion of the dimension.
  4. 根据权利要求2或3所述的方法,其特征在于,所述第一元素和所述第二元素的颜色不同。The method according to claim 2 or 3, wherein the colors of the first element and the second element are different.
  5. 根据权利要求2-4中任一项所述的方法,其特征在于,所述第一元素在展示在所述第一界面上的过程中,以电子设备展示图像的二维坐标为参考,所述第一元素的中心线在第一时刻与坐标轴呈第一夹角,所述第一元素的中心线在第二时刻与所述坐标轴呈第二夹角,所述第二时刻晚于所述第一时刻,所述第二夹角与所述第一夹角不同。The method according to any one of claims 2 to 4, wherein, in the process of displaying the first element on the first interface, the two-dimensional coordinates of the image displayed by the electronic device are used as a reference, so The center line of the first element forms a first angle with the coordinate axis at a first time, the center line of the first element forms a second angle with the coordinate axis at a second time, and the second time is later than At the first moment, the second included angle is different from the first included angle.
  6. 根据权利要求2-4中任一项所述的方法,其特征在于,所述第二元素在展示在所述第一界面上的过程中,以电子设备展示图像的二维坐标为参考,所述第二元素的中心线在第三时刻与坐标轴呈第三夹角,所述第二元素的中心线在第四时刻与所述坐标轴呈第四夹角,所述第四时刻晚于所述第三时刻,所述第四夹角与所述第三夹角不同。The method according to any one of claims 2-4, wherein the second element is displayed on the first interface with the two-dimensional coordinates of the image displayed by the electronic device as a reference, so The center line of the second element forms a third angle with the coordinate axis at the third time, the center line of the second element forms a fourth angle with the coordinate axis at the fourth time, and the fourth time is later than At the third moment, the fourth included angle is different from the third included angle.
  7. 根据权利要求2-5中任一项所述的方法,其特征在于,The method according to any one of claims 2-5, wherein:
    当所述M个第一元素对应维度下的任务未被全部完成时,所述M个第一元素的中每个第一元素的颜色各不相同;When the tasks in the dimensions corresponding to the M first elements are not all completed, the color of each first element of the M first elements is different;
    当所述M个第一元素对应维度下的任务均被完成时,所述M个第一元素的颜色相同。When the tasks in the dimensions corresponding to the M first elements are all completed, the colors of the M first elements are the same.
  8. 根据权利要求1-7中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-7, wherein the method further comprises:
    接收用户的对所述第一元素的第二操作;Receiving a user's second operation on the first element;
    响应于所述第二操作,展示第二界面,所述第二界面包括所述第一元素对应的维度下任务的详细完成情况。In response to the second operation, a second interface is displayed, and the second interface includes detailed completion status of tasks in the dimension corresponding to the first element.
  9. 根据权利要求1-8中任一项所述的方法,其特征在于,所述第一界面还包括:第二区域,所述第二区域包括通过如权利要求1-8中任一项所述的健康数据展示方法展示的预设周期内的第一历史健康数据。The method according to any one of claims 1-8, wherein the first interface further comprises: a second area, and the second area includes the The health data display method displays the first historical health data in a preset period.
  10. 根据权利要求9所述的方法,其特征在于,第一历史健康数据是通过所述预设周期内不同日期对应的由M个第一元素构成的图像的缩略图进行展示的。The method according to claim 9, wherein the first historical health data is displayed through thumbnails of images composed of M first elements corresponding to different dates in the preset period.
  11. 根据权利要求9或10所述的方法,其特征在于,所述方法还包括:The method according to claim 9 or 10, wherein the method further comprises:
    接收用户的对所述第二区域中的缩略图的第三操作;Receiving a user's third operation on the thumbnail in the second area;
    响应于所述第三操作,在所述第一区域展示与所述缩略图对应的M个第一元素。In response to the third operation, M first elements corresponding to the thumbnail are displayed in the first area.
  12. 根据权利要求9或10所述的方法,其特征在于,所述方法还包括:The method according to claim 9 or 10, wherein the method further comprises:
    接收用户的对所述第二区域中的缩略图的第四操作;Receiving a user's fourth operation on the thumbnail in the second area;
    响应于所述第四操作,在所述第一区域展示与所述缩略图对应的M个第一元素和N个第二元素。In response to the fourth operation, M first elements and N second elements corresponding to the thumbnail are displayed in the first area.
  13. 根据权利要求9-12中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 9-12, wherein the method further comprises:
    接收用户对所述第二区域的第五操作;Receiving a fifth operation of the user on the second area;
    响应于所述第五操作,在所述第二区域展示第二历史健康数据,所述第二历史健康数据是通过所述预设周期内不同日期对应的由M个第一元素构成的图像的缩略图进行展示的;In response to the fifth operation, the second historical health data is displayed in the second area, and the second historical health data is generated through images composed of M first elements corresponding to different dates in the preset period Thumbnails for display;
    所述第二历史健康数据对应的时间不同于所述第一为历史健康数据对应的时间。The time corresponding to the second historical health data is different from the time corresponding to the first historical health data.
  14. 根据权利要求1-13中任一项所述的方法,其特征在于,所述第一界面还包括第三区域,所述第三区域包括激励短语,所述激励短语是根据所述第一区域展示的M个第一元素对应的维度的完成度确定的。The method according to any one of claims 1-13, wherein the first interface further includes a third area, the third area includes an incentive phrase, and the incentive phrase is based on the first area The degree of completion of the dimensions corresponding to the displayed M first elements is determined.
  15. 根据权利要求1-14中任一项所述的方法,其特征在于,所述第一界面还包括第一控件,所述方法包括:The method according to any one of claims 1-14, wherein the first interface further comprises a first control, and the method comprises:
    接收用户对所述第一控件的第六操作;Receiving a sixth operation of the user on the first control;
    响应于所述第六操作,展示第三界面,所述第三界面包括与所述第一区域展示的所述M个第一元素对应的图像,以便于对此图像进行分享操作。In response to the sixth operation, a third interface is displayed, and the third interface includes images corresponding to the M first elements displayed in the first area, so as to facilitate sharing operations on this image.
  16. 根据权利要求1-15中任一项所述的方法,其特征在于,所述第一界面还包括第二控件,所述方法还包括:The method according to any one of claims 1-15, wherein the first interface further comprises a second control, and the method further comprises:
    接收用户对所述第二控件的第七操作;Receiving the seventh operation of the user on the second control;
    响应于所述第七操作,在所述第一界面上展示配置菜单,以便于用户通过所述配置菜单设置不同维度下的任务,或者,通过所述配置菜单生成健康数据对应的周报/月报/年报。In response to the seventh operation, a configuration menu is displayed on the first interface, so that the user can set tasks in different dimensions through the configuration menu, or generate a weekly/monthly report corresponding to health data through the configuration menu /annual report.
  17. 根据权利要求1-16中任一项所述的方法,其特征在于,所述健康数据是电子设备自行获取的,和/或通过其他电子设备采集获取的,和/或通过用户自行输入的。The method according to any one of claims 1-16, wherein the health data is obtained by an electronic device itself, and/or collected by other electronic devices, and/or input by a user.
  18. 根据权利要求1-17中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-17, wherein the method further comprises:
    接收用户的第八操作,所述第八操作包括对所述第一区域的双击操作,或长按操作,或缩放操作;Receiving an eighth operation of the user, where the eighth operation includes a double-click operation, or a long-press operation, or a zoom operation on the first area;
    响应于所述第八操作,在所述第一区域新增第一元素,所述新增的第一元素对应的维度与当前第一区域中展示的第一元素对应的维度不同。In response to the eighth operation, a first element is added to the first area, and the dimension corresponding to the newly added first element is different from the dimension corresponding to the first element currently displayed in the first area.
  19. 一种电子设备,其特征在于,所述电子设备包括一个或多个处理器和一个或多个存储器,以及显示屏;所述一个或多个存储器与所述一个或多个处理器耦合,所述一个或多个存储器存储有计算机指令;当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备在所述显示屏上按照如权利要求1-18中任一项所述的健康数据展示方法进行健康数据的展示。An electronic device, characterized in that the electronic device includes one or more processors, one or more memories, and a display screen; the one or more memories are coupled with the one or more processors, so The one or more memories store computer instructions; when the one or more processors execute the computer instructions, the electronic device is caused to operate on the display screen as described in any one of claims 1-18 The health data display method described above carries out the display of health data.
  20. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质包括计算机指令,当所述计算机指令运行时,执行如权利要求1-18任一项所述的健康数据展示方法。A computer-readable storage medium, wherein the computer-readable storage medium includes computer instructions, and when the computer instructions are executed, the health data display method according to any one of claims 1-18 is executed.
  21. 一种芯片系统,其特征在于,所述芯片包括处理电路和接口;所述处理电路用于 从存储介质中调用并运行所述存储介质中存储的计算机程序,以执行如权利要求1-18任一项所述的健康数据展示方法。A chip system, characterized in that the chip includes a processing circuit and an interface; the processing circuit is used to call and run a computer program stored in the storage medium from a storage medium to execute any of claims 1-18 One of the described health data display methods.
PCT/CN2021/092122 2020-06-08 2021-05-07 Health data display method and electronic device WO2021249073A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010514771.8 2020-06-08
CN202010514771.8A CN113838550A (en) 2020-06-08 2020-06-08 Health data display method and electronic equipment

Publications (1)

Publication Number Publication Date
WO2021249073A1 true WO2021249073A1 (en) 2021-12-16

Family

ID=78845267

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/092122 WO2021249073A1 (en) 2020-06-08 2021-05-07 Health data display method and electronic device

Country Status (2)

Country Link
CN (1) CN113838550A (en)
WO (1) WO2021249073A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115620866A (en) * 2022-06-17 2023-01-17 荣耀终端有限公司 Motion information prompting method and device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114428659A (en) * 2022-01-26 2022-05-03 惠州Tcl移动通信有限公司 Information display method and device, electronic equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105396280A (en) * 2010-08-11 2016-03-16 耐克创新有限合伙公司 Athletic Activity User Experience and Environment
US20170039327A1 (en) * 2015-08-06 2017-02-09 Microsoft Technology Licensing, Llc Client computing device health-related suggestions
CN109446033A (en) * 2018-09-30 2019-03-08 维沃移动通信有限公司 A kind of display methods and device of download progress
CN110740790A (en) * 2017-06-04 2020-01-31 苹果公司 Physical activity monitoring and stimulation with electronic devices

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101269533B1 (en) * 2005-04-28 2013-06-04 가부시키가이샤 시세이도 Skin state analyzing method, skin state analyzing device, and recording medium on which skin state analyzing program is recorded
CN101197628A (en) * 2007-12-29 2008-06-11 中国移动通信集团湖北有限公司 Net element information presenting method for wireless system
KR101645290B1 (en) * 2009-08-26 2016-08-16 삼성전자주식회사 Method and apparatus for providing and sharing comprehensive health information
EP4053767A1 (en) * 2014-05-30 2022-09-07 Apple Inc. Method for displaying and selecting data
JP6566240B2 (en) * 2015-04-16 2019-08-28 ソニー株式会社 Information processing apparatus, information processing method, and program
CN106250153A (en) * 2016-08-01 2016-12-21 乐视控股(北京)有限公司 A kind of user interface control method and equipment
KR102446329B1 (en) * 2016-12-01 2022-09-22 삼성전자주식회사 Device For Providing Health Management Service and Method Thereof
CN106997574A (en) * 2017-02-15 2017-08-01 王梅 A kind of health data interactive approach and system based on cloud service
CN109685593A (en) * 2017-10-19 2019-04-26 阿里巴巴集团控股有限公司 Data object information providing method, device and electronic equipment
US20190209100A1 (en) * 2018-01-05 2019-07-11 Byton Limited In-vehicle user health platform systems and methods
CN109829107A (en) * 2019-01-23 2019-05-31 华为技术有限公司 A kind of recommended method and electronic equipment based on user movement state
CN113760427B (en) * 2019-08-09 2022-12-16 荣耀终端有限公司 Method and electronic equipment for displaying page elements
CN110403585A (en) * 2019-08-30 2019-11-05 周国明 A kind of armband with sport health monitoring function

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105396280A (en) * 2010-08-11 2016-03-16 耐克创新有限合伙公司 Athletic Activity User Experience and Environment
US20170039327A1 (en) * 2015-08-06 2017-02-09 Microsoft Technology Licensing, Llc Client computing device health-related suggestions
CN110740790A (en) * 2017-06-04 2020-01-31 苹果公司 Physical activity monitoring and stimulation with electronic devices
CN109446033A (en) * 2018-09-30 2019-03-08 维沃移动通信有限公司 A kind of display methods and device of download progress

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115620866A (en) * 2022-06-17 2023-01-17 荣耀终端有限公司 Motion information prompting method and device
CN115620866B (en) * 2022-06-17 2023-10-24 荣耀终端有限公司 Motion information prompting method and device

Also Published As

Publication number Publication date
CN113838550A (en) 2021-12-24

Similar Documents

Publication Publication Date Title
CN110244893B (en) Operation method for split screen display and electronic equipment
US10452105B2 (en) Mobile device case for holding a display device
EP3893129A1 (en) Recommendation method based on user exercise state, and electronic device
WO2021213164A1 (en) Application interface interaction method, electronic device, and computer readable storage medium
CN110825469A (en) Voice assistant display method and device
WO2021057873A1 (en) Human body temperature measurement method, electronic device, and computer-readable storage medium
WO2021004527A1 (en) Countdown display method and electronic device
WO2021036585A1 (en) Flexible screen display method and electronic device
CN109992189A (en) Screen control method, electronic equipment and storage medium
KR101657232B1 (en) Method, apparatus, system, program and storage medium for controlling emission
EP4250698A1 (en) Method for controlling always-on display and electronic device
CN110448779B (en) Method and device for adjusting biological rhythm
WO2020037469A1 (en) Interface display method and electronic device
CN114514498A (en) Electronic equipment and operation method thereof
WO2021249073A1 (en) Health data display method and electronic device
WO2021063221A1 (en) Display method for electronic device, electronic device and computer readable storage medium
WO2021052139A1 (en) Gesture input method and electronic device
CN114115512B (en) Information display method, terminal device, and computer-readable storage medium
CN110727380A (en) Message reminding method and electronic equipment
CN112150499A (en) Image processing method and related device
WO2020221062A1 (en) Navigation operation method and electronic device
CN113163394A (en) Information sharing method and related device for context intelligent service
US10531401B2 (en) Method, terminal device and system for controlling transmission
CN113539487A (en) Data processing method and device and terminal equipment
WO2024021691A1 (en) Display method and electronic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21821863

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21821863

Country of ref document: EP

Kind code of ref document: A1