An interactive method and related products based on an electric bed

By dividing the electric bed into multiple supporting parts and using detection and control units, the problem of low intelligence in the existing electric bed is solved, the interaction between the electric bed and the game is realized, and the degree of intelligence is improved.

CN115657489BActive Publication Date: 2025-05-27DONGGUAN DERUCCI BEDDING CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211305093.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-24
Publication Date
2025-05-27
Estimated Expiration
2042-10-24

AI Technical Summary

Technical Problem

The existing electric beds are less intelligent and cannot effectively utilize the pressure exerted by users to interact with different body parts.

Method used

By dividing the electric bed into several supporting parts, each supporting part is associated with operation instructions, and the pressure value of each supporting part is detected by the detection unit. The instruction unit determines the target command input into the game, and the control unit controls the virtual image in the game.

Benefits of technology

The electric bed is realized to interact with the game according to the pressure exerted by the user on different support parts, without the need for additional gaming equipment, and the intelligent degree of the electric bed is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115657489B_ABST
    Figure CN115657489B_ABST
Patent Text Reader

Abstract

Embodiments of the present application relate to the technical field of smart home, and disclose an interaction method and related products based on an electric bed, characterized in that: the electric bed detects the pressure value received by each of several supported parts divided; the electric bed determines a target instruction input into the game according to the pressure value received by each supported part and the operation instruction associated with each supported part; the electric bed controls a virtual image in the game according to the target instruction. Implementing the embodiments of the present application enables the electric bed to interact with the game according to the pressure applied by the user to different supported parts, without additional game devices, and improves the intelligence level of the electric bed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of smart home, and particularly relates to a method and related products based on an electric bed. Background Art

[0002] An electric bed is designed according to human sleep habits and can adjust the angle of the bed frame at will to adapt to the bending angles of various parts of the human body.

[0003] Existing electric beds generally can adjust the height of the bed frame where the user's head or legs are located, so as to relieve the pressure on the head or legs and promote blood circulation in the user's head and legs. Some electric beds can also massage different parts of the user's body to help the user relax and fall asleep better. Generally speaking, the degree of intelligence of existing electric beds is still low. Summary of the Invention

[0004] An embodiment of this application discloses an interaction method and related products based on an electric bed, which can at least improve the degree of intelligence of the electric bed.

[0005] A first aspect of an embodiment of this application discloses an interaction method based on an electric bed. The electric bed is divided into several support parts, and each support part is associated with an operation instruction, and the operation instructions associated with any two support parts are different. The method includes:

[0006] The electric bed detects the pressure value received by each of the several support parts;

[0007] The electric bed determines a target instruction input into the game according to the pressure value received by each support part and the operation instruction associated with each support part;

[0008] The electric bed controls the virtual image in the game according to the target instruction.

[0009] A second aspect of an embodiment of this application discloses an electric bed. The electric bed is divided into several support parts, and each support part is associated with an operation instruction, and the operation instructions associated with any two support parts are different. The electric bed includes:

[0010] A detection unit, configured to detect the pressure value received by each of the several support parts;

[0011] An instruction unit, configured to determine a target instruction input into the game according to the pressure value received by each support part and the operation instruction associated with each support part;

[0012] A control unit, configured to control the virtual image in the game according to the target instruction.

[0013] In the third aspect of the embodiments of the present application, another electric bed is disclosed. The electric bed is divided into several support parts, and each support part is associated with an operation instruction. The operation instructions associated with any two support parts are different. The electric bed includes:

[0014] A memory storing executable program code;

[0015] A processor coupled to the memory;

[0016] The processor calls the executable program code stored in the memory and executes the following steps:

[0017] Detect the pressure value received by each of the several support parts;

[0018] Determine the target instruction input into the game according to the pressure value received by each support part and the operation instruction associated with each support part;

[0019] Control the virtual image in the game according to the target instruction.

[0020] In the fourth aspect of the embodiments of the present application, a computer-readable storage medium is disclosed, on which a computer program is stored. When the computer program is executed by a processor, the steps in the interactive method based on the electric bed disclosed in the first aspect of the embodiments of the present application are implemented.

[0021] Compared with the prior art, the embodiments of the present application have the following beneficial effects:

[0022] In the embodiments of the present application, the electric bed can detect the pressure value received by each of the several support parts on the electric bed, and determine the target instruction input into the game according to the pressure value received by each support part and the associated operation instruction. Subsequently, the virtual image in the game is controlled according to the target instruction, so that the electric bed can interact with the game according to the pressure applied by the user on different support parts, without additional game devices, improving the intelligence level of the electric bed. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required to be used in the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0024] Figure 1 It is a schematic flowchart of an interactive method based on an electric bed disclosed in the embodiments of the present application;

[0025] Figure 2 It is a schematic diagram of an electric bed disclosed in an embodiment of the present application divided into several support parts;

[0026] Figure 3 It is a schematic flowchart of another interaction method based on an electric bed disclosed in an embodiment of the present application;

[0027] Figure 4 It is a schematic structural diagram of the first embodiment of the electric bed disclosed in an embodiment of the present application;

[0028] Figure 5 It is a schematic structural diagram of the second embodiment of the electric bed disclosed in an embodiment of the present application. Specific embodiments

[0029] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0030] It should be noted that the terms "include" and "have" in the embodiments of the present application and any of their deformations are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device including a series of steps or units does not necessarily limit to those clearly listed steps or units, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0031] The embodiments of the present application disclose an interaction method and related products based on an electric bed, which can at least improve the intelligence level of the electric bed. The following will be described in detail in conjunction with the accompanying drawings.

[0032] Please refer to Figures 1 to 2 , Figure 1 It is a schematic flowchart of an interaction method based on an electric bed disclosed in an embodiment of the present application, Figure 2 It is a schematic diagram of an electric bed disclosed in an embodiment of the present application divided into several support parts. As Figure 2 shown, in the embodiment of the present application, the electric bed is divided into several support parts (such as support part 1 - support part 3), and each support part is associated with an operation instruction, and the operation instructions associated with any two support parts are different. It can be understood that the positions of the several support parts on the electric bed are fixed. As Figure 1 shown, the interaction method based on the electric bed may include the following steps:

