Mattress adjustment control method, system and computer readable storage medium

文档序号:556549 发布日期:2021-05-18 浏览:5次 中文

阅读说明:本技术 床垫调节控制方法、系统及计算机可读存储介质 (Mattress adjustment control method, system and computer readable storage medium ) 是由 付存谓 郭峰 于 2021-01-20 设计创作,主要内容包括:本申请实施例提供了一种床垫调节控制方法、系统及计算机可读存储介质。该床垫调节控制方法,所述床垫设置有可调节软硬程度的气囊单元,所述方法用于对所述气囊单元的充气状态进行调节,所述方法包括以下步骤:获取目标用户的年龄信息、性别信息以及生理参数信息;根据所述生理参数信息选择对应的睡眠号码;根据所述睡眠号码调用对应的气囊参数,并根据所述气囊参数调节所述气囊单元的充气状态参数;实时采集所述目标用户在睡眠过程中的睡眠参数;根据所述睡眠参数对所述气囊单元的充气状态参数进行调节,直至所述睡眠参数达到目标状态值。(The embodiment of the application provides a mattress adjustment control method, a mattress adjustment control system and a computer readable storage medium. The mattress adjustment control method is provided with an air bag unit with adjustable hardness, and is used for adjusting the inflation state of the air bag unit, and comprises the following steps: acquiring age information, gender information and physiological parameter information of a target user; selecting a corresponding sleep number according to the physiological parameter information; calling corresponding air bag parameters according to the sleep number, and adjusting the inflation state parameters of the air bag unit according to the air bag parameters; acquiring sleep parameters of the target user in the sleep process in real time; and adjusting the inflation state parameters of the air bag unit according to the sleep parameters until the sleep parameters reach a target state value.)

1. A mattress adjustment control method characterized in that the mattress is provided with an airbag unit whose softness and hardness are adjustable, the method being used for adjusting the inflation state of the airbag unit, the method comprising the steps of:

acquiring age information, gender information and physiological parameter information of a target user;

selecting a corresponding sleep number according to the physiological parameter information;

calling corresponding air bag parameters according to the sleep number, and adjusting the inflation state parameters of the air bag unit according to the air bag parameters;

acquiring sleep parameters of the target user in the sleep process in real time;

and adjusting the inflation state parameters of the air bag unit according to the sleep parameters until the sleep parameters reach a target state value.

2. The mattress adjustment control method according to claim 1, wherein the air cell unit comprises a plurality of air cell units distributed in an array; the physiological parameter information comprises three-dimensional body type information, sleeping habit and posture information and weight information of the user;

the selecting the corresponding sleep number according to the physiological parameter information includes:

and inputting the three-dimensional body type information, the sleeping habit posture information and the weight information into a preset target neural network model to obtain a corresponding sleeping number.

3. The mattress adjustment control method according to claim 2, characterized in that the method further comprises:

acquiring a training sample set, wherein the training sample set comprises a plurality of samples, and each sample comprises the age, three-dimensional body type information, sleeping habit and posture information, weight information and a corresponding sleeping number of a user;

and sequentially inputting the training samples into a preset neural network model for training until the value of the loss function is smaller than a preset value, so as to obtain a preset target neural network model.

4. The mattress adjustment control method according to claim 2 or 3, wherein the calling of the corresponding air bag parameters according to the sleep numbers and the adjustment of the inflation state parameters of the air bag units according to the air bag parameters comprise:

calling corresponding air bag parameters according to the sleep number;

and adjusting the inflation state parameters of each airbag monomer according to the airbag parameters.

5. The mattress adjustment control method according to claim 2 or 3, wherein the calling of the corresponding air bag parameters according to the sleep numbers and the adjustment of the inflation state parameters of the air bag units according to the air bag parameters comprise:

calling corresponding air bag parameters according to the sleep number;

acquiring the exercise state information and/or diet information of the target user on the same day;

calibrating the air bag parameters according to the motion state information and/or the diet information to obtain target air bag parameters;

