User interface display method and system for sleep quality detection

By displaying sleep status, index and distribution maps in the sleep quality detection system, the problems of complex user interface and unintuitive data are solved, convenient sleep data viewing and trend analysis are achieved, and user experience is improved.

CN118873093APending Publication Date: 2024-11-01SHENZHEN URION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410952359.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

The existing sleep quality detection system has problems such as complex operation and inadvertent data display in terms of user interface design, which cannot meet the user's needs for convenient and intuitive viewing of sleep quality data, affecting the user experience.

Method used

Provide a user interface display method and system, which obtains historical sleep data in response to sleep data display instructions, divides sleep states, performs weighted calculations and distribution processing, generates sleep index and distribution maps, and visually displays them in the interface, supporting trend analysis, Data recording, friend data monitoring, data sharing and other functions.

Benefits of technology

It improves user convenience and intuitiveness, helps users understand sleep quality more clearly, improves user experience, and supports users to analyze and improve sleep quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118873093A_ABST
    Figure CN118873093A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of interface display, in particular to a user interface display method and system for sleep quality detection. The display method comprises the steps that a sleep data display instruction is responded, first historical sleep data corresponding to a user are obtained, and the first historical sleep data comprise heart rate, breath and body movement data; performing sleep state division on the first historical sleep data to obtain a plurality of sleep states, and acquiring sleep data and total sleep duration corresponding to each sleep state in the plurality of sleep states, the plurality of sleep states including a fast eye movement sleep state, a light sleep state, a deep sleep state and a waking state; respectively carrying out weighted calculation on the sleep data and the total sleep duration with a preset weight to obtain a sleep index; performing distribution processing on the sleep data and the total sleep duration to obtain a sleep distribution diagram corresponding to the first historical sleep data; and respectively displaying the sleep data, the total sleep duration, the sleep index and the sleep distribution diagram in corresponding functional areas of a measurement interface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of interface display technology, and in particular to a user interface display method and system for sleep quality detection. Background Art

[0002] As people pay more and more attention to health management, sleep quality detection has become the focus of public attention. At present, there are many sleep quality detection systems on the market. These systems usually collect users' sleep data through sensors and then provide sleep quality reports after analysis. However, the existing sleep quality detection systems have shortcomings in user interface design, such as complex operation and lack of intuitive data display. They cannot meet users' needs for convenient and intuitive viewing of sleep quality data, affecting users' experience. Summary of the invention

[0003] In order to solve or partially solve the problems existing in the above-mentioned related technologies, the present application provides a user interface display method and system for sleep quality detection, which can meet the user's needs for convenient and intuitive viewing of sleep quality data and improve the user's usage experience.

[0004] In a first aspect, the present application provides a user interface display method for sleep quality detection, comprising: responding to a sleep data display instruction, obtaining first historical sleep data corresponding to a user, wherein the first historical sleep data includes heart rate, breathing and body movement data; dividing the first historical sleep data into sleep states to obtain multiple sleep states, and obtaining sleep data and total sleep duration corresponding to each of the multiple sleep states, wherein the multiple sleep states include rapid eye movement sleep, light sleep, deep sleep and awake state; performing weighted calculation on the sleep data and the total sleep duration with preset weights respectively to obtain a sleep index; performing distribution processing on the sleep data and the total sleep duration to obtain a sleep distribution map corresponding to the first historical sleep data; and displaying the sleep data, the total sleep duration, the sleep index and the sleep distribution map respectively in the corresponding functional areas of the measurement interface.

[0005] By adopting the above technical solution, after responding to the sleep data display instruction, the first historical sleep data is divided into sleep states, and the data corresponding to rapid eye movement sleep, light sleep, deep sleep and awake states and the total sleep duration can be obtained, and the sleep data and the total sleep duration are weighted calculated with preset weights respectively to obtain the corresponding sleep index. In addition, the sleep data and the total sleep duration are distributed to obtain a sleep distribution map, so that the sleep data, total sleep duration, sleep index and sleep distribution map are respectively displayed in the corresponding functional areas of the measurement interface, which can facilitate users to view sleep quality data conveniently and intuitively, so as to improve the user's experience.