[0033] 110. The electric bed detects the pressure value received by each of the several support parts.

[0034] In an embodiment of the present application, multiple games can be stored in the electric bed, or multiple games can be stored in the terminal device. After receiving an interaction instruction input by the user, the electric bed can select a target game from the multiple stored games, or load a target game from the multiple games stored in the terminal device, and start the target game. Then, the electric bed can continuously detect the pressure values received by several divided support parts. Among them, the electric bed can perform detection in units of a certain time. For example, the electric bed detects the pressure values received by each support part of the electric bed within one second, and determines the current control of the virtual image in the game based on the pressure values received by these support parts. After determination, it continues to detect the pressure values received by each support part of the electric bed within the next second, and continuously loops until the game interaction ends.

[0035] 120. The electric bed determines a target instruction input into the game according to the pressure value received by each support part and the operation instruction associated with each support part.

[0036] In an embodiment of the present application, the electric bed determines the target instruction input into the game according to the detected pressure value received by each support part and the operation instruction associated with each support part. Exemplarily, the game that the current user is interacting with is a racing game. The electric bed can be divided into three support parts, specifically, the support part where the user's head is located, that is, the head support part; the support part where the user's torso is located, that is, the torso support part; and the support part where the user's legs are located, that is, the leg support part. Among them, the operation instruction associated with the head support part is the forward operation instruction in the racing game, the operation instruction associated with the torso support part is the turning operation instruction in the racing game, and the operation instruction associated with the leg support part is the deceleration operation instruction in the racing game. At this time, the electric bed detects that the pressures received by the head support part, the torso support part, and the leg support part are 1N, 10N, and 0N respectively. Each pressure value received by each support part corresponds to an operation value, that is, the pressure value received by the head support part corresponds to a speed value of a speed, the pressure value received by the torso support part corresponds to an angle value of a turn, and the pressure value received by the leg support part corresponds to a deceleration value of a deceleration. Therefore, based on the pressures received by the head support part and the torso support part, and the forward operation instruction associated with the head support part and the turning operation instruction associated with the torso support part, the electric bed can determine that the target instruction input into the game is to move forward at the speed value corresponding to 1N and turn at the angle corresponding to 10N.

[0037] 130. The electric bed controls the virtual image in the game according to the target instruction.

[0038] Exemplarily, the virtual image in the game is a car. The electric bed controls the car in the game to move forward at a speed value corresponding to 1N and turn at an angle corresponding to 10N according to the determined target instruction input into the game, so as to control the virtual image in the game according to the target instruction.

[0039] By adopting the above embodiment, it is possible to realize the interaction between the electric bed and the game according to the pressure applied by the user to different support parts, without additional game devices, and improve the intelligence level of the electric bed.

[0040] In some embodiments, the process of the electric bed determining the target instruction input into the game according to the pressure value received by each support part and the operation instruction associated with each support part in step 120 may include the following steps:

[0041] The electric bed determines, from several support parts, a first target support part whose received pressure value is greater than the first pressure value according to the pressure value received by each support part;

[0042] The electric bed determines the operation instruction associated with the first target support part as the target instruction input into the game.

[0043] In the embodiment of the present application, after the electric bed detects the pressure value received by each support part on the electric bed, it may first compare the pressure value received by each support part with a preset first pressure value respectively, and then determine, from several support parts, the support part whose received pressure value is greater than the first pressure value. The one or more support parts are the first target support parts.

[0044] The electric bed determines the operation instruction associated with each determined first target support part as the target instruction input into the game. Among them, if there are more than one operation instructions associated with the first target support part, the operation instructions associated with each first target support part are combined into one instruction, and this instruction is the target instruction input into the game. Exemplarily, the current game that the user interacts with is a racing game. The electric bed is divided into a head support part, a torso support part, and a leg support part. Among them, the head support part is associated with the forward operation instruction in the racing game, the torso support part is associated with the turning operation instruction in the racing game, and the leg support part is associated with the deceleration operation instruction in the racing game. At this time, the electric bed detects that the pressures received by the head support part, the torso support part, and the leg support part are 1N, 10N, and 0N respectively. The preset first pressure value is 5N, so the first target support part is the torso support part. The electric bed directly determines the turning operation instruction associated with the torso support part as the target instruction.

[0045] The target instruction is used to control the virtual character in the game to move forward. The electric bed executes the control of the virtual character in the game according to the target instruction in step 130, which may include the following steps:

[0046] The electric bed determines the speed corresponding to the pressure value received by the first target support part according to the target instruction;

[0047] The electric bed controls the virtual character in the game to move forward at the speed corresponding to the pressure value received by the first target support part;

[0048] Alternatively, the target instruction is used to control the virtual character in the game to turn; the electric bed executes the control of the virtual character in the game according to the target instruction in step 130, which may include the following steps:

[0049] The electric bed determines the rotation angle corresponding to the pressure value received by the first target support part according to the target instruction;

[0050] The electric bed controls the virtual character in the game to turn at the rotation angle corresponding to the pressure value received by the first target support part;

[0051] Alternatively, the target instruction is used to control the virtual character in the game to decelerate; the electric bed executes the control of the virtual character in the game according to the target instruction in step 130, which may include the following steps:

[0052] The electric bed determines the deceleration corresponding to the pressure value received by the first target support part according to the target instruction;

[0053] The electric bed controls the virtual character in the game to decelerate at the deceleration corresponding to the pressure value received by the first target support part.

[0054] In the embodiments of the present application, according to the different operation instructions associated with the first target support part, the ways in which the determined target instruction is used to control the virtual character in the game are also different. Exemplarily, the head support part is associated with the forward operation instruction in the racing game, the torso support part is associated with the turning operation instruction in the racing game, and the leg support part is associated with the deceleration operation instruction in the racing game. That is to say, if the first target support part is the head support part, then the target instruction determined according to the forward operation instruction associated with the head support part is used to control the virtual character in the game to move forward; if the first target support part is the torso support part, then the target instruction determined according to the turning operation instruction associated with the torso support part is used to control the virtual character in the game to turn; if the first target support part is the leg support part, then the target instruction determined according to the deceleration operation instruction associated with the leg support part is used to control the virtual character in the game to decelerate.