and adjusting the inflation state parameter of each airbag monomer according to the target airbag parameter.

6. The mattress adjustment control method according to claim 1, wherein the adjusting the inflation state parameter of the air bag unit according to the sleep parameter until the sleep parameter reaches a target state value comprises:

adjusting the inflation state parameters of the air bag unit according to the sleep parameters;

collecting the adjusted sleep parameters;

calculating a difference parameter between the sleep parameter and a target sleep parameter;

judging whether the difference parameter is smaller than a preset threshold value or not;

if the value is smaller than the preset threshold value, stopping adjusting the inflation state parameters;

if the difference parameter is larger than or equal to the preset threshold value, inputting the difference parameter into a first neural network model to obtain a corresponding inflation state adjustment parameter;

and adjusting the inflation state parameters of the air bag unit according to the inflation state adjustment parameters and returning to the step of acquiring the adjusted sleep parameters.

7. The mattress adjustment control method according to claim 6, characterized in that the sleep parameters comprise heart rate parameters, roll-over frequency and breathing frequency.

8. A mattress conditioning control system, the system comprising: a memory and a processor, wherein the memory includes a program of a mattress adjustment control method, and the program of the mattress adjustment control method realizes the following steps when executed by the processor:

acquiring age information, gender information and physiological parameter information of a target user;

selecting a corresponding sleep number according to the physiological parameter information;

calling corresponding air bag parameters according to the sleep number, and adjusting the inflation state parameters of the air bag unit according to the air bag parameters;

acquiring sleep parameters of the target user in the sleep process in real time;

and adjusting the inflation state parameters of the air bag unit according to the sleep parameters until the sleep parameters reach a target state value.

9. The mattress adjustment control system according to claim 8, wherein the air cell unit comprises a plurality of air cell units distributed in an array; the physiological parameter information comprises three-dimensional body type information, sleeping habit and posture information and weight information of the user;

the program of the mattress adjustment control method realizes the following steps when executed by the processor:

and inputting the three-dimensional body type information, the sleeping habit posture information and the weight information into a preset target neural network model to obtain a corresponding sleeping number.

10. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a mattress adjustment control method program, which when executed by a processor, carries out the steps of a mattress adjustment control method according to any one of claims 1 to 7.

Technical Field

The application relates to the technical field of mattresses, in particular to a mattress adjustment control method and system and a computer-readable storage medium.

Background

The sleep accounts for one third of the life, so that the quality of the sleep is the basis of half of the life quality, and the living environment, the body quality, the character or the occupation of each person are greatly different, so that different sleep types are formed, most of the types are gradually cultivated by living habits and work arrangement, the good sleep quality is directly related to the mental state of the person, and a plurality of diseases can be avoided.

The mattress is used as one of beddings for the individual sleep, the comfort level of the mattress is directly related to the quality of the sleep quality, due to different individuals, the requirements of individuals of different ages on the hardness of the mattress are different, especially for special groups such as children, old people, pregnant women and the like, the requirements on the hardness of the mattress are high, when the hardness of the existing mattress is adjusted, the existing mattress is often adjusted manually or cannot be adjusted comprehensively according to the self characteristics of different individuals, so that the individuals cannot get rid of the situation that people adapt to the mattress for a long time, most individuals cannot obtain the satisfactory mattress all the time, the sleep quality is influenced by the mattress in different degrees all the time, and the use effect of the mattress in the aspect of guaranteeing high-quality sleep is greatly reduced.

In view of the above problems, no effective technical solution exists at present.

Disclosure of Invention

An object of the embodiments of the present application is to provide a method, a system and a computer-readable storage medium for controlling mattress adjustment, which can improve sleep quality.

The embodiment of the application also provides a mattress adjustment control method, wherein the mattress is provided with an air bag unit with adjustable hardness, the method is used for adjusting the inflation state of the air bag unit, and the method comprises the following steps:

acquiring age information, gender information and physiological parameter information of a target user;

selecting a corresponding sleep number according to the physiological parameter information;

calling corresponding air bag parameters according to the sleep number, and adjusting the inflation state parameters of the air bag unit according to the air bag parameters;

acquiring sleep parameters of the target user in the sleep process in real time;

and adjusting the inflation state parameters of the air bag unit according to the sleep parameters until the sleep parameters reach a target state value.

Optionally, in the mattress adjustment control method according to the embodiment of the present application, the air bag unit includes a plurality of air bag units distributed in an array; the physiological parameter information comprises three-dimensional body type information, sleeping habit and posture information and weight information of the user;

the selecting the corresponding sleep number according to the physiological parameter information includes:

and inputting the three-dimensional body type information, the sleeping habit posture information and the weight information into a preset target neural network model to obtain a corresponding sleeping number.

Optionally, in the mattress adjustment control method according to the embodiment of the present application, the method further includes:

acquiring a training sample set, wherein the training sample set comprises a plurality of samples, and each sample comprises the age, three-dimensional body type information, sleeping habit and posture information, weight information and a corresponding sleeping number of a user;

and sequentially inputting the training samples into a preset neural network model for training until the value of the loss function is smaller than a preset value, so as to obtain a preset target neural network model.

Optionally, in the mattress adjustment control method according to the embodiment of the present application, the invoking a corresponding air bag parameter according to the sleep number, and adjusting an inflation state parameter of the air bag unit according to the air bag parameter include:

calling corresponding air bag parameters according to the sleep number;

and adjusting the inflation state parameters of each airbag monomer according to the airbag parameters.

Optionally, in the mattress adjustment control method according to the embodiment of the present application, the invoking a corresponding air bag parameter according to the sleep number, and adjusting an inflation state parameter of the air bag unit according to the air bag parameter include:

calling corresponding air bag parameters according to the sleep number;

acquiring the exercise state information and/or diet information of the target user on the same day;

calibrating the air bag parameters according to the motion state information and/or the diet information to obtain target air bag parameters;

and adjusting the inflation state parameter of each airbag monomer according to the target airbag parameter.

Optionally, in the mattress adjustment control method according to the embodiment of the present application, the adjusting the inflation state parameter of the airbag unit according to the sleep parameter until the sleep parameter reaches a target state value includes:

adjusting the inflation state parameters of the air bag unit according to the sleep parameters;

collecting the adjusted sleep parameters;

calculating a difference parameter between the sleep parameter and a target sleep parameter;

judging whether the difference parameter is smaller than a preset threshold value or not;

if the value is smaller than the preset threshold value, stopping adjusting the inflation state parameters;

if the difference parameter is larger than or equal to the preset threshold value, inputting the difference parameter into a first neural network model to obtain a corresponding inflation state adjustment parameter;

and adjusting the inflation state parameters of the air bag unit according to the inflation state adjustment parameters and returning to the step of acquiring the adjusted sleep parameters.

Optionally, in the mattress adjustment control method according to the embodiment of the present application, the sleep parameters include a heart rate parameter, a roll-over frequency, and a breathing frequency.

In a second aspect, an embodiment of the present application provides a mattress adjustment control system, including: a memory and a processor, wherein the memory includes a program of a mattress adjustment control method, and the program of the mattress adjustment control method realizes the following steps when executed by the processor:

acquiring age information, gender information and physiological parameter information of a target user;

selecting a corresponding sleep number according to the physiological parameter information;

calling corresponding air bag parameters according to the sleep number, and adjusting the inflation state parameters of the air bag unit according to the air bag parameters;

acquiring sleep parameters of the target user in the sleep process in real time;

and adjusting the inflation state parameters of the air bag unit according to the sleep parameters until the sleep parameters reach a target state value.

Optionally, in the mattress adjustment control system according to the embodiment of the present application, the air bag unit includes a plurality of air bag units distributed in an array; the physiological parameter information comprises three-dimensional body type information, sleeping habit and posture information and weight information of the user;

