CN113867215A - Intelligent mattress control method and device, electronic equipment and storage medium - Google Patents
Intelligent mattress control method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN113867215A CN113867215A CN202111173030.9A CN202111173030A CN113867215A CN 113867215 A CN113867215 A CN 113867215A CN 202111173030 A CN202111173030 A CN 202111173030A CN 113867215 A CN113867215 A CN 113867215A
- Authority
- CN
- China
- Prior art keywords
- intelligent mattress
- massage
- determining
- working mode
- intelligent
- 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
- 238000000034 method Methods 0.000 title claims abstract description 49
- 238000001514 detection method Methods 0.000 claims description 25
- 230000003340 mental effect Effects 0.000 claims description 22
- 238000004891 communication Methods 0.000 claims description 19
- 238000010586 diagram Methods 0.000 claims description 18
- 238000004590 computer program Methods 0.000 claims description 12
- 238000012545 processing Methods 0.000 claims description 5
- 230000036541 health Effects 0.000 abstract description 3
- 230000008569 process Effects 0.000 description 6
- 230000009471 action Effects 0.000 description 3
- 238000000605 extraction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000005070 sampling Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000003062 neural network model Methods 0.000 description 2
- 208000008784 apnea Diseases 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 244000309466 calf Species 0.000 description 1
- 238000013527 convolutional neural network Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000033764 rhythmic process Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000001629 suppression Effects 0.000 description 1
- 210000000689 upper leg Anatomy 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/25—Pc structure of the system
- G05B2219/25257—Microcontroller
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Massaging Devices (AREA)
Abstract
The application provides an intelligent mattress control method and device, electronic equipment and a storage medium, and belongs to the technical field of intelligent home furnishing. According to the method, when the intelligent mattress is in a massage working mode, pressure data acquired by a pressure acquisition device are acquired, and a stress distribution graph is generated based on the pressure data, wherein the pressure data are generated by an object using the intelligent mattress, and the object comprises a plurality of parts; for each part of the object, determining a parameter corresponding to the part based on the stress distribution map; and controlling the intelligent mattress to massage the part by utilizing the parameters. Namely, through this application, can realize the automatic control to intelligent mattress based on the pressure data that produces when the user used intelligent mattress, make intelligent mattress's control more intelligent to, can have corresponding massage the user according to user's health condition, improve user experience.
Description
Technical Field
The application relates to the technical field of smart home, in particular to a method and a device for controlling an intelligent mattress, electronic equipment and a storage medium.
Background
Along with the development of science and technology and the improvement of people's standard of living, more and more people select to use intelligent mattress to improve the comfort of sleep. The intelligent mattress adopts traditional mattress and modern science and technology to combine together, can carry out corresponding function according to user's demand. At present, most of the control of the intelligent mattress is manually controlled through a remote controller or a mobile phone client and the like. However, this control method is not intelligent enough, and once the remote controller is broken or lost, the user can not control the intelligent mattress, which causes inconvenience to the user.
Disclosure of Invention
An object of the embodiments of the present application is to provide an intelligent mattress control method, apparatus, electronic device and storage medium, so as to solve the problem that the current intelligent mattress is not intelligent enough through manual control. The specific technical scheme is as follows:
in a first aspect, a method for intelligent mattress control is provided, the method comprising:
when the intelligent mattress is in a massage working mode, acquiring pressure data acquired by a pressure acquisition device, and generating a stress distribution graph based on the pressure data, wherein the pressure data is generated by a subject using the intelligent mattress, and the subject comprises a plurality of parts;
for each part of the object, determining a parameter corresponding to the part based on the stress distribution map;
and controlling the intelligent mattress to massage the part by utilizing the parameters.
Optionally, the parameters include: the position of the target is determined by the target position,
the determining, for each part of the subject, a parameter corresponding to the part based on the stress distribution map includes:
extracting a characteristic diagram corresponding to the stress distribution diagram;
for each part of the object, downsampling the feature map to obtain downsampled feature maps of a plurality of sizes corresponding to the part;
for each downsampled feature map corresponding to the part, identifying a position corresponding to the part in the downsampled feature map;
and determining the target position in a plurality of positions corresponding to the part.
Optionally, the parameters include: the mode of the object is set to be,
the determining, for each part of the subject, a parameter corresponding to the part based on the stress distribution map includes:
determining an average pressure value corresponding to the object based on the pressure data;
determining a first grade corresponding to the average pressure value, wherein the first grade corresponds to a plurality of first modes;
for each part of the object, a target mode is determined among the plurality of first modes corresponding to the first rank.
Optionally, the parameters include: the mode of the object is set to be,
the determining, for each part of the subject, a parameter corresponding to the part based on the stress distribution map includes:
for each part of the object, determining a target pressure value corresponding to the part and a second grade corresponding to the part, wherein the second grade comprises a plurality of second modes;
and determining a target mode corresponding to the target pressure value in the plurality of second modes.
Optionally, the method further comprises:
when the intelligent mattress is in a detection working mode, acquiring physiological signals of the object detected by a detection device;
determining whether the subject enters a sleep state based on the physiological signal;
when the object does not enter the sleep state, controlling the intelligent mattress to enter the massage working mode;
and when the object enters a sleep state, controlling the intelligent mattress to exit the massage working mode.
Optionally, the physiological signal comprises: heart rate variability, the method further comprising:
determining a stress condition of the subject based on the heart rate variability while the subject is not entering a sleep state;
when the mental pressure condition meets a preset condition, controlling the intelligent mattress to enter the massage working mode;
when the mental pressure condition does not meet the preset condition, controlling the intelligent mattress to exit the massage working mode;
wherein when the heart rate variability is greater than a preset heart rate variability threshold, determining that the mental stress condition meets a preset condition.
Optionally, the method further comprises:
when the intelligent mattress is in a massage working mode, pausing the massage working mode at preset intervals;
and when the massage working mode is suspended, controlling the intelligent mattress to enter the detection working mode.
In a second aspect, there is provided an intelligent mattress control apparatus, the apparatus comprising:
the intelligent mattress comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring pressure data acquired by a pressure acquisition device when the intelligent mattress is in a massage working mode, and generating a stress distribution map based on the pressure data, the pressure data is generated by an object using the intelligent mattress, and the object comprises a plurality of parts;
a determining module, configured to determine, for each part of the subject, a parameter corresponding to the part based on the stress distribution map;
and the control module is used for controlling the intelligent mattress to massage the part by utilizing the parameters.
Optionally, the parameters include: the determination module is specifically configured to:
extracting a characteristic diagram corresponding to the stress distribution diagram;
for each part of the object, downsampling the feature map to obtain downsampled feature maps of a plurality of sizes corresponding to the part;
for each downsampled feature map corresponding to the part, identifying a position corresponding to the part in the downsampled feature map;
and determining the target position in a plurality of positions corresponding to the part.
Optionally, the parameters include: a target mode, the determination module further to:
determining an average pressure value corresponding to the object based on the pressure data;
determining a first grade corresponding to the average pressure value, wherein the first grade corresponds to a plurality of first modes;
for each part of the object, a target mode is determined among the plurality of first modes corresponding to the first rank.
Optionally, the parameters include: a target mode, the determination module further to:
for each part of the object, determining a target pressure value corresponding to the part and a second grade corresponding to the part, wherein the second grade comprises a plurality of second modes;
and determining a target mode corresponding to the target pressure value in the plurality of second modes.
Optionally, the determining module is further configured to:
when the intelligent mattress is in a detection working mode, acquiring physiological signals of the object detected by a detection device;
determining whether the subject enters a sleep state based on the physiological signal;
when the object does not enter the sleep state, controlling the intelligent mattress to enter the massage working mode;
and when the object enters a sleep state, controlling the intelligent mattress to exit the massage working mode.
Optionally, the physiological signal comprises: heart rate variability, the determining module further to:
determining a stress condition of the subject based on the heart rate variability while the subject is not entering a sleep state;
when the mental pressure condition meets a preset condition, controlling the intelligent mattress to enter the massage working mode;
when the mental pressure condition does not meet the preset condition, controlling the intelligent mattress to exit the massage working mode;
wherein when the heart rate variability is greater than a preset heart rate variability threshold, determining that the mental stress condition meets a preset condition.
Optionally, the control module is specifically configured to:
when the intelligent mattress is in a massage working mode, pausing the massage working mode at preset intervals;
and when the massage working mode is suspended, controlling the intelligent mattress to enter the detection working mode.
In a third aspect, an electronic device is provided, which includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of the first aspect when executing a program stored in the memory.
In a fourth aspect, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium, and when executed by a processor, the computer program implements the method steps of any of the first aspects.
In a fifth aspect, there is provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the intelligent mattress control method of any of the above.
The embodiment of the application has the following beneficial effects:
the embodiment of the application provides an intelligent mattress control method, an intelligent mattress control device, electronic equipment and a storage medium, wherein when an intelligent mattress is in a massage working mode, firstly, pressure data acquired by a pressure acquisition device is acquired, and a stress distribution map is generated based on the pressure data, wherein the pressure data is generated by an object using the intelligent mattress, and the object comprises a plurality of parts; then, for each part of the object, determining a parameter corresponding to the part based on the stress distribution diagram; and finally, controlling the intelligent mattress to massage the part by utilizing the parameters. Namely, through this application, can realize the automatic control to intelligent mattress based on the pressure data that produces when the user used intelligent mattress, make intelligent mattress's control more intelligent to, can have corresponding massage the user according to user's health condition, improve user experience.
Of course, not all advantages described above need to be achieved at the same time in the practice of any one product or method of the present application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
Fig. 1 is a flowchart of an intelligent mattress control method provided in an embodiment of the present application;
fig. 2 is a flowchart of an intelligent mattress control method according to another embodiment of the present application;
fig. 3 is a flowchart of an intelligent mattress control method according to another embodiment of the present application;
fig. 4 is a flowchart of an intelligent mattress control method according to another embodiment of the present application;
fig. 5 is a schematic structural diagram of an intelligent mattress control device provided in an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
At present, most of the control of the intelligent mattress is manually controlled in the forms of a remote controller or a mobile phone client and the like. However, this control method is not intelligent enough, and once the remote controller is broken or lost, the user can not control the intelligent mattress, which causes inconvenience to the user. Therefore, the embodiment of the application provides an intelligent mattress control method.
The following will describe in detail an intelligent mattress control method provided in the embodiments of the present application with reference to specific embodiments, as shown in fig. 1, the specific steps are as follows:
s101, when the intelligent mattress is in a massage working mode, pressure data acquired by a pressure acquisition device are acquired, a stress distribution graph is generated based on the pressure data, the pressure data are generated by a subject using the intelligent mattress, and the subject comprises a plurality of parts.
In an embodiment of the application, the surface of the intelligent mattress is provided with a pressure acquisition device, such as a pressure sensor, for acquiring the pressure condition. The object refers to a user using the smart mattress, and the part refers to a body part of the user, for example, waist, back, neck, head, hip, thigh, calf, foot, or the like. When the user uses this intelligent mattress, pressure sensor detects pressure, and then produces the atress profile. The use of smart mattresses by a user typically appears to lie, lean, sit, etc. on the smart mattress.
Further, the prerequisite that pressure data was gathered to the pressure acquisition device is that the intelligence mattress is in massage mode, and when the intelligence mattress was in non-massage mode, the pressure acquisition device need not to gather pressure data to reduce unnecessary collection work, and then reduce the loss.
And S102, aiming at each part of the object, determining a parameter corresponding to the part based on the stress distribution diagram.
In this application embodiment, the inside a plurality of massage units that have set up of intelligence mattress, massage unit includes gasbag and rotor, and the gasbag massages the user under the vibrations effect of rotor, and wherein, the frequency, the range and the gasbag inflation volume of rotor vibrations all can influence the massage dynamics, and the frequency and the range of general rotor vibrations are big more, the gasbag inflation volume is sufficient more, and the massage dynamics is big more. Each massage unit can be a group of air bags and rotors or a plurality of groups of air bags and rotors.
In actual use, when a user is on the mattress, the user does not need to work simultaneously on all the massage units, the purpose of massaging the user can be achieved only by working the massage unit corresponding to the position where the user is located, and the massage unit at each position can be identified in order to automatically control the corresponding massage unit to work.
The parameters in the embodiment refer to the corresponding positions of all parts of the user on the intelligent mattress and the massage modes corresponding to the user, and the vibration frequency and amplitude of the rotor and the air inflation amount of the air bag are different corresponding to different massage modes.
The stress distribution graph can show the state of the user on the intelligent mattress and the weight condition of the user, so that the corresponding position of the object on the mattress and the corresponding massage mode of the user can be determined through the stress distribution graph.
S103, controlling the intelligent mattress to massage the part by using the parameters.
In the embodiment of the application, after the working parameters are determined, the mattress can be automatically controlled according to the working parameters to massage each part of the user.
In the embodiment of the application, when the intelligent mattress is in a massage working mode, firstly, pressure data acquired by a pressure acquisition device is acquired, and a stress distribution map is generated based on the pressure data, wherein the pressure data is generated by an object using the intelligent mattress, and the object comprises a plurality of parts; then, for each part of the object, determining a parameter corresponding to the part based on the stress distribution diagram; and finally, controlling the intelligent mattress to massage the part by utilizing the parameters. Namely, through this application, can realize the automatic control to intelligent mattress based on the pressure data that produces when the user used intelligent mattress, make intelligent mattress's control more intelligent to, can have corresponding massage the user according to user's health condition, improve user experience.
In another embodiment of the present application, as shown in fig. 2, the S102 may include the following steps:
s201, extracting a characteristic diagram corresponding to the stress distribution diagram;
s202, aiming at each part of the object, carrying out downsampling on the feature map to obtain downsampled feature maps with a plurality of sizes corresponding to the part;
s203, aiming at each downsampling feature map corresponding to the part, identifying the position corresponding to the part in the downsampling feature map;
s204, determining the target position in a plurality of positions corresponding to the part.
In the embodiment of the application, for each part, the corresponding target position of the part on the intelligent mattress can be determined by using a pre-trained neural network model. The neural network model may include a feature extraction network, a downsampling network, and a detection network. The characteristic extraction network is composed of a plurality of residual error units; the down-sampling network is composed of a plurality of convolution layers which are not filled with convolution, so that the characteristic diagram obtained after each convolution layer is reduced, and the down-sampling function is realized; the detection network consists of a convolutional neural network.
The specific determination process is shown in fig. 3, and specifically includes: firstly, inputting a stress distribution diagram into a feature extraction network to obtain a corresponding feature diagram; then, inputting the feature map into a plurality of downsampling networks to reduce the dimension of the feature map; and finally, after each detection network is finished, the feature map is subjected to up-sampling and then input into the next detection network, so that a plurality of position frames corresponding to each part under different scales are obtained, and finally, one of the position frames is selected as a target position by using non-maximum suppression in the plurality of position frames corresponding to each part, wherein the target position is generally an area.
In the embodiment of the application, for each part of a target, the feature map corresponding to the stress distribution map is downsampled to obtain downsampled feature maps of a plurality of sizes corresponding to the part; and then, determining the target position according to the downsampling feature maps of a plurality of sizes, so that the determined target position can be more accurate, and further, the determined target position is prevented from being inconsistent with the actual situation of each part.
In another embodiment of the present application, as shown in fig. 4, the S102 may include the following steps:
s301, determining an average pressure value corresponding to the object based on the pressure data;
s302, determining a first grade corresponding to the average pressure value, wherein the first grade corresponds to a plurality of first modes;
s303, for each part of the object, determining a target pattern among the plurality of first patterns corresponding to the first rank.
In the embodiment of the application, the intelligent mattress is provided with different massage modes, namely a first mode, aiming at different parts, so as to adapt to different requirements of each part, for example, the massage strength of the back is high, the massage strength of the arms is low, and the like.
Furthermore, a plurality of massage grades are preset in the intelligent mattress, each massage grade comprises a massage mode corresponding to each part, the specific massage content of the corresponding massage mode is different among different massage grades, and the massage content can be massage strength, for example, in massage grade 1, the massage strength is grade 2 for the massage mode of the back; in the massage level 2, the massage force is 3 levels for the back massage mode. The massage content can also be massage rhythm or massage mode, etc.
The plurality of massage levels and the massage pattern corresponding to each part included in each massage level may be determined based on experimental measurements or may be determined based on user input.
In actual use, the average pressure value corresponding to the object can be determined according to the pressure data so as to determine the weight condition of the object, the first grade corresponding to the average pressure value is determined according to the preset corresponding relation between the average pressure value and the massage grade, and then the target mode corresponding to each part is determined in a plurality of first modes corresponding to the first grade.
In the embodiment of the application, the corresponding first grade can be determined based on the weight condition of the user, and the target mode corresponding to each part is determined in the plurality of first modes corresponding to the first grade, so that the determined target mode better conforms to the weight condition of the user and the conditions of each part, the intelligent mattress is controlled to massage the part by utilizing the target mode, and the user experience can be improved.
In another embodiment of the present application, the S102 may include the following steps:
step one, aiming at each part of the object, determining a target pressure value corresponding to the part and a second grade corresponding to the part, wherein the second grade comprises a plurality of second modes;
and step two, determining a target mode corresponding to the target pressure value in the plurality of second modes.
In the embodiment of the application, the massage grade corresponding to each part of the object is preset in the intelligent mattress, and a plurality of modes are set in the massage grade according to the pressure value of the part, so that for each part, the corresponding second grade can be determined based on the part, and the second mode is determined according to the target pressure value corresponding to the part, so that the determined mode is more suitable for the situation of the part, and the user experience is improved.
In yet another embodiment of the present application, the method may further comprise the steps of:
step one, when the intelligent mattress is in a detection working mode, acquiring physiological signals of the object detected by a detection device;
step two, determining whether the object enters a sleep state or not based on the physiological signal;
step three, when the object does not enter the sleep state, controlling the intelligent mattress to enter the massage working mode;
and step four, controlling the intelligent mattress to exit the massage working mode when the object enters the sleep state.
In the present embodiment, the physiological signal may include, but is not limited to: heart rate, heart rate variability, and apnea count. The detection device can be a piezoelectric film sensor arranged on the surface of the intelligent mattress, and can also be other wearable equipment.
When the intelligent mattress is in a detection working mode, whether the object enters a sleep state or not can be determined by detecting physiological signals of the object, when the object does not enter the sleep state, the intelligent mattress is controlled to enter a massage working mode, and when the object enters the sleep state, the intelligent mattress is controlled to exit the massage working mode. Therefore, the intelligent mattress can be automatically controlled to enter and exit the massage working mode according to the user state without manual control of the user, and the user experience is improved.
In yet another embodiment of the present application, the method may further comprise the steps of:
step one, when the subject does not enter a sleep state, determining the mental stress condition of the subject based on the heart rate variability;
step two, when the mental stress condition meets a preset condition, controlling the intelligent mattress to enter the massage working mode;
step three, when the mental pressure condition does not meet the preset condition, controlling the intelligent mattress to exit the massage working mode;
wherein when the heart rate variability is greater than a preset heart rate variability threshold, determining that the mental stress condition meets a preset condition.
In the embodiment of the present application, the physiological signal refers to heart rate variability, and when the subject does not enter a sleep state, the mental stress condition of the subject may be analyzed based on the heart rate variability, specifically: when the heart rate variability is larger than a preset heart rate variability threshold value, the mental stress condition is determined to be in accordance with the preset condition, and when the heart rate variability is smaller than or equal to the preset heart rate variability threshold value, the mental stress condition is determined to be not in accordance with the preset condition.
Further, when the mental stress condition meets the preset condition, the intelligent mattress is controlled to enter a massage working mode; and when the mental pressure condition does not accord with the preset condition, controlling the intelligent mattress to exit the massage working mode. Therefore, the intelligent mattress can be automatically controlled to enter and exit the massage working mode according to the user state without manual control of the user, and the user experience is improved.
In yet another embodiment of the present application, the method may further comprise the steps of:
step one, when the intelligent mattress is in a massage working mode, pausing the massage working mode at preset interval time;
and step two, controlling the intelligent mattress to enter the detection working mode when the massage working mode is suspended.
In the embodiment of the application, the accuracy of physiological signal detection is influenced in the massage process, so that when the intelligent mattress is in the massage working mode, the intelligent mattress is paused for a certain time at preset intervals, and in the paused time, the intelligent mattress is controlled to enter the detection working mode, the physiological signal is detected, whether a user falls asleep or not is judged, and whether the mental pressure condition meets the preset condition or not is judged. Therefore, the influence of the massage work on the physiological signal detection is avoided, and the accuracy of the physiological signal detection is improved.
Based on the same technical concept, the embodiment of the present application further provides an intelligent mattress control device, as shown in fig. 5, the device includes:
the acquisition module 401 is configured to acquire pressure data acquired by a pressure acquisition device when the intelligent mattress is in a massage working mode, and generate a stress distribution map based on the pressure data, where the pressure data is generated by an object using the intelligent mattress, and the object includes a plurality of parts;
a determining module 402, configured to determine, for each part of the subject, a parameter corresponding to the part based on the stress distribution map;
and the control module 403 is used for controlling the intelligent mattress to massage the part by using the parameters.
Optionally, the parameters include: the determination module is specifically configured to:
extracting a characteristic diagram corresponding to the stress distribution diagram;
for each part of the object, downsampling the feature map to obtain downsampled feature maps of a plurality of sizes corresponding to the part;
for each downsampled feature map corresponding to the part, identifying a position corresponding to the part in the downsampled feature map;
and determining the target position in a plurality of positions corresponding to the part.
Optionally, the parameters include: a target mode, the determination module further to:
determining an average pressure value corresponding to the object based on the pressure data;
determining a first grade corresponding to the average pressure value, wherein the first grade corresponds to a plurality of first modes;
for each part of the object, a target mode is determined among the plurality of first modes corresponding to the first rank.
Optionally, the parameters include: a target mode, the determination module further to:
for each part of the object, determining a target pressure value corresponding to the part and a second grade corresponding to the part, wherein the second grade comprises a plurality of second modes;
and determining a target mode corresponding to the target pressure value in the plurality of second modes.
Optionally, the determining module is further configured to:
when the intelligent mattress is in a detection working mode, acquiring physiological signals of the object detected by a detection device;
determining whether the subject enters a sleep state based on the physiological signal;
when the object does not enter the sleep state, controlling the intelligent mattress to enter the massage working mode;
and when the object enters a sleep state, controlling the intelligent mattress to exit the massage working mode.
Optionally, the physiological signal comprises: heart rate variability, the determining module further to:
determining a stress condition of the subject based on the heart rate variability while the subject is not entering a sleep state;
when the mental pressure condition meets a preset condition, controlling the intelligent mattress to enter the massage working mode;
when the mental pressure condition does not meet the preset condition, controlling the intelligent mattress to exit the massage working mode;
wherein when the heart rate variability is greater than a preset heart rate variability threshold, determining that the mental stress condition meets a preset condition.
Optionally, the control module is specifically configured to:
when the intelligent mattress is in a massage working mode, pausing the massage working mode at preset intervals;
and when the massage working mode is suspended, controlling the intelligent mattress to enter the detection working mode.
Based on the same technical concept, the embodiment of the present application further provides an electronic device, as shown in fig. 6, including a processor 111, a communication interface 112, a memory 113, and a communication bus 114, where the processor 111, the communication interface 112, and the memory 113 complete mutual communication through the communication bus 114,
a memory 113 for storing a computer program;
the processor 111, when executing the program stored in the memory 113, implements the following steps:
when the intelligent mattress is in a massage working mode, acquiring pressure data acquired by a pressure acquisition device, and generating a stress distribution graph based on the pressure data, wherein the pressure data is generated by a subject using the intelligent mattress, and the subject comprises a plurality of parts;
for each part of the object, determining a parameter corresponding to the part based on the stress distribution map;
and controlling the intelligent mattress to massage the part by utilizing the parameters.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
In yet another embodiment provided by the present application, there is also provided a computer readable storage medium having stored therein a computer program, which when executed by a processor, performs the steps of any of the above intelligent mattress control methods.
In yet another embodiment provided by the present application, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform any of the intelligent mattress control methods of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is merely exemplary of the present application and is presented to enable those skilled in the art to understand and practice the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. An intelligent mattress control method, characterized in that the method comprises:
when the intelligent mattress is in a massage working mode, acquiring pressure data acquired by a pressure acquisition device, and generating a stress distribution graph based on the pressure data, wherein the pressure data is generated by a subject using the intelligent mattress, and the subject comprises a plurality of parts;
for each part of the object, determining a parameter corresponding to the part based on the stress distribution map;
and controlling the intelligent mattress to massage the part by utilizing the parameters.
2. The method of claim 1, wherein the parameters comprise: the position of the target is determined by the target position,
the determining, for each part of the subject, a parameter corresponding to the part based on the stress distribution map includes:
extracting a characteristic diagram corresponding to the stress distribution diagram;
for each part of the object, downsampling the feature map to obtain downsampled feature maps of a plurality of sizes corresponding to the part;
for each downsampled feature map corresponding to the part, identifying a position corresponding to the part in the downsampled feature map;
and determining the target position in a plurality of positions corresponding to the part.
3. The method of claim 1, wherein the parameters comprise: the mode of the object is set to be,
the determining, for each part of the subject, a parameter corresponding to the part based on the stress distribution map includes:
determining an average pressure value corresponding to the object based on the pressure data;
determining a first grade corresponding to the average pressure value, wherein the first grade corresponds to a plurality of first modes;
for each part of the object, a target mode is determined among the plurality of first modes corresponding to the first rank.
4. The method of claim 1, wherein the parameters comprise: the mode of the object is set to be,
the determining, for each part of the subject, a parameter corresponding to the part based on the stress distribution map includes:
for each part of the object, determining a target pressure value corresponding to the part and a second grade corresponding to the part, wherein the second grade comprises a plurality of second modes;
and determining a target mode corresponding to the target pressure value in the plurality of second modes.
5. The method of claim 1, further comprising:
when the intelligent mattress is in a detection working mode, acquiring physiological signals of the object detected by a detection device;
determining whether the subject enters a sleep state based on the physiological signal;
when the object does not enter the sleep state, controlling the intelligent mattress to enter the massage working mode;
and when the object enters a sleep state, controlling the intelligent mattress to exit the massage working mode.
6. The method of claim 5, wherein the physiological signal comprises: heart rate variability, the method further comprising:
determining a stress condition of the subject based on the heart rate variability while the subject is not entering a sleep state;
when the mental pressure condition meets a preset condition, controlling the intelligent mattress to enter the massage working mode;
when the mental pressure condition does not meet the preset condition, controlling the intelligent mattress to exit the massage working mode;
wherein when the heart rate variability is greater than a preset heart rate variability threshold, determining that the mental stress condition meets a preset condition.
7. The method of claim 5, further comprising:
when the intelligent mattress is in a massage working mode, pausing the massage working mode at preset intervals;
and when the massage working mode is suspended, controlling the intelligent mattress to enter the detection working mode.
8. An intelligent mattress control apparatus, the apparatus comprising:
the intelligent mattress comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring pressure data acquired by a pressure acquisition device when the intelligent mattress is in a massage working mode, and generating a stress distribution map based on the pressure data, the pressure data is generated by an object using the intelligent mattress, and the object comprises a plurality of parts;
a determining module, configured to determine, for each part of the subject, a parameter corresponding to the part based on the stress distribution map;
and the control module is used for controlling the intelligent mattress to massage the part by utilizing the parameters.
9. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1 to 7 when executing a program stored in the memory.
10. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111173030.9A CN113867215A (en) | 2021-10-08 | 2021-10-08 | Intelligent mattress control method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111173030.9A CN113867215A (en) | 2021-10-08 | 2021-10-08 | Intelligent mattress control method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113867215A true CN113867215A (en) | 2021-12-31 |
Family
ID=79002086
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111173030.9A Pending CN113867215A (en) | 2021-10-08 | 2021-10-08 | Intelligent mattress control method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113867215A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114557570A (en) * | 2022-03-09 | 2022-05-31 | 湖南晚安床垫有限公司 | Self-adaptive adjustment method of intelligent mattress, intelligent mattress and storage medium |
CN115252309A (en) * | 2022-07-25 | 2022-11-01 | 美勒森家居科技有限公司 | Monitoring method for rehabilitation nursing bed and rehabilitation nursing bed |
CN115252339A (en) * | 2022-08-03 | 2022-11-01 | 珠海格力电器股份有限公司 | Control method, control device, electronic equipment and storage medium |
CN115316813A (en) * | 2022-09-16 | 2022-11-11 | 喜临门家具股份有限公司 | Air mattress inflation and deflation control method, control system using same and intelligent air mattress |
CN116595388A (en) * | 2023-04-19 | 2023-08-15 | 爱梦睡眠(珠海)智能科技有限公司 | Character recognition system and method |
Citations (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5587933A (en) * | 1994-07-19 | 1996-12-24 | Bcam International, Inc. | Support enhancing device and associated method |
CN103330632A (en) * | 2013-05-28 | 2013-10-02 | 温州国杰健身器材有限公司 | Intelligent massage chair |
CN204838733U (en) * | 2015-07-08 | 2015-12-09 | 王呈祥 | Qualities of sleep are improved intelligence bed |
CN105231995A (en) * | 2015-09-29 | 2016-01-13 | 无锡市润华碳晶地暖设备有限公司 | Sleep system |
CN107319824A (en) * | 2017-08-05 | 2017-11-07 | 高密市华汇家具有限公司 | A kind of intelligent massaging mattress |
CN107595027A (en) * | 2017-09-28 | 2018-01-19 | 芜湖天诚席业有限公司 | A kind of control system of intelligent mat |
CN107657998A (en) * | 2017-09-27 | 2018-02-02 | 北京小米移动软件有限公司 | The recommendation method and device of massage mode |
CN107692710A (en) * | 2017-09-28 | 2018-02-16 | 芜湖天诚席业有限公司 | A kind of control method of intelligent mat |
US20180070737A1 (en) * | 2016-09-14 | 2018-03-15 | Beijing Xiaomi Mobile Software Co., Ltd. | Method and device for controlling intelligent mattress |
CN107822841A (en) * | 2017-09-28 | 2018-03-23 | 芜湖天诚席业有限公司 | A kind of intelligent control system of novel mat |
CN108371447A (en) * | 2018-02-05 | 2018-08-07 | 芜湖雅园装饰工程有限公司 | A kind of intelligence mattress |
CN208480935U (en) * | 2017-08-05 | 2019-02-12 | 高密市华汇家具有限公司 | A kind of intelligent massaging mattress |
CN110477669A (en) * | 2019-08-16 | 2019-11-22 | 福建农林大学 | A kind of infrared massaging mattress based on position pressure measurement |
CN111657890A (en) * | 2020-06-23 | 2020-09-15 | 深圳市联奕实业有限公司 | Sleep state monitoring method and device, intelligent mattress and medium |
CN112336116A (en) * | 2020-11-05 | 2021-02-09 | 珠海格力电器股份有限公司 | Sleep detection method, mattress control method and device and mattress |
CN112603103A (en) * | 2020-12-15 | 2021-04-06 | 慕思健康睡眠股份有限公司 | Full-automatic adjusting method and full-automatic intelligent mattress |
CN113101125A (en) * | 2021-05-21 | 2021-07-13 | 慕思健康睡眠股份有限公司 | Mattress adjusting method and device, electronic equipment and storage medium |
CN113317970A (en) * | 2021-04-19 | 2021-08-31 | 未来穿戴技术有限公司 | Massage control method, massage instrument and computer readable storage medium |
-
2021
- 2021-10-08 CN CN202111173030.9A patent/CN113867215A/en active Pending
Patent Citations (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5587933A (en) * | 1994-07-19 | 1996-12-24 | Bcam International, Inc. | Support enhancing device and associated method |
CN103330632A (en) * | 2013-05-28 | 2013-10-02 | 温州国杰健身器材有限公司 | Intelligent massage chair |
CN204838733U (en) * | 2015-07-08 | 2015-12-09 | 王呈祥 | Qualities of sleep are improved intelligence bed |
CN105231995A (en) * | 2015-09-29 | 2016-01-13 | 无锡市润华碳晶地暖设备有限公司 | Sleep system |
US20180070737A1 (en) * | 2016-09-14 | 2018-03-15 | Beijing Xiaomi Mobile Software Co., Ltd. | Method and device for controlling intelligent mattress |
CN107319824A (en) * | 2017-08-05 | 2017-11-07 | 高密市华汇家具有限公司 | A kind of intelligent massaging mattress |
CN208480935U (en) * | 2017-08-05 | 2019-02-12 | 高密市华汇家具有限公司 | A kind of intelligent massaging mattress |
CN107657998A (en) * | 2017-09-27 | 2018-02-02 | 北京小米移动软件有限公司 | The recommendation method and device of massage mode |
CN107692710A (en) * | 2017-09-28 | 2018-02-16 | 芜湖天诚席业有限公司 | A kind of control method of intelligent mat |
CN107595027A (en) * | 2017-09-28 | 2018-01-19 | 芜湖天诚席业有限公司 | A kind of control system of intelligent mat |
CN107822841A (en) * | 2017-09-28 | 2018-03-23 | 芜湖天诚席业有限公司 | A kind of intelligent control system of novel mat |
CN108371447A (en) * | 2018-02-05 | 2018-08-07 | 芜湖雅园装饰工程有限公司 | A kind of intelligence mattress |
CN110477669A (en) * | 2019-08-16 | 2019-11-22 | 福建农林大学 | A kind of infrared massaging mattress based on position pressure measurement |
CN111657890A (en) * | 2020-06-23 | 2020-09-15 | 深圳市联奕实业有限公司 | Sleep state monitoring method and device, intelligent mattress and medium |
CN112336116A (en) * | 2020-11-05 | 2021-02-09 | 珠海格力电器股份有限公司 | Sleep detection method, mattress control method and device and mattress |
CN112603103A (en) * | 2020-12-15 | 2021-04-06 | 慕思健康睡眠股份有限公司 | Full-automatic adjusting method and full-automatic intelligent mattress |
CN113317970A (en) * | 2021-04-19 | 2021-08-31 | 未来穿戴技术有限公司 | Massage control method, massage instrument and computer readable storage medium |
CN113101125A (en) * | 2021-05-21 | 2021-07-13 | 慕思健康睡眠股份有限公司 | Mattress adjusting method and device, electronic equipment and storage medium |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114557570A (en) * | 2022-03-09 | 2022-05-31 | 湖南晚安床垫有限公司 | Self-adaptive adjustment method of intelligent mattress, intelligent mattress and storage medium |
CN115252309A (en) * | 2022-07-25 | 2022-11-01 | 美勒森家居科技有限公司 | Monitoring method for rehabilitation nursing bed and rehabilitation nursing bed |
CN115252309B (en) * | 2022-07-25 | 2024-05-24 | 美勒森家居科技有限公司 | Monitoring method for nursing bed for recuperation |
CN115252339A (en) * | 2022-08-03 | 2022-11-01 | 珠海格力电器股份有限公司 | Control method, control device, electronic equipment and storage medium |
CN115316813A (en) * | 2022-09-16 | 2022-11-11 | 喜临门家具股份有限公司 | Air mattress inflation and deflation control method, control system using same and intelligent air mattress |
CN116595388A (en) * | 2023-04-19 | 2023-08-15 | 爱梦睡眠(珠海)智能科技有限公司 | Character recognition system and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113867215A (en) | Intelligent mattress control method and device, electronic equipment and storage medium | |
CN102665546B (en) | The detection of sleep state | |
CN111657890A (en) | Sleep state monitoring method and device, intelligent mattress and medium | |
CN104636590B (en) | Human body physiological data detection method based on cloud database, apparatus and system | |
CN109157194A (en) | A kind of healthy data acquisition of soft or hard adjustable bed mattess and analysis system and method | |
CN111588384A (en) | Method, device and equipment for obtaining blood sugar detection result | |
CN105765638B (en) | One kind motion based reminding method and Intelligent bracelet | |
CN106200943A (en) | virtual reality device control method, device and system | |
CN112190258B (en) | Seat angle adjusting method and device, storage medium and electronic equipment | |
US20220117776A1 (en) | Motorized bedding system and application software | |
CN114027667A (en) | Method and device for judging bed leaving state, intelligent mattress and medium | |
CN111685731B (en) | Sleep data processing method, device, equipment and storage medium | |
CN113576423A (en) | Method, device, equipment and storage medium for determining core body temperature | |
TW202042742A (en) | Heartbeat analyzing method and heartbeat analyzing method | |
CN112786185B (en) | Blood pressure health state acquisition method, device and system | |
CN112568653A (en) | Method, device and equipment for determining target vibration position in multi-person awakening scheme | |
CN106650203A (en) | Parameter threshold dynamic updating method | |
CN111341416A (en) | Psychological stress assessment model processing method and related equipment | |
CN117017295A (en) | Pressure analysis relieving method and device based on sleep monitoring and computer equipment | |
US20170225037A1 (en) | Training support system and training support method | |
CN111079560A (en) | Tumble monitoring method and device and terminal equipment | |
US20180252549A1 (en) | Method and apparatus for realizing step counting | |
TWI657800B (en) | Method and system for analyzing gait | |
CN109820523A (en) | Psychological tester control method, device and computer readable storage medium | |
CN112089423A (en) | Sleep information determination method, device and equipment |
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 |