CN110097747A - Method, apparatus, computer equipment and the storage medium that beddo is laid flat - Google Patents
Method, apparatus, computer equipment and the storage medium that beddo is laid flat Download PDFInfo
- Publication number
- CN110097747A CN110097747A CN201910250895.7A CN201910250895A CN110097747A CN 110097747 A CN110097747 A CN 110097747A CN 201910250895 A CN201910250895 A CN 201910250895A CN 110097747 A CN110097747 A CN 110097747A
- Authority
- CN
- China
- Prior art keywords
- beddo
- bed board
- user
- driving
- signal
- 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.)
- Granted
Links
Classifications
-
- A—HUMAN NECESSITIES
- A47—FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
- A47C—CHAIRS; SOFAS; BEDS
- A47C17/00—Sofas; Couches; Beds
- A47C17/86—Parts or details for beds, sofas or couches only not fully covered in a single one of the sub-groups A47C17/02, A47C17/04, A47C17/38, A47C17/52, A47C17/64, or A47C17/84; Drawers in or under beds
-
- A—HUMAN NECESSITIES
- A47—FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
- A47C—CHAIRS; SOFAS; BEDS
- A47C19/00—Bedsteads
- A47C19/02—Parts or details of bedsteads not fully covered in a single one of the following subgroups, e.g. bed rails, post rails
-
- 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/4809—Sleep detection, i.e. determining whether a subject is asleep or not
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/74—Details of notification to user or communication with user or patient ; user input means
- A61B5/746—Alarms related to a physiological condition, e.g. details of setting alarm thresholds or avoiding false alarms
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C17/00—Arrangements for transmitting signals characterised by the use of a wireless electrical link
- G08C17/02—Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
Landscapes
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Engineering & Computer Science (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- Molecular Biology (AREA)
- Animal Behavior & Ethology (AREA)
- Biomedical Technology (AREA)
- Heart & Thoracic Surgery (AREA)
- Medical Informatics (AREA)
- Biophysics (AREA)
- Surgery (AREA)
- Pathology (AREA)
- Veterinary Medicine (AREA)
- Public Health (AREA)
- Anesthesiology (AREA)
- Physiology (AREA)
- Nursing (AREA)
- Computer Networks & Wireless Communication (AREA)
- General Physics & Mathematics (AREA)
- Invalid Beds And Related Equipment (AREA)
Abstract
Present invention discloses a kind of method, apparatus that beddo is laid flat, computer equipment and storage mediums, and wherein method includes: to judge whether the user on the beddo enters sleep state;If so, judging whether the bed board of the beddo is in flattened state;If the bed board of the beddo is not in flattened state, the bed board of the beddo is driven to the flattened state.Method, apparatus, computer equipment and the storage medium that the beddo of the application is laid flat, after beddo judges that user enters sleep state above it, it can start automatically and drive beddo to the program of flattened state, make beddo automatically into flattened state, it intervenes and controls without Digiplex, user is more convenient to use, experience is more preferable, and solving user in the prior art can not restore the technical issues of being laid flat bed board without Digiplex.
Description
Technical field
The present invention relates to beddo field, a kind of method, apparatus that beddo is laid flat is especially related to, computer is set
Standby and storage medium.
Background technique
Beddo generally comprises the structures such as bedstead, driving device, controller, bed board, and driving device is arranged on the inside of bedstead,
For driving the movements such as bed board overturning;Controller is for storing control program etc., to control driving device movement.Some other
In embodiment, beddo can not also include bedstead, but driving device is used as bedstead.
Above controller can be wirelessly connected with remote controler, to receive the remote signal of user, realize user to beddo
Active control, when remote controler short of electricity, loss, failure, user is difficult to realize the control to beddo.In addition, when electronic
When bed is not in flattened state, user enters sleep state, and beddo will not restore flattened state automatically, and user can not be very
Good prolonged sleep.
Summary of the invention
The main object of the present invention is to provide a kind of method, apparatus that beddo is laid flat, computer equipment and storage medium,
It aims to solve the problem that when beddo is not in flattened state, user enters sleep state, and beddo will not restore to be laid flat automatically
The technical issues of state.
In order to achieve the above-mentioned object of the invention, the present invention proposes a kind of method that beddo is laid flat, comprising:
Judge whether the user on the beddo enters sleep state;
If so, judging whether the bed board of the beddo is in flattened state;
If the bed board of the beddo is not in flattened state, the bed board of the beddo is driven to described and is laid flat shape
State.
Further, before the step of whether user judged on the beddo enters sleep state, comprising:
It sends first and seeks signal to specified Digiplex;
If not receiving the first feedback signal that the Digiplex seeks signal for described first, judgement is generated
Whether the user on the beddo enters dormant order.
Further, the bed board of the beddo includes muti-piece, and different bed boards is provided with corresponding driving device;It is described
The step of bed board of the beddo is driven to the flattened state, comprising:
Each bed board for obtaining the beddo is long relative to the tilt angle of preset plane and preset driving time
Degree;
According to each tilt angle and the driving time length, the drive of the corresponding driving device of each bed board is calculated
Dynamic rate and driving direction, to guarantee each bed board while move to flattened state;
Control each driving device in the driving time length according to corresponding driving rate and driving direction into
Action is made.
Further, each driving device of control is in the driving time length according to corresponding driving rate
The step of being acted with driving direction, comprising:
Control each driving device in the driving time length according to corresponding driving rate and driving direction into
Row constant motion.
Further, the bed board of the beddo includes muti-piece, and different bed boards is provided with corresponding driving device;It is described
The step of whether bed board of the beddo is in flattened state judged, comprising:
Judge whether each driving device is in initial position, wherein all the driving device is in described
When initial position, the bed board of the beddo is flattened state;
If there are one or more driving devices to be not in the initial position, the bed board of the beddo is determined not
In flattened state.
Further, the step of whether user judged on the beddo enters sleep state, comprising:
Receive the signal for the jogging sensor acquisition being arranged on the beddo;
Judge whether to lie down on the beddo by the signal and has the user;
Judge whether the user enters sleep state by the signal if so, then solving.
Further, before the step of bed board by the beddo drives to the flattened state, comprising:
It sends second and seeks signal to specified Digiplex;
If receiving the second feedback signal that the Digiplex seeks signal for described second, standby signal is sent
To the Digiplex, the alarm signal that user enters sleep is issued to control the Digiplex, and generate institute
The bed board for stating beddo drives to the order of the flattened state.
The present invention also provides a kind of devices that beddo is laid flat, comprising:
Whether the first judging unit, the user for judging on the beddo enter sleep state;
Second judgment unit judges whether the bed board of the beddo is located if entering sleep state for the user
In flattened state;
Driving unit drives the bed board of the beddo if the bed board for the beddo is not in flattened state
It moves to the flattened state.
The present invention also provides a kind of computer equipment, including memory and processor, the memory is stored with computer
The step of program, the processor realizes any one of claims 1 to 7 the method when executing the computer program.
The present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the computer journey
The step of method described in any one of claims 1 to 7 is realized when sequence is executed by processor.
Method, apparatus, computer equipment and the storage medium that the beddo of the application is laid flat, beddo judge that user exists
Its above enter sleep state after, can start automatically and drive beddo to the program of flattened state, make beddo automatically into
Flattened state, without Digiplex intervention control, user is more convenient to use, experience is more preferable, solves and uses in the prior art
Family, which does not have to Digiplex, to restore the technical issues of being laid flat bed board.
Detailed description of the invention
Fig. 1 is the flow diagram for the method that the beddo of one embodiment of the application is laid flat;
Fig. 2 is the structural schematic block diagram for the device that the beddo of one embodiment of the application is laid flat;
Fig. 3 is the structural schematic block diagram of the computer equipment of one embodiment of the application.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Referring to Fig.1, a kind of method that beddo is laid flat is provided with controller on the beddo, sets on the controller
It is equipped with the control program for controlling beddo.Above-mentioned beddo includes bedstead, bed board, driving device, controller and multiple micro-
Dynamic sensor etc., bedstead are used to drive bed board lifting, overturning etc. for carrying bed board, driving device and controller, driving device,
And controller then built-in processor and memory access etc., for controlling driving device etc., and jogging sensor is connect with controller,
For acquiring the various micro-tremor signals of generation of human body when on bed board, such as breath signal, heartbeat signal, turn signal, control
System can perform corresponding processing micro-tremor signal, thus the signal needed, and generate corresponding control command etc..?
The control information etc. that wireless connector receives Digiplex is provided in the present embodiment, in above controller.In the present embodiment,
The devices such as audio player can also be integrated on beddo, to realize more functions, these devices are generally controlled by
State controller.
The above method specifically comprises the following steps:
S1, judge whether the user on the beddo enters sleep state;
S2, if so, judging whether the bed board of the beddo is in flattened state;
If the bed board of S3, the beddo are not in flattened state, the bed board of the beddo is driven to described and is put
Level state.
As described in above-mentioned steps S1, it includes a variety of for judging whether user enters dormant method, for example passes through arrangement
The micro-tremor signal on jogging sensor acquisition bed board on bed board, then extracts physiological signal (heartbeat signal, the heart of user
Rate signal etc.), then judge whether user enters sleep state by existing sleep algorithm, specific sleep algorithm is herein not
It is repeating;Alternatively, shooting the user video on beddo by camera, the closed-eye time of human eye in video is then obtained, when
When the closed-eye time of user reaches preset value, determine that user enters sleep state etc..Judge whether user enters by camera
It is dormant to be advantageous in that, it can determine that the user lain on beddo is people, prevent inhuman object (such as books, packet
Wrap up in) it is mistakenly considered user and sleeps on beddo.In a specific embodiment, controller is passed by above-mentioned fine motion
The vibration signal of sensor acquisition, which determines on beddo, has object to be placed on bed board, then starts above-mentioned camera acquisition beddo
On video, to carry out above-mentioned video analysis.Any one in the prior art can be used in the method for above-mentioned video analysis
The video analysis method that above-mentioned technical requirements may be implemented, is not repeating herein.
As described in above-mentioned steps S2, when determine user beddo it is enterprising enter sleep state, then judge the bed board of beddo
Whether flattened state is in.Above-mentioned flattened state can refer to that each bed board is in same plane, and the state being parallel to the horizontal plane.
In other embodiments, above-mentioned flattened state can also be beddo when leaving the factory, the initial flattened state of factory settings, i.e., such as
Fruit places beddo on a horizontal ground, and the bed board of initial flattened state is parallel to the horizontal plane, this initial flattened state
Under, if beddo is placed at slope, the virtual condition of bed board is the inclined-plane for having angle with horizontal plane.
As described in above-mentioned steps S3 because user comes into sleep state, if beddo still in non-flattened state,
Then will affect the sleep quality of user, at this time user also can not active control Digiplex come realize beddo enter be laid flat shape
State, so, the controller of beddo can execute the preset program for being laid flat bed board automatically in the application, by the beddo
Bed board drive to flattened state.It is intervened and is controlled by Digiplex without user, in remote controler loss, short of electricity, damage
When, user will not be influenced and slept on the beddo under flattened state.
In one embodiment, it is above-mentioned judge the user on the beddo whether enter sleep state step S1 it
Before, comprising:
S101, transmission first seek signal to specified Digiplex;
If S102, not receiving the first feedback signal that the Digiplex seeks signal for described first, give birth to
Whether enter dormant order at the user judged on the beddo.
As described in above-mentioned steps S101 and S102, above-mentioned first, which seeks signal, is usually generated by controller and is passed through wireless
The signal that transmitting module is sent out is mainly used for searching the Digiplex with controller successful matching.If received
First feedback signal of Digiplex then illustrates that Digiplex is in normal working condition, and do not lose, beddo
Current state may be considered user's active control and obtain state, be the state for belonging to user and liking, so user is not intended to
Beddo changes current state, for energy saving, the usage experience of holding user, judges whether user enters without the moment
Sleep state.In one embodiment, if not receiving above-mentioned first feedback signal, illustrate that Digiplex is in and lose
The states such as mistake, damage, short of electricity, user is not available Digiplex control beddo work, then in order to be supplied to user
The function of (people) most basic bed, it should drive bed board to flattened state, still, current state may is that user compares happiness
Joyous state judges whether the user on the beddo enters dormant order so generating, to judge user constantly
Whether enter sleep state, when user enters sleep state, the bed board of beddo is driven to flattened state, there is beddo
The basic function of bed, controls beddo after finding the Digiplex that can be used, then through Digiplex.In the application
In, before above-mentioned transmission first seeks signal to the step S101 of specified Digiplex, generally further include judge it is electronic
The step of whether there is user on bed etc., there are when user, can just send first to seek signal to finger only on beddo
Fixed Digiplex, nor first can be sent in real time and seek signal, but it is spaced specified time transmission, such as every 10 minutes
Send out inferior a, energy saving.
In one embodiment, the bed board of above-mentioned beddo includes muti-piece, and different bed boards is provided with corresponding driving dress
It sets;If the bed board of the beddo is not in flattened state, the bed board of the beddo is driven to the flattened state
Step S3, comprising:
S301, when obtaining tilt angle and preset driving of each bed board of the beddo relative to preset plane
Between length;
S302, according to each tilt angle and the driving time length, calculate the corresponding driving of each bed board and fill
The driving rate and driving direction set, to guarantee each bed board while move to flattened state;
S303, each driving device of control are in the driving time length according to corresponding driving rate and driving side
To being acted.
As described in above-mentioned steps S301 to S303, above-mentioned preset plane is each bed board locating for the initial flattened state lower bed board
Plane or horizontal plane.Above-mentioned preset driving time length is user or producer's factory is the time span of setting, is
Each bed board of beddo moves to the time used in flattened state as current position.After getting the inclination angle of each bed board, then
The driving rate of each driving device can be calculated according to the time (above-mentioned preset driving time length) of movement, it is each to guarantee
Bed board moves to flattened state simultaneously, and last controller controls each driving device in the driving time length according to right
The driving rate and driving direction answered are acted, and each bed board of beddo is made to be in flattened state.In the present embodiment, by each bed
Plate drives simultaneously wakes up with a start user when each bed board driving speed can be prevented too fast or too slow to flattened state.Above-mentioned driving
Time span is generally the time span that each bed board can be allowed slowly to be laid flat such as 3 minutes, 5 minutes, 10 minutes.In this implementation, control
It makes each driving device and carries out constant motion according to corresponding driving rate and driving direction in the driving time length,
It further prevents from waking up with a start user.
In one embodiment, the bed board of above-mentioned beddo includes muti-piece, and different bed boards is provided with corresponding driving dress
It sets;Whether the bed board for judging the beddo is in the step S2 of flattened state, comprising:
S201, judge whether each driving device is in initial position, wherein all the driving device is in
When the initial position, the bed board of the beddo is flattened state;
If S202, there are one or more driving devices to be not in the initial position, the beddo is determined
Bed board is not in flattened state.
As described in above-mentioned steps S201 and S202, each driving device has the original state of oneself, when whole drivings
When device is all in original state, whether the beddo of the application is flattened state, it is possible to be in by each driving device
Original state judges whether beddo is in flattened state, if there is one or more driving devices be not in it is described just
Beginning position then determines that the bed board of the beddo is not in flattened state.Further, driving condition is not in initially if it exists
The driving device of state then records the stroke of its driving, then long according to the size of stroke and above-mentioned preset driving time
Degree, calculates its driving speed for being returned to original state, in order to which it utilizes driving time length to return back to original state just.
The stroke of above-mentioned driving device can be obtained by displacement sensor etc., and specifically, driving device is electric pushrod, be pushed away electronic
Displacement sensor is set in the drive shaft of bar.
In one embodiment, the above-mentioned step S1 for judging the user on the beddo and whether entering sleep state, packet
It includes:
The signal for the jogging sensor acquisition that S121, reception are arranged on the beddo;
Whether S122, judging to lie down on the beddo by the signal has the user;
S123, judge whether the user enters sleep state by the signal if so, then solving.
As described in above-mentioned steps S121 to S123, it is dormant on condition that determining on beddo to judge whether user enters
Really lying down has user, and whether in the present embodiment, judging really to lie down on beddo by the signal that jogging sensor acquires has
User, can be by judging whether can be parsed out the signal for meeting human breathing signal in signal, and/or meets mankind's heart
The signal etc. of rate signal if can be parsed out the signal for meeting human breathing signal, and/or meets the letter of human heart rate signal
Number, then it can be determined that genuine someone on beddo, then judge whether user enters sleep state by these signals again.
In one embodiment, before the step of above-mentioned bed board by the beddo drives to the flattened state, packet
It includes:
S31, transmission second seek signal to specified Digiplex;
If S32, receiving the second feedback signal that the Digiplex seeks signal for described second, prompt is sent
Signal gives the Digiplex, issues the alarm signal that user enters sleep to control the Digiplex, and generate
The bed board of the beddo is driven to the order of the flattened state.
As described in above-mentioned steps S31 and S32, when determine user beddo it is enterprising enter sleep state, and the bed of beddo
When plate is not in flattened state, Digiplex can be first searched, if finding Digiplex, controls Digiplex hair
User enters the alarm signal of sleep out, and alarm signal can notify the people near beddo that " user comes into sleep shape
State ", the people near beddo can be conscious to user's lid quilt etc..While issuing signal, generating will be described
The bed board of beddo drives to the order of the flattened state, to improve the sleep quality of user.
The method that the beddo of embodiments herein is laid flat judges that user enters sleep state on beddo
Afterwards, it can start automatically and drive beddo to the program of flattened state, make beddo automatically into flattened state, be not necessarily to wireless remote
Device intervention control is controlled, user is more convenient to use, experience is more preferable, and solving user in the prior art can not without Digiplex
The technical issues of recovery is laid flat bed board.
It is provided with controller on the beddo, institute the present invention also provides a kind of device that beddo is laid flat referring to Fig. 2
State the control program being provided on controller for controlling beddo.Above-mentioned beddo includes bedstead, bed board, driving device, control
Device processed and multiple jogging sensors etc., bedstead is for carrying bed board, driving device and controller, and driving device is for driving bed board
Lifting, overturning etc., and controller then built-in processor and memory access etc., for controlling driving device etc., and jogging sensor
Connect with controller, for acquiring the various micro-tremor signals of generation of human body when on bed board, as breath signal, heartbeat signal,
Signal etc. is turned over, control can perform corresponding processing micro-tremor signal, thus the signal needed, and generate corresponding
Control command etc..In the present embodiment, the control information that wireless connector receives Digiplex is provided in above controller
Deng.In the present embodiment, the devices such as audio player can also be integrated on beddo, to realize more functions, these devices
Generally it is controlled by above controller.
Above-mentioned apparatus specifically includes:
Whether the first judging unit 10, the user for judging on the beddo enter sleep state;
Second judgment unit 20, if entering sleep state for the user, judge the beddo bed board whether
In flattened state;
Driving unit 30, if the bed board for the beddo is not in flattened state, by the bed board of the beddo
It drives to the flattened state.
Such as above-mentioned first judging unit 10, it includes a variety of for judging whether user enters dormant method, for example is passed through
Then the micro-tremor signal being arranged on the jogging sensor acquisition bed board on bed board extracts physiological signal (the heartbeat letter of user
Number, heart rate signal etc.), then judge whether user enters sleep state, specific sleep algorithm by existing sleep algorithm
It is not repeating herein;Alternatively, the user video on beddo is shot by camera, when then obtaining the eye closing of human eye in video
Between, when the closed-eye time of user reaches preset value, determine that user enters sleep state etc..Whether user is judged by camera
It is advantageous in that into dormant, can determine that the user lain on beddo is people, prevented inhuman object (such as book
This, package etc.) be mistakenly considered user and sleep on beddo.In a specific embodiment, controller passes through above-mentioned
The vibration signal of jogging sensor acquisition, which determines on beddo, has object to be placed on bed board, then starts above-mentioned camera acquisition
Video on beddo, to carry out above-mentioned video analysis.The method of above-mentioned video analysis can be used in the prior art
A kind of what video analysis method that above-mentioned technical requirements may be implemented, is not repeating herein.
Such as above-mentioned second judgment unit 20, when determine user beddo it is enterprising enter sleep state, then judge beddo
Whether bed board is in flattened state.Above-mentioned flattened state can refer to that each bed board is in same plane, and be parallel to the horizontal plane
State.In other embodiments, above-mentioned flattened state can also be beddo when leaving the factory, and factory settings are initially laid flat shape
State, i.e., if beddo placed on a horizontal ground, the bed board of initial flattened state is parallel to the horizontal plane, this initially to put
Under level state, if beddo is placed at slope, the virtual condition of bed board is the inclined-plane for having angle with horizontal plane.
Such as above-mentioned driving unit 30 because user comes into sleep state, if beddo still in non-flattened state,
Then will affect the sleep quality of user, at this time user also can not active control Digiplex come realize beddo enter be laid flat shape
State, so, the controller of beddo can execute the preset program for being laid flat bed board automatically in the application, by the beddo
Bed board drive to flattened state.It is intervened and is controlled by Digiplex without user, in remote controler loss, short of electricity, damage
When, user will not be influenced and slept on the beddo under flattened state.
In one embodiment, the device that above-mentioned beddo is laid flat, further includes:
First transmission unit seeks signal to specified Digiplex for sending first;
First generation unit, if seeking the first anti-of signal for described first for not receiving the Digiplex
Feedback signal, then generate whether the user judged on the beddo enters dormant order.
In the present embodiment, above-mentioned first seek signal be usually is generated by controller and by wireless transmitter module transmission
Signal out is mainly used for searching the Digiplex with controller successful matching.If receiving Digiplex
First feedback signal then illustrates that Digiplex is in normal working condition, and do not lose, and the current state of beddo can be with
It is considered user's active control and obtains state, be the state for belonging to user and liking, so user is not intended to beddo change to work as
Preceding state judges whether user enters sleep state without the moment for energy saving, the usage experience of holding user.?
In one embodiment, if not receiving above-mentioned first feedback signal, illustrates that Digiplex is in and lose, damage, short of electricity
Etc. states, user be not available Digiplex control beddo work, then in order to be supplied to the most basic bed of user (people)
Function, it should bed board is driven to flattened state, still, current state may is that the state that user prefers, so
Generation judges whether the user on the beddo enters dormant order, to judge whether user enters sleep shape constantly
State drives the bed board of beddo to flattened state when user enters sleep state, and beddo is made to have the basic function of bed,
Beddo is controlled after finding the Digiplex that can be used, then through Digiplex.In this application, generally further include
The step of judging on beddo with the presence or absence of user etc., there are when user, can just send first to seek only on beddo
Signal can send first in real time and seek signal to specified Digiplex, but be spaced specified time transmission, such as
Every 10 minutes one inferior, energy savings of hair.
In one embodiment, the bed board of above-mentioned beddo includes muti-piece, and different bed boards is provided with corresponding driving dress
It sets;Above-mentioned driving unit 30, comprising:
Module is obtained, for obtaining tilt angle of each bed board of the beddo relative to preset plane, and it is default
Driving time length;
Computing module, for it is corresponding to calculate each bed board according to each tilt angle and the driving time length
Driving device driving rate and driving direction, to guarantee each bed board while move to flattened state;
Drive module, for controlling each driving device in the driving time length according to corresponding driving rate
It is acted with driving direction.
In the present embodiment, above-mentioned preset plane is each bed board plane locating for initial flattened state lower bed board, or
It is horizontal plane.Above-mentioned preset driving time length is user or producer's factory is the time span of setting, is each of beddo
Bed board moves to the time used in flattened state as current position.It, then can be according to fortune after getting the inclination angle of each bed board
The dynamic time (above-mentioned preset driving time length) calculates the driving rate of each driving device, to guarantee the same luck of each bed board
It moves to flattened state, last controller controls each driving device in the driving time length according to corresponding driving speed
Rate and driving direction are acted, and each bed board of beddo is made to be in flattened state.In the present embodiment, each bed board is driven simultaneously
User is waken up with a start when each bed board driving speed can be prevented too fast or too slow to flattened state.Above-mentioned driving time length one
As be the time span that each bed board can be allowed slowly to be laid flat such as 3 minutes, 5 minutes, 10 minutes.In this implementation, each drive is controlled
Dynamic device carries out constant motion according to corresponding driving rate and driving direction in the driving time length, further prevents
Only wake up with a start user.
In one embodiment, the bed board of above-mentioned beddo includes muti-piece, and different bed boards is provided with corresponding driving dress
It sets;Second judgment unit 20, comprising:
First judgment module, for judging whether each driving device is in initial position, wherein all drives
When dynamic device is in the initial position, the bed board of the beddo is flattened state;
Determination module, if for there is one or more driving devices to be not in the initial position, determine described in
The bed board of beddo is not in flattened state.
In the present embodiment, each driving device has the original state of oneself, when whole driving devices are all in first
When beginning state, the beddo of the application is flattened state, it is possible to be sentenced by the way that whether each driving device is in original state
Whether disconnected beddo is in flattened state, if there is one or more driving devices are not in the initial position, then sentences
The bed board of the fixed beddo is not in flattened state.Further, driving condition is not in the driving of original state if it exists
Device, the then stroke for recording its driving calculate it then according to the size of stroke and above-mentioned preset driving time length
It is returned to the driving speed of original state, in order to which it utilizes driving time length to return back to original state just.Above-mentioned driving
The stroke of device can be obtained by displacement sensor etc., and specifically, driving device is electric pushrod, in the driving of electric pushrod
Displacement sensor is set on axis.
In one embodiment, above-mentioned first judging unit 10, comprising:
Receiving module, for receiving the signal of the jogging sensor being arranged on beddo acquisition;
Second judgment module has the user for judging whether to lie down on the beddo by the signal;
Third judgment module, if lying down on the beddo has the user, solution judges institute by the signal
State whether user enters sleep state.
In the present embodiment, judge whether user enters dormant on condition that really lying down on determining beddo useful
Family, whether in the present embodiment, judging really to lie down on beddo by the signal that jogging sensor acquires has user, can lead to
It crosses and judges whether can be parsed out the signal for meeting human breathing signal in signal, and/or meet the signal of human heart rate signal
Deng if can be parsed out the signal for meeting human breathing signal, and/or meeting the signal of human heart rate signal, then can sentence
Determine genuine someone on beddo, then judges whether user enters sleep state by these signals again.
In one embodiment, the device that above-mentioned beddo is laid flat, further includes:
Second sending module seeks signal to specified Digiplex for sending second;
Second generation module, if the second feedback for seeking signal for described second for receiving the Digiplex
Signal sends standby signal to the Digiplex, issues the alarm that user enters sleep to control the Digiplex
Signal, and generate and drive the bed board of the beddo to the order of the flattened state.
In the present embodiment, when determine user beddo it is enterprising enter sleep state, and the bed board of beddo is not in and puts
When level state, Digiplex can be first searched, if finding Digiplex, Digiplex is controlled and issues user's entrance
The alarm signal of sleep, alarm signal can notify people's " user comes into sleep state " near beddo, and beddo is attached
Close people can be conscious to user's lid quilt etc..While issuing signal, generate the bed board of the beddo
It drives to the order of the flattened state, to improve the sleep quality of user.
The device that the beddo of embodiments herein is laid flat judges that user enters sleep state on beddo
Afterwards, it can start automatically and drive beddo to the program of flattened state, make beddo automatically into flattened state, be not necessarily to wireless remote
Device intervention control is controlled, user is more convenient to use, experience is more preferable, and solving user in the prior art can not without Digiplex
The technical issues of recovery is laid flat bed board.
Referring to Fig. 3, a kind of computer equipment is also provided in the embodiment of the present application, which can be above-mentioned control
Device processed, internal structure can be as shown in Figure 3.The computer equipment include by system bus connect processor, memory,
Network interface and database.Wherein, the processor of the Computer Design is for providing calculating and control ability.The computer equipment
Memory include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer
Program and database.The internal memory provides ring for the operation of operating system and computer program in non-volatile memory medium
Border.The database of the computer equipment is for storing the data such as various application programs.The network interface of the computer equipment is used for
It is communicated with external terminal by network connection.To realize what a kind of beddo was laid flat when the computer program is executed by processor
Method.
The method that above-mentioned beddo is laid flat, comprising: judge whether the user on the beddo enters sleep state;If
It is then to judge whether the bed board of the beddo is in flattened state;If the bed board of the beddo is not in flattened state,
The bed board of the beddo is driven to the flattened state.
In one embodiment, before the step of whether above-mentioned user judged on the beddo enters sleep state,
It include: to send first to seek signal to specified Digiplex;If not receiving the Digiplex for described first
The first feedback signal for seeking signal, then generate whether the user judged on the beddo enters dormant order.
In one embodiment, the bed board of above-mentioned beddo includes muti-piece, and different bed boards is provided with corresponding driving dress
It sets;The step of above-mentioned bed board by the beddo drives to the flattened state, comprising: obtain each bed board of the beddo
Tilt angle and preset driving time length relative to preset plane;According to each tilt angle and the driving
Time span calculates the driving rate and driving direction of the corresponding driving device of each bed board, to guarantee the same luck of each bed board
It moves to flattened state;Each driving device is controlled in the driving time length according to corresponding driving rate and driving side
To being acted.
In one embodiment, each driving device of above-mentioned control is in the driving time length according to corresponding drive
The step of dynamic rate and driving direction are acted, comprising: each driving device of control is pressed in the driving time length
Constant motion is carried out according to corresponding driving rate and driving direction.
In one embodiment, the bed board of above-mentioned beddo includes muti-piece, and different bed boards is provided with corresponding driving dress
It sets;The step of whether above-mentioned bed board for judging the beddo is in flattened state, comprising: whether judge each driving device
It is in initial position, wherein when all the driving device is in the initial position, the bed board of the beddo
For flattened state;If there are one or more driving devices to be not in the initial position, the bed of the beddo is determined
Plate is not in flattened state.
In one embodiment, the step of whether above-mentioned user judged on the beddo enters sleep state, comprising:
Receive the signal for the jogging sensor acquisition being arranged on the beddo;By the signal judge on the beddo whether
Lying down has the user;Judge whether the user enters sleep state by the signal if so, then solving.
In one embodiment, before the step of above-mentioned bed board by the beddo drives to the flattened state, packet
It includes: sending second and seek signal to specified Digiplex;If receiving the Digiplex to seek for described second
Second feedback signal of signal sends standby signal to the Digiplex, issues user to control the Digiplex
Into the alarm signal of sleep, and generates and drive the bed board of the beddo to the order of the flattened state.
It will be understood by those skilled in the art that structure shown in Fig. 3, only part relevant to application scheme is tied
The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme.
The computer equipment of the application can starting will automatically after judging that user enters sleep state above the beddo
Beddo drives to the program of flattened state, uses beddo without Digiplex intervention control automatically into flattened state
Family is more convenient to use, experience is more preferable, and solving user in the prior art can not restore to be laid flat bed board without Digiplex
Technical problem.
The present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the computer journey
A kind of method that beddo is laid flat is realized when sequence is executed by processor, comprising: judge whether the user on the beddo enters
Sleep state;If so, judging whether the bed board of the beddo is in flattened state;If the bed board of the beddo is not in
Flattened state then drives the bed board of the beddo to the flattened state.
Method, apparatus, computer equipment and the storage medium that the beddo of the application is laid flat, beddo judge that user exists
Its above enter sleep state after, can start automatically and drive beddo to the program of flattened state, make beddo automatically into
Flattened state, without Digiplex intervention control, user is more convenient to use, experience is more preferable, solves and uses in the prior art
Family, which does not have to Digiplex, to restore the technical issues of being laid flat bed board.
In one embodiment, before the step of whether above-mentioned user judged on the beddo enters sleep state,
It include: to send first to seek signal to specified Digiplex;If not receiving the Digiplex for described first
The first feedback signal for seeking signal, then generate whether the user judged on the beddo enters dormant order.
In one embodiment, the bed board of above-mentioned beddo includes muti-piece, and different bed boards is provided with corresponding driving dress
It sets;The step of above-mentioned bed board by the beddo drives to the flattened state, comprising: obtain each bed board of the beddo
Tilt angle and preset driving time length relative to preset plane;According to each tilt angle and the driving
Time span calculates the driving rate and driving direction of the corresponding driving device of each bed board, to guarantee the same luck of each bed board
It moves to flattened state;Each driving device is controlled in the driving time length according to corresponding driving rate and driving side
To being acted.
In one embodiment, each driving device of above-mentioned control is in the driving time length according to corresponding drive
The step of dynamic rate and driving direction are acted, comprising: each driving device of control is pressed in the driving time length
Constant motion is carried out according to corresponding driving rate and driving direction.
In one embodiment, the bed board of above-mentioned beddo includes muti-piece, and different bed boards is provided with corresponding driving dress
It sets;The step of whether above-mentioned bed board for judging the beddo is in flattened state, comprising: whether judge each driving device
It is in initial position, wherein when all the driving device is in the initial position, the bed board of the beddo
For flattened state;If there are one or more driving devices to be not in the initial position, the bed of the beddo is determined
Plate is not in flattened state.
In one embodiment, the step of whether above-mentioned user judged on the beddo enters sleep state, comprising:
Receive the signal for the jogging sensor acquisition being arranged on the beddo;By the signal judge on the beddo whether
Lying down has the user;Judge whether the user enters sleep state by the signal if so, then solving.
In one embodiment, before the step of above-mentioned bed board by the beddo drives to the flattened state, packet
It includes: sending second and seek signal to specified Digiplex;If receiving the Digiplex to seek for described second
Second feedback signal of signal sends standby signal to the Digiplex, issues user to control the Digiplex
Into the alarm signal of sleep, and generates and drive the bed board of the beddo to the order of the flattened state.
The method that the beddo of the application is laid flat can be automatic after judging that user enters sleep state above the beddo
Starting drives beddo to the program of flattened state, makes beddo automatically into flattened state, intervenes without Digiplex
Control, user is more convenient to use, experience is more preferable, and solving user in the prior art can not restore to be laid flat without Digiplex
The technical issues of bed board.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
Any reference used in provided herein and embodiment to memory, storage, database or other media,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double speed are according to rate SDRAM (SSRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
The above description is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all utilizations
Equivalent structure or equivalent flow shift made by description of the invention and accompanying drawing content is applied directly or indirectly in other correlations
Technical field, be included within the scope of the present invention.
Claims (10)
1. a kind of method that beddo is laid flat characterized by comprising
Judge whether the user on the beddo enters sleep state;
If so, judging whether the bed board of the beddo is in flattened state;
If the bed board of the beddo is not in flattened state, the bed board of the beddo is driven to the flattened state.
2. the method that beddo according to claim 1 is laid flat, which is characterized in that the use on the judgement beddo
Before the step of whether family enters sleep state, comprising:
It sends first and seeks signal to specified Digiplex;
If not receiving the first feedback signal that the Digiplex seeks signal for described first, generate described in judgement
Whether the user on beddo enters dormant order.
3. the method that beddo according to claim 1 is laid flat, which is characterized in that the bed board of the beddo includes more
Block, different bed boards are provided with corresponding driving device;The bed board by the beddo drives to the flattened state
Step, comprising:
Obtain tilt angle and preset driving time length of each bed board relative to preset plane of the beddo;
According to each tilt angle and the driving time length, the driving speed of the corresponding driving device of each bed board is calculated
Rate and driving direction, to guarantee each bed board while move to flattened state;
Each driving device is controlled to be moved in the driving time length according to corresponding driving rate and driving direction
Make.
4. the method that beddo according to claim 3 is laid flat, which is characterized in that each driving device of control exists
The step of being acted in the driving time length according to corresponding driving rate and driving direction, comprising:
It is even according to corresponding driving rate and driving direction progress in the driving time length to control each driving device
Quick-action is made.
5. the method that beddo according to claim 1 is laid flat, which is characterized in that the bed board of the beddo includes more
Block, different bed boards are provided with corresponding driving device;Whether the bed board for judging the beddo is in flattened state
Step, comprising:
Judge whether each driving device is in initial position, wherein all the driving device is in described initial
When position, the bed board of the beddo is flattened state;
If there are one or more driving devices to be not in the initial position, determine that the bed board of the beddo is not in
Flattened state.
6. the method that beddo according to claim 1 is laid flat, which is characterized in that the use on the judgement beddo
The step of whether family enters sleep state, comprising:
Receive the signal for the jogging sensor acquisition being arranged on the beddo;
Judge whether to lie down on the beddo by the signal and has the user;
Judge whether the user enters sleep state by the signal if so, then solving.
7. the method that beddo according to claim 1 is laid flat, which is characterized in that the bed board by the beddo drives
Before the step of moving to the flattened state, comprising:
It sends second and seeks signal to specified Digiplex;
If receiving the second feedback signal that the Digiplex seeks signal for described second, standby signal is sent to institute
Digiplex is stated, issues the alarm signal that user enters sleep to control the Digiplex, and generate the electricity
The bed board of dynamic bed drives to the order of the flattened state.
8. a kind of device that beddo is laid flat characterized by comprising
Whether the first judging unit, the user for judging on the beddo enter sleep state;
Second judgment unit judges whether the bed board of the beddo is in and puts if entering sleep state for the user
Level state;
Driving unit, if the bed board for the beddo is not in flattened state, by the bed board of the beddo drive to
The flattened state.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists
In the step of processor realizes any one of claims 1 to 7 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of method described in any one of claims 1 to 7 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910250895.7A CN110097747B (en) | 2019-03-29 | 2019-03-29 | Method and device for leveling electric bed, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910250895.7A CN110097747B (en) | 2019-03-29 | 2019-03-29 | Method and device for leveling electric bed, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110097747A true CN110097747A (en) | 2019-08-06 |
CN110097747B CN110097747B (en) | 2021-08-27 |
Family
ID=67444199
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910250895.7A Active CN110097747B (en) | 2019-03-29 | 2019-03-29 | Method and device for leveling electric bed, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110097747B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203619132U (en) * | 2013-12-09 | 2014-06-04 | 吴建春 | Array bed |
CN105193566A (en) * | 2015-10-09 | 2015-12-30 | 东莞市贸天精密五金制品有限公司 | Method for inhibiting snoring and intelligent bed |
CN105287129A (en) * | 2015-10-20 | 2016-02-03 | 江苏赛康医疗设备有限公司 | Multifunctional medical bed |
CN205758139U (en) * | 2016-02-02 | 2016-12-07 | 嘉兴市舒福德电动床有限公司 | A kind of electric bed |
CN106236448A (en) * | 2016-09-12 | 2016-12-21 | 环美(天津)医疗器械有限公司 | Smart Home nursing bed |
CN107296430A (en) * | 2017-06-08 | 2017-10-27 | 翼猫科技发展(上海)有限公司 | A kind of sleep system of self-adapting intelligent regulation |
CN107485214A (en) * | 2017-07-29 | 2017-12-19 | 深圳市易特科信息技术有限公司 | Multifunctinoal health is sleeping bed |
CN107550128A (en) * | 2017-08-28 | 2018-01-09 | 京东方科技集团股份有限公司 | A kind of Intelligent seat and its control method |
US20190021513A1 (en) * | 2014-07-18 | 2019-01-24 | Sleep Number Corporation | Automatic sensing and adjustment of a bed system |
CN109259952A (en) * | 2018-08-20 | 2019-01-25 | 深圳思迈家科技有限公司 | Sleep monitoring system and Sleep-Monitoring method based on the sleep monitoring system |
-
2019
- 2019-03-29 CN CN201910250895.7A patent/CN110097747B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203619132U (en) * | 2013-12-09 | 2014-06-04 | 吴建春 | Array bed |
US20190021513A1 (en) * | 2014-07-18 | 2019-01-24 | Sleep Number Corporation | Automatic sensing and adjustment of a bed system |
CN105193566A (en) * | 2015-10-09 | 2015-12-30 | 东莞市贸天精密五金制品有限公司 | Method for inhibiting snoring and intelligent bed |
CN105287129A (en) * | 2015-10-20 | 2016-02-03 | 江苏赛康医疗设备有限公司 | Multifunctional medical bed |
CN205758139U (en) * | 2016-02-02 | 2016-12-07 | 嘉兴市舒福德电动床有限公司 | A kind of electric bed |
CN106236448A (en) * | 2016-09-12 | 2016-12-21 | 环美(天津)医疗器械有限公司 | Smart Home nursing bed |
CN107296430A (en) * | 2017-06-08 | 2017-10-27 | 翼猫科技发展(上海)有限公司 | A kind of sleep system of self-adapting intelligent regulation |
CN107485214A (en) * | 2017-07-29 | 2017-12-19 | 深圳市易特科信息技术有限公司 | Multifunctinoal health is sleeping bed |
CN107550128A (en) * | 2017-08-28 | 2018-01-09 | 京东方科技集团股份有限公司 | A kind of Intelligent seat and its control method |
CN109259952A (en) * | 2018-08-20 | 2019-01-25 | 深圳思迈家科技有限公司 | Sleep monitoring system and Sleep-Monitoring method based on the sleep monitoring system |
Also Published As
Publication number | Publication date |
---|---|
CN110097747B (en) | 2021-08-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2600220B1 (en) | Method for operating user functions based on eye tracking and mobile device adapted thereto | |
CN107743289B (en) | Intelligent sound box control method in intelligent household scene | |
US10945659B1 (en) | Dual sleep monitor | |
US10912669B2 (en) | Electric bed | |
CN103167126A (en) | System and method of mobile phone clock for automatically waking up user based on sleep depth period | |
CN114251817B (en) | Method and device for controlling air conditioner and air conditioner | |
CN112420041B (en) | Control method and device for wake-up threshold of intelligent device, intelligent device and storage medium | |
KR102406157B1 (en) | User equipment and sleep managing method | |
CN105163180A (en) | Play control method, play control device and terminal | |
CN114027667B (en) | Method and device for judging out-of-bed state, intelligent mattress and medium | |
CN113639449B (en) | Method and device for controlling air conditioner and air conditioner | |
CN112932225A (en) | Intelligent awakening pillow and awakening method based on intelligent awakening pillow | |
CN113746708B (en) | Electrical appliance configuration method and device, intelligent home system and computer equipment | |
CN105422492A (en) | Fan control system and method | |
CN105847525A (en) | Method, apparatus and system for controlling information reminding function of mobile terminal | |
CN114327021A (en) | Deep sleep method, device, equipment and storage medium | |
CN114392152A (en) | Massage equipment based on memory preference and control method, terminal and medium thereof | |
CN110097747A (en) | Method, apparatus, computer equipment and the storage medium that beddo is laid flat | |
CN104184883A (en) | Mobile phone and control method thereof | |
CN114422686B (en) | Parameter adjustment method and related device | |
CN105317722A (en) | Control system for fan and control method for fan | |
CN111601128A (en) | Method for realizing intelligent sound box function in television and intelligent television | |
CN110420373A (en) | Sleep training method, device, computer equipment and storage medium | |
CN110074596A (en) | Beddo repositioning method, device, computer equipment and storage medium | |
CN113433872A (en) | Sleep mode control method and system of intelligent bed |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220824 Address after: Room 102, 1st Floor, Building 1, No. 2, District 3, No. 20, Datong Road, High-tech Zone, Suzhou City, Jiangsu Province 215129 Patentee after: Acoustics Acoustic Technology (Suzhou) Co.,Ltd. Address before: 510000 room 2107, new Yuexiu District Road, Yuexiu District temple, Guangzhou, Guangdong. Patentee before: Yang Song |