[0006] Optionally, the user interface display method also includes: determining sleep trend data based on the first historical sleep data, and displaying it in the form of a label in the corresponding functional area of ​​the measurement interface; responding to the sleep trend display instruction, switching to the sleep trend interface; obtaining the heart rate and respiration of each time period in the first historical sleep data, and generating a heart rate distribution map according to the heart rate of each time period, and generating a respiration distribution map according to the respiration of each time period; and displaying the total sleep time, the sleep index, the sleep distribution map, the heart rate distribution map and the respiration distribution map in the corresponding functional areas of the sleep trend interface, respectively.

[0007] By adopting the above technical solution, sleep trend data can be determined based on the first historical sleep data and displayed in the corresponding functional area of ​​the measurement interface in the form of a label. After the measurement interface responds to the sleep trend display instruction, it can switch to the sleep trend interface to display the total sleep time, sleep index, sleep distribution map, heart rate distribution map and breathing distribution map. Most of the data is presented in a distribution map, that is, in a graphical style, which allows users to understand their sleep structure more clearly and further improves the user experience.

[0008] Optionally, the user interface display method also includes: responding to a data record display instruction to switch to a self-detection interface; responding to a day selection instruction to obtain second historical sleep data corresponding to the user and the number of measurements corresponding to the second historical sleep data; determining the number of times a standard sleep state is met in the number of measurements based on the second historical sleep data; the standard sleep state includes at least one of rapid eye movement sleep, light sleep, deep sleep and awake state; performing quality judgment based on sleep quality judgment conditions and each sleep state in the number of times the standard is met, and obtaining a sleep quality percentage graph; performing maximum sleep time screening based on the second historical sleep data and the day selection instruction to obtain a maximum sleep time graph; and respectively displaying the number of measurements, the number of times the standard is met, the sleep quality percentage graph and the maximum sleep time graph in the corresponding functional areas of the self-detection interface.

[0009] By adopting the above technical solution, after responding to the data record display instruction, the number of measurements and the number of times the standard is met can be determined according to the set number of days, and the corresponding sleep quality percentage graph and sleep time maximum value graph can be generated. These graphs can help users analyze their sleep habits and quality problems more comprehensively, and provide strong data support for improving sleep quality.

[0010] Optionally, the user interface display method also includes: responding to a care display instruction and switching to a care interface; acquiring an associated friend account and obtaining friend measurement data; responding to a friend data query instruction and switching to a friend data interface; and displaying the friend measurement data in the friend data interface.

[0011] By adopting the above technical solution, users can view their friends' sleep data such as sleep status, sleep index and other information in order to monitor their friends' sleep conditions.

[0012] Optionally, the user interface display method also includes: responding to a data sharing instruction and switching a sharing interface; obtaining sleep sharing data corresponding to the user within a preset period, and displaying the sleep sharing data on the sharing interface; and accepting user operation instructions on the sharing interface to select a corresponding sharing method.

[0013] By adopting the above technical solution, users can share their sleep data to social platforms with one click, which not only increases the fun and user stickiness of the software, but also helps users exchange sleep experiences with friends and improve sleep quality together.

[0014] Optionally, the preset state division conditions include threshold ranges of heart rate, breathing and body movement data corresponding to each sleep state.

[0015] By adopting the above technical solution, each sleep state is divided according to the threshold range of heart rate, breathing and body movement data, which makes it convenient to divide the sleep state and ensure the accuracy of the division.

[0016] Optionally, the friend's measurement data includes the friend's heart rate, breathing, body movement data and corresponding sleep status data.

[0017] By adopting the above technical solution, you can get more detailed sleep data of your friends, so as to monitor their sleep status.

