Mattress inflation control method, device, mattress and storage medium
By detecting the movement status and type of the vehicle and adjusting the inflatable behavior of the inflatable mattress, the safety hazards of using inflatable mattresses on the vehicle are solved, and the safety and flexibility of the mattress are improved.
Patent Information
- Application Number
- CN202211398549.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-09
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2042-11-09
AI Technical Summary
Using inflatable mattresses on vehicles poses safety risks, especially when the vehicle is in a mobile state. Improper use may cause injury to the user.
By detecting the movement state of the vehicle, if it is in a moving state, the inflation command is rejected, if it is in a stop state, the inflation command is responded to, and the inflation amount of the airbag is adjusted according to the type of the vehicle and the multimedia content type to improve the safety and comfort of the mattress. sex.
Effectively reduce the safety risks of using inflatable mattresses on vehicles, improve the safety and flexibility of mattresses, avoid the reduction of comfort in uninflated state, and ensure the convenience of using mattresses in a safe environment. .
Smart Images

Figure CN115708634B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of intelligent furniture, and in particular to an inflation control method and device for a mattress, a mattress and a storage medium. Background Art
[0002] Inflatable mattresses are widely used in various scenarios due to their good portability. For example, when camping, you can spread out an inflatable mattress in the car and inflate it, so that the car compartment can be transformed into a sleeping space, and users can take a nap on the inflatable mattress. However, in practice, it is found that the use scenarios of inflatable mattresses often involve transportation vehicles such as cars, trains, and ships. When using inflatable mattresses on transportation vehicles, there are certain safety hazards. Summary of the invention
[0003] The embodiments of the present application disclose a mattress inflation control method, device, mattress and storage medium, which can reduce the safety risks of using an inflatable mattress on a vehicle.
[0004] The present application embodiment discloses a method for controlling the inflation of a mattress, wherein the mattress is placed in a vehicle; the method comprises:
[0005] When an inflation instruction is detected, detecting a motion state of the vehicle;
[0006] If the motion state is a stop state, inflating the airbag of the mattress in response to the inflation instruction; or,
[0007] If the motion state is a moving state, then the inflation instruction is rejected.
[0008] In one embodiment, before detecting the inflation instruction and detecting the motion state of the vehicle, the method further includes:
[0009] identifying the type of vehicle;
[0010] If the type of the vehicle is a car, then executing the step of detecting the motion state of the vehicle when the inflation instruction is detected; or,
[0011] If the type of the vehicle is non-car, when the inflation instruction is detected, the airbag of the mattress is inflated in response to the inflation instruction.
[0012] In one embodiment, the mattress includes an air pressure sensor; the type of the vehicle is a car, and the motion state is a moving state. After the refusal to respond to the inflation instruction, the method further includes:
[0013] detecting the inflation state of the airbag by means of the air pressure sensor;
[0014] If the inflation state of the airbag is the inflated state, the airbag is deflated.
[0015] In one embodiment, the type of the transportation vehicle is a car, and the motion state is a stop state; the car includes an in-vehicle multimedia device, and the in-vehicle multimedia device includes an in-vehicle screen; the mattress includes at least: a first airbag and a second airbag; the first airbag is arranged at an end of the mattress away from the in-vehicle screen, and the second airbag is arranged at an end of the mattress close to the in-vehicle screen;
[0016] Furthermore, before inflating the airbag in response to the inflation instruction, the method further includes:
[0017] Detecting multimedia content played by an in-vehicle multimedia device of the automobile;
[0018] And, in response to the inflation instruction, inflating the airbag comprises:
[0019] In response to the inflation instruction, determining inflation amounts of the first airbag and the second airbag respectively corresponding to the type of the multimedia content;
[0020] The first airbag and the second airbag are inflated according to the inflation amounts corresponding to the first airbag and the second airbag respectively.
[0021] In one embodiment, determining the inflation amounts of the first airbag and the second airbag respectively according to the type of the multimedia content includes:
[0022] If the type of the multimedia content is video content, the first airbag corresponds to a first inflation amount, and the second airbag corresponds to a second inflation amount; the first inflation amount is higher than the second inflation amount; or,
[0023] If the type of the multimedia content is audio content, the first airbag and the second airbag correspond to the same inflation amount respectively.
[0024] The present application embodiment discloses an inflation control device for a mattress, wherein the mattress is placed in a vehicle; the device comprises:
[0025] A first detection module is used to detect an inflation instruction; and when the inflation instruction is detected, detect the motion state of the vehicle;
[0026] a control module, configured to inflate the airbag of the mattress in response to the inflation instruction when the motion state is a stop state; or
[0027] The control module is further configured to refuse to respond to the inflation instruction when the motion state is a moving state.
[0028] In one embodiment, the apparatus further comprises:
[0029] An identification module, used to identify the type of the vehicle;
[0030] The first detection module is further configured to, after the identification module identifies that the type of the vehicle is a car, execute the operation of detecting the motion state of the vehicle when the inflation instruction is detected; or
[0031] The control module is further configured to inflate the airbag of the mattress in response to the inflation instruction after the identification module identifies that the type of the vehicle is not a car and the first detection module detects the inflation instruction.
[0032] In one embodiment, the identification module identifies that the type of the vehicle is a car, and the first detection module detects that the motion state is a stop state; the car includes an in-vehicle multimedia device, and the in-vehicle multimedia device includes an in-vehicle screen; the mattress includes at least: a first airbag and a second airbag; the first airbag is arranged at an end of the mattress away from the in-vehicle screen, and the second airbag is arranged at an end of the mattress close to the in-vehicle screen; the device also includes:
[0033] A second detection module is used to detect multimedia content played by the vehicle-mounted multimedia device of the vehicle;
[0034] The control module is also used to respond to the inflation instruction and determine the inflation amounts corresponding to the first airbag and the second airbag respectively according to the type of the multimedia content; and to inflate the first airbag and the second airbag according to the inflation amounts corresponding to the first airbag and the second airbag respectively.
[0035] An embodiment of the present application discloses a mattress, including 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 implements any one of the mattress inflation control methods disclosed in the embodiments of the present application.
[0036] The embodiment of the present application discloses a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, any one of the mattress inflation control methods disclosed in the embodiment of the present application is implemented.
[0037] Compared with the related art, the embodiments of the present application have the following beneficial effects:
[0038] After detecting the inflation command, the mattress can determine whether to respond to the inflation command according to the motion state of the vehicle. Among them, the mattress can be prohibited from refusing to respond to the inflation command and inflating the airbag when the vehicle is in a moving state. The comfort of the mattress is reduced in the uninflated state, which can prevent users from continuing to use the uninflated mattress to a certain extent, thereby improving the safety of using an inflated mattress. Alternatively, the mattress can also respond to the inflation command and inflate the airbag when the vehicle is in a stopped state, so that the mattress can be inflated when it is determined that the use environment of the mattress is safe (the vehicle is in a stopped state), which does not affect the user's use of the mattress in a safe environment, and improves the safety of the mattress while also improving the flexibility of the mattress. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0040] Figure 1 It is a schematic diagram of an application scenario of a mattress inflation control method disclosed in an embodiment of the present application;
[0041] Figure 2 It is a method flow diagram of a mattress inflation control method disclosed in an embodiment of the present application;
[0042] Figure 3 It is a method flow diagram of a mattress inflation control method disclosed in an embodiment of the present application;
[0043] Figure 4 It is a method flow diagram of a mattress inflation control method disclosed in an embodiment of the present application;
[0044] Figure 5 It is a structural schematic diagram of an inflation control device of a mattress disclosed in an embodiment of the present application;
[0045] Figure 6 It is a structural schematic diagram of a mattress disclosed in an embodiment of the present application. DETAILED DESCRIPTION
[0046] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0047] It should be noted that the terms "including" and "having" and any variations thereof in the embodiments of the present application and the accompanying drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.
[0048] The embodiments of the present application disclose a mattress inflation control method, device, electronic device and storage medium, which can reduce the safety risk of using an inflatable mattress on a vehicle. Detailed descriptions are given below.
[0049] See also Figure 1 , Figure 1 Schematic diagram of an application scenario of a mattress inflation control method disclosed in an embodiment of the present application. Figure 1 As shown, the vehicle 10 may include a car. In addition, the vehicle 10 may also include: a train, a high-speed train, a ship and other non-car vehicles.
[0050] The mattress 20 can be placed in the vehicle 10 in a folded form or in a flat form, without limitation.
[0051] The mattress 20 may include an air bag layer, which may include one or more air bags. An air intake solenoid valve and an exhaust solenoid valve may be provided on the air bag, and the air intake solenoid valve may be connected to an air pump, and the gas generated by the air pump may be pumped into the air bag through the air intake solenoid valve to inflate the air bag. The exhaust solenoid valve may be used to discharge the gas in the air bag to deflate the air bag. Optionally, the air pump may be built into the mattress 20; or, the air pump may be provided separately from the mattress 20, and the user may manually connect the air pump to the air intake solenoid valve of the air bag during use. It should be noted that in other possible embodiments, the inflation and deflation of the air bag may also be controlled by other methods besides the solenoid valve, which are not specifically limited.
[0052] The mattress 20 may also include a controller with computing capabilities such as a single chip microcomputer, a microprocessor (Micro Control Unit, MCU), an electronic processing unit (Electronic Control Unit, ECU), etc. The controller of the mattress 20 may execute the mattress inflation control method disclosed in the embodiment of the present application.
[0053] Exemplarily, the controller of the mattress 20 can be built inside the mattress, for example, a control box can be set inside the mattress, and the controller is set inside the control box. Exemplarily, in order to improve the portability of the mattress 20, the mattress 20 can also include: a mattress body and a remote control separated from the mattress body, and the airbag can be set in the mattress body. The inflation control method of the mattress disclosed in the embodiment of the present application can be executed by the remote control, and the remote control can send instructions to the inflation pump and the solenoid valve to control the inflation and deflation of the airbag.
[0054] See also Figure 2 , Figure 2 1 is a schematic diagram of a method flow of a mattress inflation control method disclosed in an embodiment of the present application. Figure 2 As shown, the method may include the following steps:
[0055] 210. When an inflation command is detected, the movement state of the vehicle is detected.
[0056] In an embodiment of the present application, the inflation command may be input by a user. For example, the user may connect the power cord of the mattress to the electronic cigarette lighter port of the car to power the mattress through the electronic cigarette lighter port of the car. The mattress may determine the power-on state as detecting the inflation command. For example, the mattress may also be powered by a battery, and the user may input the inflation command through the "Inflate" button provided by the remote control.
[0057] After detecting the inflation instruction, the mattress can further detect the motion state of the vehicle where the mattress is located.
[0058] As an optional embodiment, the mattress may further include a communication module, such as a Bluetooth communication module, a USB communication module, etc. The mattress may be connected to the vehicle through the communication module, and based on the communication connection, the moving speed sent by the vehicle is obtained, and the motion state of the vehicle is determined according to the moving speed. For example, if the moving speed of the vehicle is greater than 0, it may be in a moving state, and if the moving speed is equal to 0, it may be in a stopped state. Alternatively, a speed threshold may be set. 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 moving speed is greater than the speed threshold, it may be determined that the vehicle is in a moving state.
[0059] As another optional embodiment, the mattress may also include motion sensors such as acceleration sensors and speed sensors, and the motion data of the mattress may be collected through the motion sensors. Since the mattress is placed on a vehicle, the motion state of the vehicle may be determined through the motion data of the mattress. Exemplarily, the motion data collected by the mattress may include a moving speed. If the moving speed is greater than 0, it can be determined that the vehicle is in a moving state; otherwise, if the moving speed is equal to 0, it can be determined that the vehicle is in a stopped state.
[0060] 220. If the motion state is the stop state, in response to the inflation instruction, the airbag of the mattress is inflated.
[0061] 230. If the motion state is moving, refuse to respond to the inflation command.
[0062] In the embodiment of the present application, the mattress can control the inflation and deflation of the airbag according to the motion state of the vehicle. Whether it is a vehicle such as a car, a train or a ship, it is difficult to avoid performing operations such as acceleration, deceleration, and turning in a moving state. If a mattress is used on a moving vehicle, the user lying on the mattress will be less protected and easily thrown off and injured.
[0063] Therefore, in the embodiment of the present application, the mattress is prohibited from refusing to respond to the inflation command and inflating the airbag when the vehicle is in a moving state. The comfort of the mattress is reduced in the uninflated state, which can prevent users from continuing to use the uninflated mattress to a certain extent, thereby improving safety. Alternatively, the mattress can also respond to the inflation command and inflate the airbag when the vehicle is in a stopped state, so that the mattress can be inflated when it is determined that the use environment of the mattress is safe (the vehicle is in a stopped state), which does not affect the user's use of the mattress in a safe environment, and improves the safety of the mattress while also improving the flexibility of the mattress.
[0064] See also Figure 3 , Figure 3 1 is a schematic diagram of a method flow of a mattress inflation control method disclosed in an embodiment of the present application. Figure 3 As shown, the method may include the following steps:
[0065] 310. Identify the type of vehicle; if the type of vehicle is a car, execute steps 320 to 340; if the type of vehicle is not a car, execute step 350.
[0066] As an optional implementation, the type of transportation may be input by the user.
[0067] Exemplarily, the mattress can provide three different inflation modes, namely, car mode, train mode and ship mode, and the inflation amount of the airbag is different in different inflation modes. The remote controller of the mattress can be provided with buttons corresponding to each inflation mode, and the user can select the inflation mode through the buttons. 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 car mode, the type of vehicle is car; if the selected inflation mode is train mode or ship mode, the type of vehicle is non-car.
[0068] As another optional implementation, if the mattress can obtain the moving speed of the vehicle, the type of vehicle can be determined based on the moving speed. The moving speeds of cars, trains, and ships are somewhat different. For example, the average speed of a car 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 obtained moving speed with the average speed ranges corresponding to cars, trains, and passenger ships, respectively, to identify the type of vehicle.
[0069] In the embodiment of the present application, compared with cars, the movement routes of non-car transportation vehicles such as trains and ships are relatively fixed and the movement process is relatively stable. The safety risk of using a mattress on a moving train or ship is relatively low.
[0070] Therefore, when the mattress identifies that the type of the vehicle in which the mattress is located is non-automobile, the mattress can directly execute step 350, and no matter whether the non-automobile vehicle is in a moving state or a stopped state, the mattress can respond to the detected inflation instruction and inflate the airbag.
[0071] If the mattress recognizes that the type of vehicle in which the mattress is located is a car, it is necessary to execute the following steps 320-340 to detect the movement state of the vehicle, and then determine whether it can respond to the inflation command based on the movement state of the vehicle, so as to reduce the safety risk of using an inflatable mattress on a vehicle.
[0072] 320. When the inflation command is detected, the movement state of the vehicle is detected; if it is in a stopped state, step 330 is executed; if it is in a moving state, step 340 is executed.
[0073] 330. In response to the inflation instruction, inflate the airbags of the mattress.
[0074] 340. Refuse to respond to inflation command.
[0075] In some embodiments, the user may inflate the mattress outside the car and then move the inflated mattress into the car. To further reduce safety risks, after executing step 340, the mattress may also perform the following steps: detecting the inflation state of the airbag; if the inflation state of the airbag is inflated, deflating the airbag.
[0076] Among them, an air pressure sensor may also be provided in the mattress, and the air pressure sensor may be used to detect the air pressure value inside the airbag. The inflation state of the airbag may include: an inflated state and an uninflated state. If the air pressure value inside the airbag is detected to be higher than the air pressure threshold, it can be determined that the airbag is in an inflated state; otherwise, if the air pressure value inside the airbag is detected to be lower than or equal to the air pressure threshold, it can be determined that the airbag is in an uninflated state. The air pressure threshold can be set according to actual business needs, for example, set to 0 bar, 0.1 Bar, 0.5 Bar, etc., without specific limitation.
[0077] Optionally, the mattress may also detect the altitude before determining whether the air pressure value inside the airbag is higher than the air pressure threshold, and set the air pressure threshold according to the detected altitude. Among them, the air pressure threshold may be negatively correlated with the detected altitude, and the higher the altitude, the smaller the air pressure threshold. When the means of transportation is a car, the use scenario of the mattress may involve high-altitude areas. For example, when traveling by car to a high-altitude area, the mattress can be used on the journey. As the 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, the air pressure threshold can be set according to the detected altitude. Among them, the mattress may be provided with an altimeter, and the altitude can be detected by the altimeter; or, the mattress can receive poster height data transmitted by a mobile terminal such as a car or a mobile phone through a communication module, without specific limitation.
[0078] In other embodiments, after executing step 340, the mattress can directly deflate the airbag without detecting the inflation state of the airbag. If the airbag is inflated before deflation, the deflation operation can discharge the residual gas in the airbag; if the airbag is not inflated before deflation, it is equivalent to performing an invalid deflation operation, but it will not cause substantial damage to the airbag.
[0079] That is to say, in the aforementioned embodiment, when the mattress detects that the car is moving, it can further determine whether the mattress is inflated; if so, the airbag is deflated to reduce the comfort of the mattress and reduce the possibility of the user using the mattress in a moving car.
[0080] 350. When an inflation command is detected, the airbag of the mattress is inflated in response to the inflation command.
[0081] It can be seen that in the above embodiments, the mattress can first identify the type of vehicle. When the type of vehicle is identified as a car, it is determined whether to inflate the mattress according to the motion state of the car, so as to reduce the safety risk of using an inflatable mattress in a car. Moreover, after determining that the motion state of the car is in motion, it is further determined whether the mattress is inflated, and the inflated mattress is deflated, which can further reduce the safety risk of using an inflatable mattress in a car. When the type of vehicle is identified as a non-car, the mattress can ignore the motion state of the vehicle and directly inflate the mattress, which can take into account both the safety and flexibility of the mattress.
[0082] See also Figure 4 , Figure 4 : is a schematic diagram of a method flow of a mattress inflation control method disclosed in an embodiment of the present application. In the embodiment of the present application, the mattress is placed on the car, and the mattress may include at least two different airbags, namely a first airbag and a second airbag, and the first airbag and the second airbag are respectively arranged at both ends of the mattress. Figure 4 As shown, the method may include the following steps:
[0083] 410. Identify the type of vehicle; if the type of vehicle is a car, execute steps 420 to 440; if the type of vehicle is not a car, end this process.
[0084] In the embodiment of the present application, the automobile may include an in-vehicle multimedia device, and the in-vehicle multimedia device may include: a central control screen, a multimedia playback system, an audio system, etc. The in-vehicle multimedia device may include an in-vehicle screen for displaying visual content such as text and video included in the multimedia content; or, it may also be used for human-computer interaction with the user.
[0085] The placement position of the mattress in the car can be manually placed by the user. The first airbag can be an airbag arranged at an end of the mattress away from the vehicle-mounted multimedia device, and the second airbag can be an airbag arranged at an end of the mattress close to the vehicle-mounted display screen.
[0086] 420. When the inflation command is detected, the moving state of the car is detected; if it is in a stopped state, step 430 to step 440 are executed; if it is in a moving state, step 450 is executed.
[0087] 430. Detect multimedia content played by an in-vehicle multimedia device of a vehicle.
[0088] In the embodiment of the present application, the multimedia content may include: video content and audio content. For example, if a TV series or movie is played through a vehicle-mounted multimedia device, the multimedia content is video content. If music or audiobooks are played through a vehicle-mounted multimedia device, the multimedia content is audio content.
[0089] As an optional implementation, the mattress can be connected to the car through the communication module to obtain the type identification of the multimedia content sent by the car. For example, the car can indicate that the type of the multimedia content currently being played is video content through identifier A, and indicate that the type of the multimedia content currently being played is audio content through identifier B.
[0090] As another optional embodiment, the mattress may also include a microphone, through which the mattress can collect the multimedia content played by the vehicle-mounted multimedia device as an audio signal, and send the audio signal to the background server of the mattress for processing. The background server of the mattress can be connected to the mattress for communication to provide computing support for the mattress. The background server can perform semantic recognition on the received audio signal, identify the sentence in the audio signal, search the sentence in the database, and determine the type of multimedia content based on the search results. For example, if the sentence is found to be a line from a film or TV series, the type of multimedia content can be determined to be video content; if the sentence is found to be a song lyric, the type of multimedia content can be determined to be audio content; if the sentence is found to be a sentence in a novel, the type of multimedia content can be determined to be audio content. The background server can return the type of multimedia content determined based on the audio signal to the mattress.
[0091] 440. Determine inflation amounts of the first airbag and the second airbag respectively corresponding to the type of the multimedia content, and inflate the first airbag and the second airbag according to the inflation amounts of the first airbag and the second airbag respectively corresponding to the inflation amounts.
[0092] In some embodiments, the type of multimedia content is video content, and the inflation amounts corresponding to the first airbag and the second airbag can be: the first airbag corresponds to the first inflation amount, the second airbag corresponds to the second inflation amount, and the first inflation amount is higher than the second inflation amount. That is to say, when the vehicle-mounted multimedia device plays video content, the first airbag far away from the vehicle-mounted screen can be filled with more gas, and the second airbag close to the vehicle-mounted screen can be filled with less gas, so as to form an effect that one side of the first airbag in the mattress is higher than the other side of the second airbag. When the user lies on the mattress to watch the video content played on the vehicle-mounted screen, the head is generally placed at the end away from the vehicle-mounted screen, and the feet are generally placed at the end close to the vehicle-mounted screen. Therefore, the first airbag is filled with more gas and the second airbag is filled with less gas, so that the user can lie on the mattress with the head slightly higher than the feet, and can more easily watch the video content played on the vehicle screen.
[0093] In other embodiments, if the type of multimedia content is audio content, the first airbag and the second airbag may correspond to the same inflation volume. That is, when the in-vehicle multimedia device plays audio content, the first airbag and the second airbag may be filled with the same volume of gas. When the user listens to audio content, the need to watch the in-vehicle screen is lower. The first airbag and the second airbag are filled with the same volume of gas, which can make the mattress flat and create a more comfortable sleeping environment for the user.
[0094] 450. Refusal to respond to inflation command.
[0095] It can be seen that in the above embodiment, when the mattress is placed in the car, the mattress can determine whether the airbag needs to be inflated according to the movement state of the car, so as to reduce the safety risk of using an inflatable mattress in the car. Furthermore, after the mattress determines that the airbag can be inflated, it can also determine the inflation amount of the airbag according to the type of multimedia content played by the car's onboard multimedia device, and can adjust the shape of the mattress according to different types of multimedia content, thereby creating a more comfortable use experience for the user.
[0096] In some embodiments, the mattress may further include: a third airbag and a fourth airbag, which are respectively arranged at the two ends of the mattress. The third airbag and the fourth airbag may be the same as the first airbag described above, or may be different. The third airbag may be an airbag at one end close to the vehicle multimedia device, or may be an airbag at one end far from the vehicle multimedia device. The third airbag and the fourth airbag may be any two airbags arranged at opposite positions on the mattress. The arrangement positions of the third airbag and the fourth airbag may be independent of the vehicle multimedia device, and are not specifically limited.
[0097] After executing the aforementioned step 420 and detecting that the moving state of the car is the stopped state, the mattress may further execute the following steps:
[0098] The mattress can detect altitude.
[0099] And, in response to the inflation command, embodiments of inflating air cells of the mattress may include:
[0100] In response to the inflation instruction, it is determined whether the detected altitude is a height threshold. The altitude threshold can be set according to the altitude corresponding to the plateau, for example, 1000 meters; or according to the altitude that is likely to cause altitude sickness, for example, 3000 meters.
[0101] If the altitude is higher than the altitude threshold, the mattress may inflate the third airbag according to the third inflation amount, and inflate the fourth airbag according to the fourth inflation amount, wherein the third inflation amount may be greater than the fourth inflation amount.
[0102] If the altitude is lower than or equal to the altitude threshold, the mattress may inflate the third airbag and the fourth airbag according to the same inflation amount.
[0103] That is to say, when the mattress detects that the altitude is too high and is likely to cause altitude sickness, more air can be pumped into the third airbag at one end of the mattress and less air can be pumped into the fourth airbag at the other end, so that one end of the mattress is high and the other end is low. When using the mattress, the user can put the head in the high position corresponding to the third airbag and the feet in the low position corresponding to the fourth airbag, thus forming a high pillow position, which is helpful to alleviate the headache symptoms caused by altitude sickness.
[0104] For example, a user takes a mattress and drives to a plateau area. If he or she feels uncomfortable due to altitude sickness, he or she can stop the car and lay the mattress in the car. The mattress can automatically detect the current altitude. When it is determined that the current altitude is too high, different volumes of gas can be filled into different air bags, so that the mattress automatically forms a high pillow position, which is helpful to alleviate the headache symptoms caused by altitude sickness.
[0105] See also Figure 5 , Figure 5 It is a structural schematic diagram of an inflation control device for a mattress disclosed in an embodiment of the present application. Figure 5 The inflation control device shown can be applied to any of the aforementioned mattresses, and can be a controller built into the mattress, or can be applied to a remote controller of the mattress, etc., without specific limitation. Figure 5 As shown, the inflation control device 500 may include: a first detection module 510 and a control module 520 .
[0106] A first detection module 510 is used to detect an inflation instruction; and when an inflation instruction is detected, detect the motion state of the vehicle;
[0107] The control module 520 is used to inflate the airbag of the mattress in response to the inflation instruction when the motion state is the stop state; or
[0108] The control module 520 is further configured to refuse to respond to the inflation instruction when the motion state is a moving state.
[0109] In one embodiment, the inflation control device 500 may further include: an identification module;
[0110] An identification module, used to identify the type of the vehicle;
[0111] The first detection module 510 is further configured to, after the identification module identifies that the type of the vehicle is a car, execute the operation of obtaining the motion state of the vehicle when the inflation instruction is detected; or
[0112] 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 type of the vehicle is not a car and the first detection module detects the inflation instruction.
[0113] In one embodiment, the mattress may further include an air pressure sensor; the inflation control device 500 may further include:
[0114] an airbag detection module, configured to detect the inflation state of the airbag through the air pressure sensor after the control module 520 refuses to respond to the inflation instruction based on the moving state of the vehicle;
[0115] The control module 520 is further configured to deflate the airbag when the airbag is in an inflated state.
[0116] Optionally, an airbag detection module can be used to obtain the air pressure value inside the airbag detected by the air pressure sensor, and determine whether the air pressure value inside the airbag is higher than the air pressure threshold; and, when the air pressure value inside the airbag is higher than the air pressure threshold, it can be determined that the airbag is in an inflated state; when the air pressure value inside the airbag is lower than or equal to the air pressure threshold, it can be determined that the airbag is in an uninflated state.
[0117] The airbag detection module can also be used to detect the altitude before determining whether the air pressure value inside the airbag is higher than the air pressure threshold, and determine the air pressure threshold according to the altitude. The air pressure threshold may be negatively correlated with the detected altitude.
[0118] In one embodiment, the identification module identifies that the type of the vehicle is a car, and the first detection module 510 detects that the motion state is a stop state;
[0119] The automobile includes an in-vehicle multimedia device, and the in-vehicle multimedia device includes an in-vehicle screen; the mattress includes at least: a first airbag and a second airbag; the first airbag is arranged at an end of the mattress away from the in-vehicle screen, and the second airbag is arranged at an end of the mattress close to the in-vehicle screen;
[0120] The inflation control device 500 may further include: a second detection module;
[0121] A second detection module is used to detect multimedia content played by the vehicle-mounted multimedia device of the vehicle;
[0122] The control module 520 is also used to respond to the inflation instruction and determine the inflation amounts corresponding to the first airbag and the second airbag respectively according to the type of the multimedia content; and to inflate the first airbag and the second airbag according to the inflation amounts corresponding to the first airbag and the second airbag respectively.
[0123] Optionally, the second detection module may include: a microphone and a communication module.
[0124] A microphone can be used to collect multimedia content played by the in-vehicle multimedia device as an audio signal;
[0125] The communication module can be used to send the audio signal to the background server of the mattress for processing; the background server can perform semantic recognition on the received audio signal, identify the sentence in the audio signal, search for the sentence in the database, and determine the type of multimedia content based on the search results.
[0126] The communication module can also be used to receive the type of multimedia content returned by the background server.
[0127] In one embodiment, the control module 520 is further configured to determine, when the type of the multimedia content is video content, that the first airbag corresponds to a first inflation amount, and the second airbag corresponds to a second inflation amount; and the first inflation amount is higher than the second inflation amount;
[0128] In one embodiment, the control module 520 is further configured to determine that the first airbag and the second airbag correspond to the same inflation amount when the type of the multimedia content is audio content.
[0129] In one embodiment, the mattress at least comprises: a third air bag and a fourth air bag, and the third air bag and the fourth air bag are respectively arranged at two ends of the mattress. The inflation control device 500 may comprise: a height detection module.
[0130] The altitude detection module can be used to detect the altitude.
[0131] The control module 520 is further configured to determine, in response to the inflation instruction, whether the detected altitude is a height threshold;
[0132] The control module 520 is further configured to, when it is determined that the altitude is higher than the altitude threshold, inflate the third airbag according to the third inflation amount, and inflate the fourth airbag according to the fourth inflation amount. The third inflation amount may be greater than the fourth inflation amount. Alternatively, when it is determined that the altitude is lower than or equal to the altitude threshold, inflate the third airbag and the fourth airbag according to the same inflation amount.
[0133] It can be seen that the inflation control device of the mattress disclosed in the aforementioned embodiment can determine whether the mattress needs to be inflated according to the motion state of the vehicle. Among them, it is prohibited to refuse to respond to the inflation command and to inflate the airbag when the vehicle is in a moving state. The comfort of the mattress is reduced in the uninflated state, which can avoid users from continuing to use the uninflated mattress to a certain extent, thereby improving safety. Alternatively, when it is determined that the use environment of the mattress is safe (the vehicle is in a stopped state), the mattress is inflated, which does not affect the user's use of the mattress in a safe environment, and improves the safety of the mattress while also improving the flexibility of the mattress.
[0134] See also Figure 6 , Figure 6 Schematic diagram of the structure of a mattress disclosed in the embodiment of the present application. Figure 6 As shown, the mattress may include:
[0135] A memory 610 storing executable program code;
[0136] a processor 620 coupled to the memory 610;
[0137] The processor 620 calls the executable program code stored in the memory 610 to execute any one of the mattress inflation control methods disclosed in the embodiments of the present application.
[0138] The embodiment of the present application discloses a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements any one of the mattress inflation control methods disclosed in the embodiment of the present application.
[0139] The embodiment of the present application discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute any one of the mattress inflation control methods disclosed in the embodiment of the present application.
[0140] It should be understood that the "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. Those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required for the present application.
[0141] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the above-mentioned processes does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0142] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0143] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0144] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-accessible memory. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several requests for a computer device (which can be a personal computer, a server or a network device, etc., specifically a processor in a computer device) to perform some or all of the steps of the above-mentioned methods of various embodiments of the present application.
[0145] Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0146] The above is a detailed introduction to the inflation control method, device, mattress and storage medium of a mattress disclosed in the embodiment of the present application. The principle and implementation method of the present application are explained in detail using specific examples. The description of the above embodiments is only used to help understand the method and core idea of the present application. At the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as limiting the present application.
Claims
1. A mattress inflation control method, characterized in that: The mattress is placed in a vehicle; the method comprises: identifying the type of vehicle; If the type of the vehicle is a car, executing the step of detecting the motion state of the vehicle when an inflation instruction is detected; If the type of the vehicle is non-car, when the inflation instruction is detected, inflating the airbag of the mattress in response to the inflation instruction; When an inflation instruction is detected, detecting a motion state of the vehicle; If the motion state is a stop state, inflating the airbag of the mattress in response to the inflation instruction; If the motion state is a moving state, then the inflation instruction is rejected.
2. The method according to claim 1, characterized in that The mattress includes an air pressure sensor; the type of the vehicle is a car, and the motion state is a moving state. After the refusal to respond to the inflation instruction, the method further includes: detecting the inflation state of the airbag by means of the air pressure sensor; If the inflation state of the airbag is the inflated state, the airbag is deflated.
3. The method according to claim 1, characterized in that The type of the transportation tool is a car, and the motion state is a stop state; the car includes an in-vehicle multimedia device, and the in-vehicle multimedia device includes an in-vehicle screen; The mattress at least comprises: a first airbag and a second airbag; the first airbag is arranged at an end of the mattress away from the vehicle-mounted screen, and the second airbag is arranged at an end of the mattress close to the vehicle-mounted screen; Furthermore, before inflating the airbag in response to the inflation instruction, the method further includes: Detecting multimedia content played by an in-vehicle multimedia device of the automobile; And, in response to the inflation instruction, inflating the airbag comprises: In response to the inflation instruction, determining inflation amounts of the first airbag and the second airbag respectively corresponding to the type of the multimedia content; The first airbag and the second airbag are inflated according to the inflation amounts corresponding to the first airbag and the second airbag respectively.
4. The method according to claim 3, characterized in that: The determining, according to the type of the multimedia content, respectively corresponding inflation amounts of the first airbag and the second airbag includes: If the type of the multimedia content is video content, the first airbag corresponds to a first inflation amount, and the second airbag corresponds to a second inflation amount; the first inflation amount is higher than the second inflation amount; If the type of the multimedia content is audio content, the first airbag and the second airbag correspond to the same inflation amount respectively.
5. A mattress inflation control device, characterized in that: The mattress is placed in a vehicle; the device comprises: An identification module, used to identify the type of the vehicle; A first detection module, configured to detect the motion state of the vehicle when an inflation instruction is detected after the identification module identifies that the vehicle type is a car; a control module, configured to inflate the airbag of the mattress in response to the inflation instruction after the identification module identifies that the type of the vehicle is not a car and the first detection module detects the inflation instruction; The first detection module is further used to detect an inflation instruction; and when the inflation instruction is detected, detect the motion state of the vehicle; The control module is further configured to inflate the airbag of the mattress in response to the inflation instruction when the motion state is the stop state; When the motion state is a moving state, the inflation instruction is refused to be responded.
6. The device according to claim 5, characterized in that: The identification module identifies that the type of the vehicle is a car, and the first detection module detects that the motion state is a stop state; the car includes an in-vehicle multimedia device, and the in-vehicle multimedia device includes an in-vehicle screen; The mattress at least comprises: a first airbag and a second airbag; the first airbag is arranged at an end of the mattress away from the vehicle-mounted screen, and the second airbag is arranged at an end of the mattress close to the vehicle-mounted screen; the device further comprises: A second detection module is used to detect multimedia content played by the vehicle-mounted multimedia device of the vehicle; The control module is also used to respond to the inflation instruction and determine the inflation amounts corresponding to the first airbag and the second airbag respectively according to the type of the multimedia content; and to inflate the first airbag and the second airbag according to the inflation amounts corresponding to the first airbag and the second airbag respectively.
7. A mattress, characterized in that: The method 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 implements the steps of the method according to any one of claims 1 to 4.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