the program of the mattress adjustment control method realizes the following steps when executed by the processor:

and inputting the three-dimensional body type information, the sleeping habit posture information and the weight information into a preset target neural network model to obtain a corresponding sleeping number.

In a third aspect, an embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium includes a mattress adjustment control method program, and when the mattress adjustment control method program is executed by a processor, the method implements the steps of a mattress adjustment control method described in any one of the foregoing.

As can be seen from the above, the mattress adjustment control method and system provided by the embodiment of the application acquire age information, gender information and physiological parameter information of a target user; selecting a corresponding sleep number according to the physiological parameter information; calling corresponding air bag parameters according to the sleep number, and adjusting the inflation state parameters of the air bag unit according to the air bag parameters; acquiring sleep parameters of the target user in the sleep process in real time; adjusting the inflation state parameters of the air bag unit according to the sleep parameters until the sleep parameters reach a target state value; therefore, the adjustment control of the inflation state of the mattress is realized, the adjustment control is not only carried out based on the age and the physiological parameters of the user, but also is carried out in real time by combining the sleeping process of the user, and the sleeping state of the user can be improved.

Additional features and advantages of the present application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the embodiments of the present application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.

Drawings

In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.

Fig. 1 is a flowchart of a mattress adjustment control method according to an embodiment of the present application.

Fig. 2 is a schematic structural diagram of a mattress adjustment control system 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. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.

It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.

Referring to fig. 1, fig. 1 is a flowchart illustrating a mattress adjustment control method according to some embodiments of the present disclosure. The mattress is provided with an air bag unit with adjustable hardness, the mattress adjusting and controlling method is used for adjusting the inflation state of the air bag unit, and the mattress adjusting and controlling method comprises the following steps:

s101, acquiring age information, gender information and physiological parameter information of a target user.

And S102, selecting a corresponding sleep number according to the physiological parameter information.

S103, calling corresponding air bag parameters according to the sleep numbers, and adjusting the inflation state parameters of the air bag units according to the air bag parameters.

And S104, acquiring sleep parameters of the target user in the sleep process in real time.

S105, adjusting the inflation state parameters of the air bag unit according to the sleep parameters until the sleep parameters reach a target state value.

In step S101, the physiological parameter information may include three-dimensional body shape information, sleeping habit posture information, and weight information of the user, but is not limited thereto. Wherein, the age information, the sex information and the physiological parameter information are uploaded when the account is registered. Wherein, the three-dimensional body type information is a three-dimensional scanning image of the user. The sleeping habit posture information is a sleeping posture which the user is accustomed to, and because the requirements on the inflation states of the air bag single bodies of the air bag units are different due to different sleeping postures, the inflation states of the air bag single bodies can be better adjusted based on the sleeping habit posture information.

In step S102, a simulation may be performed based on the physiological parameter information to obtain an optimal mattress shape when the mattress is asleep, so as to select the inflation status parameter of each air cell.

Of course, it is understood that in some embodiments, this step S102 may include: and inputting the three-dimensional body type information, the sleeping habit posture information and the weight information into a preset target neural network model to obtain a corresponding sleeping number.

Correspondingly, the target neural network model may be trained using the following steps: s1021, acquiring a training sample set, wherein the training sample set comprises a plurality of samples, and each sample comprises the age, three-dimensional body type information, sleeping habit and posture information, weight information and a corresponding sleeping number of a user; and S1022, sequentially inputting the training samples into a preset neural network model for training until the value of the loss function is smaller than a preset value, so as to obtain a preset target neural network model.

In step S103, the corresponding airbag parameters may be directly selected according to the sleep number, so as to perform corresponding inflation control on each airbag unit. Of course, it will be understood. The airbag parameters can also be calibrated based on the current state of the user, and corresponding inflation control can be performed on each single airbag based on the calibrated airbag parameters.

