CN108742639A - It is a kind of to promote the method slept, eyeshade with computer storage media - Google Patents
It is a kind of to promote the method slept, eyeshade with computer storage media Download PDFInfo
- Publication number
- CN108742639A CN108742639A CN201810692950.3A CN201810692950A CN108742639A CN 108742639 A CN108742639 A CN 108742639A CN 201810692950 A CN201810692950 A CN 201810692950A CN 108742639 A CN108742639 A CN 108742639A
- Authority
- CN
- China
- Prior art keywords
- user
- sleep
- eyeshade
- stage
- value
- 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
Links
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/103—Detecting, measuring or recording devices for testing the shape, pattern, colour, size or movement of the body or parts thereof, for diagnostic purposes
- A61B5/11—Measuring movement of the entire body or parts thereof, e.g. head or hand tremor, mobility of a limb
- A61B5/1118—Determining activity level
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/48—Other medical applications
- A61B5/4806—Sleep evaluation
- A61B5/4812—Detecting sleep stages or cycles
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/68—Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient
- A61B5/6801—Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient specially adapted to be attached to or worn on the body surface
- A61B5/6802—Sensor mounted on worn items
- A61B5/6803—Head-worn items, e.g. helmets, masks, headphones or goggles
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61F—FILTERS IMPLANTABLE INTO BLOOD VESSELS; PROSTHESES; DEVICES PROVIDING PATENCY TO, OR PREVENTING COLLAPSING OF, TUBULAR STRUCTURES OF THE BODY, e.g. STENTS; ORTHOPAEDIC, NURSING OR CONTRACEPTIVE DEVICES; FOMENTATION; TREATMENT OR PROTECTION OF EYES OR EARS; BANDAGES, DRESSINGS OR ABSORBENT PADS; FIRST-AID KITS
- A61F7/00—Heating or cooling appliances for medical or therapeutic treatment of the human body
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61F—FILTERS IMPLANTABLE INTO BLOOD VESSELS; PROSTHESES; DEVICES PROVIDING PATENCY TO, OR PREVENTING COLLAPSING OF, TUBULAR STRUCTURES OF THE BODY, e.g. STENTS; ORTHOPAEDIC, NURSING OR CONTRACEPTIVE DEVICES; FOMENTATION; TREATMENT OR PROTECTION OF EYES OR EARS; BANDAGES, DRESSINGS OR ABSORBENT PADS; FIRST-AID KITS
- A61F9/00—Methods or devices for treatment of the eyes; Devices for putting-in contact lenses; Devices to correct squinting; Apparatus to guide the blind; Protective devices for the eyes, carried on the body or in the hand
- A61F9/04—Eye-masks ; Devices to be worn on the face, not intended for looking through; Eye-pads for sunbathing
- A61F9/045—Eye-shades or visors; Shields beside, between or below the eyes
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61H—PHYSICAL THERAPY APPARATUS, e.g. DEVICES FOR LOCATING OR STIMULATING REFLEX POINTS IN THE BODY; ARTIFICIAL RESPIRATION; MASSAGE; BATHING DEVICES FOR SPECIAL THERAPEUTIC OR HYGIENIC PURPOSES OR SPECIFIC PARTS OF THE BODY
- A61H7/00—Devices for suction-kneading massage; Devices for massaging the skin by rubbing or brushing not otherwise provided for
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61M—DEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
- A61M21/00—Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis
- A61M21/02—Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis for inducing sleep or relaxation, e.g. by direct nerve stimulation, hypnosis, analgesia
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61F—FILTERS IMPLANTABLE INTO BLOOD VESSELS; PROSTHESES; DEVICES PROVIDING PATENCY TO, OR PREVENTING COLLAPSING OF, TUBULAR STRUCTURES OF THE BODY, e.g. STENTS; ORTHOPAEDIC, NURSING OR CONTRACEPTIVE DEVICES; FOMENTATION; TREATMENT OR PROTECTION OF EYES OR EARS; BANDAGES, DRESSINGS OR ABSORBENT PADS; FIRST-AID KITS
- A61F7/00—Heating or cooling appliances for medical or therapeutic treatment of the human body
- A61F2007/0001—Body part
- A61F2007/0002—Head or parts thereof
- A61F2007/0004—Eyes or part of the face surrounding the eyes
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61H—PHYSICAL THERAPY APPARATUS, e.g. DEVICES FOR LOCATING OR STIMULATING REFLEX POINTS IN THE BODY; ARTIFICIAL RESPIRATION; MASSAGE; BATHING DEVICES FOR SPECIAL THERAPEUTIC OR HYGIENIC PURPOSES OR SPECIFIC PARTS OF THE BODY
- A61H2201/00—Characteristics of apparatus not provided for in the preceding codes
- A61H2201/16—Physical interface with patient
- A61H2201/1602—Physical interface with patient kind of interface, e.g. head rest, knee support or lumbar support
- A61H2201/165—Wearable interfaces
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61H—PHYSICAL THERAPY APPARATUS, e.g. DEVICES FOR LOCATING OR STIMULATING REFLEX POINTS IN THE BODY; ARTIFICIAL RESPIRATION; MASSAGE; BATHING DEVICES FOR SPECIAL THERAPEUTIC OR HYGIENIC PURPOSES OR SPECIFIC PARTS OF THE BODY
- A61H2205/00—Devices for specific parts of the body
- A61H2205/02—Head
- A61H2205/022—Face
- A61H2205/024—Eyes
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61M—DEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
- A61M21/00—Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis
- A61M2021/0005—Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis by the use of a particular sense, or stimulus
- A61M2021/0027—Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis by the use of a particular sense, or stimulus by the hearing sense
Landscapes
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Animal Behavior & Ethology (AREA)
- Veterinary Medicine (AREA)
- Public Health (AREA)
- General Health & Medical Sciences (AREA)
- Heart & Thoracic Surgery (AREA)
- Biomedical Technology (AREA)
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Medical Informatics (AREA)
- Molecular Biology (AREA)
- Surgery (AREA)
- Pathology (AREA)
- Biophysics (AREA)
- Vascular Medicine (AREA)
- Anesthesiology (AREA)
- Pain & Pain Management (AREA)
- Acoustics & Sound (AREA)
- Hematology (AREA)
- Psychology (AREA)
- Physiology (AREA)
- Dentistry (AREA)
- Oral & Maxillofacial Surgery (AREA)
- Ophthalmology & Optometry (AREA)
- Dermatology (AREA)
- Epidemiology (AREA)
- Physical Education & Sports Medicine (AREA)
- Rehabilitation Therapy (AREA)
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
Abstract
The present embodiments relate to eyeshade fields, disclose a kind of method, eyeshade and computer storage media promoting sleep.In the present invention, a kind of method promoting sleep is provided, is applied to eyeshade, eyeshade includes functional module group;Promote the method for sleep, including:The status data of the user of eyeshade is worn in detection;The sleep stage residing for user is determined according to status data;According to sleep stage and preset correspondence, the operating reference value of locating function module;Whether the current operating parameters of arbitration functions module meet found operating reference value;If not meeting, then adjusting current operating parameters makes current operating parameters meet the operating reference value found, so that the working condition of the function module of eyeshade follows the sleep state of user to be adjusted, so that the working condition of the function module of eyeshade is more in line with the sleep state of user, to contribute to the sleep of user, user's sleep quality is improved.
Description
Technical field
The present embodiments relate to eyeshade field, more particularly to a kind of method promoting sleep, eyeshade and computer storage
Medium.
Background technology
Modern causes to live due to various reasons irregular, and nighttime sleep is insufficient, daytime not unglazed sleep ring again
Border causes daytime listless, and working efficiency is low, and it is confused so to be easy to cause biological clock for a long time, seriously affects health.
City night is flooded with various light and noise everywhere, and it is bad to be easy to cause night sleep, needs carry out sleep supplement daytime.Eye
Cover can provide unglazed sleep environment for daytime sleepiness person.With the development of science and technology, requirement of the people to eyeshade is higher and higher, eye
Cover has become the articles for use of fashion, there is the important function of dispelling fatigue in life travelling.
Inventor has found that at least there are the following problems in the prior art:Current eyeshade is when using some functions, people
If wanting to during sleep while using some functions, since eyeshade is constantly in stable working condition, user is worn often not
It is easily sleeping, it can not be according to following the sleep state of user that the working condition of eyeshade is adjusted.
Invention content
Embodiment of the present invention is designed to provide a kind of method, eyeshade and computer storage media promoting sleep,
So that the working condition of the function module of eyeshade follows the sleep state of user to be adjusted so that the work of the function module of eyeshade
It is more in line with the sleep state of user as state, to contribute to the sleep of user, improves user's sleep quality.
In order to solve the above technical problems, embodiments of the present invention provide a kind of method promoting sleep, it is applied to eye
Cover, eyeshade include functional module group;Promote the method for sleep, including:The status data of the user of eyeshade is worn in detection;According to state
Data determine the sleep stage residing for user;According to sleep stage and preset correspondence, the work of locating function module is joined
Examine value;Whether the current operating parameters of arbitration functions module meet found operating reference value;If not meeting, adjustment is worked as
Preceding running parameter makes current operating parameters meet the operating reference value found.
Embodiments of the present invention additionally provide a kind of eyeshade, including:At least one processor;And with it is at least one
The memory of processor communication connection;Wherein, memory is stored with the instruction that can be executed by least one processor, instructs by extremely
A few processor executes, so that the method that at least one processor is able to carry out above-mentioned promotion sleep.
Embodiments of the present invention additionally provide a kind of computer readable storage medium, are stored with computer program, calculate
Machine program realizes above-mentioned promotion sleep method when being executed by processor.
Embodiment of the present invention in terms of existing technologies, provides a kind of method promoting sleep, is applied to eyeshade,
Eyeshade includes functional module group;Promote the method for sleep, including:The status data of the user of eyeshade is worn in detection;According to status number
According to the sleep stage determined residing for user;According to sleep stage and preset correspondence, the operating reference of locating function module
Value;Whether the current operating parameters of arbitration functions module meet found operating reference value;If not meeting, adjustment is current
Running parameter makes current operating parameters meet the operating reference value found.The status number of the user of eyeshade is worn by acquisition
According to determining the sleep stage residing for user according to the status data of user, have in the functional module group of different sleep stages, eyeshade
Different running parameters, the corresponding operating reference value of different sleep stages residing for user, to eyeshade functional module group
Running parameter is adjusted, so that the working condition of the function module of eyeshade is more in line with the sleep state of user, to
Contribute to the sleep of user, improves user's sleep quality.
In addition, the status data of the user of eyeshade is worn in detection, specially:It is detected and is worn using 3-axis acceleration sensor
The status data of the user of eyeshade, wherein status data is acceleration value;The sleep rank residing for user is determined according to status data
Section, specially:The sleep stage residing for user is determined according to the acceleration value of acquisition.Obtain user's using acceleration transducer
Status data can not only accurately obtain the sleep state for the user for wearing eyeshade, additionally it is possible to farthest reduce eye
The volume and weight of cover.
In addition, sleep stage includes at least:The sleep stage shallow sleeps stage and deep sleep stages;According to the acceleration value of acquisition
It determines the sleep stage residing for user, specifically includes:According to the acceleration value of acquisition analyze acceleration value change frequency and
Amplitude;If amplitude is more than the first preset value, it is determined that user is in the sleep stage;If amplitude is not more than the first preset value and variation
Frequency is more than the second preset value, it is determined that user is in shallow and sleeps the stage;If amplitude is not no more than the first preset value and change frequency
More than the second preset value, it is determined that user is in deep sleep stages.To the sleep stage of user according to the change of the acceleration value of acquisition
Change frequency and amplitude is divided, provides a kind of accurate mode for distinguishing user's sleep stage.
In addition, after determining the sleep stage residing for user according to the acceleration value of acquisition, further include:If according to acquisition
Acceleration value determine that user is in deep sleep stages, then obtain the duration that user is in deep sleep stages;If duration reaches
To preset duration, then closing function module.User enter deep sleep for a period of time and ensure user it is sleeping after, closing function mould
Group is manually operated without user, saves eyeshade energy consumption.
In addition, before adjustment current operating parameters make current operating parameters meet the operating reference value found, also wrap
It includes:Calculate the difference of current operating parameters and the operating reference value found;Judge whether difference is less than third preset value;If sentencing
Determine difference and be less than third preset value, then current operating parameters is directly revised as the operating reference value found.Provide one kind
The mode of the running parameter of the function module of specific adjustment eyeshade.
In addition, after judging whether difference is less than third preset value, further include:If it is determined that difference is default not less than third
Value, then adjustment current operating parameters make current operating parameters meet the operating reference value found stage by stage.Provide other one
The mode of the running parameter of the function module of kind adjustment eyeshade.
Description of the drawings
One or more embodiments are illustrated by the picture in corresponding attached drawing, these exemplary theorys
The bright restriction not constituted to embodiment, the element with same reference numbers label is expressed as similar element in attached drawing, removes
Non- to have special statement, composition does not limit the figure in attached drawing.
Fig. 1 is the flow diagram according to the method for the promotion sleep of first embodiment of the invention;
Fig. 2 is the flow diagram according to the method for the promotion sleep of second embodiment of the invention;
Fig. 3 is the structural schematic diagram according to the eyeshade of third embodiment of the invention.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention
Each embodiment be explained in detail.However, it will be understood by those skilled in the art that in each embodiment party of the present invention
In formula, in order to make the reader understand this application better, many technical details are proposed.But even if without these technical details
And various changes and modifications based on the following respective embodiments, it can also realize the application technical solution claimed.
The first embodiment of the present invention is related to a kind of methods promoting sleep.The core of present embodiment is the provision of
A method of promoting sleep, be applied to eyeshade, eyeshade includes functional module group;Promote the method for sleep, including:Eye is worn in detection
The status data of the user of cover;The sleep stage residing for user is determined according to status data;According to sleep stage and preset right
It should be related to, the operating reference value of locating function module;Whether the current operating parameters of arbitration functions module, which meet, is found
Operating reference value;If not meeting, adjusting current operating parameters makes current operating parameters meet the operating reference value found.It is logical
The status data for obtaining the user for wearing eyeshade is crossed, the sleep stage residing for user is determined according to the status data of user, not
Same sleep stage, the functional module group of eyeshade have different running parameters, and the different sleep stages residing for user correspond to
Operating reference value, the running parameter of eyeshade functional module group is adjusted, so that the work shape of the function module of eyeshade
State is more in line with the sleep state of user, to contribute to the sleep of user, improves user's sleep quality.Below to this embodiment party
The realization details of the method for the promotion sleep of formula is specifically described, and the realization that the following contents only provides for convenience of understanding is thin
Section not implements the necessary of this programme.
The idiographic flow schematic diagram of the method for promotion sleep in present embodiment is as shown in Figure 1, specifically include:
Step 101:The status data for the user for wearing eyeshade is detected using 3-axis acceleration sensor, wherein status number
According to for acceleration value.
Specifically, eyeshade includes functional module group, which is a module that specific function may be implemented.Such as eye
Cover may include massaging module, when user wear eyeshade, massage the eye and head of user, eliminate the tired of user
Labor;For another example eyeshade may include music module, can play music, user, which wears eyeshade, can attend by music sleep, be good one
Kind experience.Certainly, functional module group can also be hot compress module, and the eye to wear user carries out hot compress, and it is tired to eliminate user's eye
Labor brings good experience for user.Certainly, above-mentioned functional module group by way of example only, should not be to be in present embodiment
Limit.In the application when the user for wearing eyeshade uses functional module group, functional module group is started to work with the running parameter set, should
Normal functional parameter can be by user's sets itself.After functional module group is started to work with the running parameter set, eye is being worn
During the user of cover uses functional module group, the status data of the user of eyeshade is worn in detection.Specifically accelerated using three axis
Spend sensor obtain wear eyeshade user status data, 3-axis acceleration sensor have the characteristics that it is small, light-weight,
Steric acceleration can be measured, can all-sidedly and accurately reflect the kinetic property of object.For other sensors, utilize
3-axis acceleration sensor obtains the status data of user, can not only accurately obtain the sleep shape for the user for wearing eyeshade
State data, additionally it is possible to farthest reduce the volume and weight of eyeshade.Since eyeshade belongs to the portable light object of user
Therefore body using 3-axis acceleration sensor while realizing acquisition user's sleep state data, greatly improves eyeshade
Comfort level.Certainly, realize that the mode for obtaining the status data for the user for wearing eyeshade is not limited in present embodiment
Using 3-axis acceleration sensor, heart rate can also be estimated by photosignal.It is noted that in the user for wearing eyeshade
During using functional module group, the status data for the user for wearing eyeshade can be obtained in real time, with the user for ensureing or getting
Status data real-time.
Step 102:The sleep stage residing for user is determined according to the acceleration value of acquisition.
Specifically, it during the user for wearing eyeshade uses functional module group, is specifically passed using 3-axis acceleration
Sensor obtains the status data for the user for wearing eyeshade.The status data of the user obtained using acceleration transducer is specially to add
Velocity amplitude.Since user is in sleep procedure, generally starting the sleep stage, user does not enter sleep state also, therefore acts
Amplitude is generally large;Entering to user after falling asleep gradually, the movement range of user can slowly become smaller, but will appear turn once in a while etc.
Action;After user falls asleep completely, user does not have too many action generally at this time and movement range will not be very big.Therefore,
Sleep stage is divided in the application, includes at least three phases:The sleep stage shallow sleeps stage and deep sleep stages.The
One stage:The sleep stage determines the sleep stage residing for user according to the acceleration value of acquisition, specifically includes:According to acquisition
Acceleration value analyzes the change frequency and amplitude of acceleration value;If amplitude be more than the first preset value, it is determined that user be in into
Sleep the stage.The historical data that first predetermined threshold value can wear after eyeshade sleep according to user show that user is in the stage of sleep
It is possible that the action repeatedly lain down and got up etc., the amplitude for the acceleration obtained when these actions occur are lain compared to user
The amplitude of the acceleration obtained when is clearly higher by very much.If obtain acceleration amplitude be more than the first preset value so this
The change frequency of brief acceleration value value is smaller, is also considered as user and is not introduced into sleep state at this time, also in the stage of sleep.The
Two-stage:It is shallow to sleep the stage, if amplitude is no more than the first preset value and change frequency is more than the second preset value, it is determined that user is in
It is shallow to sleep the stage.The historical data that second predetermined threshold value can also wear after eyeshade sleep according to user show that user is in shallow and sleeps
When the stage, the significantly action stood up and lain down will not occur in such as sleep stage, but user does not fall into a soft sleep at this time, therefore
User is likely to repeatedly turn over, act to seek a comfortable sleep posture.In this stage, the operating frequency of user is relatively
Therefore height can sleep the stage according to the change frequency of acceleration value to distinguish the shallow of user.Phase III:Deep sleep stages, if width
Value is no more than the first preset value and change frequency is no more than the second preset value, it is determined that user is in deep sleep stages.It has passed through
The sleep stage and it is shallow sleep the stage after, user enters deep sleep stages, more comfortably enters since user before will have found one
Sleeping position gesture, therefore, after user enters deep sleep stages, user is not in the turn and action of high frequency time, is more not in
The significantly action stood up and lain down etc., therefore, more steady compared to for other acceleration values, frequency of occurrence clearly drops
The low stage is deep sleep stages.It is worth noting that above-mentioned first preset value and the second preset value can voluntarily be set by user
It sets.The sleep stage of user is divided according to the change frequency and amplitude of the acceleration value of acquisition in present embodiment, is carried
A kind of accurate mode for distinguishing user's sleep stage is supplied.Certainly, present embodiment provides only a kind of according to acceleration
Value distinguishes the mode of user's sleep stage, but in practical applications, any side that user's sleep stage is distinguished according to acceleration value
Formula is within the protection domain of present embodiment.
Step 103:According to sleep stage and preset correspondence, the operating reference value of locating function module.
Specifically, user pre-sets the correspondence of the operating reference value of sleep stage and functional module group.User enters
It sleeps that degree is deeper, the running parameter of functional module group should be reduced, avoid bothering user so that the work shape of the function module of eyeshade
State is more in line with the sleep state of user, promotes the sleep quality of user.Therefore, user's sleep degree is deeper, functional module group
Operating reference value should be smaller, i.e., that is, the working strength of functional module group is smaller.Illustrate by taking music as an example, user's sleep journey
Degree is deeper, and the volume of music module is smaller.Certainly, sleep stage and the correspondence of operating reference value can be one-to-one, i.e.,
One sleep stage corresponds to an operating reference value;But or one-to-many relationship, i.e. a sleep stage correspond to multiple works
Make reference value, then when according to the operating reference value of preset relation selection function module, can randomly choose;It can also basis
The length of time selects, such as:The time that user is in the sleep stage is longer, and corresponding operating reference value opposite can also be got over
It is small, but on the whole for, the corresponding operating reference values of deep sleep stages is more than the shallow operating reference value for sleeping the stage;It is shallow to sleep stage
Operating reference value is more than the operating reference value in sleep stage.Above-mentioned correspondence, by way of example only, in practical applications not
It should be as limit.
Step 104:Whether the current operating parameters of arbitration functions module meet found operating reference value.If symbol
It closes, then the flow terminates;If not meeting, enter next step 105.
Specifically, during the user for wearing eyeshade uses functional module group, the shape of the user of eyeshade is worn in detection
State data.The specific status data that the user for wearing eyeshade is obtained using 3-axis acceleration sensor, according to the acceleration of acquisition
Angle value determines the sleep stage residing for user, after determining the sleep stage of user, according to sleep stage and functional module group
The correspondence of operating reference value finds the operating reference value of functional module group.By the current operating parameter values of functional module group and
The operating reference value found is compared, and judgement is all to meet, it is described herein meet can be understood as approximation, Ke Yicun
It is not necessarily essentially equal in certain error.For example, illustrating so that functional module group is music module as an example, " meeting " is appreciated that
It is less than 3 by the mistake absolute value of the difference between the volume and the reference volume of the music found of currently playing music, certainly, this
The error amount at place can be by user's sets itself.If the current operating parameters of arbitration functions module meet found work ginseng
Value is examined, then the flow terminates;If the current operating parameters of arbitration functions module do not meet found operating reference value, into
Enter next step 105.It is worth noting that in practice, being found if the current operating parameters of arbitration functions module meet
Operating reference value, then should enter step 101 and continue to obtain the sleep state data of user, re-start judgement until user
Sleep state changes or user closes the functional module group.But present embodiment is to describe the problem, only to be once judged as
Example illustrates.
Step 105:Adjustment current operating parameters make current operating parameters meet the operating reference value found.
Specifically, during the user for wearing eyeshade uses functional module group, the shape of the user of eyeshade is worn in detection
State data.The specific status data that the user for wearing eyeshade is obtained using 3-axis acceleration sensor, according to the acceleration of acquisition
Angle value determines the sleep stage residing for user, after determining the sleep stage of user, according to sleep stage and functional module group
The correspondence of operating reference value finds the operating reference value of functional module group.If the current operating parameters of arbitration functions module
Found operating reference value is not met, then adjusts current operating parameter values current operating parameter values is made to meet and searched
The operating reference value arrived, is adjusted the running parameter of eyeshade functional module group, so that the work of the function module of eyeshade
State is more in line with the sleep state of user, to contribute to the sleep of user, improves user's sleep quality.
In addition, after determining the sleep stage residing for user according to the acceleration value of acquisition, further include:If according to acquisition
Acceleration value determine that user is in deep sleep stages, then obtain the duration that user is in deep sleep stages;If duration reaches
To preset duration, then closing function module.Specifically, after determining that user has been in the deep sleep stage, if user is in
The duration in deep sleep stage has exceeded preset duration, then illustrates that user sleeps peacefully, and is used at this point, closing user
Eyeshade functional module group, without user be manually operated, and save eyeshade energy consumption.Wherein, preset duration can be voluntarily arranged, example
Such as:Preset duration can be:1 minute, 2 minutes etc..
Compared with prior art, a kind of method promoting sleep is provided in present embodiment, and eyeshade is worn by acquisition
User status data, the sleep stage residing for user is determined according to the status data of user, in different sleep stages, eye
The functional module group of cover has different running parameters, the corresponding operating reference value of the different sleep stages residing for user, right
The running parameter of eyeshade functional module group is adjusted, so that the working condition of the function module of eyeshade is more in line with user's
Sleep state improves user's sleep quality to contribute to the sleep of user.
Second embodiment of the present invention is related to a kind of method promoting sleep.Second embodiment is to the first embodiment party
Further limiting for formula, mainly thes improvement is that:The function module of specific adjustment eyeshade is provided in present embodiment
The mode of running parameter.
The idiographic flow schematic diagram of the method for promotion sleep in present embodiment is as shown in Fig. 2, specifically include:
Step 201:The status data for the user for wearing eyeshade is detected using 3-axis acceleration sensor, wherein status number
According to for acceleration value.
Step 202:The sleep stage residing for user is determined according to the acceleration value of acquisition.
Step 203:According to sleep stage and preset correspondence, the operating reference value of locating function module.
Step 204:Whether the current operating parameters of arbitration functions module meet found operating reference value.If symbol
It closes, then the flow terminates;If not meeting, enter next step 205.
Above-mentioned steps 201 are roughly the same to step 104 with the step 101 in first embodiment to step 204, herein not
It is repeated again.
Step 205:Calculate the difference of current operating parameters and the operating reference value found.
Step 206:Judge whether difference is less than third preset value.If being less than, 207 are entered step;If being not less than, into
Enter step 208.
Step 207:Current operating parameters are directly revised as the operating reference value found.
For above-mentioned steps 205 and step 207, specifically, the process of functional module group is used in the user for wearing eyeshade
In, the status data of the user of eyeshade is worn in detection.It is specific that the user for wearing eyeshade is obtained using 3-axis acceleration sensor
Status data, the sleep stage residing for user is determined according to the acceleration value of acquisition, after determining the sleep stage of user,
According to the correspondence of sleep stage and the operating reference value of functional module group, the operating reference value of functional module group is found.If sentencing
The current operating parameters of disconnected functional module group do not meet found operating reference value, calculate the work at present ginseng of functional module group
The difference of number and the operating reference value found.A third preset value is set, if calculated difference is pre- without departing from this third
If value, then shows difference and little, then can the current operating parameters value of functional module group be directly revised as the work found
Reference value, directly changing the current operating parameters value of the functional module group of eyeshade will not cause to wear discovering for user, will not beat
Disturb user.If calculated difference exceeds this third preset value, show that difference is larger, cannot directly change at this time current
Operating parameter values, discovering for user can be caused, bother user, therefore in order to avoid bothering user, need to adjust stage by stage
Whole current operating parameters make current operating parameters meet the operating reference value found.Wherein, third preset value is just to bother
To subject to user, by user's sets itself.
Step 208:Adjustment current operating parameters make current operating parameters meet the operating reference value found stage by stage.
Specifically, if the difference of the current operating parameters of calculated functional module group and the operating reference value found is super
Go out this third preset value, then show that difference is larger, cannot directly change current operating parameter values at this time, user can be caused
Discover, bother user, therefore in order to avoid bothering user, needing to adjust current operating parameters stage by stage makes work at present join
Number meets the operating reference value found.Specifically the mode of adjustment current operating parameters value can be stage by stage:According to default
Regular gradually adjustment current operating parameters, until current operating parameters meet the operating reference value found.With the function of eyeshade
Module is illustrated for music module, it is assumed that the third preset value of user setting is 10.If calculated functional module group is current
The difference of running parameter and the operating reference value found is 12, just adjusts functional module group stage by stage according to preset rules at this time
Current operating parameters.The preset rules can be that volume gradually subtracts 1 or volume gradually subtracts 2, can be voluntarily arranged by user.
The current operating parameters of functional module group are gradually subtracted 1 until having subtracted 12 differences.It is worth noting that in the mistake adjusted stage by stage
Cheng Zhong, should will adjustment process control within a certain period of time, but the time be subject to will not bother user sleep.
Compared with prior art, present embodiments provide for a kind of methods promoting sleep, in adjustment current operating parameters
Before so that current operating parameters is met the operating reference value found, further include:The work for calculating current operating parameters and finding
Make the difference of reference value;Judge whether difference is less than third preset value;If it is determined that difference is less than third preset value, then will directly work as
Preceding running parameter is revised as the operating reference value found.Provide a kind of work ginseng of the function module of specific adjustment eyeshade
Several modes.After judging whether difference is less than third preset value, further include:If it is determined that difference is not less than third preset value,
Then adjustment current operating parameters make current operating parameters meet the operating reference value found stage by stage.Provide another tune
The mode of the running parameter of the function module of whole eyeshade.
The step of various methods divide above, be intended merely to describe it is clear, when realization can be merged into a step or
Certain steps are split, multiple steps are decomposed into, as long as including identical logical relation, all in the protection domain of this patent
It is interior;To either adding inessential modification in algorithm in flow or introducing inessential design, but its algorithm is not changed
Core design with flow is all in the protection domain of the patent.
Third embodiment of the invention is related to a kind of eyeshade, as shown in figure 3, including:At least one processor 301;And
The memory 302 communicated to connect at least one processor 301;Wherein, be stored with can be by least one processor for memory 302
301 instructions executed, instruction is executed by least one processor 301, so that at least one processor 301 is able to carry out above-mentioned
The method of promotion sleep in one embodiment.
Wherein, memory 302 is connected with processor 301 using bus mode, and bus may include any number of interconnection
Bus and bridge, bus one or more processors 301 and the various of memory 302 are electrically connected to together.Bus may be used also
To be electrically connected to the various other of such as peripheral equipment, voltage-stablizer and management circuit or the like together, these are all
It is known in the art, therefore, it will not be further described herein.Bus interface provides between bus and transceiver
Interface.Transceiver can be an element, can also be multiple element, such as multiple receivers and transmitter, provide for
The unit communicated with various other devices on transmission medium.Through processor 301 handle data by antenna on the radio medium
It is transmitted, further, antenna also receives data and transfers data to processor 301.
Processor 301 is responsible for bus and common processing, can also provide various functions, including timing, periphery connects
Mouthful, voltage adjusting, power management and other control functions.And memory 302 can be used to store processor 301 and execute
Used data when operation.
Four embodiment of the invention is related to a kind of computer readable storage medium, is stored with computer program.Computer
Above method embodiment is realized when program is executed by processor.
That is, it will be understood by those skilled in the art that implement the method for the above embodiments be can be with
Relevant hardware is instructed to complete by program, which is stored in a storage medium, including some instructions are making
It obtains an equipment (can be microcontroller, chip etc.) or processor (processor) executes side described in each embodiment of the application
The all or part of step of method.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
It will be understood by those skilled in the art that the respective embodiments described above are to realize specific embodiments of the present invention,
And in practical applications, can to it, various changes can be made in the form and details, without departing from the spirit and scope of the present invention.
Claims (10)
1. a kind of method promoting sleep, which is characterized in that be applied to eyeshade, the eyeshade includes functional module group;The promotion
The method of sleep, including:
The status data of the user of the eyeshade is worn in detection;
The sleep stage residing for the user is determined according to the status data;
According to the sleep stage and preset correspondence, the operating reference value of the functional module group is searched;
Judge whether the current operating parameters of the functional module group meet found operating reference value;
If not meeting, adjusting the current operating parameters makes the current operating parameters meet the operating reference value found.
2. the method according to claim 1 for promoting sleep, which is characterized in that the user of the eyeshade is worn in the detection
Status data, specially:
3-axis acceleration sensor detection is utilized to wear the status data of the user of the eyeshade, wherein the status data is
Acceleration value;
The sleep stage determined according to the status data residing for the user, specially:According to the acceleration of acquisition
Angle value determines the sleep stage residing for the user.
3. the method according to claim 2 for promoting sleep, which is characterized in that the sleep stage includes at least:It falls asleep
Stage shallow sleeps stage and deep sleep stages;
The acceleration value according to acquisition determines the sleep stage residing for the user, specifically includes:
The change frequency and amplitude of the acceleration value are analyzed according to the acceleration value of acquisition;
If the amplitude is more than the first preset value, it is determined that the user is in the sleep stage;
If the amplitude is no more than first preset value and the change frequency is more than the second preset value, it is determined that the user
The stage is slept in shallow;
If the amplitude is no more than first preset value and the change frequency is no more than second preset value, it is determined that institute
It states user and is in deep sleep stages.
4. the method according to claim 3 for promoting sleep, which is characterized in that in the acceleration according to acquisition
After value determines the sleep stage residing for the user, further include:
If determining that the user is in deep sleep stages according to the acceleration value of acquisition, obtains the user and be in sound sleep rank
The duration of section;
If the duration reaches preset duration, the functional module group is closed.
5. the method according to claim 1 for promoting sleep, which is characterized in that in the adjustment current operating parameters
Before so that the current operating parameters is met the operating reference value found, further include:
Calculate the difference of the current operating parameters and the operating reference value found;
Judge whether the difference is less than third preset value;
If it is determined that the difference is less than the third preset value, then the current operating parameters are directly revised as described find
Operating reference value.
6. the method according to claim 5 for promoting sleep, which is characterized in that judge whether the difference is less than described
After third preset value, further include:
If it is determined that the difference is not less than the third preset value, then adjusting the current operating parameters stage by stage makes work at present
Parameter meets the operating reference value found.
7. the method according to claim 6 for promoting sleep, which is characterized in that described to adjust the work at present stage by stage
Parameter makes current operating parameters meet the operating reference value found, specially:
The current operating parameters are gradually adjusted according to preset rules, until current operating parameters meet the operating reference found
Value.
8. the method according to claim 1 for promoting sleep, which is characterized in that the user of the eyeshade is worn in the detection
Status data before, further include:
When the user for wearing the eyeshade uses the functional module group, the functional module group starts work with the running parameter set
Make.
9. a kind of eyeshade, which is characterized in that including:
At least one processor;And
The memory being connect at least one processor communication;Wherein,
The memory is stored with the instruction that can be executed by least one processor, and described instruction is by least one place
It manages device to execute, so that at least one processor is able to carry out the side of the promotion sleep as described in any in claim 1 to 8
Method.
10. a kind of computer readable storage medium, is stored with computer program, which is characterized in that the computer program is located
Reason device realizes the method described in any item of the claim 1 to 8 for promoting sleep when executing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810692950.3A CN108742639A (en) | 2018-06-29 | 2018-06-29 | It is a kind of to promote the method slept, eyeshade with computer storage media |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810692950.3A CN108742639A (en) | 2018-06-29 | 2018-06-29 | It is a kind of to promote the method slept, eyeshade with computer storage media |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108742639A true CN108742639A (en) | 2018-11-06 |
Family
ID=63974573
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810692950.3A Pending CN108742639A (en) | 2018-06-29 | 2018-06-29 | It is a kind of to promote the method slept, eyeshade with computer storage media |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108742639A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109513091A (en) * | 2018-12-26 | 2019-03-26 | 速眠创新科技(深圳)有限公司 | Sleeping equipment and system |
CN109568761A (en) * | 2018-11-09 | 2019-04-05 | 速眠创新科技(深圳)有限公司 | Control method, device and the sleep derivation instrument of sleep derivation instrument |
CN111338406A (en) * | 2020-03-05 | 2020-06-26 | 北京邮电大学 | Temperature and humidity control method and device for hot compress eyeshade |
CN113952587A (en) * | 2021-11-16 | 2022-01-21 | 湖北工业大学 | System for controlling playing device based on sleep state |
-
2018
- 2018-06-29 CN CN201810692950.3A patent/CN108742639A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109568761A (en) * | 2018-11-09 | 2019-04-05 | 速眠创新科技(深圳)有限公司 | Control method, device and the sleep derivation instrument of sleep derivation instrument |
CN109513091A (en) * | 2018-12-26 | 2019-03-26 | 速眠创新科技(深圳)有限公司 | Sleeping equipment and system |
CN109513091B (en) * | 2018-12-26 | 2021-09-28 | 速眠创新科技(深圳)有限公司 | Sleep-aiding device and system |
CN111338406A (en) * | 2020-03-05 | 2020-06-26 | 北京邮电大学 | Temperature and humidity control method and device for hot compress eyeshade |
CN113952587A (en) * | 2021-11-16 | 2022-01-21 | 湖北工业大学 | System for controlling playing device based on sleep state |
CN113952587B (en) * | 2021-11-16 | 2024-01-19 | 杨金刚 | System for controlling playing device based on sleep state |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108742639A (en) | It is a kind of to promote the method slept, eyeshade with computer storage media | |
CN104410747B (en) | A kind of method and system for automatically controlling audiovisual applications by wearable intelligent equipment | |
US20170049335A1 (en) | Earphones with biometric sensors | |
US20160051184A1 (en) | System and method for providing sleep recommendations using earbuds with biometric sensors | |
CN109168102A (en) | A kind of earphone wearing state detection method, device and earphone | |
CN106814710A (en) | A kind of control method and device to intelligent home device | |
CN104750483B (en) | A kind of method and device for controlling terminal alarm clock | |
CA3060439A1 (en) | Activity recognition | |
CN107247516A (en) | Alarm clock starts method, device, Wearable and storage medium | |
CN104720748A (en) | Sleep stage determining method and sleep stage determining system | |
US20160029974A1 (en) | System and method for tracking biological age over time based upon heart rate variability using earphones with biometric sensors | |
WO2023005368A1 (en) | Health monitoring method and apparatus, smart device, and storage medium | |
CN113639449B (en) | Method and device for controlling air conditioner and air conditioner | |
CN108592347A (en) | Air conditioner and its control method, control device and readable storage medium storing program for executing | |
CN109497945A (en) | A kind of sleep state control method and device | |
CN105929965A (en) | Alarm clock control method and terminal device | |
CN104111729A (en) | Information processing method and electronic equipment | |
CN111358448A (en) | Sleep regulation method and device | |
CN106954301A (en) | The open method and baby's lamp of baby's lamp | |
CN112667065A (en) | Method and device for controlling intelligent playing terminal, storage medium and intelligent wearable device | |
CN112689219A (en) | Method, apparatus, wireless headset and computer readable storage medium for managing sleep | |
CN105877701A (en) | Method and device for analyzing sleep period in real time and intelligent wearable equipment | |
CN106776223A (en) | Mobile device uses the management method and device of duration | |
CN110433384A (en) | A kind of sleep music system | |
CN206836422U (en) | A kind of adjustable intelligent bracelet |
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 |