[0018] In a second aspect, the present application provides a user interface display system for sleep quality detection, comprising: a response module, used to respond to a sleep data display instruction, and obtain first historical sleep data corresponding to a user, wherein the first historical sleep data includes heart rate, breathing and body movement data; a state classification module, used to divide the first historical sleep data into sleep states to obtain multiple sleep states, and obtain sleep data and total sleep duration corresponding to each of the multiple sleep states, wherein the multiple sleep states include rapid eye movement sleep, light sleep, deep sleep and awake state; a calculation module, used to perform weighted calculation on the sleep data and the total sleep duration with preset weights, respectively, to obtain a sleep index; a distribution processing module, used to perform distribution processing on the sleep data and the total sleep duration, and obtain a sleep distribution map corresponding to the first historical sleep data; a display module, used to display the sleep data, the total sleep duration, the sleep index and the sleep distribution map, respectively, in the corresponding functional areas of the measurement interface.

[0019] By adopting the above technical solution, after the response module responds to the sleep data display instruction, the first historical sleep data is divided into sleep states through the state division module, and the data corresponding to the rapid eye movement sleep, light sleep, deep sleep and awake state and the total sleep time can be obtained, and the sleep data and the total sleep time are weightedly calculated with the preset weights by the calculation module to obtain the corresponding sleep index. In addition, the sleep data and the total sleep time are distributed and processed by the distribution processing module to obtain a sleep distribution map. In this way, the sleep data, total sleep time, sleep index and sleep distribution map can be displayed in the corresponding functional areas of the measurement interface through the display module, so that users can view the sleep quality data conveniently and intuitively to improve the user's usage experience.

[0020] In a third aspect, the present application provides an electronic device, comprising a processor; and a memory, on which executable code is stored. When the executable code is executed by the processor, the processor executes a user interface display method for sleep quality detection as described in any one of the above.

[0021] In a fourth aspect, the present application provides a computer-readable storage medium having executable code stored thereon. When the executable code is executed by a processor of an electronic device, the processor executes a user interface display method for sleep quality detection as described in any one of the above items.

[0022] In summary, the present application includes at least one of the following beneficial technical effects: 1. After responding to the sleep data display instruction, the first historical sleep data is divided into sleep states, and the data corresponding to the rapid eye movement sleep, light sleep, deep sleep and awake state and the total sleep time can be obtained. The sleep data and the total sleep time are weighted and calculated with preset weights to obtain the corresponding sleep index. In addition, the sleep data and the total sleep time are distributed to obtain a sleep distribution map. In this way, the sleep data, total sleep time, sleep index and sleep distribution map are respectively displayed in the corresponding function areas of the measurement interface, which can facilitate users to view sleep quality data conveniently and intuitively, so as to improve the user experience; 2. The sleep trend data can be determined based on the first historical sleep data and displayed in the corresponding function area of ​​the measurement interface in the form of a label. After responding to the sleep trend display instruction on the measurement interface, you can switch to the sleep trend interface to display the total sleep time, sleep index, sleep distribution map, heart rate distribution map and breathing distribution map. Most of the data is presented in a distribution map, that is, a graphical style, which allows users to understand their sleep structure more clearly, further improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 A flowchart of a user interface display method for sleep quality detection disclosed in an embodiment of the present application; Figure 2 Another flowchart of a user interface display method for sleep quality detection disclosed in an embodiment of the present application is shown; Figure 3 A data reference table for obtaining corresponding scores and weights based on sleep data; Figure 4 A schematic diagram of an interface of measurement data generated by a user interface display method for sleep quality detection disclosed in an embodiment of the present application; Figure 5 A schematic diagram of an interface of a sleep trend generated by a user interface display method for sleep quality detection disclosed in an embodiment of the present application; Figure 6 A schematic diagram of a self-monitoring interface generated by a user interface display method for sleep quality detection disclosed in an embodiment of the present application; Figure 7 A schematic diagram of an interface for adding friends generated by a user interface display method for sleep quality detection disclosed in an embodiment of the present application; Figure 8 A schematic diagram of an interface of sleep measurement data of a friend generated by a user interface display method for sleep quality detection disclosed in an embodiment of the present application; Fig. 9A schematic diagram of an interface for sharing data generated by a user interface display method for sleep quality detection disclosed in an embodiment of the present application; Fig.10 This is a schematic diagram of an interface of other monitoring data labels displayed by a user interface display method for sleep quality detection disclosed in an embodiment of the present application; Fig.11 This is a structural schematic diagram of a user interface display system for sleep quality detection disclosed in another embodiment of the present application. DETAILED DESCRIPTION