In some embodiments, S103 may include the steps of: s1031, calling corresponding airbag parameters according to the sleep numbers; s1032, adjusting the inflation state parameter of each airbag monomer according to the airbag parameters.

In some embodiments, S103 may include the steps of: s1033, calling corresponding air bag parameters according to the sleep number; s1034, acquiring the current-day motion state information and/or diet information of the target user; s1035, calibrating the air bag parameters according to the motion state information and/or the diet information to obtain target air bag parameters; s1036, adjusting the inflation state parameters of each airbag monomer according to the target airbag parameters.

In step S1033, different sleeping numbers correspond to different air bag parameters, and the air bag parameters may include an inflation requirement of each of a plurality of air bag units of the mattress and coordinate information of the air bag unit. In step S1034, the exercise status information may include the exercise condition of the user on the current day, which may be obtained by querying the exercise bracelet, or may be obtained based on the exercise parameters automatically collected by the mobile phone of the user, so as to obtain the total fatigue degree of the user on the current day and the fatigue degrees of the body parts of the user. The dietary information may be obtained via a take-away order or manually entered by the user. In step S1035, the optimal stress condition of each body part of the user is different due to the motion state information and/or the diet information, so that the target airbag parameters more suitable for the current state of the user can be obtained by calibrating the airbag parameters according to the motion state information and/or the diet information, and the sleep state of the user is better after each airbag unit is adjusted based on the target airbag parameters.

In step S104, the sleep parameters may include turn-over frequency, breathing frequency, heart rate information, and the like of the user. Wherein, the frequency of turning over can adopt the pressure sensor who sets up on the mattress to detect, and this respiratory rate and heart rate information can adopt the infrared detector who sets up on the bed to detect, and of course, it is not limited to this.

In step S105, the sleep parameters of the user are detected in real time, and the inflation state of each airbag monomer is adjusted at preset time intervals until the detected sleep parameters reach the target state value.

Specifically, in some embodiments, this step S105 may include the following sub-steps:

s1051, adjusting the inflation state parameters of the air bag unit according to the sleep parameters;

s1052, collecting the adjusted sleep parameters;

s1053, calculating the difference parameter between the sleep parameter and the target sleep parameter;

s1054, judging whether the difference parameter is smaller than a preset threshold value;

s1055, if the value is smaller than the preset threshold value, stopping adjusting the inflation state parameter;

s1056, if the difference parameter is larger than or equal to the preset threshold, inputting the difference parameter into a first neural network model to obtain a corresponding inflation state adjustment parameter;

s1057, adjusting the inflation state parameters of the air bag unit according to the inflation state adjustment parameters and returning to the step of collecting the adjusted sleep parameters.

Wherein, if the sleep parameter only comprises one parameter, the gap parameter is the difference between the value corresponding to the sleep parameter and the value corresponding to the target sleep parameter. In the optimal sleep state, corresponding sleep parameters, namely parameters such as turn-over frequency, respiratory frequency and heart rate information, can be obtained through big data statistics.

If the sleep parameter includes 2 parameters, a rectangular coordinate system may be established based on the two parameters, the X axis represents one parameter, the Y axis represents the other parameter, and the difference parameter is a distance value between a coordinate point corresponding to the sleep parameter and a coordinate point corresponding to the target sleep parameter.

If the sleep parameter includes 3 parameters, a three-dimensional coordinate system may be established based on the 3 parameters, the X-axis representing a first parameter, the Y-axis representing a second parameter, and the Z-axis representing a third parameter. The difference parameter is a distance value between the coordinate point corresponding to the sleep parameter and the coordinate point corresponding to the target sleep parameter. Wherein the first neural network model is a pre-trained neural network model.