[0055] If the determined target instruction is used to control the virtual character in the game to move forward, the pressure value detected by the head support part of the electric bed can correspond to a speed value. For example, a pressure value of 5N corresponds to a speed value of 50 km / h. At this time, the electric bed can control the car in the game to move forward at a speed value of 50 km / h. Among them, the greater the pressure value detected by the head support part, the greater the corresponding speed value. If the determined target instruction is used to control the virtual character in the game to turn, the pressure value detected by the torso support part of the electric bed can correspond to an angle value. For example, a pressure value of 5N corresponds to an angle value of 45 degrees. At this time, the electric bed can control the car in the game to turn at an angle value of 45 degrees. Among them, the greater the pressure value detected by the torso support part, the greater the corresponding angle value. If the determined target instruction is used to control the virtual character in the game to decelerate, the pressure value detected by the leg support part of the electric bed can correspond to a deceleration value. For example, a pressure value of 5N corresponds to a deceleration value of 10 m / s². At this time, the electric bed can control the car in the game to decelerate at a deceleration value of 10 m / s². Among them, the greater the pressure value detected by the leg support part, the greater the corresponding deceleration value.

[0056] By adopting the above embodiment, the support part with a pressure value greater than a certain value is selected as the first target support part, so as to determine the target instruction and perform control interaction on the virtual character in the game, avoiding misoperation caused by the user unconsciously squeezing other support parts when performing a single operation. And the target instruction can be used to perform operations such as moving forward, turning, and decelerating on the virtual character in the game, and can interact with most games, further improving the intelligence level of the electric bed.

[0057] In one embodiment, please refer to Figure 3 , Figure 3 is a schematic flowchart of another interaction method based on an electric bed disclosed in the embodiments of the present application. The electric bed is divided into several support parts, and each support part is associated with an operation instruction. The operation instructions associated with any two support parts are different. The electric bed is communicatively connected to several smart homes. Each of the several support parts includes an interaction area and a control area, and the control area is associated with one of the several smart homes. As Figure 3 shown, the method may include the following steps:

[0058] 310. The electric bed receives an interaction instruction, determines the user's head support part and the user's leg support part from several support parts according to the interaction instruction, raises the user's head support part, and lowers the user's leg support part.

[0059] In an embodiment of the present application, a user can input an interaction instruction to an electric bed. The electric bed can select a game to interact with according to the interaction instruction input by the user. After receiving the interaction instruction, the electric bed can also enter a game mode. In the game mode, the electric bed can automatically adjust the height of one or more support parts so that each support part is adjusted to a height most suitable for the user to interact. The interaction instruction needs to at least indicate the adjustment of the user's head support part and the user's leg support part. That is to say, the interaction instruction may include an identifier corresponding to the user's head support part and an identifier corresponding to the user's leg support part. The electric bed uniquely determines the user's head support part and the user's leg support part according to each identifier in the interaction instruction, raises the user's head support part, and lowers the user's leg support part, so that the electric bed is adjusted to a shape similar to a seat.

[0060] 320. The electric bed loads the game into the first target smart home.

[0061] In an embodiment of the present application, the electric bed can read the game selected by the user from multiple games stored in itself, or can load the game selected by the user from multiple games stored in the terminal device. After the electric bed obtains the game to interact with the user, the electric bed can also load the obtained game into the first target smart home, so that the first target smart home can obtain the game to interact with the user, and thus can better display the virtual image of the game in real time and play the audio of the game according to the game content.

[0062] 330. The electric bed sends the interaction instruction to the first target smart home to control the first target smart home to display the virtual image in the game and play the audio of the game; the first target smart home is part or all of several smart homes.

[0063] In an embodiment of the present application, after the electric bed adjusts the user's head support part and the user's leg support part respectively according to the interaction instruction, the electric bed can also send the interaction instruction to the first target smart home. The first target smart home displays the virtual image in the loaded game according to the interaction instruction and can also play the audio of the game. Among them, the first target smart home can be a smart home including a display component and an audio playback component, such as a TV, a computer, etc., or can be a combination of a smart home for display and a smart home for audio playback, such as a projector and a speaker.

[0064] 340. The electric bed detects the pressure value received by the interaction area in each of several support parts.

[0065] In the embodiment of the present application, each of several support parts in the electric bed may include an interaction area and a control area. During the interaction between the user and the game, the electric bed continuously detects the pressure value received by the interaction area in each support part. Among them, the electric bed can perform detection in units of a certain time. For example, the electric bed detects the pressure value received by the interaction area of each support part of the electric bed within one second, and determines the current control of the virtual image in the game based on the pressure values received by the interaction areas of these support parts. After determination, it continues to detect the pressure value received by the interaction area of each support part of the electric bed within the next second, and continuously loops until the game interaction ends.

[0066] In the embodiment of the present application, the interaction area of each of several support parts is the area that is usually squeezed during the user's interaction, such as the middle area of the head support part; the control area of each of several support parts is the area that is difficult to be squeezed during the user's interaction, such as the side area of the head support part.

[0067] In some embodiments, if the pressure value received by the interaction area of a certain support part is greater than the third pressure value, the electric bed controls the interaction area of a certain support part to vibrate to give a prompt to the user.

[0068] In the embodiment of the present application, if the electric bed detects that the pressure value received by the interaction area of a certain support part of the user is too large, it reminds the user that the current force applied to the interaction area of this support part is excessive by controlling the interaction area of this support part to vibrate. Among them, the electric bed can achieve vibration by slightly adjusting the height of this support part, or there may be a massager provided on the interaction area of each support part. The electric bed can achieve vibration by starting the massager provided on the interaction area of this support part. No specific limitation is made here.

[0069] By adopting the above embodiment, it is possible to give a reminder when the user uses excessive force during the interaction, avoid physical discomfort caused by the user's excessive force, and further improve the intelligence level of the electric bed.

