CN110974159A - Sleep information display method and device and computer equipment - Google Patents

Sleep information display method and device and computer equipment Download PDF

Info

Publication number
CN110974159A
CN110974159A CN201911089191.2A CN201911089191A CN110974159A CN 110974159 A CN110974159 A CN 110974159A CN 201911089191 A CN201911089191 A CN 201911089191A CN 110974159 A CN110974159 A CN 110974159A
Authority
CN
China
Prior art keywords
spiral body
user
sleep
spiral
sleep information
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201911089191.2A
Other languages
Chinese (zh)
Inventor
杨松
白岩
刘南阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Quanzhou Minimalist Robot Technology Co ltd
Original Assignee
Quanzhou Minimalist Robot Technology Co ltd
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 Quanzhou Minimalist Robot Technology Co ltd filed Critical Quanzhou Minimalist Robot Technology Co ltd
Priority to CN201911089191.2A priority Critical patent/CN110974159A/en
Publication of CN110974159A publication Critical patent/CN110974159A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/74Details of notification to user or communication with user or patient ; user input means
    • A61B5/742Details of notification to user or communication with user or patient ; user input means using visual displays
    • A61B5/743Displaying an image simultaneously with additional graphical information, e.g. symbols, charts, function plots
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/48Other medical applications
    • A61B5/4806Sleep evaluation

Abstract

The application discloses a display method and device of sleep information, computer equipment and a computer readable storage medium, comprising the following steps: acquiring sleep information of a user; loading user sleep information on a pre-constructed spiral body according to corresponding occurrence time, wherein the spiral body is a spring-shaped 3D model, a complete circle in the spiral body corresponds to a complete 24-hour circle, and the inner diameter and the outer diameter of each circle of the spiral body are the same; and outputting the adjusted spiral body to a display interface. The spirochete is pre-constructed inside the system, after the system acquires the user sleep information, the form of the spirochete, such as the color and the attachment elements of the spirochete, is adjusted on the time axis of the 3D spirochete according to the user sleep information, so that the user sleep information can be continuously displayed in a circulating and progressive mode on the time axis, the influence of time span is avoided, and the relation of each data in the user sleep information can be visually presented to an observer.

Description