As can be seen from the above, the mattress adjustment control method provided by the embodiment of the present application obtains the age information, the gender information, and the physiological parameter information of the target user; selecting a corresponding sleep number according to the physiological parameter information; calling corresponding air bag parameters according to the sleep number, and adjusting the inflation state parameters of the air bag unit according to the air bag parameters; acquiring sleep parameters of the target user in the sleep process in real time; adjusting the inflation state parameters of the air bag unit according to the sleep parameters until the sleep parameters reach a target state value; therefore, the adjustment control of the inflation state of the mattress is realized, the adjustment control is not only carried out based on the age and the physiological parameters of the user, but also is carried out in real time by combining the sleeping process of the user, and the sleeping state of the user can be improved.

Referring to fig. 2, fig. 2 is a block diagram of a mattress adjustment control system according to some embodiments of the present application, the system including: a memory 201 and a processor 202, wherein the memory 201 includes a program of a mattress adjustment control method, and the program of the mattress adjustment control method realizes the following steps when executed by the processor 202:

acquiring age information, gender information and physiological parameter information of a target user; selecting a corresponding sleep number according to the physiological parameter information; calling corresponding air bag parameters according to the sleep number, and adjusting the inflation state parameters of the air bag unit according to the air bag parameters; acquiring sleep parameters of the target user in the sleep process in real time; and adjusting the inflation state parameters of the air bag unit according to the sleep parameters until the sleep parameters reach a target state value.

In some embodiments, the physiological parameter information may include three-dimensional body shape information, sleeping habit posture information, and weight information of the user, but is not limited thereto. Wherein, the age information, the sex information and the physiological parameter information are uploaded when the account is registered. Wherein, the three-dimensional body type information is a three-dimensional scanning image of the user. The sleeping habit posture information is a sleeping posture which the user is accustomed to, and because the requirements on the inflation states of the air bag single bodies of the air bag units are different due to different sleeping postures, the inflation states of the air bag single bodies can be better adjusted based on the sleeping habit posture information.

Wherein, based on the physiological parameter information, a simulation can be carried out to obtain the optimal mattress shape when the mattress is asleep by the user, so as to select the inflation state parameter of each air bag monomer.

Of course, it will be understood that in some embodiments, the program of the mattress adjustment control method when executed by the processor 202 implements the steps of: and inputting the three-dimensional body type information, the sleeping habit posture information and the weight information into a preset target neural network model to obtain a corresponding sleeping number.

Correspondingly, the program of the mattress adjustment control method, when executed by the processor 202, implements the steps of: the method comprises the steps of obtaining a training sample set, wherein the training sample set comprises a plurality of samples, and each sample comprises the age, three-dimensional body type information, sleeping habit and posture information, weight information and a corresponding sleeping number of a user; and sequentially inputting the training samples into a preset neural network model for training until the value of the loss function is smaller than a preset value, so as to obtain a preset target neural network model.

And selecting corresponding air bag parameters directly according to the sleep number so as to perform corresponding inflation control on each air bag monomer. Of course, it will be understood. The airbag parameters can also be calibrated based on the current state of the user, and corresponding inflation control can be performed on each single airbag based on the calibrated airbag parameters.

In some embodiments, the program of the mattress adjustment control method when executed by the processor 202 implements the steps of: calling corresponding air bag parameters according to the sleep number; and adjusting the inflation state parameters of each airbag monomer according to the airbag parameters.

In some embodiments, the program of the mattress adjustment control method when executed by the processor 202 implements the steps of: calling corresponding air bag parameters according to the sleep number; acquiring the exercise state information and/or diet information of the target user on the same day; calibrating the air bag parameters according to the motion state information and/or the diet information to obtain target air bag parameters; and adjusting the inflation state parameter of each airbag monomer according to the target airbag parameter.

Different sleeping numbers correspond to different air bag parameters, and the air bag parameters can include the inflation requirement of each air bag monomer of a plurality of air bag monomers of the mattress and the coordinate information of the air bag monomer. The exercise state information may include the exercise condition of the user on the same day, and may be acquired by querying the exercise bracelet, or may be acquired based on the exercise parameters automatically acquired by the mobile phone of the user, so as to obtain the total fatigue degree of the user on the same day and the fatigue degrees of the body parts of the user. The dietary information may be obtained via a take-away order or manually entered by the user. The optimal stress condition of each body part of the user is different due to the motion state information and/or the diet information, so that the target air bag parameters which are more consistent with the current state of the user can be obtained by calibrating the air bag parameters through the motion state information and/or the diet information, and the sleep state of the user is better after each air bag monomer is adjusted based on the target air bag parameters.