[0024] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to be used as limitations to the present application. As used in the specification and appended claims of the present application, the singular expressions "one", "a kind of", "above", "the" and "this" are intended to also include plural expressions, unless there is an explicit contrary indication in the context. It should also be understood that the term "and / or" used in the present application refers to and includes any or all possible combinations of one or more listed items.

[0025] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.

[0026] The technical solution of the embodiments of the present application is described in detail below with reference to the accompanying drawings.

[0027] See also Figure 1 , is a user interface display method for sleep quality detection disclosed in an embodiment of the present application, and the steps are as follows: S10, responding to the sleep data display instruction, obtaining first historical sleep data corresponding to the user; When responding to the display instruction, the user's first historical sleep data is simultaneously obtained, and the first historical sleep data includes heart rate, breathing and body movement data.

[0028] S20, dividing the first historical sleep data into sleep states to obtain multiple sleep states, and obtaining sleep data and a total sleep duration corresponding to each of the multiple sleep states; Among them, multiple sleep states include rapid eye movement (REM), light sleep, deep sleep and wakefulness, and the data range of heart rate, breathing and body movement data corresponding to each state is different.

[0029] Specifically, the sleep state classification of the first historical sleep data is based on the preset threshold ranges of the heart rate, breathing and body movement data corresponding to each sleep state, and the heart rate, breathing and body movement data at each time point in the first historical sleep data are compared with the corresponding threshold ranges to obtain the sleep states of different time periods. It is noted that the threshold ranges of each sleep state are not limited and can be adjusted based on actual data.

[0030] S30, performing weighted calculation on the sleep data and the total sleep duration with preset weights to obtain a sleep index; For example, see Figure 3 When calculating the data in the table, first obtain the scores corresponding to total sleep time, deep sleep time, light sleep time, rapid eye movement ratio, breathing, and heart rate, then multiply the scores by the weights to obtain multiple products, and then add the multiple products in sequence to obtain the value obtained, which is the sleep index.

[0031] S40, performing distribution processing on the sleep data and the total sleep duration to obtain a sleep distribution graph corresponding to the first historical sleep data; See also Figure 4 The sleep distribution diagram uses time as the horizontal axis to distribute various sleep states.

[0032] S50, displaying the sleep data, total sleep duration, sleep index and sleep distribution diagram in corresponding function areas of the measurement interface respectively.

[0033] It should be noted that the distribution position of each data in the interface is pre-set. For specific layout examples, please refer to Figure 4 .

[0034] Further, see Figure 2 , the user interface display method further includes: S60, determining sleep trend data based on the first historical sleep data, and displaying the sleep trend data in a corresponding function area of ​​the measurement interface in the form of a label; See also Figure 4 , the graphical labels for sleep trend data are located in Figure 4 In the upper right corner, users can click this icon label to view the specific data of sleep trends. For specific data, see Figure 5 (Total sleep time, sleep index, sleep time distribution graph, heart rate distribution graph and breathing distribution graph are presented).

[0035] S70, responding to the sleep trend display instruction, switching to the sleep trend interface; For example, from Figure 4 The interface switches to Figure 5 , to present the response data.

[0036] S80, obtaining the heart rate and respiration of each time period in the first historical sleep data, and generating a heart rate distribution graph according to the heart rate of each time period, and generating a respiration distribution graph according to the respiration of each time period; Among them, the heart rate distribution graph and breathing distribution graph can help users more intuitively observe the changing trends of heart rate and breathing.

[0037] S90. Display the total sleep duration, sleep index, sleep distribution graph, heart rate distribution graph, and breathing distribution graph in corresponding functional areas of the sleep trend interface, respectively.

[0038] See also Figure 5 The sleep distribution map, heart rate distribution map and breathing distribution map are displayed concisely in the form of diagrams. Users can not only understand their current sleep quality, but also grasp the changing patterns of their sleep conditions from a macro perspective.