[0070] 350. The electric bed determines a second target support part whose pressure value received by the interaction area is greater than the first pressure value from several support parts according to the pressure value received by the interaction area in each support part.

[0071] In an embodiment of the present application, the electric bed determines the magnitude relationship between the pressure value received by the interaction area of each detected support part and a preset first pressure value, where the first pressure value is the same as the first pressure value in the above embodiment. The target interaction areas where the received pressure value is greater than the preset first pressure value are determined, and the support parts where these target interaction areas are located are the second target support parts.

[0072] 360. The electric bed determines the operation instruction associated with the second target support part as the target instruction input into the game.

[0073] In an embodiment of the present application, the electric bed directly determines the operation instruction associated with each second target support part as the target instruction input into the game. Exemplarily, the game that the current user is interacting with is a racing game. The electric bed can be divided into three support parts, specifically the support part where the user's head is located, i.e., the head support part; the support part where the user's torso is located, i.e., the torso support part; and the support part where the user's legs are located, i.e., the leg support part. Among them, the operation instruction associated with the head support part is the forward operation instruction in the racing game, the operation instruction associated with the torso support part is the turning operation instruction in the racing game, and the operation instruction associated with the leg support part is the deceleration operation instruction in the racing game. At this time, the pressures received by the interaction area of the head support part, the interaction area of the torso support part, and the driving area of the leg support part detected by the electric bed are 1N, 9N, and 0N respectively, and the preset first pressure value is 5N. Therefore, the interaction areas greater than 5N are the target interaction areas. Here, the target interaction area is the interaction area of the torso support part, and the support part where the target interaction area is located is the second target support part. Therefore, the second target support part here is the torso support part. The electric bed directly determines the turning operation instruction associated with the torso support part as the target instruction input into the game, i.e., the turning operation instruction. Moreover, the pressure value received by the interaction area of each support part can correspond to an operation value, that is, the pressure value received by the interaction area of the head support part corresponds to a speed value of a speed, the pressure value received by the interaction area of the torso support part corresponds to an angle value of a turn, and the pressure value received by the interaction area of the leg support part corresponds to a deceleration value of a deceleration. Therefore, the target instruction input into the game determined by the electric bed above can more specifically be a turning operation instruction that turns at an angle corresponding to 9N.

[0074] 370. The electric bed controls the virtual image in the game displayed on the first target smart home according to the target instruction.

[0075] In the embodiments of the present application, the first target smart home device displays a virtual image in the loaded game, and after determining the target instruction, the electric bed controls the virtual image in the game displayed by the first target smart home device according to the determined target instruction. Exemplarily, the electric bed performs a turning control on the car displayed on the TV to turn at an angle corresponding to 9N.

[0076] By adopting the above embodiments, the electric bed can adjust the user's head support part and the user's leg support part before the interaction starts, and control the first target smart home device to display the virtual image of the game and play the game audio, thereby improving the comfort of the user's interaction on the electric bed, and better outputting the game in combination with the first target smart home device, further improving the intelligence level of the electric bed.

[0077] In some embodiments, a heart rate detector and a humidity detector are further provided on the electric bed; after the electric bed controls the virtual image in the game displayed by the first target smart home device according to the target instruction, the following steps can be further executed:

[0078] The electric bed detects the user's heart rate and the humidity of each support part of several support parts.

[0079] If the user's heart rate is greater than the heart rate threshold, or the humidity of any support part is greater than the humidity threshold, the electric bed pauses the detection of the pressure value received by the interaction area in each support part of several support parts, and stops controlling the first target smart home device to display the virtual image in the game, and stops controlling the first target smart home device to play the game audio.

[0080] In the embodiments of the present application, the heart rate detector on the electric bed can be arranged on the support part where the user's torso is located, the humidity detector can be arranged on the support part where the user's torso is located, and the support part where the user's leg is located. The electric bed can detect the user's heart rate and the humidity of the area where the user contacts each support part in real time. When it detects that the user's state of mind is greater than the preset heart rate threshold, or the humidity of any support part is greater than the humidity threshold, the electric bed stops the interaction process between the user and the game. Specifically, it can stop detecting the pressure value received by each support part, and stop displaying the virtual image in the game and playing the game audio until it detects that the user's heart rate is less than the heart rate threshold, and the humidity of each support part in several support parts is less than the humidity threshold. At this time, the electric bed resumes the continuous detection of the pressure value received by each support part, and controls the first target smart home device to display the virtual image in the game and play the game audio.

[0081] By adopting the above embodiments, when the user, especially a child, gets too excited during the interaction process, resulting in too high a heart rate or excessive sweating, the interaction process can be stopped until the user calms down and then the interaction process can continue, which can improve the safety of the interaction process. Detecting humidity can also stop the interaction process when the user spills water or drinks on the electric bed, further improving the intelligence level of the electric bed.

[0082] In some embodiments, the electric bed further includes a plurality of massagers, and at least one massager is disposed on the interaction area in each of the support parts of several support parts. After the electric bed determines a second target support part whose interaction area receives a pressure value greater than a first pressure value from several support parts according to the pressure value received by the interaction area in each support part, the following steps can also be executed:

[0083] If a certain support part is the second target support part, the electric bed records the input times corresponding to the certain support part once.

[0084] After the electric bed controls the virtual image in the game displayed on the first target smart home according to each target instruction until the interaction process ends, the following steps can also be executed:

[0085] Count the input times corresponding to each of the several support parts.

[0086] If the input times corresponding to a certain support part are greater than a preset times threshold, the electric bed determines the massage duration according to the input times corresponding to the certain support part, starts the massager disposed on the interaction area of the certain support part, and controls the massager to run for the determined massage duration.