The sleep parameters may include turn-over frequency, breathing frequency, heart rate information, and the like of the user. Wherein, the frequency of turning over can adopt the pressure sensor who sets up on the mattress to detect, and this respiratory rate and heart rate information can adopt the infrared detector who sets up on the bed to detect, and of course, it is not limited to this.

The method comprises the steps of detecting sleep parameters of a user in real time, and adjusting the inflation state of each air bag monomer at preset time intervals until the detected sleep parameters reach a target state value.

In particular, in some embodiments, the program of the mattress adjustment control method, when executed by the processor 202, implements the steps of: adjusting the inflation state parameters of the air bag unit according to the sleep parameters; collecting the adjusted sleep parameters; calculating a difference parameter between the sleep parameter and a target sleep parameter; judging whether the difference parameter is smaller than a preset threshold value or not; if the value is smaller than the preset threshold value, stopping adjusting the inflation state parameters; if the difference parameter is larger than or equal to the preset threshold value, inputting the difference parameter into a first neural network model to obtain a corresponding inflation state adjustment parameter; and adjusting the inflation state parameters of the air bag unit according to the inflation state adjustment parameters and returning to the step of acquiring the adjusted sleep parameters.

Wherein, if the sleep parameter only comprises one parameter, the gap parameter is the difference between the value corresponding to the sleep parameter and the value corresponding to the target sleep parameter. In the optimal sleep state, corresponding sleep parameters, namely parameters such as turn-over frequency, respiratory frequency and heart rate information, can be obtained through big data statistics.

If the sleep parameter includes 2 parameters, a rectangular coordinate system may be established based on the two parameters, the X axis represents one parameter, the Y axis represents the other parameter, and the difference parameter is a distance value between a coordinate point corresponding to the sleep parameter and a coordinate point corresponding to the target sleep parameter.

If the sleep parameter includes 3 parameters, a three-dimensional coordinate system may be established based on the 3 parameters, the X-axis representing a first parameter, the Y-axis representing a second parameter, and the Z-axis representing a third parameter. The difference parameter is a distance value between the coordinate point corresponding to the sleep parameter and the coordinate point corresponding to the target sleep parameter. Wherein the first neural network model is a pre-trained neural network model.

As can be seen from the above, the mattress adjustment control system provided by the embodiment of the present application obtains the age information, the gender information, and the physiological parameter information of the target user; selecting a corresponding sleep number according to the physiological parameter information; calling corresponding air bag parameters according to the sleep number, and adjusting the inflation state parameters of the air bag unit according to the air bag parameters; acquiring sleep parameters of the target user in the sleep process in real time; adjusting the inflation state parameters of the air bag unit according to the sleep parameters until the sleep parameters reach a target state value; therefore, the adjustment control of the inflation state of the mattress is realized, the adjustment control is not only carried out based on the age and the physiological parameters of the user, but also is carried out in real time by combining the sleeping process of the user, and the sleeping state of the user can be improved.

The embodiment of the present application provides a storage medium, and when being executed by a processor, the computer program performs the method in any optional implementation manner of the above embodiment. The storage medium may be implemented by any type of volatile or nonvolatile storage device or combination thereof, such as a Static Random Access Memory (SRAM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), an Erasable Programmable Read-Only Memory (EPROM), a Programmable Read-Only Memory (PROM), a Read-Only Memory (ROM), a magnetic Memory, a flash Memory, a magnetic disk, or an optical disk.

In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.

In addition, units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.

Furthermore, the functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

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.

The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种基于压电效应发电的坐垫

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!