Electric furniture control method and device, nonvolatile storage medium and electronic equipment
By creating and synchronizing communication rules in the electric furniture control system, the complex control box configuration problem caused by the independent pairing of multiple remote control devices is solved, and the effect of simplifying configuration and improving user experience is achieved.
Patent Information
- Application Number
- CN202510145097.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-10
- Publication Date
- 2025-03-14
AI Technical Summary
In the prior art, the control box of electric furniture needs to be independently paired with multiple remote control devices, resulting in complex configuration, increasing the need for hardware storage and software processing, and reducing the user experience.
By creating communication rules for controlling electric furniture and pairing them with electric furniture, receiving communication requests from other remote control devices, responding to requests and issuing communication rules to other remote control devices, enabling them to receive and control electric furniture based on the rules.
The communication protocol of synchronizing electric furniture to other remote control devices through the first remote control device is realized, simplifying the control box configuration of electric furniture and improving user experience.
Smart Images

Figure CN119628989A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless remote control, and in particular to a method and device for controlling electric furniture, a non-volatile storage medium and an electronic device. Background Art
[0002] In the prior art, electric furniture is usually equipped with a remote control device so that users can easily control various functions of the electric furniture from different locations, such as controlling a massage chair to start or turn off the massage function. Directly pairing between electric furniture and multiple remote control devices will complicate the configuration and management of the control box. First of all, each pairing requires the control box to establish communication rules with the new remote control device, which includes but is not limited to defining the communication frequency, encryption method, device identifier, etc. As the number of paired devices increases, the control box must maintain a large device configuration table to record the communication parameters of each remote control device, which not only increases the demand for hardware storage, but also places higher requirements on software processing capabilities. In addition, the direct pairing method often requires users to perform cumbersome operations, such as setting the same communication rules on multiple devices, which reduces the user experience.
[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0004] The embodiments of the present invention provide a method, device, non-volatile storage medium and electronic device for controlling electric furniture, so as to at least solve the technical problem that multiple remote control devices are independently paired with electric furniture, resulting in a more complicated configuration of the control box of the electric furniture.
[0005] According to one aspect of an embodiment of the present invention, a method for controlling electric furniture is provided, comprising: creating communication rules for controlling electric furniture and pairing with the electric furniture; receiving communication requests from other remote control devices; in response to the communication requests, issuing communication rules to other remote control devices, wherein the other remote control devices are used to receive the communication rules and control the electric furniture based on the communication rules; and based on the communication rules, sending control instructions to the electric furniture to control the electric furniture.
[0006] Optionally, communication rules for controlling electric furniture are created and paired with the electric furniture, including: sending a detection signal to the electric furniture and determining the channel where the electric furniture is located; creating communication rules for controlling electric furniture; and pairing with the electric furniture through the channel where the electric furniture is located according to the communication rules.
[0007] According to another aspect of an embodiment of the present invention, a method for controlling electric furniture is provided, comprising: issuing a communication request to a first remote control device that has been paired with the electric furniture, wherein the first remote control device is used to return pre-created communication rules for controlling the electric furniture to other remote control devices in response to the communication request; receiving the communication rules sent by the first remote control device; and sending control instructions to the electric furniture based on the communication rules to control the electric furniture.
[0008] According to another aspect of an embodiment of the present invention, a method for controlling electric furniture is provided, comprising: receiving a pre-created communication rule for controlling electric furniture sent by a first remote control device, and pairing with the first remote control device, wherein the first remote control device is also used to synchronize the communication rule to other remote control devices; receiving control instructions sent by the first remote control device and / or other remote control devices in accordance with the communication rules; and executing corresponding actions in response to the control instructions.
[0009] Optionally, executing a corresponding action in response to a control instruction includes: determining a remote control device that issues a control instruction; setting the remote control device that issues the control instruction to a locked state; and executing corresponding actions only in response to other control instructions issued by the remote control device in the locked state within a predetermined time period.
[0010] According to another aspect of an embodiment of the present invention, there is provided an electric furniture control device, comprising: a first creation module, used to create communication rules for controlling electric furniture and pairing with the electric furniture; a first receiving module, used to receive communication requests issued by other remote control devices; a first response module, used to issue communication rules to other remote control devices in response to the communication requests, wherein the other remote control devices are used to receive the communication rules and control the electric furniture based on the communication rules; and a first control module, used to send control instructions to the electric furniture based on the communication rules to control the electric furniture.
[0011] According to another aspect of an embodiment of the present invention, there is provided an electric furniture control device, comprising: a first sending module, used to send a communication request to a first remote control device that has been paired with the electric furniture, wherein the first remote control device is used to return pre-created communication rules for controlling the electric furniture to other remote control devices in response to the communication request; a second receiving module, used to receive the communication rules sent by the first remote control device; and a second control module, used to send control instructions to the electric furniture based on the communication rules to control the electric furniture.
[0012] According to another aspect of an embodiment of the present invention, there is provided an electric furniture control device, comprising: a third receiving module, used to receive a pre-created communication rule for controlling electric furniture sent by a first remote control device, and paired with the first remote control device, wherein the first remote control device is also used to synchronize the communication rule to other remote control devices; a fourth receiving module, used to receive control instructions sent by the first remote control device and / or other remote control devices in accordance with the communication rules; and a second response module, used to execute corresponding actions in response to the control instructions.
[0013] According to another aspect of an embodiment of the present invention, a non-volatile storage medium is provided, wherein the non-volatile storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing any one of the electric furniture control methods.
[0014] According to another aspect of an embodiment of the present invention, there is provided an electronic device, comprising: one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by one or more processors, the one or more processors implement any one of the electric furniture control methods.
[0015] In an embodiment of the present invention, communication rules for controlling electric furniture are created and paired with the electric furniture; communication requests from other remote control devices are received; in response to the communication requests, communication rules are sent to other remote control devices, wherein the other remote control devices are used to receive the communication rules and control the electric furniture based on the communication rules; based on the communication rules, control instructions are sent to the electric furniture to control the electric furniture, thereby achieving the purpose of synchronizing the communication protocol with the electric furniture through the first remote control device to other remote control devices, solving the technical problem that multiple remote control devices are paired with electric furniture separately and independently, resulting in a more complicated configuration of the control box of the electric furniture, thereby achieving the technical effect of simplifying the configuration of the control box of the electric furniture and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0017] Figure 1 is a flow chart of a method for controlling electric furniture according to an embodiment of the present invention;
[0018] Figure 2 is a flow chart of an optional pairing of a first remote control device and an electric furniture according to an embodiment of the present invention;
[0019] Figure 3is a flow chart of an optional first remote control device synchronizing communication protocol to other remote control devices according to an embodiment of the present invention;
[0020] Figure 4 is a flow chart of another electric furniture control method provided according to an embodiment of the present invention;
[0021] Figure 5 is a flow chart of an optional remote control device sending instructions according to an embodiment of the present invention;
[0022] Figure 6 is a flow chart of another electric furniture control method provided according to an embodiment of the present invention;
[0023] Figure 7 is a flow chart of an optional electric furniture receiving a command of a remote control device according to an embodiment of the present invention;
[0024] Figure 8 is a schematic diagram of an optional electric furniture control device provided according to an embodiment of the present invention;
[0025] Fig. 9 is a schematic diagram of another optional electric furniture control device provided according to an embodiment of the present invention;
[0026] Fig.10 is a schematic diagram of another optional electric furniture control device provided according to an embodiment of the present invention;
[0027] Fig.11 is a schematic diagram of an electric furniture control system provided according to an embodiment of the present invention;
[0028] Fig.12 is a schematic diagram of an electronic device provided according to an embodiment of the present invention. DETAILED DESCRIPTION
[0029] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0031] In the actual application of electric furniture, electric furniture can provide services for multiple users. For example, in a family scenario, multiple family members may use the electric furniture. Assigning a remote control device to each family member can facilitate the use of the user. Or in a hospital scenario, it also involves the use of electric furniture, such as an electric bed. The patient lies on the electric bed and needs to use a remote control device to control the electric bed. The nurse sometimes needs to adjust the electric bed to make it more suitable for the patient's condition. Assigning a remote control device to the patient and the nurse can facilitate the use of the user. In the prior art, each time a new remote control device is added, the control box of the electric furniture needs to be paired independently, including setting the communication frequency, encryption key, device identification, etc. As the number of remote control devices increases, the device configuration information that the control box needs to maintain and manage becomes complicated, so the configuration requirements of the control box are relatively high.
[0032] According to an embodiment of the present invention, an embodiment of a method for controlling electric furniture is provided. Figure 1 is a flow chart of a method for controlling electric furniture according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:
[0033] Step S102, creating a communication rule used to control the electric furniture, and pairing with the electric furniture;
[0034] In this step, if Figure 2As shown, the executor of this step is the first remote control device. The first remote control device will create a set of communication rules and send the created communication rules to the control box of the electric furniture to achieve pairing with the electric furniture. Pairing refers to the process of establishing a communication connection and trust relationship between two or more devices. In order to adapt to environmental changes, ensure that the control signals sent by the remote control device can be correctly identified and executed by the control box of the electric furniture, and avoid the communication process being disturbed by other signals, and improve the safety and reliability of the entire drive control system, after successful pairing, the first remote control device and the electric furniture can synchronously update the communication rules and switch to new communication rules, including but not limited to updating the communication protocol, the address and identification of the communication device, the encryption mechanism, the error handling mechanism, etc.
[0035] In an optional embodiment, communication rules for controlling electric furniture are created and paired with the electric furniture, including: sending a detection signal to the electric furniture and determining the channel where the electric furniture is located; creating communication rules for controlling electric furniture; and pairing with the electric furniture through the channel where the electric furniture is located according to the communication rules.
[0036] Alternatively, if Figure 2 As shown, when the master remote control device starts pairing, it sends an inquiry signal to the control box to inquire about the channel where the electric furniture is located. If the control box responds, the remote control device will establish a communication rule between the channel where the electric furniture is located and the control box of the electric furniture. Once the rule is established, the master remote control device can effectively communicate wirelessly with the control box.
[0037] Step S104, receiving a communication request from other remote control devices;
[0038] In this step, there are multiple remote control devices in the driving control system of the electric furniture. Among the multiple remote control devices, one device may be a relatively special device (i.e., the first remote control device), which can serve as a communication bridge between other remote control devices and the electric furniture control box. After determining the communication rules that can support any remote control device and the electric furniture control box, such as Figure 3As shown, the first remote control device can communicate with other remote control devices and send this universal communication rule to other remote control devices, so that other remote control devices can directly communicate with the control box of the electric furniture with the universal communication rule, without going through a complete pairing process with the control box of the electric furniture, thereby simplifying the control process, reducing the configuration information of the control box, and improving the efficiency of pairing. After receiving the communication rules created by the first remote control device, other remote control devices can pair with the electric furniture. If the communication rules between the first remote control device and the electric furniture are updated, other remote control devices also need to update the received communication rules and switch to the new communication rules. The update of the communication rules includes but is not limited to replacing the new communication protocol, updating the communication address and identification, etc.
[0039] In an optional embodiment, in response to a communication request, a communication rule is issued to other remote control devices, wherein the other remote control devices are used to receive the communication rule and control the electric furniture based on the communication rule.
[0040] In this step, when the first remote control device receives a communication request sent by other remote control devices (such as a second remote control device, a voice control device, etc.), as a device that has been successfully paired and understands the communication rules of the control box, the first remote control device will respond to this request. After responding to the request of the other remote control device, the first remote control device will pass the rules for communicating with the control box to the new remote control device. At this time, the other remote control device can communicate with the electric furniture according to the received communication rules, and then control the electric furniture.
[0041] Step S106, based on the communication rules, sending control instructions to the electric furniture to control the electric furniture.
[0042] In this step, after the first remote control device is paired with the electric furniture, it sends various instructions to the electric furniture according to the communication rules previously agreed upon with the electric furniture. The instructions sent by the first remote control device are received by the control box of the electric furniture, and the control box performs corresponding actions according to the received instructions. For example, assuming that the electric furniture is an electric bed, after the first remote control device sends an instruction to adjust the angle of the bed head, the control box will control the driving motor of the electric bed to adjust the support angle of the bed head part to meet the user's requirements.
[0043] By the above-mentioned process, communication rules for controlling electric furniture are created and paired with the electric furniture; communication requests from other remote control devices are received; in response to the communication requests, communication rules are sent to other remote control devices, wherein the other remote control devices are used to receive the communication rules and control the electric furniture based on the communication rules; based on the communication rules, control instructions are sent to the electric furniture to control the electric furniture, thereby achieving the purpose of synchronizing the communication rules with the electric furniture to other remote control devices through the first remote control device, without the need for the user to set the same communication rules on multiple devices, thereby solving the technical problem that multiple remote control devices are paired with electric furniture independently, resulting in a more complicated configuration of the control box of the electric furniture, thereby simplifying the configuration of the control box of the electric furniture and improving the user experience.
[0044] According to an embodiment of the present invention, another embodiment of a method for controlling electric furniture is provided. Figure 4 is a flow chart of a method for controlling electric furniture according to an embodiment of the present invention. Figure 4 As shown, the method comprises the following steps: The method comprises the following steps:
[0045] Step S202, sending a communication request to the first remote control device that has been paired with the electric furniture, wherein the first remote control device is used to return a pre-created communication rule for controlling the electric furniture to other remote control devices in response to the communication request;
[0046] The executors of this step are other remote control devices, that is, remote control devices that need to be paired with electric furniture in addition to the first remote control device. In the scenario where multiple remote control devices control electric furniture, other remote control devices that have not yet been paired with electric furniture can send a communication request to the first remote control device that has been paired with the electric furniture and successfully agreed on communication rules, indicating that it wishes to join the communication network and obtain the ability to control electric furniture. The communication request can include information such as device ID and device type, which is used for the first remote control device to identify and confirm the source of the pairing request, etc.
[0047] Step S204, receiving the communication rules sent by the first remote control device;
[0048] In this step, when the first remote control device receives the above request, it will respond to the request and send the communication rules pre-agreed between itself and the electric furniture to other remote control devices. After receiving the communication rules sent by the first remote control device, other remote control devices will learn and store these rules.
[0049] Step S206: Based on the communication rules, a control instruction is sent to the electric furniture to control the electric furniture.
[0050] In this step, if Figure 3As shown, once other remote control devices receive and understand the communication rules, they can also send control instructions to the electric furniture according to the communication rules. For example, if the electric furniture is an electric bed, adjusting the angle of the bed, starting the massage function, controlling the lifting of the bed, etc. can all be achieved through instructions that comply with the communication rules.
[0051] As a specific embodiment, Figure 5 As shown, other remote control devices and the first remote control device can send control instructions to the electric furniture through the following steps: the remote control device can continuously monitor user operations. For example, the button remote control device can cyclically detect whether the user presses the button, and the language remote control device can cyclically detect whether the user issues a voice command; after detecting the user operation, the remote control device can also determine whether the detected operation is a valid instruction. If it is, the process continues; if not, the monitoring continues. Once a valid instruction is determined, the remote control device will identify the type of instruction, specifically the name of the button or the name of the voice command; based on the type of instruction identified, the remote control device can fill in and generate a sending command that complies with the communication rules, including a frame header, command type, command name, and a random ID of the remote control device this time, to ensure that the format of the data packet is correct and has a certain degree of security. Finally, the remote control device sends the filled data frame to the control box of the electric furniture according to the communication rules. After the control box receives the data frame, it can interpret the data frame, determine the user instruction from the data frame, and execute it.
[0052] According to an embodiment of the present invention, another embodiment of a method for controlling electric furniture is provided. Figure 6 is a flow chart of a method for controlling electric furniture according to an embodiment of the present invention. Figure 6 As shown, the method comprises the following steps:
[0053] Step S302, receiving the pre-created communication rules for controlling electric furniture sent by the first remote control device, and pairing with the first remote control device, wherein the first remote control device is also used to synchronize the communication rules to other remote control devices;
[0054] Optionally, the executor of this step is the control box of the electric furniture. The electric furniture first needs to receive the communication rules sent by the first remote control device to achieve successful pairing with the first remote control device. When other remote control devices need to be added to the driving system of the electric furniture, the first remote control device will send the communication rules to the other remote control devices to achieve pairing of the electric furniture with the other remote control devices.
[0055] Step S304, receiving control instructions sent by the first remote control device and / or other remote control devices according to the communication rules;
[0056] Optionally, after pairing with all remote control devices, the electric furniture can receive control instructions from the first remote control device or other remote control devices. For example, when only receiving control instructions from the first remote control device, the electric furniture can respond to the control instructions from the first remote control device alone; when only receiving control instructions from other remote control devices, the electric furniture can respond to the control instructions from other remote control devices alone; when receiving control instructions from the first remote control device and other remote control devices at the same time, the electric furniture can choose to respond to one of the control instructions.
[0057] Step 306, executing a corresponding action in response to the control instruction.
[0058] Optionally, the electric furniture will respond to the control instruction and perform corresponding actions when receiving the control instruction from the first remote control device or other remote control devices, specifically, including but not limited to the following three situations: (1) When the electric furniture only receives the control instruction from the first remote control device, the receiving module of the control box detects the wireless signal and receives the data frame of the wireless signal, verifies whether the identification code and check code in the data frame are consistent with the identification code and check code of the first remote control device, so as to confirm that the data frame comes from the first remote control device and no error occurs during the transmission process. If the communication rules include an encryption mechanism, the control box will use the key to decrypt the data frame to ensure the security of the control instruction content. If the communication rules include a random code, the control box will check whether the random code in the data frame matches the random code sequence currently expected by the control box to prevent replay attacks and ensure the timeliness and effectiveness of the instruction. After the electric furniture only receives the instruction from the first remote control device and passes the above verification, the electric furniture will respond to and execute the instruction sent by the first remote control device. (2) When the electric furniture only receives the control instruction from other remote control devices, if the number of other remote control devices is only one, the instruction of the other remote control device is executed in the same way as the first situation. If there are multiple other remote control devices, the preemption mechanism set in the third case will be used to execute the instructions of the first remote control device or other remote control devices. (3) When the electric furniture receives control instructions from the first remote control device and other remote control devices at the same time, it is necessary to respond to the control instructions sent by the remote control device according to the preemption mechanism set in the control box of the electric furniture. The preemption mechanism is a priority allocation mechanism, which sets a priority for the first remote control device or other remote control devices, and determines which remote control device to execute the instructions based on the priority. Unexecuted instructions can be directly discarded or stored first, and then executed after the previous instruction is executed.
[0059] In an optional embodiment, executing a corresponding action in response to a control instruction includes: determining the remote control device that issues the control instruction; setting the remote control device that issues the control instruction to a locked state; and executing the corresponding action only in response to other control instructions issued by the remote control device in the locked state within a predetermined time period.
[0060] Optionally, when the control box of the electric furniture receives a control instruction, it will first determine which remote control device sent the instruction through the identification code in the communication rules. Once the source of the instruction is determined, the control box will set the status of the remote control device to "locked" according to the preemption mechanism. During the set locking time, the control box of the electric furniture will only receive and execute other control instructions from the remote control device in the locked state. Even if other remote control devices send instructions during the locking period, the electric furniture will not respond, thus avoiding the problem of executing multiple conflicting instructions at the same time. For example, if two remote control devices try to change the electric furniture at the same time, the instructions of one device may conflict with the instructions of the other device. This conflict can be effectively avoided by setting the device that issued the instruction first to a locked state and only responding to the instructions of this device within a certain period of time.
[0061] As a specific embodiment, Figure 7 As shown, the control box of the electric furniture can receive and execute the control instructions of the corresponding remote control device. Specifically, the control box of the electric furniture can continuously detect the received data and identify the frame header of the data frame. If the frame header is detected, the control box of the electric furniture will verify whether the identification code in the data frame is correct and whether the check code of the data matches to ensure the integrity and authenticity of the data. In order to prevent replay attacks or ensure that the communication between devices is the latest and unique, the control box needs to verify whether the random code in the data frame matches the previously saved record. Among them, a replay attack refers to an attacker intercepting and saving the communication data (such as control instructions) between legitimate devices, and then resending the intercepted data at a later point in time to deceive the system to execute the previous instructions. This attack takes advantage of the repeatability of communication data, and the system cannot distinguish whether the current instruction is new or has been sent before without an appropriate prevention mechanism. After the random code verification is passed, the control box extracts the command code from the data frame, that is, the specific control instruction issued by the remote control device, and calls the relevant drive module and mechanical structure to respond to the action according to the extracted command code.
[0062] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0063] In this embodiment, an electric furniture control device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and will not be repeated hereafter. As used below, the terms "module" and "device" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation in hardware, or a combination of software and hardware, is also possible and conceivable.
[0064] According to an embodiment of the present invention, a device embodiment for implementing the electric furniture control method is also provided. Figure 8 is a schematic diagram of an electric furniture control device according to an embodiment of the present invention. Figure 8 As shown, the above-mentioned electric furniture control device includes a first creation module 81, a first receiving module 82, a first response module 83, and a first control module 84. The device is described below.
[0065] A first creation module 81 is used to create a communication rule used to control the electric furniture and pair with the electric furniture;
[0066] A first receiving module 82, connected to the first creating module 81, for receiving a communication request from another remote control device;
[0067] A first response module 83, connected to the first receiving module 82, is used to respond to the communication request and send a communication rule to other remote control devices, wherein the other remote control devices are used to receive the communication rule and control the electric furniture based on the communication rule;
[0068] The first control module 84 is connected to the first response module 83, and is used to send control instructions to the electric furniture based on communication rules to control the electric furniture.
[0069] In an electric furniture control device provided by an embodiment of the present invention, a first creation module is set to create communication rules used to control electric furniture and pair with electric furniture; a first receiving module is used to receive communication requests issued by other remote control devices; a first response module is used to respond to the communication request and issue communication rules to other remote control devices, wherein other remote control devices are used to receive the communication rules and control the electric furniture based on the communication rules; the first control module is used to send control instructions to the electric furniture based on the communication rules to control the electric furniture, thereby achieving the purpose of synchronizing the communication protocol with the electric furniture to other remote control devices through the first remote control device, solving the technical problem that multiple remote control devices are independently paired with electric furniture, resulting in a more complicated configuration of the control box of the electric furniture, thereby achieving the technical effect of simplifying the configuration of the control box of the electric furniture and improving the user experience.
[0070] According to an embodiment of the present invention, another device embodiment for implementing the electric furniture control method is also provided. Fig. 9 is a schematic diagram of another electric furniture control device according to an embodiment of the present invention. Fig. 9 As shown, the above-mentioned electric furniture control device includes a first sending module 91, a second receiving module 92, and a second control module 93. The device is described below.
[0071] A first sending module 91 is used to send a communication request to a first remote control device that has been paired with the electric furniture, wherein the first remote control device is used to return a pre-created communication rule for controlling the electric furniture to other remote control devices in response to the communication request;
[0072] A second receiving module 92, connected to the first sending module 91, for receiving the communication rules sent by the first remote control device;
[0073] The second control module 93 is connected to the second receiving module 92, and is used to send control instructions to the electric furniture based on communication rules to control the electric furniture.
[0074] According to an embodiment of the present invention, another device embodiment for implementing the electric furniture control method is provided. Fig.10 is a schematic diagram of another electric furniture control device according to an embodiment of the present invention. Fig.10 As shown, the electric furniture control device includes a third receiving module 101, a fourth receiving module 102, and a second responding module 103. The device is described below.
[0075] The third receiving module 101 is used to receive the pre-created communication rules for controlling the electric furniture sent by the first remote control device and pair with the first remote control device, wherein the first remote control device is also used to synchronize the communication rules to other remote control devices;
[0076] A fourth receiving module 102, connected to the third receiving module 101, for receiving control instructions sent by the first remote control device and / or other remote control devices according to the communication rules;
[0077] The second responding module 103 is connected to the fourth receiving module 102 and is used to execute a corresponding action in response to the control instruction.
[0078] It should be noted that the above modules can be implemented by software or hardware. For example, for the latter, it can be implemented in the following ways: the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.
[0079] It should be noted that the optional or preferred implementation of this embodiment can refer to the relevant description in the embodiment, which will not be repeated here.
[0080] The above-mentioned electric furniture control device may also include a processor and a memory. The first creation module 81, the first receiving module 82, the first response module 83, the first control module 84, etc. are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.
[0081] The embodiment of the present invention provides an electric furniture control system. Fig.11 As shown, it is a structural diagram of an electric furniture control system. The electric furniture control system includes multiple remote control devices and control boxes, wherein the multiple remote control devices can be ordinary remote control devices or offline voice recognition boxes.
[0082] The user can initiate a pairing request through a remote control device (i.e., the first remote control device mentioned above). After the receiving module of the electric furniture control box receives the request, it confirms and responds, and the two parties begin to establish communication rules. Usually, the pairing of the first remote control device and the electric furniture will define a basic communication framework, including RF channel, address code, encryption key, etc., which is the basis for the subsequent pairing of other remote control devices. Once the first remote control device is successfully paired with the electric furniture, other remote control devices can enter the learning mode and learn and adapt to the defined communication rules by interacting with the first remote control device or directly with the control box of the electric furniture.
[0083] The successfully paired remote control device (whether it is the first remote control device or other remote control devices) can send control instructions to the electric furniture control box. The receiving module of the electric furniture captures these instructions, and parses the command code through the microcontroller (MCU) of the control box, and sends a control signal to the corresponding drive module according to the instruction content. After receiving the signal, the drive module activates the electric push rod, massage unit or lifting mechanism of the electric furniture to perform the action specified by the user through the remote control device. When multiple instructions are received at the same time, the MCU will give priority to the instructions with higher priority according to the preset preemption mechanism.
[0084] The processor includes a kernel, which retrieves the corresponding program unit from the memory. There can be one or more kernels. The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one storage chip.
[0085] An embodiment of the present invention provides a non-volatile storage medium on which a program is stored. When the program is executed by a processor, a method for controlling electric furniture is implemented.
[0086] like Fig.12As shown, an embodiment of the present invention provides an electronic device, the electronic device 10 includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the following steps are implemented: the memory is used to store a computer program, wherein when the computer program is executed by the processor, the processor implements the above-mentioned electric furniture control method. The device in this article may be a server, a PC, etc.
[0087] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0088] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0089] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0090] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0091] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0092] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0093] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0094] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0095] It should be understood by those skilled in the art that the embodiments of the present invention may be provided as methods, systems or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware aspects. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0096] The above are only embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.
Claims
1. A method for controlling electric furniture, characterized in that: include: Creating a communication rule for controlling the electric furniture and pairing with the electric furniture; Receive communication requests from other remote control devices; In response to the communication request, the communication rule is sent to the other remote control device, wherein the other remote control device is used to receive the communication rule and control the electric furniture based on the communication rule; Based on the communication rules, a control instruction is sent to the electric furniture to control the electric furniture.
2. The method according to claim 1, characterized in that The creating of the communication rules used to control the electric furniture and pairing with the electric furniture includes: Sending a detection signal to the electric furniture and determining the channel where the electric furniture is located; Creating communication rules for controlling the motorized furniture; According to the communication rules, pairing is performed with the electric furniture through the channel where the electric furniture is located.
3. A method for controlling electric furniture, characterized in that: include: Sending a communication request to a first remote control device that has been paired with the electric furniture, wherein the first remote control device is used to respond to the communication request and return to other remote control devices the communication rules for controlling the electric furniture that are pre-created in the electric furniture control method according to claim 1; receiving the communication rule sent by the first remote control device; Based on the communication rules, a control instruction is sent to the electric furniture to control the electric furniture.
4. A method for controlling electric furniture, characterized in that: include: Receiving a pre-created communication rule for controlling the electric furniture sent by a first remote control device, and pairing with the first remote control device, wherein the first remote control device is also used to synchronize the communication rule to other remote control devices; receiving a control instruction sent by the first remote control device and / or the other remote control devices according to the communication rule; A corresponding action is executed in response to the control instruction.
5. The method according to claim 4, characterized in that Executing corresponding actions in response to the control instruction includes: determining the remote control device that issues the control command; Setting the remote control device that issues the control command to a locked state; During a predetermined time period, only other control instructions sent by the remote control device in the locked state are responded to to execute corresponding actions.
6. An electric furniture control device for implementing the electric furniture control method according to claim 1, characterized in that: include: A first creation module, used to create a communication rule used to control the electric furniture and pair with the electric furniture; A first receiving module, used for receiving a communication request sent by other remote control devices; A first response module, configured to send the communication rule to the other remote control device in response to the communication request, wherein the other remote control device is configured to receive the communication rule and control the electric furniture based on the communication rule; The first control module is used to send a control instruction to the electric furniture based on the communication rule to control the electric furniture.
7. An electric furniture control device for implementing the electric furniture control method according to claim 3, characterized in that: include: A first sending module, used for sending a communication request to a first remote control device that has been paired with the electric furniture, wherein the first remote control device is used for returning a pre-created communication rule for controlling the electric furniture to other remote control devices in response to the communication request; A second receiving module, configured to receive the communication rule sent by the first remote control device; The second control module is used to send a control instruction to the electric furniture based on the communication rule to control the electric furniture.
8. An electric furniture control device for implementing the electric furniture control method according to claim 4, characterized in that: include: A third receiving module, used for receiving a communication rule for controlling the electric furniture created in advance and sent by the first remote control device, and pairing with the first remote control device, wherein the first remote control device is also used for synchronizing the communication rule to other remote control devices; A fourth receiving module, used for receiving a control instruction sent by the first remote control device and / or the other remote control devices according to the communication rule; The second response module is used to execute a corresponding action in response to the control instruction.
9. A non-volatile storage medium, characterized in that: The non-volatile storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the electric furniture control method described in any one of claims 1 to 5.
10. An electronic device, characterized in that: include: One or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the electric furniture control method described in any one of claims 1 to 5.
Citation Information
Patent Citations
Controlled terminal controlled decision-making method and apparatus based on multiple intelligent remote controllers
CN104093050A
Remote control method and device
CN113034886A
Remote control equipment matching method, electronic equipment and readable storage medium
CN114268930A
Data sending method and system, storage medium and electronic equipment
CN118413816A