[0039] Furthermore, the user interface display method further includes: S100, responding to the data record display instruction and switching to the self-test interface; See also Figure 6 , is a schematic diagram of the self-detection interface. Users can select the time, that is, the number of days, to view the sleep quality percentage and the maximum sleep time.

[0040] S110, responding to the day selection instruction, obtaining the second historical sleep data corresponding to the user and the number of measurements corresponding to the second historical sleep data; If the number of days is 7 days, the sleep data within 7 days will be obtained, so as to determine how many times the sleep was measured within 7 days.

[0041] S120, determining the number of times that a standard sleep state is satisfied among the measured times according to the second historical sleep data; Among them, the standard sleep state is pre-set, and the number of times the standard is reached can be determined by comparing the data corresponding to the test times with the data corresponding to the standard sleep state.

[0042] S130, performing quality determination according to the sleep quality determination condition and each sleep state during the number of times reaching the standard, and obtaining a sleep quality proportion graph; Among them, the preset sleep quality judgment condition can be whether the ratio of deep sleep time to total sleep time reaches a threshold range, so as to judge the general, good, and bad of each sleep data based on the threshold range, thereby generating a sleep quality ratio graph.

[0043] S140, screening the maximum sleep time according to the second historical sleep data and the day selection instruction to obtain a maximum sleep time graph; See also Figure 6The sleep time maximum value graph includes the maximum sleep time, minimum sleep time and average sleep time within a certain number of days. With these as parameters, the user's sleep data can be presented as a whole, so that the user can quickly understand his or her sleep situation.

[0044] S150, displaying the number of measurements, the number of times reaching the target, the sleep quality ratio graph, and the sleep time maximum value graph in the corresponding function areas of the self-detection interface respectively.

[0045] See also Figure 6 , which is a schematic diagram of the interface presented in this embodiment, can help users analyze their sleeping habits and quality issues more comprehensively, and provide strong data support for improving sleep quality.

[0046] Furthermore, the user interface display method further includes: S160, responding to the care display instruction, switching to the care interface; The user can click and select through the navigation bar (Home, Care, Record, My) at the bottom of the interface to switch to the target interface. This step S160 is to click "Care" to switch to the Care interface. Figure 7 .

[0047] S170, obtaining the associated friend account and obtaining the friend measurement data; If you have previously associated a friend account, the friend data will be displayed in the interface. You can also add friends through the "+" in the upper right corner of the care interface. Figure 7 The friend's measurement data includes the friend's heart rate, breathing, body movement data and corresponding sleep status data.

[0048] S180, responding to the friend data query instruction, switching to the friend data interface.

[0049] S190: Display the friend's measurement data in the friend's data interface.

[0050] The friend data interface has the same presentation format as the user's personal interface. For a schematic diagram of the data presentation, see Figure 8 .

[0051] Furthermore, the user interface display method further includes: S200, responding to the data sharing instruction and switching the sharing interface; See also Figure 4 , a sharing label is displayed in the function area of ​​the sleep index, and users can click the sharing label to share data.

[0052] In addition, Figure 4The upper right corner also displays a Bluetooth connection status label. Users can click this label to connect to Bluetooth, query device connection information, and change different devices for Bluetooth connection.

[0053] S210: Obtain sleep sharing data corresponding to the user within a preset period, and display the sleep sharing data on a sharing interface.

[0054] See also Fig. 9 , the sleep sharing data is sleep time: 1 hour 42 minutes; deep sleep time: 0 hours 25 minutes; light sleep time: 0 hours 49 minutes...etc. S220: accepting the user's operation instruction on the sharing interface to select a corresponding sharing method.

[0055] See also Fig. 9 , sharing methods include WeChat friends and Moments, but of course this is not limited here.

[0056] In addition, see Fig.10 In addition to displaying sleep data, the interface presented in this interface display method can also connect to other devices to monitor the user's blood pressure, body fat and blood sugar, which are presented on the interface in the form of function labels. By clicking on different function labels, users can pull different monitoring data for analysis and display, which reflects the versatility of the software and the need to intuitively view other monitoring data, further improving the user experience.