[0087] In an embodiment of the present application, after the electric bed determines the second target support part once according to the pressure value received by the interaction area in each support part of several support parts, the input times corresponding to the determined support part can be recorded once, that is, the input times are incremented by one. After the interaction process ends, the electric bed can count the input times corresponding to each support area. If the input times corresponding to a support part are greater than a preset times threshold, then the electric bed can determine a massage duration according to the input times corresponding to the support part, and activate the massager provided on the support part to control the massager to massage the user, and the massage process lasts for the determined massage duration. Exemplarily, the input times corresponding to the head support part on the electric bed are 10 times, the input times corresponding to the torso support part are 20 times, the input times corresponding to the leg support part are 3 times, and the preset times threshold is 5 times. The electric bed can determine the massage duration of the head support part and the massage duration of the torso support part according to the input times corresponding to the head support part and the input times corresponding to the torso support part respectively. Here, one time corresponds to a one-minute massage duration. Therefore, the electric bed activates the massagers provided in the interaction areas of the head support part and the torso support part respectively, and controls the massager provided in the interaction area of the head support part to massage the user's head for 10 minutes, and controls the massager provided in the interaction area of the torso support part to massage the user's torso for 20 minutes.

[0088] By adopting the above embodiment, it is possible to realize massaging the body parts that the user uses more during the interaction after the interaction ends. The massage duration is determined according to the usage times of the user during the interaction process, which improves the user experience after the interaction ends and further improves the intelligence level of the electric bed.

[0089] 380. The electric bed detects that the control area of any support part receives a pressure value greater than the second pressure value, and controls the smart home associated with the control area of any support part.

[0090] In an embodiment of the present application, while the electric bed can detect the pressure value received by the interaction area of each of several support parts, it can also detect the pressure value received by the control area of each of the several support parts. Each time the pressure value received by the control area of any support part is detected (that is, the pressure value is greater than 0), the electric bed can compare the detected pressure value received by the control area of this support part with a preset second pressure value. If the pressure value received by the control area of this support part is greater than the second pressure value, then the electric bed controls the smart home associated with this support part. Exemplarily, if the electric bed detects that the pressure value received by the control area of the head support part is 20N, the second pressure value is 10N, and the smart home associated with the head support part is a smart door, then the electric bed can control the smart door. Specifically, when the smart door is open, it can be controlled to close, and when the smart door is closed, it can be controlled to open.

[0091] By adopting the above embodiment, each of several support parts can be divided into an interaction area and a control area, so that while interacting through the interaction area, the associated smart home can also be controlled through the control area, avoiding the need to get out of bed to control other smart homes during the interaction process, and further improving the intelligence level of the electric bed.

[0092] Please refer to Figure 4 , Figure 4 which is a schematic structural diagram of the first embodiment of the electric bed disclosed in the embodiment of the present application. In the embodiment of the present application, the electric bed is divided into several support parts, and each support part is associated with an operation instruction, and the operation instructions associated with any two support parts are different. As Figure 4 shown, the electric bed 400 may include: a detection unit 410, an instruction unit 420, and a control unit 430.

[0093] The detection unit 410 is configured to detect the pressure value received by each of several support parts;

[0094] The instruction unit 420 is configured to determine a target instruction input into the game according to the pressure value received by each support part and the operation instruction associated with each support part;

[0095] The control unit 430 is configured to control the virtual character in the game according to the target instruction.

[0096] In some embodiments, the instruction unit 420 is further configured to:

[0097] Determine a first target support part whose received pressure value is greater than the first pressure value from several support parts according to the pressure value received by each support part;

[0098] Determine the operation instruction associated with the first target support part as the target instruction input into the game;

[0099] The target instruction is used to control the virtual character in the game to move forward; the control unit 430 is further configured to:

[0100] According to the target instruction, determine the speed corresponding to the pressure value received by the first target support part;

[0101] Control the virtual character in the game to move forward at the speed corresponding to the pressure value received by the first target support part;

[0102] Alternatively, the target instruction is used to control the virtual character in the game to turn; the control unit 430 is further configured to:

[0103] According to the target instruction, determine the rotation angle corresponding to the pressure value received by the first target support part;

[0104] Control the virtual character in the game to turn at the rotation angle corresponding to the pressure value received by the first target support part;

[0105] Alternatively, the target instruction is used to control the virtual character in the game to decelerate; the control unit 430 is further configured to:

[0106] According to the target instruction, determine the deceleration corresponding to the pressure value received by the first target support part;

[0107] Control the virtual character in the game to decelerate at the deceleration corresponding to the pressure value received by the first target support part.

[0108] Implementing the above embodiments, selecting the support part with a pressure value greater than a certain value as the first target support part, thereby determining the target instruction and controlling and interacting with the virtual character in the game, avoiding misoperations caused by the user unconsciously squeezing other support parts when performing a single operation, and the target instruction can be used to perform operations such as moving forward, turning, and decelerating on the virtual character in the game, and can interact with most games, further improving the intelligence level of the electric bed

[0109] In some embodiments, the electric bed is communicatively connected to a plurality of smart homes;

[0110] Figure 4 As shown, the electric bed further includes:

[0111] An adjustment unit 440, configured to receive an interaction instruction before the detection unit 410 detects the pressure value received by each of a plurality of support parts, determine a user head support part and a user leg support part from the plurality of support parts according to the interaction instruction, raise the user head support part, and lower the user leg support part;

[0112] Send the interaction instruction to a first target smart home to control the first target smart home to display a virtual image in the game and play the audio of the game; the first target smart home is part or all of the plurality of smart homes;

[0113] The control unit 430 is further configured to:

[0114] Control the virtual image in the game displayed by the first target smart home according to the target instruction.

[0115] Implementing the above embodiments, the electric bed can adjust the user head support part and the user leg support part before the interaction starts, and control the first target smart home to display the virtual image of the game and play the game audio, thereby improving the comfort of the user during the interaction on the electric bed, and better outputting the game in combination with the first target smart home, further improving the intelligence level of the electric bed.

[0116] In some embodiments, each of the plurality of support parts includes an interaction area and a control area, and the control area is associated with one of the plurality of smart homes;

[0117] The detection unit 410 is further configured to:

[0118] Detect the pressure value received by the interaction area in each of the plurality of support parts;

[0119] The instruction unit 420 is further configured to:

[0120] Determine a second target support part from the plurality of support parts whose pressure value received by the interaction area is greater than a first pressure value according to the pressure value received by the interaction area in each support part;