Sleep information display method and device and computer equipment
Technical Field
The invention relates to the technical field of information display, in particular to a method and a device for displaying sleep information and computer equipment.
Background
The sleep information of the user includes the sleep quality of the user and various sleep events, such as time of falling asleep, sleep stages, time of getting up, snoring, etc. In order to visually understand the sleep daily life of the user, the sleep information needs to be correspondingly displayed. The existing method for displaying sleep information generally uses a calendar, and combines a plane circle, a ring with a certain radian, a plane coordinate graph and the like to display data of one day or several hours. Once the time range corresponding to the sleep information exceeds one day, the data amount of a specific data can be displayed by using various coordinates. Therefore, if a graph is used to show the correlation between the sleep onset time and the sleep quality for a long time, for example, 100 days, the sleep onset time and the sleep quality for each night of a plurality of time periods must be shown in a graph for 100 days, which results in a very complicated representation of the graph and is difficult to realize. Moreover, manually performing the splitting every day does not accord with the natural rule, the time of selecting the splitting is difficult to balance, and all sleep information occurring on a circularly progressive time axis cannot be continuously displayed.
Disclosure of Invention
The invention mainly aims to provide a method and a device for displaying sleep information and computer equipment, which solve the problem that the existing method for displaying sleep information cannot realize continuous and progressive expression on data with larger time span.
The invention provides a sleep information display method, which comprises the following steps:
acquiring sleep information of a user;
loading the user sleep information on a pre-constructed spiral body according to the corresponding occurrence time, wherein the spiral body is a spring-shaped 3D model, one complete circle in the spiral body corresponds to a complete 24-hour circle, and the inner diameter and the outer diameter of each circle of the spiral body are the same;
and outputting the adjusted spiral body to a display interface.
Further, the user sleep information includes user sleep quality, a single complete circle of the spiral body is a spiral ring, and the step of adjusting the form of the pre-constructed spiral body according to the user sleep information includes:
acquiring a display color corresponding to the user sleep quality from a pre-constructed color database, and screening a first spiral ring corresponding to the acquisition date of the user sleep quality on the spiral body, wherein a mapping relation table of the user sleep quality and the display color is stored in the color database;
setting an exterior color of the first helical ring to the display color.
Further, the user sleep information further includes a plurality of sleep events of different types, and the step of adjusting the form of the pre-constructed spirochete according to the user sleep information includes:
acquiring attachment elements respectively corresponding to each sleep event from a pre-constructed element database, and screening attachment positions respectively corresponding to the occurrence time of each sleep event on the spirochete, wherein a sleep event and attachment element mapping relation table is stored in the element database;
and generating respective corresponding attachment elements at the respective attachment positions.
Further, the step of screening the attachment positions on the spiral body corresponding to the occurrence times of the sleep events includes:
screening second spiral loops corresponding to the occurrence dates of the sleep events on the spiral bodies respectively;
and screening a first ring body area corresponding to the occurrence time of the sleep event on the second spiral ring, and taking the first ring body area as the attachment position.
Further, after the step of outputting the adjusted spiral body to a display interface, the method includes:
acquiring a retrieval instruction input by a user;
and adjusting the direction of the spiral body according to the retrieval instruction so as to acquire the user sleep information corresponding to the retrieval instruction.
Further, the retrieving instruction includes a retrieving time period, and the step of adjusting the position of the spiral body according to the retrieving instruction includes:
judging whether a first time period corresponding to the display area of the display interface of the spiral body currently contains the retrieval time period or not;
and if the first time period corresponding to the current display area of the spiral body does not contain the retrieval time period, compressing the spiral body according to a preset process until the first time period contains the retrieval time period.
Further, the retrieval instruction further includes retrieval time, and the step of adjusting the position of the spiral body according to the retrieval instruction includes:
judging whether the sleep information corresponding to the retrieval time is currently in a front display state in a second loop area on the spiral body;
and if the sleep information corresponding to the retrieval time is not in the front display state in the second loop area on the spiral body currently, rotating the spiral body until the second loop area is in the front display state.
The invention also provides a device for displaying sleep information, which comprises:
the first acquisition module is used for acquiring the sleep information of the user;
the loading module is used for loading the user sleep information on a pre-constructed spiral body according to the corresponding occurrence time, wherein the spiral body is a spring-shaped 3D model, one complete circle in the spiral body corresponds to a complete 24-hour circle, and the inner diameter and the outer diameter of each circle of the spiral body are the same;
and the output module is used for outputting the adjusted spiral body to a display interface.
Further, the user sleep information includes a user sleep quality, a single complete circle of the spiral body is a spiral ring, and the adjusting module includes:
the device comprises a first acquisition unit, a second acquisition unit and a display unit, wherein the first acquisition unit is used for acquiring a display color corresponding to the sleep quality of a user from a pre-constructed color database, and the color database stores a mapping relation table of the sleep quality of the user and the display color;
the first screening unit is used for screening a first spiral ring corresponding to the acquisition date of the sleep quality of the user on the spiral body;
and the setting unit is used for setting the appearance color of the first spiral ring as the display color.
Further, the user sleep information further includes a plurality of different types of sleep events, and the adjusting module further includes:
a second obtaining unit, configured to obtain attachment elements corresponding to the sleep events from a pre-constructed element database, where a sleep event and attachment element mapping relationship table is stored in the element database;
a second screening unit for screening attachment positions on the spiral body corresponding to the occurrence times of the sleep events, respectively;
and the generating unit is used for generating the attachment elements corresponding to the attachment positions respectively.
Further, the occurrence time includes an occurrence date and an occurrence time, and the second filtering unit includes:
a first screening subunit, configured to screen, on the spiral body, second spiral loops corresponding to the occurrence dates of the sleep events, respectively;
a second screening subunit, configured to screen a first loop body region corresponding to the occurrence time of the sleep event on the second spiral loop, and use the first loop body region as the attachment position.
Further, the display device further includes:
the second acquisition module is used for acquiring a retrieval instruction input by a user;
and the adjusting module is used for adjusting the direction of the spiral body according to the retrieval instruction so as to acquire the user sleep information corresponding to the retrieval instruction.
Further, the retrieval instruction includes a retrieval time period, and the adjusting module includes:
the first judging unit is used for judging whether a first time period corresponding to the display area of the display interface of the spiral body currently contains the retrieval time period or not;
and the compression unit is used for compressing the spiral body according to a preset process until the first time period comprises the retrieval time period if the first time period corresponding to the display area of the display interface of the spiral body does not comprise the retrieval time period.
Further, the retrieving instruction further includes retrieving time, and the adjusting module further includes:
a second judging unit, configured to judge whether the sleep information corresponding to the retrieval time is currently in a front display state in a second loop area on the spiral body;
and the rotating unit is used for rotating the spiral body until the second loop area is in the front display state if the second loop area of the sleep information corresponding to the retrieval time on the spiral body is not in the front display state currently.
The present application further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any one of the above methods when executing the computer program.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the method of any of the above.
The invention provides a method, a device and computer equipment for displaying sleep information. After the user sleep information is acquired, the form of the spirochete, such as the color, the attachment elements and the like of the spirochete, is adjusted on the time axis of the 3D spirochete according to the user sleep information, so that the user sleep information can be continuously displayed in a circulating and progressive manner on the time axis without being influenced by time span, and the relation of each data in the user sleep information can be visually displayed to an observer.
Drawings
Fig. 1 is a flowchart of a method for displaying sleep information according to an embodiment of the present invention;
FIG. 2 is a block diagram of a device for displaying sleep information according to an embodiment of the present invention;
fig. 3 is a block diagram schematically illustrating a structure of a computer device according to an embodiment of the present application.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It is to be understood that the described embodiments are merely a few embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that all the directional indicators (such as up, down, left, right, front, and rear … …) in the embodiment of the present invention are only used to explain the relative position relationship between the components, the movement situation, etc. in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indicator is changed accordingly.
In addition, the descriptions related to "first", "second", etc. in the present invention are for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment provides a method for displaying sleep information, which comprises the following steps:
s1: acquiring sleep information of a user;
s2: loading the user sleep information on a pre-constructed spiral body according to the corresponding occurrence time, wherein the spiral body is a spring-shaped 3D model, one complete circle in the spiral body corresponds to a complete 24-hour circle, and the inner diameter and the outer diameter of each circle of the spiral body are the same;
s3: and outputting the adjusted spiral body to a display interface.
In this embodiment, a bed body on which the user sleeps is provided with a sleep sensor, and the sleep sensor can sense various sleep information of the user through vibration of the user sleeping on the bed body, such as sleep time, sleep stage, getting-up time, snoring and the like of the user. And a processor of the system is in signal connection with the sleep sensor so as to acquire the sleep information of the user monitored by the sleep sensor. A spiral body is constructed in the system, the spiral body is a spring-shaped 3D model, each circle of the spiral body has a phase of 360 degrees, the tail part of a spiral ring of the previous circle is connected with the head part of a spiral ring of the next circle, and the phase of each circle can represent 24-hour time of each day, namely, one circle completed in the spiral body corresponds to complete day time. And, the spiral body is cylindrical, and the internal diameter and the external diameter of every circle of spiral body are the same. For example, the spiral body is respectively composed of an A ring, a B ring and a C ring which are connected end to end, and the outer diameters of the A ring, the B ring and the C ring are the same; the inner diameters of the A ring, the B ring and the C ring are the same. The spirochete may be generated by the system immediately after receiving the user sleep information, for example, if the duration corresponding to the user sleep information currently received by the system is 7 days, the number of the immediately generated spirochetes is 7. Preferably, the spirochete can also be pre-constructed and stored in the system, and the pre-constructed spirochete can timely perform corresponding recording after the system receives the user sleep information, so that the processing speed of the system is improved. The length of the spiral body can be gradually extended along with the increase of the occurrence time corresponding to the sleep information of the user, that is, the spiral body can gradually generate a new spiral ring corresponding to the occurrence time along with the increase of the occurrence time. A plurality of databases such as a color database, a brightness database, an element database and the like are built in the system. The system can obtain the daily sleep quality of the user according to the information of the user such as the time of falling asleep, sleep stages, the time of getting up, snoring and the like, then screen the display color corresponding to the daily sleep quality of the user from the color database, and finally set the specific circle of the daily sleep information of the user on the spiral body, namely the integral color of the spiral ring as the display color, so that the spiral body can visually represent the daily sleep quality of the user. The brightness database stores a mapping relation table of sleep stages and display brightness, the sleep stages refer to sleep time and wake-up time of the user, for example, in a period of 22: 00-2: 00, the user is in a sleep state, and the period of time is displayed as high brightness in a corresponding specific area on the spiral ring; and when the user is in the waking state in the time period of 2: 00-2: 30, the time period is displayed as low brightness in the corresponding specific area on the spiral ring, so that the sleep stage of the user can be visually represented on the same spiral ring by different shades. The element database stores a mapping relation table of sleep events and attachment elements, and the system can screen attachment positions respectively corresponding to the occurrence time of each sleep event on the spirochete and then generate the respective corresponding attachment elements at the attachment positions respectively. After the system acquires the user sleep information, the system firstly needs to be divided according to the time period corresponding to the user sleep information, so that the corresponding spiral ring is selected on the spiral body for displaying. For example, if the system currently acquires all user sleep information of a user in a week, the system needs to divide the user sleep information into 7 pieces of user sleep sub-information according to the occurrence date, each piece of user sleep sub-information corresponds to a complete day time, and meanwhile, each piece of user sleep sub-information needs to be displayed on a complete spiral ring on the spiral body to adjust the form of the spiral body. Specifically, according to the method, the system adjusts the color, the brightness and various attachment elements of the corresponding spiral ring according to various user sleep information such as sleep quality, sleep stages, snoring and the like, so that the user sleep information is recorded on the spiral body. The system outputs the form of the spiral body to a display interface for displaying after finishing the form adjustment of the spiral body according to the sleep information of the user. The user sleep information is recorded on the circularly progressive spiral body according to the time axis in the forms of color, brightness, attachment elements and the like, so that the incidence relation of the user sleep information in different time can be visually embodied, and the user sleep information can be continuously and comprehensively displayed.
Further, the user sleep information includes user sleep quality, a single complete circle of the spiral body is a spiral ring, and the step of adjusting the form of the pre-constructed spiral body according to the user sleep information includes:
s201: acquiring a display color corresponding to the user sleep quality from a pre-constructed color database, and screening a first spiral ring corresponding to the acquisition date of the user sleep quality on the spiral body, wherein a mapping relation table of the user sleep quality and the display color is stored in the color database;
s202: setting an exterior color of the first helical ring to the display color.
In this embodiment, the user sleep information includes user sleep quality, and the user sleep quality may be obtained by a developer through comprehensive estimation of information of the user, such as time to fall asleep, time to get up, sleep stage, and snoring, or may be obtained by a system through automatic estimation of information of the user, such as time to fall asleep, time to get up, sleep stage, and snoring, according to an internally preset rule. A single complete turn of the helix is defined as a helical loop, i.e. the helix consists of a plurality of helical loops connected end to end. A color database is pre-constructed in the system, and a plurality of groups of user sleep quality and display colors which correspond to each other are stored in the color database, for example, the user sleep quality: low, display color: red; the sleep quality of the user is as follows: high, display color: green in color. And after the system obtains the sleep quality of the user, screening and obtaining the display color corresponding to the current sleep quality of the user from the color database according to the mapping relation table of the sleep quality of the user and the display color. Because one spiral ring on the spiral body corresponds to a complete day, the system can screen the first spiral ring corresponding to the acquisition date on the spiral body according to the acquisition date of the user sleep quality, namely the specific occurrence date corresponding to the user sleep quality. The system sets the appearance color of the first spiral ring to the display color obtained by the screening, so that an observer can intuitively obtain the sleep quality of a specific day of the user from the color of the spiral ring.
Further, the user sleep information further includes a plurality of sleep events of different types, and the step of adjusting the form of the pre-constructed spirochete according to the user sleep information includes:
s203: acquiring attachment elements respectively corresponding to each sleep event from a pre-constructed element database, and screening attachment positions respectively corresponding to the occurrence time of each sleep event on the spirochete, wherein a sleep event and attachment element mapping relation table is stored in the element database;
s204: and generating respective corresponding attachment elements at the respective attachment positions.
In this embodiment, the user sleep information further includes a plurality of different types of sleep events, such as time of falling asleep, time of getting up, snoring, and the like. An element database is pre-constructed in the system, and a plurality of groups of sleep events and attachment elements which correspond to each other are stored in the element database, namely different attachment elements correspond to different types of sleep events. For example, the sleep event is: at the time of falling asleep, the attachment elements are: e, stabbing; the sleep events are: snoring, the adhering elements are: a small ring. And the system acquires the attachment elements respectively corresponding to the sleep times from the element database according to the sleep time and attachment element mapping relation table. Since each spiral ring has a phase of 360 degrees and a single spiral ring is used to represent the complete time of day, i.e. the phase of 360 degrees can be expressed as the 24 hour time of each day, each time of day corresponds to a specific position on the spiral ring. The system screens the spirochetes according to the occurrence time of each sleep event to obtain the corresponding attachment positions. Specifically, the occurrence time comprises an occurrence date and an occurrence time, the system firstly screens second spiral rings respectively corresponding to the occurrence dates of the sleep events on the spiral body, then screens first ring body areas corresponding to the occurrence time of the sleep events on the second spiral rings, and takes the first ring body areas as attachment positions. After the system obtains the attachment positions corresponding to the sending time of each sleep event through screening, the attachment elements corresponding to the attachment positions are generated respectively.
Further, the step of screening the attachment positions on the spiral body corresponding to the occurrence times of the sleep events includes:
s2031: screening second spiral loops corresponding to the occurrence dates of the sleep events on the spiral bodies respectively;
s2032: and screening a first ring body area corresponding to the occurrence time of the sleep event on the second spiral ring, and taking the first ring body area as the attachment position.
In this embodiment, the occurrence time of the sleep event includes an occurrence date and an occurrence time, the system first finds the second spiral rings corresponding to the sleep events on the spiral body according to the occurrence date of the sleep events, then finds the first ring body regions corresponding to the occurrence time on the corresponding second spiral rings according to the occurrence time of the sleep events, and sets the first ring body regions as attachment positions.
Further, after the step of outputting the adjusted spiral body to a display interface, the method includes:
s4: acquiring a retrieval instruction input by a user;
s5: and adjusting the direction of the spiral body according to the retrieval instruction so as to acquire the user sleep information corresponding to the retrieval instruction.
In this embodiment, after the system outputs the adjusted spiral body to the display interface, due to the size limitation or the angle problem of the display interface, there may be a partial area on the 3D spiral body that cannot be seen by the user. In order to facilitate observation of the spiral body by a user, such as searching for a specific time period or a specific moment, the user can input a retrieval instruction into the system, so that the system can perform corresponding direction adjustment on the spiral body according to the retrieval instruction, so that the spiral body area represented by the user sleep information corresponding to the retrieval instruction faces the user, and the user can clearly acquire the user sleep information which the user wants to search from the spiral body. The retrieval instruction comprises an action instruction and/or an information instruction, wherein the action instruction means that a user can directly perform actions such as dragging, rolling, compressing and expanding on the spiral body through manual operation, the direction of the spiral body is manually adjusted, and the spiral body area corresponding to the sleep information of the user needing to be observed currently is adjusted to be in a front-facing direction towards the user, so that the user can directly observe the spiral body conveniently. The information command is a text message input by the user, and includes a time period or a specific time point. Specifically, the retrieval instruction includes a retrieval time period, and after receiving the retrieval time period input by the user, the system first judges whether a first time period corresponding to a display area of the display interface of the spiral body currently includes the retrieval time period. If the first time period corresponding to the display area of the display interface of the spiral body does not contain the retrieval time period, compressing the spiral body according to a preset process until the first time period contains the retrieval time period; and if the first time period corresponding to the display area of the display interface of the spiral currently comprises the retrieval time period, not adjusting the direction. Further, the retrieval instruction further includes retrieval time, that is, a specific time point, and after receiving the retrieval time input by the user, the system first determines whether the sleep information corresponding to the retrieval time is currently in a front display state in the second loop area on the spiral body. If the sleep information corresponding to the retrieval time is not in the front display state in the second cycle area on the spiral body currently, rotating and/or dragging the spiral body until the second cycle area is in the front display state; and if the sleep information corresponding to the retrieval time is currently in the front display state in the second loop area on the spiral body, no azimuth adjustment is performed.
Further, the retrieving instruction includes a retrieving time period, and the step of adjusting the position of the spiral body according to the retrieving instruction includes:
s501: judging whether a first time period corresponding to the display area of the display interface of the spiral body currently contains the retrieval time period or not;
s502: and if the first time period corresponding to the current display area of the spiral body does not contain the retrieval time period, compressing the spiral body according to a preset process until the first time period contains the retrieval time period.
In this embodiment, the retrieval instruction includes a retrieval time period, and due to the display limitation of the display interface, if the time period of the user sleep information is too long, the length of the spiral body may not be displayed on the display interface as a whole due to the too long time period, so that the spiral body needs to be adjusted correspondingly, and thus, all the spiral bodies corresponding to the user sleep information of a certain time period that the user wants to query currently are displayed on the display interface. Specifically, after receiving a retrieval time period input by a user, the system first determines whether a first time period corresponding to a display area of a display interface of the spiral body currently includes the retrieval time period. For example, the retrieval time period is from 10 months 1 to 31 days, and the first time period corresponding to the display area of the current spirochete is from 10 months 10 to 10 months 25 days, it is obvious that the first time period does not include the retrieval time period. Therefore, the system needs to compress the spiral body according to a preset process, similar to the compression of the spring, until the first time period corresponding to the display area of the spiral body contains the retrieval time period, so that the user can observe the whole body conveniently.
Further, if the retrieval time period input by the user only occupies a small proportion of the first time period, for example, only 1% -50%, the spiral body can be stretched according to a preset process until the retrieval time period occupies a large proportion of the first time period, for example, more than 50%, and meanwhile, a partial area of the spiral body corresponding to the retrieval time period is dragged to a middle area of the display interface for display, so that the user can observe the spiral body conveniently.
Further, the retrieval instruction further includes retrieval time, and the step of adjusting the position of the spiral body according to the retrieval instruction includes:
s503: judging whether the sleep information corresponding to the retrieval time is currently in a front display state in a second loop area on the spiral body;
s504: and if the sleep information corresponding to the retrieval time is not in the front display state in the second loop area on the spiral body currently, rotating the spiral body until the second loop area is in the front display state.
In this embodiment, the retrieval instruction further includes retrieval time, and the retrieval time refers to a specific time point. The system firstly judges whether the sleep information corresponding to the retrieval time is currently in a front display state in a second loop area on the spiral body. For example, the retrieval time is 10 months, 12 days, 3 points and 5 points, and the second loop area corresponding to the retrieval time is located on the back of the spiral body, so that the second loop area may be blocked, and the user cannot observe corresponding information on the second loop area. When the system judges that the second annular area corresponding to the retrieval time is not in the front display state currently, the system rotates the spiral body in a preset direction, such as a clockwise direction. Until the second ring body area is rotated to the front side to face the user, namely the second ring body area is in a front display state, so that the user can directly observe the second ring body area conveniently.
In the method for displaying sleep information provided by this embodiment, a spiral body is pre-constructed inside, wherein the spiral body is a spring-like 3D model, and a complete circle in the spiral body corresponds to a complete day time. After the user sleep information is acquired, the form of the spirochete, such as the color, the attachment elements and the like of the spirochete, is adjusted on the time axis of the 3D spirochete according to the user sleep information, so that the user sleep information can be continuously displayed in a circulating and progressive manner on the time axis without being influenced by time span, and the relation of each data in the user sleep information can be visually displayed to an observer.
This embodiment still provides a display device of sleep information, includes:
the first acquisition module 1 is used for acquiring the sleep information of a user;
the loading module 2 is used for loading the user sleep information on a pre-constructed spiral body according to the corresponding occurrence time, wherein the spiral body is a spring-shaped 3D model, one complete circle in the spiral body corresponds to a complete 24-hour circle, and the inner diameter and the outer diameter of each circle of the spiral body are the same;
and the output module 3 is used for outputting the adjusted spiral body to a display interface.
In this embodiment, a bed body on which the user sleeps is provided with a sleep sensor, and the sleep sensor can sense various sleep information of the user through vibration of the user sleeping on the bed body, such as sleep time, sleep stage, getting-up time, snoring and the like of the user. And a processor of the system is in signal connection with the sleep sensor so as to acquire the sleep information of the user monitored by the sleep sensor. A spiral body is constructed in the system, the spiral body is a spring-shaped 3D model, each circle of the spiral body has a phase of 360 degrees, the tail part of a spiral ring of the previous circle is connected with the head part of a spiral ring of the next circle, and the phase of each circle can represent 24-hour time of each day, namely, one circle completed in the spiral body corresponds to complete day time. And, the spiral body is cylindrical, and the internal diameter and the external diameter of every circle of spiral body are the same. For example, the spiral body is respectively composed of an A ring, a B ring and a C ring which are connected end to end, and the outer diameters of the A ring, the B ring and the C ring are the same; the inner diameters of the A ring, the B ring and the C ring are the same. The spirochete may be generated by the system immediately after receiving the user sleep information, for example, if the duration corresponding to the user sleep information currently received by the system is 7 days, the number of the immediately generated spirochetes is 7. Preferably, the spirochete can also be pre-constructed and stored in the system, and the pre-constructed spirochete can timely perform corresponding recording after the system receives the user sleep information, so that the processing speed of the system is improved. The length of the spiral body can be gradually extended along with the increase of the occurrence time corresponding to the sleep information of the user, that is, the spiral body can gradually generate a new spiral ring corresponding to the occurrence time along with the increase of the occurrence time. A plurality of databases such as a color database, a brightness database, an element database and the like are built in the system. The system can obtain the daily sleep quality of the user according to the information of the user such as the time of falling asleep, sleep stages, the time of getting up, snoring and the like, then screen the display color corresponding to the daily sleep quality of the user from the color database, and finally set the specific circle of the daily sleep information of the user on the spiral body, namely the integral color of the spiral ring as the display color, so that the spiral body can visually represent the daily sleep quality of the user. The brightness database stores a mapping relation table of sleep stages and display brightness, the sleep stages refer to sleep time and wake-up time of the user, for example, in a period of 22: 00-2: 00, the user is in a sleep state, and the period of time is displayed as high brightness in a corresponding specific area on the spiral ring; and when the user is in the waking state in the time period of 2: 00-2: 30, the time period is displayed as low brightness in the corresponding specific area on the spiral ring, so that the sleep stage of the user can be visually represented on the same spiral ring by different shades. The element database stores a mapping relation table of sleep events and attachment elements, and the system can screen attachment positions respectively corresponding to the occurrence time of each sleep event on the spirochete and then generate the respective corresponding attachment elements at the attachment positions respectively. After the system acquires the user sleep information, the system firstly needs to be divided according to the time period corresponding to the user sleep information, so that the corresponding spiral ring is selected on the spiral body for displaying. For example, if the system currently acquires all user sleep information of a user in a week, the system needs to divide the user sleep information into 7 pieces of user sleep sub-information according to the occurrence date, each piece of user sleep sub-information corresponds to a complete day time, and meanwhile, each piece of user sleep sub-information needs to be displayed on a complete spiral ring on the spiral body to adjust the form of the spiral body. Specifically, according to the method, the system adjusts the color, the brightness and various attachment elements of the corresponding spiral ring according to various user sleep information such as sleep quality, sleep stages, snoring and the like, so that the user sleep information is recorded on the spiral body. The system outputs the form of the spiral body to a display interface for displaying after finishing the form adjustment of the spiral body according to the sleep information of the user. The user sleep information is recorded on the circularly progressive spiral body according to the time axis in the forms of color, brightness, attachment elements and the like, so that the incidence relation of the user sleep information in different time can be visually embodied, and the user sleep information can be continuously and comprehensively displayed.
Further, the user sleep information includes a user sleep quality, a single complete circle of the spiral body is a spiral ring, and the adjusting module 2 includes:
the device comprises a first acquisition unit, a second acquisition unit and a display unit, wherein the first acquisition unit is used for acquiring a display color corresponding to the sleep quality of a user from a pre-constructed color database, and the color database stores a mapping relation table of the sleep quality of the user and the display color;
the first screening unit is used for screening a first spiral ring corresponding to the acquisition date of the sleep quality of the user on the spiral body;
and the setting unit is used for setting the appearance color of the first spiral ring as the display color.
In this embodiment, the user sleep information includes user sleep quality, and the user sleep quality may be obtained by a developer through comprehensive estimation of information of the user, such as time to fall asleep, time to get up, sleep stage, and snoring, or may be obtained by a system through automatic estimation of information of the user, such as time to fall asleep, time to get up, sleep stage, and snoring, according to an internally preset rule. A single complete turn of the helix is defined as a helical loop, i.e. the helix consists of a plurality of helical loops connected end to end. A color database is pre-constructed in the system, and a plurality of groups of user sleep quality and display colors which correspond to each other are stored in the color database, for example, the user sleep quality: low, display color: red; the sleep quality of the user is as follows: high, display color: green in color. And after the system obtains the sleep quality of the user, screening and obtaining the display color corresponding to the current sleep quality of the user from the color database according to the mapping relation table of the sleep quality of the user and the display color. Because one spiral ring on the spiral body corresponds to a complete day, the system can screen the first spiral ring corresponding to the acquisition date on the spiral body according to the acquisition date of the user sleep quality, namely the specific occurrence date corresponding to the user sleep quality. The system sets the appearance color of the first spiral ring to the display color obtained by the screening, so that an observer can intuitively obtain the sleep quality of a specific day of the user from the color of the spiral ring.
Further, the user sleep information further includes a plurality of different types of sleep events, and the adjusting module 2 further includes:
a second obtaining unit, configured to obtain attachment elements corresponding to the sleep events from a pre-constructed element database, where a sleep event and attachment element mapping relationship table is stored in the element database;
a second screening unit for screening attachment positions on the spiral body corresponding to the occurrence times of the sleep events, respectively;
and the generating unit is used for generating the attachment elements corresponding to the attachment positions respectively.
In this embodiment, the user sleep information further includes a plurality of different types of sleep events, such as time of falling asleep, time of getting up, snoring, and the like. An element database is pre-constructed in the system, and a plurality of groups of sleep events and attachment elements which correspond to each other are stored in the element database, namely different attachment elements correspond to different types of sleep events. For example, the sleep event is: at the time of falling asleep, the attachment elements are: e, stabbing; the sleep events are: snoring, the adhering elements are: a small ring. And the system acquires the attachment elements respectively corresponding to the sleep times from the element database according to the sleep time and attachment element mapping relation table. Since each spiral ring has a phase of 360 degrees and a single spiral ring is used to represent the complete time of day, i.e. the phase of 360 degrees can be expressed as the 24 hour time of each day, each time of day corresponds to a specific position on the spiral ring. The system screens the spirochetes according to the occurrence time of each sleep event to obtain the corresponding attachment positions. Specifically, the occurrence time comprises an occurrence date and an occurrence time, the system firstly screens second spiral rings respectively corresponding to the occurrence dates of the sleep events on the spiral body, then screens first ring body areas corresponding to the occurrence time of the sleep events on the second spiral rings, and takes the first ring body areas as attachment positions. After the system obtains the attachment positions corresponding to the sending time of each sleep event through screening, the attachment elements corresponding to the attachment positions are generated respectively.
Further, the occurrence time includes an occurrence date and an occurrence time, and the second filtering unit includes:
a first screening subunit, configured to screen, on the spiral body, second spiral loops corresponding to the occurrence dates of the sleep events, respectively;
a second screening subunit, configured to screen a first loop body region corresponding to the occurrence time of the sleep event on the second spiral loop, and use the first loop body region as the attachment position.
In this embodiment, the occurrence time of the sleep event includes an occurrence date and an occurrence time, the system first finds the second spiral rings corresponding to the sleep events on the spiral body according to the occurrence date of the sleep events, then finds the first ring body regions corresponding to the occurrence time on the corresponding second spiral rings according to the occurrence time of the sleep events, and sets the first ring body regions as attachment positions.
Further, the display device further includes:
the second obtaining module 4 is used for obtaining a retrieval instruction input by a user;
and the adjusting module 5 is used for adjusting the direction of the spiral body according to the retrieval instruction so as to acquire the user sleep information corresponding to the retrieval instruction.
In this embodiment, after the system outputs the adjusted spiral body to the display interface, due to the size limitation or the angle problem of the display interface, there may be a partial area on the 3D spiral body that cannot be seen by the user. In order to facilitate observation of the spiral body by a user, such as searching for a specific time period or a specific moment, the user can input a retrieval instruction into the system, so that the system can perform corresponding direction adjustment on the spiral body according to the retrieval instruction, so that the spiral body area represented by the user sleep information corresponding to the retrieval instruction faces the user, and the user can clearly acquire the user sleep information which the user wants to search from the spiral body. The retrieval instruction comprises an action instruction and/or an information instruction, wherein the action instruction means that a user can directly perform actions such as dragging, rolling, compressing and expanding on the spiral body through manual operation, the direction of the spiral body is manually adjusted, and the spiral body area corresponding to the sleep information of the user needing to be observed currently is adjusted to be in a front-facing direction towards the user, so that the user can directly observe the spiral body conveniently. The information command is a text message input by the user, and includes a time period or a specific time point. Specifically, the retrieval instruction includes a retrieval time period, and after receiving the retrieval time period input by the user, the system first judges whether a first time period corresponding to a display area of the display interface of the spiral body currently includes the retrieval time period. If the first time period corresponding to the display area of the display interface of the spiral body does not contain the retrieval time period, compressing the spiral body according to a preset process until the first time period contains the retrieval time period; and if the first time period corresponding to the display area of the display interface of the spiral currently comprises the retrieval time period, not adjusting the direction. Further, the retrieval instruction further includes retrieval time, that is, a specific time point, and after receiving the retrieval time input by the user, the system first determines whether the sleep information corresponding to the retrieval time is currently in a front display state in the second loop area on the spiral body. If the sleep information corresponding to the retrieval time is not in the front display state in the second cycle area on the spiral body currently, rotating and/or dragging the spiral body until the second cycle area is in the front display state; and if the sleep information corresponding to the retrieval time is currently in the front display state in the second loop area on the spiral body, no azimuth adjustment is performed.
Further, the retrieval instruction includes a retrieval time period, and the adjusting module 5 includes:
the first judging unit is used for judging whether a first time period corresponding to the display area of the display interface of the spiral body currently contains the retrieval time period or not;
and the compression unit is used for compressing the spiral body according to a preset process until the first time period comprises the retrieval time period if the first time period corresponding to the display area of the display interface of the spiral body does not comprise the retrieval time period.
In this embodiment, the retrieval instruction includes a retrieval time period, and due to the display limitation of the display interface, if the time period of the user sleep information is too long, the length of the spiral body may not be displayed on the display interface as a whole due to the too long time period, so that the spiral body needs to be adjusted correspondingly, and thus, all the spiral bodies corresponding to the user sleep information of a certain time period that the user wants to query currently are displayed on the display interface. Specifically, after receiving a retrieval time period input by a user, the system first determines whether a first time period corresponding to a display area of a display interface of the spiral body currently includes the retrieval time period. For example, the retrieval time period is from 10 months 1 to 31 days, and the first time period corresponding to the display area of the current spirochete is from 10 months 10 to 10 months 25 days, it is obvious that the first time period does not include the retrieval time period. Therefore, the system needs to compress the spiral body according to a preset process, similar to the compression of the spring, until the first time period corresponding to the display area of the spiral body contains the retrieval time period, so that the user can observe the whole body conveniently.
Further, the adjusting module 5 further includes a stretching unit and a dragging unit, and if the retrieval time period input by the user only occupies a small proportion of the first time period, for example, only 1% -50%, the stretching unit in the system can stretch the spiral body according to the preset process until the retrieval time period occupies a large proportion of the first time period, for example, more than 50%. Preferably, the dragging unit can drag the partial area of the spiral body corresponding to the retrieval time period to the middle area of the display interface for displaying, so that the user can observe conveniently.
Further, the retrieving instruction further includes a retrieving time, and the adjusting module 5 further includes:
a second judging unit, configured to judge whether the sleep information corresponding to the retrieval time is currently in a front display state in a second loop area on the spiral body;
and the rotating unit is used for rotating the spiral body until the second loop area is in the front display state if the second loop area of the sleep information corresponding to the retrieval time on the spiral body is not in the front display state currently.
In this embodiment, the retrieval instruction further includes retrieval time, and the retrieval time refers to a specific time point. The system firstly judges whether the sleep information corresponding to the retrieval time is currently in a front display state in a second loop area on the spiral body. For example, the retrieval time is 10 months, 12 days, 3 points and 5 points, and the second loop area corresponding to the retrieval time is located on the back of the spiral body, so that the second loop area may be blocked, and the user cannot observe corresponding information on the second loop area. When the system judges that the second annular area corresponding to the retrieval time is not in the front display state currently, the system rotates the spiral body in a preset direction, such as a clockwise direction. Until the second ring body area is rotated to the front side to face the user, namely the second ring body area is in a front display state, so that the user can directly observe the second ring body area conveniently.
In the display device for sleep information provided by this embodiment, a spiral body is pre-constructed inside, wherein the spiral body is a spring-like 3D model, and a complete circle in the spiral body corresponds to a complete day time. After the user sleep information is acquired, the form of the spirochete, such as the color, the attachment elements and the like of the spirochete, is adjusted on the time axis of the 3D spirochete according to the user sleep information, so that the user sleep information can be continuously displayed in a circulating and progressive manner on the time axis, the influence of time span is avoided, and the relation of each data in the user sleep information can be visually displayed to an observer
Referring to fig. 3, a computer device, which may be a server and whose internal structure may be as shown in fig. 3, is also provided in the embodiment of the present application. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the computer designed processor is used to provide computational and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing data such as a color database. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of presenting sleep information.
The processor executes the steps of the sleep information display method:
s1: acquiring sleep information of a user;
s2: adjusting the form of a pre-constructed spiral body according to the user sleep information to record the user sleep information on the spiral body, wherein the spiral body is a spring-shaped 3D model, and a complete circle in the spiral body corresponds to a complete day time;
s3: and outputting the adjusted spiral body to a display interface.
Further, the user sleep information includes user sleep quality, a single complete circle of the spiral body is a spiral ring, and the step of adjusting the form of the pre-constructed spiral body according to the user sleep information includes:
s201: acquiring a display color corresponding to the user sleep quality from a pre-constructed color database, and screening a first spiral ring corresponding to the acquisition date of the user sleep quality on the spiral body, wherein a mapping relation table of the user sleep quality and the display color is stored in the color database;
s202: setting an exterior color of the first helical ring to the display color.
Further, the user sleep information further includes a plurality of sleep events of different types, and the step of adjusting the form of the pre-constructed spirochete according to the user sleep information includes:
s203: acquiring attachment elements respectively corresponding to each sleep event from a pre-constructed element database, and screening attachment positions respectively corresponding to the occurrence time of each sleep event on the spirochete, wherein a sleep event and attachment element mapping relation table is stored in the element database;
s204: and generating respective corresponding attachment elements at the respective attachment positions.
Further, the step of screening the attachment positions on the spiral body corresponding to the occurrence times of the sleep events includes:
s2031: screening second spiral loops corresponding to the occurrence dates of the sleep events on the spiral bodies respectively;
s2032: and screening a first ring body area corresponding to the occurrence time of the sleep event on the second spiral ring, and taking the first ring body area as the attachment position.
Further, after the step of outputting the adjusted spiral body to a display interface, the method includes:
s4: acquiring a retrieval instruction input by a user;
s5: and adjusting the direction of the spiral body according to the retrieval instruction so as to acquire the user sleep information corresponding to the retrieval instruction.
Further, the retrieving instruction includes a retrieving time period, and the step of adjusting the position of the spiral body according to the retrieving instruction includes:
s501: judging whether a first time period corresponding to the display area of the display interface of the spiral body currently contains the retrieval time period or not;
s502: and if the first time period corresponding to the current display area of the spiral body does not contain the retrieval time period, compressing the spiral body according to a preset process until the first time period contains the retrieval time period.
Further, the retrieval instruction further includes retrieval time, and the step of adjusting the position of the spiral body according to the retrieval instruction includes:
s503: judging whether the sleep information corresponding to the retrieval time is currently in a front display state in a second loop area on the spiral body;
s504: and if the sleep information corresponding to the retrieval time is not in the front display state in the second loop area on the spiral body currently, rotating the spiral body until the second loop area is in the front display state.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for displaying sleep information, and specifically includes:
s1: acquiring sleep information of a user;
s2: adjusting the form of a pre-constructed spiral body according to the user sleep information to record the user sleep information on the spiral body, wherein the spiral body is a spring-shaped 3D model, and a complete circle in the spiral body corresponds to a complete day time;
s3: and outputting the adjusted spiral body to a display interface.
Further, the user sleep information includes user sleep quality, a single complete circle of the spiral body is a spiral ring, and the step of adjusting the form of the pre-constructed spiral body according to the user sleep information includes:
s201: acquiring a display color corresponding to the user sleep quality from a pre-constructed color database, and screening a first spiral ring corresponding to the acquisition date of the user sleep quality on the spiral body, wherein a mapping relation table of the user sleep quality and the display color is stored in the color database;
s202: setting an exterior color of the first helical ring to the display color.
Further, the user sleep information further includes a plurality of sleep events of different types, and the step of adjusting the form of the pre-constructed spirochete according to the user sleep information includes:
s203: acquiring attachment elements respectively corresponding to each sleep event from a pre-constructed element database, and screening attachment positions respectively corresponding to the occurrence time of each sleep event on the spirochete, wherein a sleep event and attachment element mapping relation table is stored in the element database;
s204: and generating respective corresponding attachment elements at the respective attachment positions.
Further, the step of screening the attachment positions on the spiral body corresponding to the occurrence times of the sleep events includes:
s2031: screening second spiral loops corresponding to the occurrence dates of the sleep events on the spiral bodies respectively;
s2032: and screening a first ring body area corresponding to the occurrence time of the sleep event on the second spiral ring, and taking the first ring body area as the attachment position.
Further, after the step of outputting the adjusted spiral body to a display interface, the method includes:
s4: acquiring a retrieval instruction input by a user;
s5: and adjusting the direction of the spiral body according to the retrieval instruction so as to acquire the user sleep information corresponding to the retrieval instruction.
Further, the retrieving instruction includes a retrieving time period, and the step of adjusting the position of the spiral body according to the retrieving instruction includes:
s501: judging whether a first time period corresponding to the display area of the display interface of the spiral body currently contains the retrieval time period or not;
s502: and if the first time period corresponding to the current display area of the spiral body does not contain the retrieval time period, compressing the spiral body according to a preset process until the first time period contains the retrieval time period.
Further, the retrieval instruction further includes retrieval time, and the step of adjusting the position of the spiral body according to the retrieval instruction includes:
s503: judging whether the sleep information corresponding to the retrieval time is currently in a front display state in a second loop area on the spiral body;
s504: and if the sleep information corresponding to the retrieval time is not in the front display state in the second loop area on the spiral body currently, rotating the spiral body until the second loop area is in the front display state.
It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by hardware associated with instructions of a computer program, which may be stored on a non-volatile computer-readable storage medium, and when executed, may include processes of the above embodiments of the methods. Any reference to memory, storage, database, or other medium provided herein and used in the examples may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double-rate SDRAM (SSRSDRAM), Enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, apparatus, article, or method that includes the element.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method for displaying sleep information is characterized by comprising the following steps:
acquiring sleep information of a user;
loading the user sleep information on a pre-constructed spiral body according to the corresponding occurrence time, wherein the spiral body is a spring-shaped 3D model, one complete circle in the spiral body corresponds to a complete 24-hour circle, and the inner diameter and the outer diameter of each circle of the spiral body are the same;
and outputting the adjusted spiral body to a display interface.
2. The method for displaying sleep information as claimed in claim 1, wherein the user sleep information includes user sleep quality, the single complete circle of the spiral body is a spiral loop, and the step of adjusting the form of the pre-constructed spiral body according to the user sleep information includes:
acquiring a display color corresponding to the user sleep quality from a pre-constructed color database, and screening a first spiral ring corresponding to the acquisition date of the user sleep quality on the spiral body, wherein a mapping relation table of the user sleep quality and the display color is stored in the color database;
setting an exterior color of the first helical ring to the display color.
3. The method for displaying sleep information as claimed in claim 1, wherein the user sleep information further includes a plurality of different types of sleep events, and the step of adjusting the form of the pre-constructed spirochete according to the user sleep information includes:
acquiring attachment elements respectively corresponding to each sleep event from a pre-constructed element database, and screening attachment positions respectively corresponding to the occurrence time of each sleep event on the spirochete, wherein a sleep event and attachment element mapping relation table is stored in the element database;
and generating respective corresponding attachment elements at the respective attachment positions.
4. The method for displaying sleep information as claimed in claim 3, wherein the occurrence time includes an occurrence date and an occurrence time, and the step of screening the attachment positions on the spiral body corresponding to the occurrence time of each sleep event includes:
screening second spiral loops corresponding to the occurrence dates of the sleep events on the spiral bodies respectively;
and screening a first ring body area corresponding to the occurrence time of the sleep event on the second spiral ring, and taking the first ring body area as the attachment position.
5. The method for displaying sleep information as claimed in claim 1, wherein the step of outputting the adjusted spiral body to a display interface comprises:
acquiring a retrieval instruction input by a user;
and adjusting the direction of the spiral body according to the retrieval instruction so as to acquire the user sleep information corresponding to the retrieval instruction.
6. The method for displaying sleep information as claimed in claim 5, wherein the retrieving instruction includes a retrieving time period, and the step of adjusting the position of the spiral according to the retrieving instruction includes:
judging whether a first time period corresponding to the display area of the display interface of the spiral body currently contains the retrieval time period or not;
and if the first time period corresponding to the current display area of the spiral body does not contain the retrieval time period, compressing the spiral body according to a preset process until the first time period contains the retrieval time period.
7. The method for displaying sleep information as claimed in claim 5, wherein the retrieving instruction further includes retrieving time, and the step of adjusting the position of the spiral body according to the retrieving instruction includes:
judging whether the sleep information corresponding to the retrieval time is currently in a front display state in a second loop area on the spiral body;
and if the sleep information corresponding to the retrieval time is not in the front display state in the second loop area on the spiral body currently, rotating the spiral body until the second loop area is in the front display state.
8. A display device of sleep information, comprising:
the first acquisition module is used for acquiring the sleep information of the user;
the loading module is used for loading the user sleep information on a pre-constructed spiral body according to the corresponding occurrence time, wherein the spiral body is a spring-shaped 3D model, one complete circle in the spiral body corresponds to a complete 24-hour circle, and the inner diameter and the outer diameter of each circle of the spiral body are the same;
and the output module is used for outputting the adjusted spiral body to a display interface.
9. A computer device comprising a memory and a processor, the memory having stored therein a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN201911089191.2A 2019-11-08 2019-11-08 Sleep information display method and device and computer equipment Pending CN110974159A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911089191.2A CN110974159A (en) 2019-11-08 2019-11-08 Sleep information display method and device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911089191.2A CN110974159A (en) 2019-11-08 2019-11-08 Sleep information display method and device and computer equipment