[0057] It is noted that the numbers of the steps in this embodiment are only for convenience of explanation and do not limit the execution order of the steps. In practical applications, the execution order of the steps can be adjusted as needed, or performed simultaneously. These adjustments or replacements are all within the scope of protection of the present invention.

[0058] See also Fig.11 , which is another embodiment of the present application, disclosed a user interface display system for sleep quality detection, including: a response module 300, a state division module 310, a calculation module 320, a distribution processing module 330 and a display module 340.

[0059] The response module 300 is used to respond to the sleep data display instruction and obtain the first historical sleep data corresponding to the user, wherein the first historical sleep data includes heart rate, breathing and body movement data; The state classification module 310 is used to classify the first historical sleep data into sleep states to obtain multiple sleep states, and obtain sleep data and total sleep duration corresponding to each of the multiple sleep states, wherein the multiple sleep states include rapid eye movement sleep, light sleep, deep sleep and awake state; The calculation module 320 is used to perform weighted calculation on the sleep data and the total sleep duration with preset weights to obtain a sleep index; The distribution processing module 330 is used to perform distribution processing on the sleep data and the total sleep duration to obtain a sleep distribution graph corresponding to the first historical sleep data; The display module 340 is used to display the sleep data, total sleep duration, sleep index and sleep distribution diagram in the corresponding function areas of the measurement interface.

[0060] It should be noted that the user interface display system for sleep quality detection disclosed in this embodiment and the user interface display method for sleep quality detection implemented are as described in the above embodiment, so they will not be described in detail here. Optionally, the various modules in this embodiment and the above other operations or functions are respectively for implementing the methods in the above embodiments.

[0061] Another embodiment of the present application shows a computing electronic device including a memory and a processor.

[0062] The processor can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.

[0063] A general purpose processor may be a microprocessor or the processor may be any conventional processor. The memory 1800 may include various types of storage units, such as system memory, read-only memory (ROM), and permanent storage.

[0064] Among them, ROM can store static data or instructions required by the processor or other modules of the computer. The permanent storage device can be a readable and writable storage device. The permanent storage device can be a non-volatile storage device that does not lose the stored instructions and data even if the computer is powered off. In some embodiments, the permanent storage device uses a large-capacity storage device (such as a magnetic or optical disk, flash memory) as a permanent storage device.

[0065] In some other embodiments, the permanent storage device may be a removable storage device (e.g., a floppy disk, an optical drive). The system memory may be a read-write storage device or a volatile read-write storage device, such as a dynamic random access memory. The system memory may store some or all of the instructions and data required by the processor at run time.

[0066] In addition, the memory may include any combination of computer-readable storage media, including various types of semiconductor memory chips (e.g., DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), magnetic disks and / or optical disks may also be used.

[0067] In some embodiments, the memory may include a removable storage device that can be read and / or written, such as a laser disc (CD), a read-only digital versatile disc (e.g., DVD-ROM, double-layer DVD-ROM), a read-only Blu-ray disc, an ultra-density optical disc, a flash memory card (e.g., SD card, min SD card, Micro-SD card, etc.), a magnetic floppy disk, etc. Computer-readable storage media do not include carrier waves and instantaneous electronic signals transmitted wirelessly or by wire. The memory stores executable code, and when the executable code is processed by the processor, the processor can execute part or all of the methods described above.

[0068] In addition, the method according to the present application may also be implemented as a computer program or a computer program product, which includes computer program code instructions for executing some or all of the steps in the above method of the present application.

[0069] Alternatively, the present application can also be implemented as a computer-readable storage medium (or non-transitory machine-readable storage medium or machine-readable storage medium) on which executable code (or computer program or computer instruction code) is stored. When the executable code (or computer program or computer instruction code) is executed by a processor of an electronic device (or server, etc.), the processor executes part or all of the steps of the above-mentioned method according to the present application.

