CN115708634A - Method and device for controlling inflation of mattress, mattress and storage medium - Google Patents
Method and device for controlling inflation of mattress, mattress and storage medium Download PDFInfo
- Publication number
- CN115708634A CN115708634A CN202211398549.1A CN202211398549A CN115708634A CN 115708634 A CN115708634 A CN 115708634A CN 202211398549 A CN202211398549 A CN 202211398549A CN 115708634 A CN115708634 A CN 115708634A
- Authority
- CN
- China
- Prior art keywords
- mattress
- inflation
- vehicle
- air bag
- state
- 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 56
- 238000001514 detection method Methods 0.000 claims description 23
- 230000004044 response Effects 0.000 claims description 17
- 238000004590 computer program Methods 0.000 claims description 11
- 230000005236 sound signal Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 5
- 206010019233 Headaches Diseases 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 2
- 239000003571 electronic cigarette Substances 0.000 description 2
- 231100000869 headache Toxicity 0.000 description 2
- GOLXNESZZPUPJE-UHFFFAOYSA-N spiromesifen Chemical compound CC1=CC(C)=CC(C)=C1C(C(O1)=O)=C(OC(=O)CC(C)(C)C)C11CCCC1 GOLXNESZZPUPJE-UHFFFAOYSA-N 0.000 description 2
- 208000024891 symptom Diseases 0.000 description 2
- 208000027418 Wounds and injury Diseases 0.000 description 1
- 210000004712 air sac Anatomy 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000006378 damage Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 208000014674 injury Diseases 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Landscapes
- Mattresses And Other Support Structures For Chairs And Beds (AREA)
Abstract
The embodiment of the application discloses an inflation control method and device for a mattress, the mattress and a storage medium, wherein the mattress is placed in a vehicle, and the method comprises the following steps: when an inflation instruction is detected, detecting a motion state of the vehicle; if the motion state is a stop state, responding to the inflation instruction, and inflating an air bag of the mattress; or if the motion state is a moving state, refusing to respond to the inflation instruction. By implementing the embodiment of the application, the safety risk of using the inflatable mattress on a vehicle can be reduced.
Description
Technical Field
The application relates to the technical field of intelligent furniture, in particular to an inflation control method and device for a mattress, the mattress and a storage medium.
Background
Air mattresses are widely used in a variety of settings due to their good portability. For example, in camping, the inflatable mattress can be spread out in the vehicle and inflated, the carriage can be transformed into a sleeping space, and a user can have a rest on the inflatable mattress. However, in practice, the use scene of the inflatable mattress is often related to vehicles such as automobiles, trains and ships, and when the inflatable mattress is used on the vehicles, certain potential safety hazards exist.
Disclosure of Invention
The embodiment of the application discloses an inflation control method and device for a mattress, the mattress and a storage medium, which can reduce the safety risk of using an inflatable mattress on a vehicle.
The embodiment of the application discloses an inflation control method of a mattress, wherein the mattress is placed in a vehicle; the method comprises the following steps:
when an inflation instruction is detected, detecting a motion state of the vehicle;
if the motion state is a stop state, responding to the inflation instruction, and inflating an air bag of the mattress; or,
and if the motion state is a moving state, refusing to respond to the inflation instruction.
In one embodiment, before said detecting a motion state of said vehicle when an inflation command is detected, said method further comprises:
identifying a type of the vehicle;
if the vehicle type is an automobile, executing the step of detecting the motion state of the vehicle when the inflation instruction is detected; or,
and if the type of the vehicle is a non-automobile vehicle, when the inflation instruction is detected, responding to the inflation instruction, and inflating the air bag of the mattress.
In one embodiment, the mattress includes an air pressure sensor; the vehicle class is automobile and the motion state is mobile, after the refusing to respond to the inflation command, the method further comprising:
detecting an inflation state of the airbag through the air pressure sensor;
and if the inflation state of the air bag is the inflated state, deflating the air bag.
In one embodiment, the category of the vehicle is automobile and the motion state is a stop state; the automobile comprises a vehicle-mounted multimedia device, wherein the vehicle-mounted multimedia device comprises a vehicle-mounted screen; the mattress comprises at least: a first air bag and a second air bag; the first air bag is arranged at one end, far away from the vehicle-mounted screen, of the mattress, and the second air bag is arranged at one end, close to the vehicle-mounted screen, of the mattress;
and, prior to said inflating said airbag in response to said inflation command, said method further comprises:
detecting multimedia content played by vehicle-mounted multimedia equipment of the automobile;
and, said inflating said airbag in response to said inflation command, comprising:
in response to the inflation instruction, determining inflation amounts corresponding to the first air bag and the second air bag respectively according to the type of the multimedia content;
and inflating the first air bag and the second air bag according to the inflation amounts respectively corresponding to the first air bag and the second air bag.
In one embodiment, the determining the inflation amounts of the first airbag and the second airbag respectively according to the type of the multimedia content includes:
if the type of the multimedia content is video content, the first air bag corresponds to a first inflation amount, and the second air bag corresponds to a second inflation amount; the first inflation amount is higher than the second inflation amount; or,
if the type of the multimedia content is audio content, the first airbag and the second airbag respectively correspond to the same inflation amount.
The embodiment of the application discloses an inflation control device of a mattress, wherein the mattress is placed in a vehicle; the device comprises:
the first detection module is used for detecting an inflation instruction; and, when an inflation command is detected, detecting a state of motion of the vehicle;
the control module is used for responding to the inflation instruction and inflating the air bag of the mattress when the motion state is a stop state; or,
the control module is further configured to refuse to respond to the inflation instruction when the motion state is a moving state.
In one embodiment, the apparatus further comprises:
an identification module to identify a type of the vehicle;
the first detection module is further used for executing the operation of detecting the motion state of the vehicle when the inflation instruction is detected after the identification module identifies that the vehicle type is the automobile; or,
the control module is further used for responding to the inflation instruction and inflating the air bag of the mattress after the recognition module recognizes that the type of the vehicle is non-automobile and the first detection module detects the inflation instruction.
In one embodiment, the identification module identifies that the category of the vehicle is an automobile, and the first detection module detects that the motion state is a stopped state; the automobile comprises a vehicle-mounted multimedia device, wherein the vehicle-mounted multimedia device comprises a vehicle-mounted screen; the mattress comprises at least: a first air bag and a second air bag; the first air bag is arranged at one end, far away from the vehicle-mounted screen, of the mattress, and the second air bag is arranged at one end, close to the vehicle-mounted screen, of the mattress; the device further comprises:
the second detection module is used for detecting multimedia contents played by the vehicle-mounted multimedia equipment of the automobile;
the control module is further used for responding to the inflation instruction and determining inflation amounts respectively corresponding to the first air bag and the second air bag according to the type of the multimedia content; and inflating the first airbag and the second airbag according to the inflation amounts respectively corresponding to the first airbag and the second airbag.
The embodiment of the application discloses a mattress, which comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor is enabled to realize the inflation control method of any mattress disclosed by the embodiment of the application.
The embodiment of the application discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and the computer program is used for realizing the inflation control method of any mattress disclosed by the embodiment of the application when being executed by a processor.
Compared with the related art, the embodiment of the application has the following beneficial effects:
after the mattress detects the inflation instruction, whether the inflation instruction is responded or not can be judged according to the motion state of the vehicle. Wherein, the mattress can forbid refusing to respond to the inflation instruction when the vehicle is in a moving state, forbid inflating the air bag. The comfort of the mattress is reduced in the uninflated state, and the user can be prevented from continuously using the uninflated mattress to a certain extent, so that the safety of using the inflatable mattress can be improved. Or the mattress can respond to the inflation instruction when the vehicle is in a stop state to inflate the air bag, so that the mattress can be inflated when the use environment of the mattress is judged to be safe (the vehicle is in the stop state), the use of the mattress by a user in a safe environment is not influenced, the use safety of the mattress is improved, and the use flexibility of the mattress is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a schematic diagram of an application scenario of a method for controlling inflation of a mattress according to an embodiment of the present application;
FIG. 2 is a schematic flow chart illustrating a method of controlling the inflation of a mattress according to an embodiment of the present disclosure;
FIG. 3 is a schematic flow chart illustrating a method for controlling the inflation of a mattress according to an embodiment of the present application;
FIG. 4 is a schematic flow chart illustrating a method for controlling the inflation of a mattress according to an embodiment of the present application;
FIG. 5 is a schematic diagram of an inflation control device for a mattress according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a mattress disclosed in the embodiments 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.
It should be noted that the terms "comprising" and "having," and any variations thereof, in the examples and figures herein are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
The embodiment of the application discloses an inflation control method and device for a mattress, electronic equipment and a storage medium, which can reduce the safety risk of using an inflatable mattress on a vehicle. The following are detailed below.
Referring to fig. 1, fig. 1 is a schematic view of an application scenario of an inflation control method for a mattress according to an embodiment of the present application. As shown in FIG. 1, the vehicle 10 may comprise an automobile. Further, the vehicle 10 may also include: non-automobile vehicles such as trains, high-speed rails and ships.
The mattress 20 may be placed in the vehicle 10 in either a folded configuration or a flat configuration, without limitation.
The mattress 20 may include a layer of air cells, which may include one or more air cells. The air bag can be provided with an air inlet electromagnetic valve and an air outlet electromagnetic valve, the air inlet electromagnetic valve can be connected with an inflator pump, and gas generated by the inflator pump can be pumped into the air bag through the air inlet electromagnetic valve so as to inflate the air bag. The exhaust solenoid valve may be used to exhaust gas within the bladder to deflate the bladder. Alternatively, the inflator may be built into the mattress 20; alternatively, the inflator may be provided separately from the mattress 20 and manually connected to the air inlet solenoid valve of the air bladder by a user during use. It should be noted that, in other possible embodiments, the inflation and deflation of the airbag may be controlled by other means besides the electromagnetic valve, and is not limited specifically.
The mattress 20 may further include a controller with computing capability, such as a single chip, a Micro Control Unit (MCU), an Electronic processing Unit (ECU), and the like, and the controller of the mattress 20 may execute the method for controlling the inflation of the mattress disclosed in the embodiment of the present application.
Illustratively, the controller of the mattress 20 may be built into the mattress, for example, a control box may be provided inside the mattress, with the controller being provided within the control box. Illustratively, to improve the portability of the mattress 20, the mattress 20 may also include: mattress body and with the remote controller of mattress body separation, the gasbag can set up in mattress body. The inflation control method of the mattress disclosed in the embodiments of the present application may be performed by a remote controller, and the remote controller may send commands to the inflator and the solenoid valve to control inflation and deflation of the air cells.
Referring to fig. 2, fig. 2 is a schematic flow chart of a method for controlling inflation of a mattress according to an embodiment of the present application. As shown in fig. 2, the method may include the steps of:
210. when the inflation command is detected, the motion state of the vehicle is detected.
In the present embodiment, the inflation command may be user-input. For example, a user may connect the power cord of the mattress to the e-cigarette lighter port of an automobile to power the mattress through the e-cigarette lighter port of the automobile. The mattress may determine the power-up state as detecting an inflation command. Illustratively, the mattress may also be powered by batteries, and the user may enter an inflation command via an "inflate" button provided by a remote control.
The mattress, upon detection of the inflation command, may further detect a motion state of the vehicle in which the mattress is located.
As an alternative embodiment, the mattress may further comprise a communication module, such as a bluetooth communication module, a USB communication module, etc. The mattress can be in communication connection with the vehicle through the communication module, the moving speed sent by the vehicle is obtained based on the communication connection, and the motion state of the vehicle is determined according to the moving speed. For example, a moving speed of the vehicle greater than 0 may be a moving state, and a moving speed equal to 0 may be a stopped state. Alternatively, a speed threshold may be set, and if the moving speed is equal to or equal to the speed threshold, it may be determined that the vehicle is in a stopped state; otherwise, if the speed of movement is greater than the speed threshold, it may be determined that the vehicle is in a moving state.
As another alternative, the mattress can also comprise a motion sensor such as an acceleration sensor, a speed sensor and the like, and the motion data of the mattress can be collected through the motion sensor. Since the mattress is placed on the vehicle, the motion state of the vehicle can be judged by the motion data of the mattress. For example, the motion data collected by the mattress may include a moving speed, and if the moving speed is greater than 0, it may be determined that the vehicle is in a moving state; otherwise, if the moving speed is equal to 0, it may be determined that the vehicle is in a stopped state.
220. And if the motion state is the stop state, responding to an inflation instruction, and inflating the air bag of the mattress.
230. And if the motion state is the moving state, refusing to respond to the inflation command.
In the embodiment of the application, the mattress can control the inflation and deflation of the air bags according to the motion state of the vehicle. Whether the vehicle is a car, a train, a ship or the like, it is difficult to avoid performing operations such as acceleration, deceleration, turning and the like in a moving state. If the mattress is used on a moving vehicle, a user lying on the mattress is less protected and is easily thrown off to cause injury.
Thus, in the embodiments of the subject application, the mattress inhibits inflation of the air cells in response to a refusal to respond to an inflation command while the vehicle is in motion. The comfort of the mattress is reduced in the uninflated state, and the user can be prevented from continuously using the uninflated mattress to a certain extent, so that the safety can be improved. Or, the mattress can respond to the inflation instruction when the vehicle is in a stop state to inflate the air bag, so that the mattress can be inflated when the use environment of the mattress is judged to be safe (the vehicle is in the stop state), the use of the mattress by a user in a safe environment is not influenced, and the use safety of the mattress is improved while the use flexibility of the mattress is improved.
Referring to fig. 3, fig. 3 is a schematic flow chart of a method for controlling inflation of a mattress according to an embodiment of the present application. As shown in fig. 3, the method may include the steps of:
310. identifying a type of vehicle; if the vehicle type is an automobile, executing step 320-step 340; if the vehicle type is not an automobile, step 350 is performed.
As an alternative embodiment, the type of vehicle may be input by the user.
For example, the mattress can provide three different inflation modes, namely an automobile mode, a train mode and a ship mode, wherein the inflation amount of the air bag is different in the different inflation modes. The remote controller of the mattress can be respectively provided with keys corresponding to each inflation mode, and a user can select the inflation mode through the keys. The mattress can detect the inflation mode selected by the user and determine the type of vehicle according to the selected inflation mode. If the selected inflation mode is the automobile mode, the type of the vehicle is an automobile; if the selected inflation mode is a train mode or a ship mode, the type of the vehicle is non-automobile.
As another alternative, if the mattress can obtain the moving speed of the vehicle, the type of the vehicle can be determined according to the moving speed. There are certain differences in the moving speeds of cars, trains and ships. For example, the average speed of an automobile is between 50 km/h and 60 km/h, the average speed of a passenger train is between 100 km/h and 120 km/h, and the average speed of a passenger ship is between 30 km/h and 40 km/h. Therefore, the mattress can match the acquired moving speed with the average speed ranges respectively corresponding to the automobile, the train and the passenger ship so as to identify the type of the transportation means.
In the embodiment of the application, compared with automobiles, the moving line of non-automobile vehicles such as trains and ships is relatively fixed, and the moving process is relatively stable. The safety risk of using the mattress on a moving train or ship is relatively low.
Thus, the mattress can directly perform step 350 when the vehicle in which the mattress is located is identified as non-automobile, and the airbag can be inflated in response to the detected inflation command regardless of whether the non-automobile vehicle is in a moving state or a stopped state.
If the mattress identifies that the vehicle in which the mattress is located is an automobile, the following steps 320-340 are required to be executed to detect the motion state of the vehicle, and then determine whether an inflation command can be responded according to the motion state of the vehicle, so as to reduce the safety risk of using the inflatable mattress in the vehicle.
320. When an inflation instruction is detected, detecting the motion state of the automobile; if the status is stopped, go to step 330; if the mobile state is the moving state, step 340 is executed.
330. In response to the inflation command, the air cells of the mattress are inflated.
340. Denying a response to the inflation command.
In some embodiments, the user may inflate the mattress outside of the automobile and then move the inflated mattress into the automobile. To further reduce the safety risk, the mattress, after performing step 340, may further perform the following steps: detecting the inflation state of the air bag; if the inflated state of the air bag is the inflated state, the air bag is deflated.
Wherein, an air pressure sensor can be arranged in the mattress and can be used for detecting the air pressure value in the air bag. The inflated state of the airbag may include: an inflated state and an uninflated state. If the air pressure value in the air bag is detected to be higher than the air pressure threshold value, the air bag can be determined to be in an inflated state; otherwise, if the air pressure value in the air bag is detected to be lower than or equal to the air pressure threshold value, the air bag can be determined to be in an uninflated state. The barometric pressure threshold may be set according to actual service requirements, for example, set to 0 Bar (Bar), 0.1Bar, 0.5Bar, and the like, which is not limited in particular.
Optionally, the mattress may also detect an altitude before determining whether the air pressure value inside the air bag is higher than the air pressure threshold, and set the air pressure threshold according to the detected altitude. Wherein the barometric pressure threshold may be inversely related to the detected altitude, and the higher the altitude, the smaller the barometric pressure threshold. When the vehicle is an automobile, the use scenario of the mattress may involve a high-altitude area. For example, the mattress may be used during travel when performing a self-driving tour to a high-altitude area. As altitude increases, the air pressure gradually decreases. In order to more accurately judge the inflation state of the mattress by the air pressure value detected by the air pressure sensor, an air pressure threshold value may be set according to the detected altitude. Wherein, the mattress can be provided with an altimeter which can detect the altitude; or, the mattress may receive poster height data transmitted by a mobile terminal such as an automobile or a mobile phone through the communication module, which is not limited specifically.
In other embodiments, the mattress may deflate the air cells directly after performing step 340 without detecting the inflation status of the air cells. If the air bag is in an inflated state before deflation, the deflation operation can discharge the residual air in the air bag; if the air bag is in an uninflated state before deflation, an ineffective deflation operation is performed, but the air bag is not substantially damaged.
That is, in the foregoing embodiment, when the mattress detects that the automobile is in a moving state, it can be further determined whether the mattress is inflated; if so, the air bag is deflated, so that the use comfort of the mattress is reduced, and the possibility that a user uses the mattress on a moving automobile is reduced.
350. When an inflation command is detected, the air cells of the mattress are inflated in response to the inflation command.
It can be seen that, in the foregoing embodiment, the mattress may first identify the category of the vehicle, and when the category of the vehicle is identified as the automobile, determine whether to inflate the mattress according to the motion state of the automobile, so as to reduce the safety risk of using the inflatable mattress in the automobile. And after the motion state of the automobile is judged to be the motion state, whether the mattress is inflated or not can be further judged, the inflated mattress is deflated, and the safety risk of using the inflatable mattress on the automobile can be further reduced. When the type of the vehicle is identified to be non-automobile, the mattress can directly inflate the mattress by ignoring the motion state of the vehicle, and the safety and the flexibility of the use of the mattress can be considered.
Referring to fig. 4, fig. 4 is a schematic flow chart of a method for controlling inflation of a mattress according to an embodiment of the present application. In this embodiment, the mattress is placed on the car, and the mattress can include at least two different air cells, respectively a first air cell and a second air cell, and the first air cell and the second air cell are respectively arranged at two ends of the mattress. As shown in fig. 4, the method may include the steps of:
410. identifying a type of vehicle; if the type of the vehicle is an automobile, executing step 420-step 440; if the type of the vehicle is non-automobile, the process is ended.
In an embodiment of the present application, an automobile may include an in-vehicle multimedia device, and the in-vehicle multimedia device may include: a central control large screen, a multimedia playing system, a sound system and the like. The vehicle-mounted multimedia equipment can comprise a vehicle-mounted screen and is used for displaying visual contents such as characters, videos and the like contained in the multimedia contents; or, the method can also be used for man-machine interaction with the user.
The mattress can be placed manually by a user in the car. The first air bag can be an air bag arranged at one end of the mattress far away from the vehicle-mounted multimedia equipment, and the second air bag can be an air bag arranged at one end of the mattress near the vehicle-mounted display screen.
420. When an inflation instruction is detected, detecting the motion state of the automobile; if the status is stop status, go to step 430-step 440; if the motion state is detected, step 450 is performed.
430. And detecting the multimedia content played by the vehicle-mounted multimedia equipment of the automobile.
In an embodiment of the present application, the multimedia content may include: video content and audio content. For example, when a tv show or a movie is played through the vehicle-mounted multimedia device, the multimedia content is a video content. And playing music and audio books on the vehicle-mounted multimedia equipment, so that the multimedia content is audio content.
As an alternative embodiment, the mattress can be connected with the automobile through the communication module in a communication mode so as to obtain the type identification of the multimedia content sent by the automobile. For example, the car may indicate that the type of the currently played multimedia content is audio content by the identifier a, and indicate that the type of the currently played multimedia content is audio content by the identifier B.
As another optional implementation manner, the mattress may further include a microphone, and the mattress may collect multimedia content played by the vehicle-mounted multimedia device as an audio signal through the microphone, and send the audio signal to a background server of the mattress for processing. The background server of the mattress can be in communication connection with the mattress and used for providing calculation support for the mattress. The background server can carry out semantic recognition on the received audio signals, recognize sentences in the audio signals, search the sentences in the database and determine the type of the multimedia content according to the search result. For example, if the sentence is a speech of a movie and television episode, the type of the multimedia content can be determined as video content; if the sentence is searched to be the song lyrics, determining the type of the multimedia content to be audio content; if the sentence is searched out as a sentence in a novel, the type of the multimedia content can be determined as the audio content. The background server can return the type of the multimedia content determined according to the audio signal to the mattress.
440. And determining the respective corresponding inflation amounts of the first airbag and the second airbag according to the types of the multimedia contents, and inflating the first airbag and the second airbag according to the respective corresponding inflation amounts of the first airbag and the second airbag.
In some embodiments, if the type of the multimedia content is video content, the inflation amount of each of the first airbag and the second airbag may be: the first air bag corresponds to a first inflation amount, the second air bag corresponds to a second inflation amount, and the first inflation amount is higher than the second inflation amount. That is, when the vehicle-mounted multimedia device plays video contents, the first air bag far away from the vehicle-mounted screen can be filled with more air, and the second air bag close to the vehicle-mounted screen can be filled with less air, so that the effect that one side of the first air bag is higher than one side of the second air bag in the mattress is achieved. When a user lies on the mattress to view video content played by the vehicle-mounted screen, the head is generally placed at one end far away from the vehicle-mounted screen, and the foot is generally placed at one end close to the vehicle-mounted screen. Therefore, the first air bag is filled with more air, the second air bag is filled with less air, so that a user can reach a posture that the head is slightly higher than the feet after lying on the mattress, and the video content played by the vehicle-mounted screen can be watched more easily.
In other embodiments, the type of the multimedia content is audio content, and the first airbag and the second airbag may respectively correspond to the same inflation amount. That is, when the multimedia device plays audio content, the first airbag and the second airbag may be filled with the same volume of gas. When a user listens to audio content, the requirement for watching the vehicle-mounted screen is low, the first air bag and the second air bag are filled with air with the same volume, the mattress can be flatly placed, and a more comfortable sleeping environment is created for the user.
450. Denying a response to the inflation command.
It can be seen that in the foregoing embodiment, when the mattress is placed in a car, the mattress can determine whether the air bags need to be inflated according to the motion state of the car, so as to reduce the safety risk of using the inflatable mattress in the car. Furthermore, after the mattress judges that the air bag can be inflated, the inflation quantity of the air bag can be determined according to the type of multimedia content played by the vehicle-mounted multimedia equipment of the automobile, and the form of the mattress can be adjusted according to different types of the multimedia content, so that a more comfortable use feeling is created for users.
In some embodiments, the mattress may further comprise: the third air bag and the fourth air bag are respectively arranged at two ends of the mattress. The third and fourth bladders may be the same as or different from the first bladder described above. The third airbag may be an airbag near one end of the vehicle-mounted multimedia device or an airbag far from one end of the vehicle-mounted multimedia device, the third airbag and the fourth airbag may be airbags arranged at any two opposite positions on the mattress, and the arrangement positions of the third airbag and the fourth airbag may be independent of the multimedia device of the automobile, and are not limited specifically.
After the mattress performs the aforementioned step 420 to detect that the motion state of the automobile is a stop state, the following steps can be further performed:
the mattress can detect altitude.
And, in response to the inflation command, embodiments of inflating the bladder of the mattress may include:
in response to the inflation command, it is determined whether the detected altitude is a height threshold. Wherein, the altitude threshold may be set according to the altitude corresponding to the plateau, for example, set to 1000 meters; alternatively, it is set at an altitude at which altitude reaction is easily induced, for example, 3000 m.
If the altitude is above the altitude threshold, the mattress may inflate the third air bag at a third inflation rate and inflate the fourth air bag at a fourth inflation rate. Wherein the third inflation amount may be greater than the fourth inflation amount.
If the altitude is less than or equal to the height threshold, the mattress may inflate the third and fourth air cells by the same amount of inflation.
That is to say, when the mattress detects that the altitude is too high and is easy to cause altitude reaction, more air can be injected into the third air bag at one end of the mattress, and less air can be injected into the fourth air bag at the other end of the mattress, so that the form that one end of the mattress is high and the other end of the mattress is low is formed. When the user uses the mattress, the head of the user can be placed at the high position corresponding to the third air bag, and the foot of the user can be placed at the low position corresponding to the fourth air bag, so that a high pillow position is formed, and headache symptoms caused by altitude stress can be relieved.
For example, a user carries the mattress to travel to a plateau area by himself, discomfort is caused by plateau reaction in the process of the travel, and the user can stop the vehicle midway to lay the mattress in the automobile. The mattress can automatically detect the current altitude, and when the current altitude is judged to be too high, different air bags can be filled with air with different volumes, so that the mattress automatically forms a high pillow position form, and headache symptoms caused by altitude stress can be relieved.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an inflation control device for a mattress according to an embodiment of the present application. The inflation control device shown in fig. 5 may be applied to any of the mattresses described above, may be a controller built in the mattress, or may be applied to a remote controller of the mattress, etc., without limitation. As shown in FIG. 5, the inflation control device 500 may include: a first detection module 510 and a control module 520.
A first detection module 510 for detecting an inflation command; and, when an inflation command is detected, detecting a state of motion of the vehicle;
a control module 520, configured to respond to the inflation instruction to inflate the air bag of the mattress when the motion state is a stop state; or,
the control module 520 is further configured to refuse to respond to the inflation command when the motion state is a moving state.
In one embodiment, the inflation control device 500 may further include: an identification module;
an identification module for identifying a type of the vehicle;
the first detection module 510 is further configured to, after the identification module identifies that the vehicle type is an automobile, execute the operation of acquiring the motion state of the vehicle when the inflation instruction is detected; or,
the control module 520 is further configured to inflate the airbag of the mattress in response to the inflation instruction after the identification module identifies that the vehicle type is non-automobile and the first detection module detects the inflation instruction.
In one embodiment, the mattress may further include an air pressure sensor; the inflation control device 500 may further include:
an airbag detection module for detecting an inflation state of the airbag through the air pressure sensor after the control module 520 refuses to respond to the inflation command based on a movement state of the vehicle;
the control module 520 is further configured to deflate the airbag when the inflation status of the airbag is the inflated status.
Optionally, the air bag detecting module may be configured to obtain an air pressure value inside the air bag detected by the air pressure sensor, and determine whether the air pressure value inside the air bag is higher than an air pressure threshold; and determining that the airbag is in an inflated state when the air pressure value inside the airbag is higher than the air pressure threshold value; the airbag may be determined to be in an uninflated state when the value of the air pressure inside the airbag is less than or equal to the air pressure threshold.
The air bag detection module can be further used for detecting the altitude before judging whether the air pressure value in the air bag is higher than the air pressure threshold value or not, and determining the air pressure threshold value according to the altitude. Wherein the barometric pressure threshold can be inversely related to the detected altitude.
In one embodiment, the identification module identifies that the category of the vehicle is an automobile, and the first detection module 510 detects that the motion state is a stopped state;
the automobile comprises a vehicle-mounted multimedia device, wherein the vehicle-mounted multimedia device comprises a vehicle-mounted screen; the mattress comprises at least: a first air bag and a second air bag; the first air bag is arranged at one end, far away from the vehicle-mounted screen, of the mattress, and the second air bag is arranged at one end, close to the vehicle-mounted screen, of the mattress;
the inflation control device 500 may further include: a second detection module;
the second detection module is used for detecting multimedia contents played by the vehicle-mounted multimedia equipment of the automobile;
the control module 520 is further configured to determine, in response to the inflation instruction, inflation amounts corresponding to the first airbag and the second airbag respectively according to the type of the multimedia content; and inflating the first airbag and the second airbag according to the inflation amounts respectively corresponding to the first airbag and the second airbag.
Optionally, the second detection module may include: a microphone and a communication module.
The microphone can be used for collecting multimedia contents played by the vehicle-mounted multimedia equipment into audio signals;
the communication module can be used for sending the audio signal to a background server of the mattress for processing; the background server can carry out semantic recognition on the received audio signals, recognize sentences in the audio signals, search the sentences in the database and determine the type of the multimedia content according to the search result.
And the communication module can also be used for receiving the type of the multimedia content returned by the background server.
In one embodiment, the control module 520 is further configured to determine that the first air cell corresponds to a first inflation amount and the second air cell corresponds to a second inflation amount when the type of the multimedia content is video content; the first inflation amount is higher than the second inflation amount;
in one embodiment, the control module 520 is further configured to determine that the first air cell and the second air cell respectively correspond to the same inflation amount when the type of the multimedia content is audio content.
In one embodiment, the mattress comprises at least: the third air bag and the fourth air bag are respectively arranged at two ends of the mattress. The inflation control device 500 may include: and a height detection module.
And the height detection module can be used for detecting the altitude.
The control module 520 is further configured to determine whether the detected altitude is a height threshold in response to the inflation instruction;
the control module 520 is further configured to inflate the third airbag according to the third inflation amount and inflate the fourth airbag according to the fourth inflation amount when the altitude is determined to be higher than the altitude threshold. Wherein the third inflation amount may be greater than the fourth inflation amount. Or when the altitude is judged to be lower than or equal to the altitude threshold, the third air bag and the fourth air bag are inflated according to the same inflation quantity.
Therefore, the inflation control device for the mattress disclosed in the foregoing embodiment can determine whether the mattress needs to be inflated according to the motion state of the vehicle. And when the vehicle is in a moving state, forbidding to refuse to respond to the inflation command and forbidding to inflate the airbag. The comfort of the mattress is reduced in the uninflated state, and the user can be prevented from continuously using the uninflated mattress to a certain extent, so that the safety can be improved. Or, when the use environment safety (the vehicle is in the stop state) of the mattress is judged, the mattress is inflated, the use of the mattress by a user in the safety environment is not influenced, and the use safety and the use flexibility of the mattress are improved.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a mattress disclosed in the embodiment of the present application. As shown in fig. 6, the mattress may include:
a memory 610 storing executable program code;
a processor 620 coupled to the memory 610;
the processor 620 calls the executable program code stored in the memory 610 to execute the method for controlling the inflation of the mattress disclosed in the embodiment of the present application.
The embodiment of the application discloses a computer-readable storage medium which stores a computer program, wherein the computer program is executed by a processor to realize the inflation control method of any mattress disclosed in the embodiment of the application.
The embodiment of the application discloses a computer program product, which comprises a non-transitory computer readable storage medium storing a computer program, wherein the computer program is operable to make a computer execute the inflation control method of any mattress disclosed in the embodiment of the application.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art should also appreciate that the embodiments described in this specification are exemplary embodiments in nature, and that acts and modules are not necessarily required to practice the invention.
In various embodiments of the present application, it should be understood that the size of the serial number of each process described above does not mean that the execution sequence is necessarily sequential, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
The 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.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated units, if implemented as software functional units and sold or used as separate products, may be stored in a computer accessible memory. Based on such understanding, the technical solution of the present application, which is a part of or contributes to the prior art in essence, or all or part of the technical solution, may be embodied in the form of a software product, stored in a memory, including several requests for causing a computer device (which may be a personal computer, a server, a network device, or the like, and may specifically be a processor in the computer device) to execute part or all of the steps of the above-described method of the embodiments of the present application.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be implemented by program instructions associated with hardware, and the program may be stored in a computer-readable storage medium, which includes Read-Only Memory (ROM), random Access Memory (RAM), programmable Read-Only Memory (PROM), erasable Programmable Read-Only Memory (EPROM), one-time Programmable Read-Only Memory (OTPROM), electrically Erasable Programmable Read-Only Memory (EEPROM), an optical Disc-Read-Only Memory (CD-ROM) or other storage medium, a magnetic tape, or any other medium capable of storing data for a computer or other computer.
The method, apparatus, mattress and storage medium for controlling inflation of a mattress disclosed in the embodiments of the present application are described in detail, and the principles and embodiments of the present application are described herein using specific examples, which are only used to help understand the method and core ideas of the present application. Meanwhile, for a person skilled in the art, according to the idea of the present application, the specific implementation manner and the application scope may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (10)
1. A method of controlling inflation of a mattress, wherein the mattress is placed in a vehicle; the method comprises the following steps:
when an inflation instruction is detected, detecting a motion state of the vehicle;
if the motion state is a stop state, responding to the inflation instruction, and inflating an air bag of the mattress; or,
and if the motion state is a moving state, refusing to respond to the inflation instruction.
2. The method of claim 1, wherein prior to said detecting a state of motion of the vehicle when the inflation command is detected, the method further comprises:
identifying a type of the vehicle;
if the vehicle type is an automobile, executing the step of detecting the motion state of the vehicle when the inflation instruction is detected; or,
and if the type of the vehicle is not an automobile, when the inflation instruction is detected, responding to the inflation instruction, and inflating the air bag of the mattress.
3. The method of claim 2, wherein the mattress comprises an air pressure sensor; the vehicle class is automobile and the motion state is mobile, after the refusing to respond to the inflation command, the method further comprising:
detecting an inflation state of the airbag through the air pressure sensor;
and if the inflation state of the air bag is the inflated state, deflating the air bag.
4. The method of claim 2, wherein the category of vehicle is an automobile and the motion state is a stopped state; the automobile comprises a vehicle-mounted multimedia device, wherein the vehicle-mounted multimedia device comprises a vehicle-mounted screen; the mattress comprises at least: a first air bag and a second air bag; the first air bag is arranged at one end of the mattress far away from the vehicle-mounted screen, and the second air bag is arranged at one end of the mattress close to the vehicle-mounted screen;
and, prior to said inflating said airbag in response to said inflation command, said method further comprises:
detecting multimedia content played by vehicle-mounted multimedia equipment of the automobile;
and, said inflating said airbag in response to said inflation instruction, comprising:
in response to the inflation instruction, determining inflation amounts corresponding to the first air bag and the second air bag respectively according to the type of the multimedia content;
and inflating the first air bag and the second air bag according to the inflation amounts respectively corresponding to the first air bag and the second air bag.
5. The method of claim 4, wherein determining respective inflation amounts of the first balloon and the second balloon according to the type of the multimedia content comprises:
if the type of the multimedia content is video content, the first air bag corresponds to a first inflation amount, and the second air bag corresponds to a second inflation amount; the first inflation amount is higher than the second inflation amount; or,
if the type of the multimedia content is audio content, the first airbag and the second airbag respectively correspond to the same inflation amount.
6. An inflation control device for a mattress, wherein the mattress is placed in a vehicle; the device comprises:
the first detection module is used for detecting an inflation instruction; and, when an inflation command is detected, detecting a state of motion of the vehicle;
the control module is used for responding to the inflation instruction and inflating the air bag of the mattress when the motion state is a stop state; or,
the control module is further configured to refuse to respond to the inflation instruction when the motion state is a moving state.
7. The apparatus of claim 6, further comprising:
an identification module for identifying a type of the vehicle;
the first detection module is further used for executing the operation of detecting the motion state of the vehicle when the inflation instruction is detected after the identification module identifies that the vehicle type is the automobile; or,
the control module is further used for responding to the inflation instruction and inflating the air bag of the mattress after the identification module identifies that the type of the vehicle is non-automobile and the first detection module detects the inflation instruction.
8. The apparatus of claim 7, wherein the identification module identifies that the vehicle is classified as an automobile, and the first detection module detects that the motion state is a stop state; the automobile comprises a vehicle-mounted multimedia device, wherein the vehicle-mounted multimedia device comprises a vehicle-mounted screen; the mattress comprises at least: a first air bag and a second air bag; the first air bag is arranged at one end, far away from the vehicle-mounted screen, of the mattress, and the second air bag is arranged at one end, close to the vehicle-mounted screen, of the mattress; the device further comprises:
the second detection module is used for detecting multimedia contents played by the vehicle-mounted multimedia equipment of the automobile;
the control module is further used for responding to the inflation instruction and determining inflation amounts respectively corresponding to the first air bag and the second air bag according to the type of the multimedia content; and inflating the first airbag and the second airbag according to the inflation amounts respectively corresponding to the first airbag and the second airbag.
9. A mattress comprising a memory and a processor, the memory having stored therein a computer program which, when executed by the processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 5.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211398549.1A CN115708634A (en) | 2022-11-09 | 2022-11-09 | Method and device for controlling inflation of mattress, mattress and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211398549.1A CN115708634A (en) | 2022-11-09 | 2022-11-09 | Method and device for controlling inflation of mattress, mattress and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115708634A true CN115708634A (en) | 2023-02-24 |
Family
ID=85232625
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211398549.1A Pending CN115708634A (en) | 2022-11-09 | 2022-11-09 | Method and device for controlling inflation of mattress, mattress and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115708634A (en) |
Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5496056A (en) * | 1995-02-21 | 1996-03-05 | Morton International, Inc. | Automotive passenger air bag module cushion fold |
KR19980048507A (en) * | 1996-12-18 | 1998-09-15 | 김영귀 | Steering wheel control unit with air bag |
US6299965B1 (en) * | 1999-11-17 | 2001-10-09 | Milliken & Company | Inflatable fabrics comprising peel seams which become shear seams upon inflation |
WO2005032305A2 (en) * | 2003-10-02 | 2005-04-14 | Saunders John H Ii | Air mattress system |
US20060124376A1 (en) * | 2004-12-10 | 2006-06-15 | Honda Motor Co., Ltd. | Airbag apparatus for small vehicles |
JP2007008326A (en) * | 2005-06-30 | 2007-01-18 | Nissan Motor Co Ltd | Method of inflating airbag and tool therefor |
KR20100068911A (en) * | 2008-12-15 | 2010-06-24 | 현대모비스 주식회사 | Driver seat air bag module |
US20150128691A1 (en) * | 2013-11-12 | 2015-05-14 | Goodrich Corporation | Tire Pressure Observation After Detecting Abnormal Pressure Condition |
US20160129815A1 (en) * | 2014-11-06 | 2016-05-12 | Ford Global Technologies, Llc | Head restraint with a multi-cell bladder assembly |
DE102015012340B3 (en) * | 2015-09-22 | 2016-07-14 | Audi Ag | Airbag module for a vehicle and vehicle with an airbag module |
WO2018013090A1 (en) * | 2016-07-12 | 2018-01-18 | Ford Global Technologies, Llc | Methods and apparatus for airbag deployment in helmets |
CN108372816A (en) * | 2016-11-15 | 2018-08-07 | 法乐第(北京)网络科技有限公司 | Control method, device and the automotive seat of automobile seat back cushion |
CN208096518U (en) * | 2017-09-08 | 2018-11-16 | 南京沿途汽车用品有限公司 | The vehicle-mounted airbed of modularization |
CN109177838A (en) * | 2018-07-26 | 2019-01-11 | 浙江九点健康科技有限公司 | A kind of safe massage cushion of vehicular |
US20200269800A1 (en) * | 2019-02-27 | 2020-08-27 | Ford Global Technologies, Llc | Airbag with selectively releasable external vent |
US20200298789A1 (en) * | 2019-03-18 | 2020-09-24 | Andras Fenyves | Airbag system and related methods of inflating an airbag |
-
2022
- 2022-11-09 CN CN202211398549.1A patent/CN115708634A/en active Pending
Patent Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5496056A (en) * | 1995-02-21 | 1996-03-05 | Morton International, Inc. | Automotive passenger air bag module cushion fold |
KR19980048507A (en) * | 1996-12-18 | 1998-09-15 | 김영귀 | Steering wheel control unit with air bag |
US6299965B1 (en) * | 1999-11-17 | 2001-10-09 | Milliken & Company | Inflatable fabrics comprising peel seams which become shear seams upon inflation |
WO2005032305A2 (en) * | 2003-10-02 | 2005-04-14 | Saunders John H Ii | Air mattress system |
US20060124376A1 (en) * | 2004-12-10 | 2006-06-15 | Honda Motor Co., Ltd. | Airbag apparatus for small vehicles |
JP2007008326A (en) * | 2005-06-30 | 2007-01-18 | Nissan Motor Co Ltd | Method of inflating airbag and tool therefor |
KR20100068911A (en) * | 2008-12-15 | 2010-06-24 | 현대모비스 주식회사 | Driver seat air bag module |
US20150128691A1 (en) * | 2013-11-12 | 2015-05-14 | Goodrich Corporation | Tire Pressure Observation After Detecting Abnormal Pressure Condition |
US20160129815A1 (en) * | 2014-11-06 | 2016-05-12 | Ford Global Technologies, Llc | Head restraint with a multi-cell bladder assembly |
DE102015012340B3 (en) * | 2015-09-22 | 2016-07-14 | Audi Ag | Airbag module for a vehicle and vehicle with an airbag module |
WO2018013090A1 (en) * | 2016-07-12 | 2018-01-18 | Ford Global Technologies, Llc | Methods and apparatus for airbag deployment in helmets |
CN108372816A (en) * | 2016-11-15 | 2018-08-07 | 法乐第(北京)网络科技有限公司 | Control method, device and the automotive seat of automobile seat back cushion |
CN208096518U (en) * | 2017-09-08 | 2018-11-16 | 南京沿途汽车用品有限公司 | The vehicle-mounted airbed of modularization |
CN109177838A (en) * | 2018-07-26 | 2019-01-11 | 浙江九点健康科技有限公司 | A kind of safe massage cushion of vehicular |
US20200269800A1 (en) * | 2019-02-27 | 2020-08-27 | Ford Global Technologies, Llc | Airbag with selectively releasable external vent |
US20200298789A1 (en) * | 2019-03-18 | 2020-09-24 | Andras Fenyves | Airbag system and related methods of inflating an airbag |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105270292B (en) | System and method for controlling access to human-machine interface in vehicle | |
CN106143335A (en) | Vehicle and control method thereof and the multimedia equipment being included in vehicle | |
JP2001083991A (en) | User interface device, navigation system, information processing device and recording medium | |
CN205997850U (en) | A kind of board information terminal system based on face recognition technology | |
US20150293745A1 (en) | Text-reading device and text-reading method | |
CN203237052U (en) | System for avoiding drunk driving through mobile phone | |
CN110949223A (en) | Vehicle seat control method, storage medium, and electronic device | |
CN111645613B (en) | Automobile rear row monitoring device and control method thereof | |
CN112455462B (en) | Passenger cabin system | |
CN115708634A (en) | Method and device for controlling inflation of mattress, mattress and storage medium | |
CN108372816A (en) | Control method, device and the automotive seat of automobile seat back cushion | |
KR102491730B1 (en) | Vehicle and method for controlling the vehicle | |
CN116646628B (en) | Water falling protection method based on state monitoring and related device | |
JP5029433B2 (en) | Vehicle drunk driving prevention device | |
WO2019016938A1 (en) | Speech recognition device and speech recognition method | |
CN208665055U (en) | Fatigue drive prompting system | |
CN208530504U (en) | A kind of belt tensioning force checking device and child safety seat | |
CN115593496A (en) | Steering wheel for high-level intelligent driving automobile and operating system thereof | |
CN115153257A (en) | Intelligent control method of mattress and related product | |
CN205801020U (en) | Control system of safety air bag | |
JP2005010035A (en) | Navigation apparatus for vehicle | |
CN104055243B (en) | A kind of crashproof overcoat of vehicle airbag | |
CN2656229Y (en) | Motor vehicle crew member automatic testing device | |
CN207898652U (en) | Sonification system and Mature Audiences | |
JP6555113B2 (en) | Dialogue device |
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 |