[0121] Determine the operation instruction associated with the second target support part as the target instruction input into the game;

[0122] Figure 4 As shown, the electric bed further includes:

[0123] The linkage unit 450 is configured to, after the control unit 430 controls the virtual image in the game displayed on the first target smart home according to the target instruction, detect that the control area of any support part is subjected to a pressure value greater than the second pressure value, and control the smart home associated with the control area of any support part.

[0124] Implementing the above embodiments can achieve dividing each of several support parts into an interaction area and a control area, so that while interacting through the interaction area, the smart home associated with the control area can also be controlled, avoiding the need to get out of bed to control other smart homes during the interaction process, and further improving the intelligence level of the electric bed.

[0125] In some embodiments, the adjustment unit 440 is further configured to load the game to the first target smart home after raising the user's head support part and lowering the user's leg support part, and before sending an interaction instruction to the first target smart home to control the first target smart home to display the virtual image in the game.

[0126] Implementing the above embodiments enables the first target smart home to obtain the game that the user wants to interact with, so as to better display the virtual image of the game and play the audio of the game in real time according to the game content.

[0127] In some embodiments, the detection unit 410 is further configured to:

[0128] If the pressure value received by the interaction area of a certain support part is greater than the third pressure value, control the interaction area of a certain support part to vibrate to prompt the user.

[0129] Implementing the above embodiments can achieve reminding the user when exerting excessive force during the interaction process, avoiding physical discomfort caused by the user's excessive force, and further improving the intelligence level of the electric bed.

[0130] In some embodiments, a heart rate detector and a humidity detector are further provided on the electric bed;

[0131] Figure 4 As shown, the electric bed further includes:

[0132] The pause unit 460 is configured to detect the user's heart rate and the humidity of each of several support parts after the control unit 430 controls the virtual image in the game displayed on the first target smart home according to the target instruction;

[0133] If the user's heart rate is greater than the heart rate threshold, or the humidity of any support part is greater than the humidity threshold, the detection of the pressure value received by the interaction area in each of the several support parts is paused, and the control of the first target smart home to display the virtual image in the game is stopped, and further, the control of the first target smart home to play the audio of the game is stopped.

[0134] Implementing the above embodiments can achieve that when the user, especially a child, is too excited during the interaction process, resulting in too high a heart rate or excessive sweating, the interaction process is stopped until the user calms down and then the interaction process continues, which can improve the safety of the interaction process. Detecting humidity can also achieve that when the user spills water or drinks on the electric bed, the interaction process is stopped, further improving the intelligence level of the electric bed.

[0135] In some embodiments, the electric bed further includes a plurality of massagers, and at least one massager is disposed on the interaction area in each of the several support parts.

[0136] The instruction unit 420 is further configured to, after determining a second target support part whose pressure value received by the interaction area is greater than the first pressure value from the several support parts according to the pressure value received by the interaction area in each support part, if a certain support part is the second target support part, record the input times corresponding to the certain support part once;

[0137] The control unit 430 is further configured to, after controlling the virtual image in the game displayed by the first target smart home according to each target instruction until the interaction process ends, count the input times corresponding to each of the several support parts;

[0138] If the input times corresponding to a certain support part are greater than the preset times threshold, determine the massage duration according to the input times corresponding to the certain support part, start the massager disposed on the interaction area of the certain support part, and control the massager to operate for the determined massage duration.

[0139] Implementing the above embodiments can achieve that after the interaction ends, massage is performed on the body parts used more by the user during the interaction process, and the massage duration is determined according to the usage times of the user during the interaction process, improving the user experience after the interaction ends and further improving the intelligence level of the electric bed.

[0140] Please refer to Figure 5 , Figure 5 FIG. is a schematic structural diagram of a second embodiment of the electric bed disclosed in the embodiments of the present application. In the embodiments of the present application, the electric bed is divided into several support parts, and each support part is associated with an operation instruction, and the operation instructions associated with any two support parts are different. As Figure 5 shown, the electric bed 500 includes:

[0141] A memory 510 storing executable program code;

[0142] A processor 520 coupled to the memory;

[0143] Wherein, the processor 520 calls the executable program code stored in the memory 510 and executes the following steps:

[0144] Detect the pressure value received by each of a plurality of support parts;

[0145] Determine a target instruction input into the game according to the pressure value received by each support part and the operation instruction associated with each support part;

[0146] Control the virtual character in the game according to the target instruction.

[0147] In some embodiments, the manner in which the processor 520 determines the target instruction input into the game according to the pressure value received by each support part and the operation instruction associated with each support part is:

[0148] Determine a first target support part whose received pressure value is greater than a first pressure value from a plurality of support parts according to the pressure value received by each support part;

[0149] Determine the operation instruction associated with the first target support part as the target instruction input into the game;

[0150] The target instruction is used to control the virtual character in the game to move forward; the manner in which the processor 520 controls the virtual character in the game according to the target instruction is:

[0151] Determine the speed corresponding to the pressure value received by the first target support part according to the target instruction;

[0152] Control the virtual character in the game to move forward at the speed corresponding to the pressure value received by the first target support part;

[0153] Alternatively, the target instruction is used to control the virtual character in the game to turn; the manner in which the processor 520 controls the virtual character in the game according to the target instruction is:

[0154] Determine the rotation angle corresponding to the pressure value received by the first target support part according to the target instruction;

[0155] Control the virtual character in the game to turn at the rotation angle corresponding to the pressure value received by the first target support part;

[0156] Alternatively, the target instruction is used to control the virtual character in the game to decelerate; the manner in which the processor 520 controls the virtual character in the game according to the target instruction is as follows:

[0157] Determine the deceleration corresponding to the pressure value received by the first target support part according to the target instruction;

[0158] Control the virtual character in the game to decelerate according to the deceleration corresponding to the pressure value received by the first target support part.

[0159] In some embodiments, the electric bed is communicatively connected to a plurality of smart homes;

[0160] Before the processor 520 detects the pressure value received by each of the plurality of support parts, the following steps are further performed:

[0161] Receive an interaction instruction, and determine the user's head support part and the user's leg support part from the plurality of support parts according to the interaction instruction, and raise the user's head support part and lower the user's leg support part;

[0162] Send the interaction instruction to the first target smart home to control the first target smart home to display the virtual character in the game and play the audio of the game; the first target smart home is part or all of the plurality of smart homes;

[0163] The manner in which the processor 520 controls the virtual character in the game according to the target instruction is as follows:

[0164] Control the virtual character in the game displayed by the first target smart home according to the target instruction.

[0165] In some embodiments, each of the plurality of support parts includes an interaction area and a control area, and the control area is associated with one of the plurality of smart homes;

[0166] The manner in which the processor 520 detects the pressure value received by each of the plurality of support parts is as follows:

[0167] Detect the pressure value received by the interaction area in each of the plurality of support parts;

[0168] The manner in which the processor 520 determines the target instruction input into the game according to the pressure value received by each support part and the operation instruction associated with each support part is as follows:

[0169] According to the pressure value received by the interaction area in each support part, determine a second target support part in which the pressure value received by the interaction area is greater than the first pressure value from the plurality of support parts;

[0170] Determine the operation instruction associated with the second target support part as the target instruction input into the game;

[0171] After the processor 520 controls the virtual image in the game displayed on the first target smart home according to the target instruction, the following steps are further executed:

[0172] Detect that the control area of any support part is subjected to a pressure value greater than the second pressure value, and control the smart home associated with the control area of any support part.

[0173] In some embodiments, after the processor 520 raises the user's head support part, lowers the user's leg support part, and before sending the interaction instruction to the first target smart home to control the first target smart home to display the virtual image in the game, the following steps are further executed:

[0174] Load the game into the first target smart home.

[0175] In some embodiments, the processor 520 may further execute the following steps:

[0176] If the pressure value received by the interaction area of a certain support part is greater than the third pressure value, control the interaction area of a certain support part to vibrate to prompt the user.

[0177] In some embodiments, a heart rate detector and a humidity detector are further provided on the electric bed; after the processor 520 controls the virtual image in the game displayed on the first target smart home according to the target instruction, the following steps are further executed:

[0178] Detect the user's heart rate and the humidity of each support part of several support parts;

[0179] If the user's heart rate is greater than the heart rate threshold, or the humidity of any support part is greater than the humidity threshold, suspend the detection of the pressure value received by the interaction area of each support part of several support parts, and stop controlling the first target smart home to display the virtual image in the game, and stop controlling the first target smart home to play the audio of the game.

[0180] In some embodiments, the electric bed further includes a plurality of massagers, and at least one massager is provided on the interaction area of each support part of several support parts.

[0181] After the processor 520 determines the second target support part whose interaction area receives a pressure value greater than the first pressure value from several support parts according to the pressure value received by the interaction area of each support part, the following steps are further executed:

[0182] If a support part is a second target support part, record the input times corresponding to the support part once.

[0183] After the processor 520 controls the virtual character in the game displayed on the first target smart home according to each target instruction until the interaction process ends, the following steps are further executed:

[0184] Count the input times corresponding to each support part among several support parts.

[0185] If the input times corresponding to a support part are greater than a preset times threshold, determine the massage duration according to the input times corresponding to the support part, start the massager arranged on the interaction area of the support part, and control the massager to run for the determined massage duration.

[0186] It should be noted that the processor 520 may also execute other steps described in the previous embodiments, which will not be elaborated here.

[0187] Among them, the implementation Figure 5 The electric bed shown can improve the intelligence level of the electric bed.

[0188] The embodiment of the present application further discloses a computer-readable storage medium, on which a computer program is stored, and is characterized in that when the computer program is executed by a processor, the steps in the interaction method based on the electric bed described in the previous embodiments are implemented.

[0189] The above has introduced in detail an interaction method based on an electric bed and related products disclosed in the embodiments of the present application. Specific examples are used in this article to elaborate the principle and embodiments of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application; at the same time, for those of ordinary skill in the art, according to the idea of the present application, there will be changes in specific embodiments and application scopes. In summary, the content of this specification should not be construed as a limitation to the application.

Claims

1. An interactive method based on an electric bed, characterized in that, the electric bed is divided into several support parts, each support part is associated with an operation instruction, and the operation instructions associated with any two support parts are different. The method includes: the electric bed detects the pressure value received by each of the several support parts; the electric bed determines a target instruction input into the game according to the pressure value received by each support part and the operation instruction associated with each support part; the electric bed controls a virtual image in the game according to the target instruction; the electric bed determines a target instruction input into the game according to the pressure value received by each support part and the operation instruction associated with each support part, including: the electric bed determines, according to the pressure value received by each support part, a first target support part among the several support parts whose received pressure value is greater than a first pressure value; the electric bed determines the operation instruction associated with the first target support part as the target instruction input into the game.

2. The interactive method according to claim 1, characterized in that, the target instruction is used to control the virtual image in the game to move forward; the electric bed controls the virtual image in the game according to the target instruction, including: the electric bed determines a speed corresponding to the pressure value received by the first target support part according to the target instruction; the electric bed controls the virtual image in the game to move forward at a speed corresponding to the pressure value received by the first target support part; alternatively, the target instruction is used to control the virtual image in the game to turn; the electric bed controls the virtual image in the game according to the target instruction, including: the electric bed determines a rotation angle corresponding to the pressure value received by the first target support part according to the target instruction; the electric bed controls the virtual image in the game to turn at a rotation angle corresponding to the pressure value received by the first target support part; alternatively, the target instruction is used to control the virtual image in the game to decelerate; the electric bed controls the virtual image in the game according to the target instruction, including: the electric bed determines a deceleration corresponding to the pressure value received by the first target support part according to the target instruction; the electric bed controls the virtual image in the game to decelerate at a deceleration corresponding to the pressure value received by the first target support part.