Publications (1)

Publication Number Publication Date
CN110974159A true CN110974159A (en) 2020-04-10

Family

ID=70083817

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911089191.2A Pending CN110974159A (en) 2019-11-08 2019-11-08 Sleep information display method and device and computer equipment

Country Status (1)

Country Link
CN (1) CN110974159A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287033A (en) * 2007-02-27 2008-10-15 Lg电子株式会社 Method and apparatus for displaying event of mobile terminal
US20140267290A1 (en) * 2013-03-15 2014-09-18 Hewlett-Packard Development Company, L.P. Visual Analytics of Multivariate Session Data Using Concentric Rings with Overlapping Periods
US20150243058A1 (en) * 2014-02-26 2015-08-27 Hewlett-Packard Development Company, L.P. Pixel-based visualizations of time series data using helices
US20160225171A1 (en) * 2015-02-02 2016-08-04 International Business Machines Corporation Identifying cyclic patterns of complex events
US20160249831A1 (en) * 2015-02-27 2016-09-01 Under Armour, Inc. Activity tracking device and associated display

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287033A (en) * 2007-02-27 2008-10-15 Lg电子株式会社 Method and apparatus for displaying event of mobile terminal
US20140267290A1 (en) * 2013-03-15 2014-09-18 Hewlett-Packard Development Company, L.P. Visual Analytics of Multivariate Session Data Using Concentric Rings with Overlapping Periods
US20150243058A1 (en) * 2014-02-26 2015-08-27 Hewlett-Packard Development Company, L.P. Pixel-based visualizations of time series data using helices
US20160225171A1 (en) * 2015-02-02 2016-08-04 International Business Machines Corporation Identifying cyclic patterns of complex events
US20160249831A1 (en) * 2015-02-27 2016-09-01 Under Armour, Inc. Activity tracking device and associated display