[0070] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A user interface display method for sleep quality detection, characterized in that: include: In response to the sleep data display instruction, obtaining first historical sleep data corresponding to the user, wherein the first historical sleep data includes heart rate, breathing and body movement data; Dividing the first historical sleep data into sleep states to obtain a plurality of sleep states, and obtaining sleep data and a total sleep duration corresponding to each of the plurality of sleep states, wherein the plurality of sleep states include rapid eye movement sleep, light sleep, deep sleep, and awake state; Performing weighted calculation on the sleep data and the total sleep duration with preset weights respectively to obtain a sleep index; performing distribution processing on the sleep data and the total sleep duration to obtain a sleep distribution graph corresponding to the first historical sleep data; The sleep data, the total sleep duration, the sleep index and the sleep distribution diagram are respectively displayed in corresponding function areas of the measurement interface.

2. The user interface display method according to claim 1, characterized in that: Also includes: Determine sleep trend data based on the first historical sleep data, and display the sleep trend data in a corresponding functional area of ​​the measurement interface in the form of a label; In response to the sleep trend display instruction, switch to the sleep trend interface; Acquire the heart rate and respiration of each time period in the first historical sleep data, and generate a heart rate distribution graph according to the heart rate of each time period, and generate a respiration distribution graph according to the respiration of each time period; The total sleep duration, the sleep index, the sleep distribution graph, the heart rate distribution graph and the breathing distribution graph are respectively displayed in corresponding function areas of the sleep trend interface.

3. The user interface display method according to claim 1, characterized in that: Also includes: Respond to the data record display command and switch to the self-test interface; In response to the day selection instruction, obtaining the second historical sleep data corresponding to the user and the number of measurements corresponding to the second historical sleep data; Determine the number of times that a standard sleep state is satisfied among the number of measurements according to the second historical sleep data; Perform quality determination according to the sleep quality determination conditions and each sleep state in the number of times reaching the standard, and obtain a sleep quality proportion graph; Screening the maximum values ​​of sleep time according to the second historical sleep data and the day selection instruction to obtain a maximum sleep time graph; The number of measurements, the number of times reaching the target, the sleep quality ratio graph and the maximum sleep time graph are respectively displayed in corresponding function areas of the self-detection interface.

4. The user interface display method according to claim 1, characterized in that: Also includes: Respond to the care display instruction and switch to the care interface; Get the associated friend account and get the friend measurement data; Respond to the friend data query command and switch to the friend data interface; The friend measurement data is displayed in the friend data interface.

5. The user interface display method according to claim 4, characterized in that: Also includes: Respond to data sharing instructions and switch the sharing interface; Acquire the sleep sharing data corresponding to the user within a preset period, and display the sleep sharing data on the sharing interface; The user's operation instruction is accepted on the sharing interface to select a corresponding sharing method.

6. The user interface display method according to claim 1, characterized in that: The preset state classification conditions include threshold ranges of heart rate, breathing and body movement data corresponding to each sleep state.

7. The user interface display method according to claim 4, characterized in that: The friend measurement data includes the friend's heart rate, breathing, body movement data and corresponding sleep state data.

8. A user interface display system for sleep quality detection, characterized in that: include: A response module, configured to respond to a sleep data display instruction and obtain first historical sleep data corresponding to the user, wherein the first historical sleep data includes heart rate, breathing and body movement data; a state classification module, configured to classify the first historical sleep data into sleep states to obtain a plurality of sleep states, and obtain sleep data and a total sleep duration corresponding to each of the plurality of sleep states, wherein the plurality of sleep states include rapid eye movement sleep, light sleep, deep sleep, and awake state; A calculation module, used for performing weighted calculation on the sleep data and the total sleep duration respectively with preset weights to obtain a sleep index; a distribution processing module, configured to perform distribution processing on the sleep data and the total sleep duration to obtain a sleep distribution graph corresponding to the first historical sleep data; The display module is used to display the sleep data, the total sleep duration, the sleep index and the sleep distribution diagram in the corresponding function areas of the measurement interface.

9. An electronic device, characterized in that: include: processor; as well as A memory having executable codes stored thereon, which, when executed by the processor, causes the processor to execute the user interface display method for sleep quality detection as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: An executable code is stored thereon, and when the executable code is executed by a processor of an electronic device, the processor is caused to execute the user interface display method for sleep quality detection as described in any one of claims 1 to 7.