3. The interactive method according to claim 1, characterized in that, the electric bed is communicatively connected to several smart homes; before the electric bed detects the pressure value received by each of the several support parts, the method further includes: the electric bed receives an interaction instruction, determines a user head support part and a user leg support part from the several support parts according to the interaction instruction, and raises the user head support part and lowers the user leg support part. The electric bed sends the interaction instruction to a first target smart home appliance to control the first target smart home appliance to display a virtual image in the game and play the audio of the game; the first target smart home appliance is part or all of the several smart home appliances; The electric bed controls the virtual image in the game according to the target instruction, including: The electric bed controls the virtual image in the game displayed by the first target smart home appliance according to the target instruction.

4. The interaction method according to claim 3, wherein, Each of the several support parts includes an interaction area and a control area, and the control area is associated with one of the several smart home appliances; The electric bed detects the pressure value received by each of the several support parts, including: The electric bed detects the pressure value received by the interaction area in each of the several support parts; The electric bed determines a target instruction input into the game according to the pressure value received by each support part and the operation instruction associated with each support part, including: The electric bed determines a second target support part in which the pressure value received by the interaction area is greater than a first pressure value from the several support parts according to the pressure value received by the interaction area in each support part; The electric bed determines the operation instruction associated with the second target support part as the target instruction input into the game; After the electric bed controls the virtual image in the game displayed by the first target smart home appliance according to the target instruction, the method further includes: The electric bed detects that the control area of any support part receives a pressure value greater than a second pressure value and controls the smart home appliance associated with the control area of the any support part.

5. The interaction method according to claim 4, wherein, Before the electric bed raises the user head support part, lowers the user leg support part, and sends the interaction instruction to the first target smart home appliance to control the first target smart home appliance to display a virtual image in the game, the method further includes: The electric bed loads the game into the first target smart home appliance.

6. An electric bed, wherein, The electric bed is divided into several support parts, and each support part is associated with an operation instruction, and the operation instructions associated with any two support parts are different. The electric bed includes: A detection unit for detecting the pressure value received by each of the several support parts; An instruction unit for determining a target instruction input into the game according to the pressure value received by each support part and the operation instruction associated with each support part; A control unit for controlling the virtual image in the game according to the target instruction; The instruction unit is further configured to determine, from the plurality of support parts, a first target support part whose pressure value is greater than a first pressure value according to the pressure value received by each support part; and determine the operation instruction associated with the first target support part as the target instruction input into the game.

7. An electric bed, characterized in that, the electric bed is divided into a plurality of support parts, each support part is associated with an operation instruction, and the operation instructions associated with any two support parts are different. The electric bed includes: a memory storing executable program code; a processor coupled to the memory; the processor calls the executable program code stored in the memory and executes the following steps: detect the pressure value received by each support part among the plurality of support parts; determine a target instruction input into the game according to the pressure value received by each support part and the operation instruction associated with each support part; control a virtual image in the game according to the target instruction; The manner in which the processor determines a target instruction input into the game according to the pressure value received by each support part and the operation instruction associated with each support part is: determine, from the plurality of support parts, a first target support part whose pressure value is greater than a first pressure value according to the pressure value received by each support part; determine the operation instruction associated with the first target support part as the target instruction input into the game.

8. The electric bed according to claim 7, characterized in that, the target instruction is used to control the virtual image in the game to move forward; the manner in which the processor controls the virtual image in the game according to the target instruction is: determine the speed corresponding to the pressure value received by the first target support part according to the target instruction; control the virtual image in the game to move forward at the speed corresponding to the pressure value received by the first target support part; or, the target instruction is used to control the virtual image in the game to turn; the manner in which the processor controls the virtual image in the game according to the target instruction is: determine the rotation angle corresponding to the pressure value received by the first target support part according to the target instruction; control the virtual image in the game to turn at the rotation angle corresponding to the pressure value received by the first target support part; or, the target instruction is used to control the virtual image in the game to decelerate; the manner in which the processor controls the virtual image in the game according to the target instruction is: determine the deceleration corresponding to the pressure value received by the first target support part according to the target instruction; control the virtual image in the game to decelerate at the deceleration corresponding to the pressure value received by the first target support part.

9. The electric bed according to claim 8, characterized in that, the electric bed is communicatively connected to a plurality of smart homes; before detecting the pressure value received by each support part among the plurality of support parts, the processor further executes the following steps: Receive an interaction instruction, and determine a user head support part and a user leg support part from the several support parts according to the interaction instruction, and raise the user head support part and lower the user leg support part; Send the interaction instruction to a first target smart home appliance to control the first target smart home appliance to display a virtual image in the game and play the audio of the game; the first target smart home appliance is part or all of the several smart home appliances; The way for the processor to control the virtual image in the game according to the target instruction is: Control the virtual image in the game displayed by the first target smart home appliance according to the target instruction.

10. The electric bed according to claim 9, characterized in that Each of the several support parts includes an interaction area and a control area, and the control area is associated with one smart home appliance among the several smart home appliances; The way for the processor to detect the pressure value received by each of the several support parts is: Detect the pressure value received by the interaction area in each of the several support parts; The way for the processor to determine the target instruction input into the game according to the pressure value received by each support part and the operation instruction associated with each support part is: According to the pressure value received by the interaction area in each support part, determine a second target support part from the several support parts, where the pressure value received by the interaction area of the second target support part is greater than a first pressure value; Determine the operation instruction associated with the second target support part as the target instruction input into the game; After the processor controls the virtual image in the game displayed by the first target smart home appliance according to the target instruction, the following steps are further executed: Detect that the control area of any one of the support parts receives a pressure value greater than a second pressure value, and control the smart home appliance associated with the control area of the any one of the support parts.

11. The electric bed according to claim 10, characterized in that After the processor raises the user head support part and lowers the user leg support part, and before sending the interaction instruction to the first target smart home appliance to control the first target smart home appliance to display a virtual image in the game, the following steps are further executed: Load the game into the first target smart home appliance.

12. A computer-readable storage medium, on which a computer program is stored, characterized in that When the computer program is executed by a processor, the steps in the interaction method based on an electric bed according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Volume adjustment method and device, equipment and storage medium

    CN113625988A

  • Adjusting method and system based on electric bed and storage medium

    CN115191774A