Similar Documents

Publication Publication Date Title
US11496673B1 (en) Apparatus and method for supplying content aware photo filters
US20170102786A1 (en) Method and device for providing an alert
CN105976581B (en) Pose reminding method, device and wearable device
JP2018512082A5 (en)
CN104967731B (en) A kind of terminal notifying method and terminal
Dennis et al. A hierarchical Bayesian model of" memory for when" based on experience sampling data.
Overmann Material scaffolds in numbers and time
CN108650418B (en) Fatigue reminding method and device, intelligent terminal and storage medium
JP2005267649A5 (en)
CN109375970A (en) Screen self-adapting regulation method, computer readable storage medium and terminal device
CN105389082B (en) Based reminding method and alarm set applied to mobile terminal
JP2018517215A (en) Session processing in instant messaging
CN110974159A (en) Sleep information display method and device and computer equipment
US20140195191A1 (en) Voltage testing device and method for memory
CN112413829A (en) Sleep data processing method, device, equipment and readable medium
US20160364999A1 (en) Religious application for mobile and wearable technology devices
CN106131315B (en) Reminding device and method
CN104484146A (en) Displaying method and electronic device
CN112130735A (en) Image processing method, image processing apparatus, terminal, and readable storage medium
CN106920064B (en) Information reminding method and terminal equipment
CN105094581B (en) The method and apparatus of information processing
DE112019007517T5 (en) PERFORMANCE OPTIMIZATION WITH FREQUENT STOPPAGE
CN112632091B (en) Index flow real-time calculation method, device, equipment and medium based on big data
JP6879083B2 (en) Sleep analysis programs, sleep analysis methods, and sleep analyzers
JP5709915B2 (en) Machine learning device, machine learning method, and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200410