Equipment control method and device, equipment and storage medium

By determining the target mode on the remote control and transmitting commands using a direct control loop or a cloud loop, the problem of insufficient interoperability among different smart home devices is solved, enabling centralized control and improved compatibility of multiple devices.

CN121644259APending Publication Date: 2026-03-10DONGGUAN DERUCCI BEDDING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-24
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

Different brands and types of smart home devices have different communication protocols, resulting in insufficient interoperability of control methods, complex and inconvenient user interaction, and difficulty in controlling multiple devices simultaneously with a single remote control.

Method used

The target mode is selected by operating the physical buttons on the remote control, and control commands are transmitted via direct control loop or cloud loop to achieve centralized control of different devices. Direct control loop includes short-range communication such as infrared and 2.4G wireless, while cloud loop relays commands through a cloud server.

Benefits of technology

It improves the control range and compatibility of the remote control, simplifies user operation, reduces the complexity of device management, and supports unified scheduling and collaborative management of multiple devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121644259A_ABST
    Figure CN121644259A_ABST
Patent Text Reader

Abstract

The invention discloses an equipment control method and device, equipment and a storage medium. The method comprises: in response to a pressing operation of an entity key on the remote controller, determining a target mode bound with the entity key, the target mode comprising a first mode or a second mode, a direct control loop between a bound device in the first mode and the remote controller, and a direct control loop between the bound device and the remote controller in the second mode; a cloud loop exists between the bound devices in the second mode and the remote controller, and the number of the bound devices in the second mode is multiple; determining a target loop corresponding to the target mode; and transmitting a control instruction to target equipment in the target mode through the target loop. Various household appliances in a bedroom can be controlled in a centralized mode through one remote controller, and the control range and compatibility of the remote controller are improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of communication, and in particular to a device control method and device, apparatus and storage medium. BACKGROUND

[0002] The popularity and application of smart home technology are increasingly widespread. However, due to differences in control logic and communication protocols of different brands and different types of devices, the interoperability of the control method is insufficient, thereby bringing significant interaction complexity and inconvenience to users.

[0003] Smart remote controllers are used to control some smart homes, but due to different communication protocols, it is difficult to simultaneously control smart homes of multiple different control loops. Therefore, a remote controller capable of simultaneously controlling and compatible with multiple smart homes is needed. SUMMARY

[0004] The present application provides a device control method, device, apparatus and storage medium to solve the problem of simultaneously controlling different types of devices using one remote controller.

[0005] According to an aspect of the present application, a device control method is provided, comprising:

[0006] In response to a pressing operation of a physical button on the remote controller, a target mode bound to the physical button is determined, the target mode comprising a first mode or a second mode, there being a direct control loop between the bound device and the remote controller in the first mode, there being a cloud loop between the bound device and the remote controller in the second mode, and the number of bound devices in the second mode being multiple;

[0007] A target loop corresponding to the target mode is determined.

[0008] A control instruction is transmitted to a target device in the target mode through the target loop.

[0009] According to another aspect of the present application, a device control apparatus is provided, comprising:

[0010] A response module for determining a target mode bound to a physical button on the remote controller in response to a pressing operation of the physical button, the target mode comprising a first mode or a second mode, there being a direct control loop between the bound device and the remote controller in the first mode, there being a cloud loop between the bound device and the remote controller in the second mode, and the number of bound devices in the second mode being multiple;

[0011] A determination module for determining a target loop corresponding to the target mode.

[0012] The transmission module is configured to transmit a control instruction to a target device in the target mode via the target loop.

[0013] According to another aspect of the present application, there is provided an electronic device comprising:

[0014] at least one processor; and

[0015] a memory in communication with the at least one processor; wherein

[0016] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to perform the method according to any one of the embodiments of the present application.

[0017] According to another aspect of the present application, there is provided a computer readable storage medium storing computer instructions for enabling a processor to perform the method according to any one of the embodiments of the present application when executed by the processor.

[0018] According to another aspect of the present application, there is provided a computer program product comprising a computer program for enabling a processor to perform the method according to any one of the embodiments of the present application when executed by the processor.

[0019] The technical solution of the embodiments of the present application can determine the target mode bound to the physical button on the remote controller in response to the pressing operation of the physical button, and thus realize the control of different target mode devices by one remote controller. The target loop corresponding to the target mode is determined, and a control instruction is transmitted to the target device in the target mode via the target loop, thereby realizing the centralized control of multiple devices by one remote controller and improving the control range and compatibility of the remote controller.

[0020] It should be understood that the content described in this section is not intended to identify key or important features of the embodiments of the present application, nor is it used to limit the scope of the present application. Other features of the present application will become apparent through the following description.

[0021] It can be understood that the data (including but not limited to the data itself, the acquisition or use of the data) involved in the technical solution should comply with the requirements of the relevant laws, regulations and provisions. BRIEF DESCRIPTION OF DRAWINGS

[0022] In order to make the technical solution in the embodiments of the present application clearer, the drawings needed in the embodiments description will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without any creative effort on the basis of these drawings.

[0023] Figure 1 is a scenario diagram of a device control method provided by an embodiment of the present application;

[0024] Figure 2 is a flowchart of a device control method provided by an embodiment of the present application;

[0025] Figure 3 is a flowchart of a device control method provided by an embodiment of the present application;

[0026] Figure 4 is a flowchart of a device control method provided by an embodiment of the present application;

[0027] Figure 5 is a structural schematic diagram of a device control apparatus provided by an embodiment of the present application;

[0028] Figure 6 is a structural block diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0029] In order to make the technical solution in the embodiments of the present application clearer, the drawings needed in the embodiments description will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without any creative effort on the basis of these drawings.

[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and in the above drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof 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 have to be limited to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0031] Figure 1 is a scenario diagram of a device control method provided by an embodiment of the present application. As shown in Figure 1 , a user first binds a device and its corresponding mode through a mobile phone application software, and sets a scene, which is bound to a corresponding key. When using a remote controller, the key identifier and the scene identifier are sent to a cloud server through a gateway, and the cloud server sends a linkage control instruction to the corresponding device through the gateway.

[0032] Embodiment one

[0033] Figure 2 is a flowchart of a device control method provided by an embodiment one of the present application. The embodiment can be applicable to the case of using a remote controller to control multiple devices simultaneously. The method can be executed by a device control apparatus, which can be realized in the form of hardware and / or software, and can be configured in an electronic device. The electronic device can be a remote controller, as shown in Figure 2 , the method comprises:

[0034] S110, in response to the pressing operation of the physical key on the remote controller, determining the target mode bound by the physical key, the target mode comprising a first mode or a second mode, the first mode being a mode in which a direct control loop exists between the bound device and the remote controller, the second mode being a mode in which a cloud loop exists between the bound device and the remote controller, the number of bound devices in the second mode being multiple.

[0035] In this embodiment, the pressing operation can be the operation of the user pressing the physical key on the remote controller. When the user presses the physical key on the remote controller, an electrical signal is generated, which is transmitted to the processor. The target mode can be a mode indicating the correspondence between the physical key and the corresponding bound device. The target mode comprises a first mode or a second mode, and the target mode is determined according to the number of bound devices. The target mode indicates the communication mode and working state of the bound device in the target mode. The first mode can be a mode in which the remote controller controls the corresponding bound device through local direct control. The bound device in the first mode can use communication protocols such as infrared, 2.4G wireless, optional ZIGBEE or radio frequency communication. The direct control loop can be a loop in which the remote controller directly controls the corresponding bound device without relying on external networks. The direct control loop is a local communication channel established directly between the remote controller and the controlled device, usually based on short-range direct connection protocols such as infrared, 2.4G wireless, optional ZIGBEE or radio frequency communication. The second mode can be a mode in which the remote controller indirectly controls the corresponding bound device through a cloud server. In the second mode, multiple corresponding bound devices are controlled through a cloud loop. The cloud loop can be a loop formed between the remote controller and the device via the cloud server. The cloud loop includes but is not limited to the remote controller, the gateway, the cloud server and the corresponding multiple bound devices.

[0036] Specifically, the remote controller generates an electrical signal in response to a pressing operation of a user on a physical button on the remote controller, and the electrical signal is transmitted to a processor of the remote controller, and the processor determines the physical button corresponding to the pressing operation and determines the target mode bound to the physical button.

[0037] S120, determining a target loop corresponding to the target mode.

[0038] In the embodiment, the target loop can be a loop for sending an instruction to a corresponding device. The target loop includes a direct control loop and a cloud loop.

[0039] Specifically, the target loop is determined according to the target mode. The first mode corresponds to the direct control loop, and the second mode corresponds to the cloud loop.

[0040] S130, transmitting a control instruction to a target device in the target mode through the target loop.

[0041] In the embodiment, the target device can be a device controlled by the control instruction. Different physical buttons correspond to different target devices, and the control of the target device is realized after the physical button is pressed. In the control process, the target loop for transmitting the instruction to the target device is determined based on the target mode corresponding to the physical button, so as to realize the transmission of the control instruction through the target loop. The target device can be, for example, a smart mattress, a smart lamp, or a smart sound box, and the like. The target device has been bound to the remote controller before the remote controller responds to the pressing operation.

[0042] Specifically, if the target loop is the direct control loop, the remote controller directly transmits the control instruction to the target device through the direct control loop, that is, the remote controller and the target device directly communicate without being relayed through the remaining devices; if the target loop is the cloud loop, the remote controller uploads the button signal to the cloud server through the gateway, the cloud server maps the button signal to the corresponding control instruction according to the preset rule, and then the cloud server sends the control instruction to multiple target devices through the gateway.

[0043] The technical scheme of the embodiment of the application realizes the control of different target mode devices by one remote controller by determining the target mode bound to the physical button of the remote controller in response to the pressing operation of the physical button on the remote controller, determining the target loop corresponding to the target mode, and transmitting a control instruction to a target device in the target mode through the target loop, thereby improving the control range and compatibility of the remote controller.

[0044] Embodiment two

[0045] Figure 3is a flowchart of a device control method provided by Embodiment Two of the present application, which is an optimization based on any of the above embodiments, and mainly includes: a process of binding a device transmission control instruction and a remote controller in a first mode and a second mode. It should be noted that technical details not described in detail in this embodiment can be seen in any of the above embodiments. For example Figure 3 As shown in FIG. 10, the method includes:

[0046] S210, in response to a pressing operation of a physical button on the remote controller, determining a target mode bound by the physical button, the target mode including a first mode or a second mode, there being a direct control loop between the bound device and the remote controller in the first mode, there being a cloud loop between the bound device and the remote controller in the second mode, and the number of bound devices in the second mode being multiple.

[0047] S220, determining a target loop corresponding to the target mode.

[0048] S230, in the case where the target loop is a direct control loop, determining a communication type corresponding to the direct control loop, and transmitting a control instruction to the bound device in the target mode through a communication module corresponding to the communication type.

[0049] In this embodiment, the first mode includes a mode of binding a single device, and the second mode includes a mode of binding a scene, the bound scene including multiple devices. The communication type can be a classification of the communication mode of the bound device. The communication type includes but is not limited to infrared, 2.4G wireless, optional ZIGBEE, radio frequency communication, or networking, etc. The communication type corresponding to the direct control loop can be the communication type of the controlled device in the direct control loop corresponding to the physical button. It can be a communication type that can realize short-distance direct connection, such as infrared, 2.4G wireless, optional ZIGBEE, or radio frequency communication. The scene can be a scene in which multiple corresponding bound devices work together according to a preset state. The scene can include multiple devices of different communication types and their preset working states.

[0050] Specifically, when the target mode is the first mode, the corresponding target loop is a direct control loop, and the communication type corresponding to the direct control loop in the first mode is determined. The remote controller sends a control instruction to the corresponding target device in the form of a corresponding signal (such as an infrared signal) through a communication module built-in the remote controller according to the corresponding communication type.

[0051] S240, in the case that the target loop is a cloud loop, transmitting the key identifier of the entity key and the scene identifier of the scene to which the entity key is bound to a server, the server being configured to retrieve a corresponding device linkage strategy based on the key identifier and the scene identifier, generate a linkage control instruction based on the device linkage strategy, and transmit the linkage control instruction to devices in the scene to which the entity key is bound.

[0052] In this embodiment, the key identifier can be an identifier corresponding to the entity key operated by the user. One key identifier uniquely identifies the corresponding entity key. The scene identifier can be an identifier of the scene to which the entity key is bound. The scene identifier uniquely identifies the corresponding scene. The device linkage strategy can be a strategy indicating the corresponding devices and their working states in the scene. The device linkage strategy can be set during the setting stage of the entity key. The device linkage strategy includes but is not limited to indicating the corresponding devices, the communication mode of the devices, and the preset working states of the devices. For example, the device linkage strategy can be: air conditioner 26℃, smart mattress medium hardness, and light off. The linkage control instruction can be a control instruction indicating multiple devices to work according to the preset working states at the same time. The linkage control instruction is generated based on the device linkage strategy.

[0053] Specifically, if the target mode is the second mode, the corresponding target loop is a cloud loop. At this time, the key identifier corresponding to the entity key and the scene identifier to which the entity key is bound are transmitted to the cloud server through the communication link with the gateway. The cloud server retrieves and retrieves the corresponding device linkage strategy in the database or configuration file of the cloud server according to the key identifier and the scene identifier. The cloud server generates a linkage control instruction according to the device linkage strategy, and transmits the linkage control instruction to the devices in the scene to which the entity key is bound through the gateway, wherein the devices include infrared, 2.4G wireless, and networked communication type devices.

[0054] The technical scheme of the embodiment of the application responds to the pressing operation of the physical button on the remote controller, determines the target mode bound by the physical button, determines the target loop corresponding to the target mode, in the case that the target loop is a direct control loop, determines the communication type corresponding to the direct control loop, transmits the control instruction to the device bound in the target mode through the communication module corresponding to the communication type, uses the direct control loop to transmit the control instruction according to the communication type of the device, improves the communication reliability, and reduces the communication delay, in the case that the target loop is a cloud loop, transmits the key identifier of the physical button and the scene identifier of the scene bound by the physical button to the server, the server is used to call the corresponding device linkage strategy based on the key identifier and the scene identifier, generates the linkage control instruction based on the device linkage strategy, and sends the linkage control instruction to the device in the scene bound by the physical button, and the cloud loop is used to realize the unified scheduling and cooperative management of the devices in the same scene, thereby improving the control range and compatibility of the remote controller.

[0055] In another embodiment, the operation of the remote controller to bind the device includes:

[0056] A1, in response to the triggering operation of the adding device button, displaying the virtual device in the adding interface within the coverage range of the gateway corresponding to the remote controller.

[0057] In the embodiment, the triggering operation can be an operation triggered by a user on an application software (APP) carried by a mobile terminal. The mobile terminal can be an electronic device such as a mobile phone or a tablet computer. The triggering operation can be an interaction between the user and the mobile terminal, and an electric signal is generated according to the interaction. After the processor of the mobile terminal receives the electric signal, the adding interface is called on the display screen. The adding interface can be an interface displayed on the application software carried by the mobile terminal. The devices available for adding are displayed on the adding interface. The virtual device can be a mapping of the device available for adding in the adding interface. The virtual device corresponds to the device available for binding one by one.

[0058] Specifically, the mobile terminal responds to the triggering operation of the user on the adding device button, and the mobile terminal calls the adding interface according to the triggering operation, and displays the virtual device within the coverage range of the gateway corresponding to the remote controller on the adding interface. That is, the virtual device corresponding to the device available for the remote controller to control is displayed on the adding interface.

[0059] A2, determining the communication type supported by the virtual device.

[0060] Specifically, the communication type supported by the virtual device is determined according to the type of the virtual device.

[0061] A3, pairing the virtual device according to the communication type.

[0062] Specifically, the remote controller is paired with the virtual device according to the communication type, and information of the virtual device (such as identification and / or communication protocol of the device) is saved in the memory of the remote controller.

[0063] Optionally, the pairing the virtual device according to the communication type comprises:

[0064] B1, in the case that the communication type comprises infrared, acquiring an infrared code library corresponding to the virtual device from a server;

[0065] Specifically, if the communication type is infrared communication, the APP initiates a query to the cloud server, the cloud server maintains a database storing an infrared code library, the cloud server finds a matching infrared code library according to the type of the virtual device, and transmits the infrared code library to the remote controller, which downloads and stores the infrared code library locally (for example, in an external Flash memory chip).

[0066] B2, in the case that the communication type comprises radio, pairing the virtual device by setting a pairing guide.

[0067] In this embodiment, setting a pairing guide can mean a guide for guiding the user to complete device pairing. The pairing guide can be provided by the APP.

[0068] Specifically, if the communication type comprises radio (such as 2.4G wireless), the virtual device is paired by setting a pairing guide. The pairing process can be, for example: the APP controls the remote controller to search for virtual devices in a pairing mode around the remote controller, and initiates a pairing request and completes a response confirmation by exchanging data packets containing specific identification information (such as a default address MDA and a randomly generated matching address MMA).

[0069] Embodiment Three

[0070] Figure 4 is a flowchart of a device control method provided by Embodiment Three of the present application. This embodiment is an optimization based on any of the above embodiments, and mainly comprises: a detailed description of the self-defined operation of the key function of the remote controller, and the binding process of the first mode and the second mode. It should be noted that technical details not described in detail in this embodiment can be referred to the above embodiments. For example, Figure 4 As shown in the figure, the method comprises:

[0071] S310, displaying a virtual key page of the remote controller.

[0072] In this embodiment, the virtual key page can be an interface provided by the mobile terminal. The virtual keys displayed on the virtual key page correspond one-to-one to the physical keys of the remote controller.

[0073] Specifically, the mobile terminal displays a virtual key page of the remote controller.

[0074] S320, in response to a mode binding operation for a target key in the virtual key page, binding the virtual key with the corresponding mode.

[0075] In the embodiment, the target key can be a key in the virtual key page selected by the user as needing mode binding. The target key corresponds to a certain physical key of the remote controller. The mode binding operation can be a binding operation of the user according to the communication mode and working state of the device. After the mode binding operation, the corresponding mode is stored in the remote controller and the cloud server.

[0076] Specifically, the mobile terminal binds the virtual key with the corresponding mode in response to the mode binding operation of the user for the target key. The device information after binding can be uploaded to the cloud server through the gateway for storage, or downloaded to the remote controller for storage.

[0077] Optionally, the response to the mode binding operation for the target key in the virtual key page includes:

[0078] C1, in response to the mode binding operation for the target key in the virtual key page, displaying a device selection option.

[0079] In the embodiment, the mode binding operation is an operation of binding the first mode. The device selection option can be an option of selecting the operation object of the target key. The device selection option can include a plurality of different types of devices, and different devices are displayed with their unique identifiers, such as "communication type-device name" and the like.

[0080] Specifically, the mobile device provides a device selection option for the target key in response to the mode binding operation of the user for the target key.

[0081] C2, in response to a selection operation of a first device in the device selection option, binding the virtual key with the first device, the virtual key being used to control the first device.

[0082] In the embodiment, the first device can be the device bound by the virtual key. The first device is determined by the user in the device selection option provided by the mobile terminal, and is a device communicating in the first mode.

[0083] Specifically, the mobile terminal binds the first device with the virtual key according to the selection operation of the user, and stores the binding result in the cloud server through the gateway or in the remote controller.

[0084] Optionally, the binding the virtual key to the second mode in response to the mode binding operation for the target key in the virtual key page comprises:

[0085] D1, in response to the mode binding operation for the target key in the virtual key page, display a scene setting interface.

[0086] In this embodiment, the mode binding operation is an operation of binding the second mode. The scene setting interface can be an interface for setting a scene corresponding to the target key. The scene setting interface can be invoked by an APP in the mobile terminal, and in the scene setting interface, a plurality of virtual devices and their corresponding working states can be set as the same scene.

[0087] Specifically, the mobile terminal invokes and displays the scene setting interface in response to the mode binding operation for the target key in the virtual key page.

[0088] D2, in response to the second device selection operation for the second mode in the scene setting interface, binding the virtual key to the second mode, the virtual key being used to control the second device.

[0089] In this embodiment, the second device can be a plurality of virtual devices in the same scene. The second device can be controlled by the virtual key.

[0090] Specifically, the terminal device associates the second device selected by the user for the second mode with the corresponding second mode, and the second device can be controlled by the virtual key by binding the virtual key to the corresponding second mode. The virtual key is mapped to a physical key, and the corresponding relationship between the physical key and the scene is downloaded to the remote controller for storage, and the association relationship between the second device and the corresponding second mode is uploaded to the cloud server through the gateway for storage.

[0091] Optionally, the binding the virtual key to the second mode in response to the mode binding operation for the target key in the virtual key page comprises:

[0092] E1, in response to the second device selection operation for the second mode in the scene setting interface, display a state setting interface of the second device;

[0093] In this embodiment, the state setting interface can be an interface for setting the working state of the second device. The state setting interface is displayed by the mobile terminal.

[0094] Specifically, the mobile terminal invokes and displays the state setting interface of the second device in response to the second device selection operation for the second mode in the scene setting interface.

[0095] E2, in response to the state setting operation for the second device in the state setting interface, obtaining the initial state of the second device corresponding to the operation;

[0096] In the embodiment, the initial state can be the working state of the second device set by the user.

[0097] Specifically, the mobile terminal obtains the initial state set by the user for the second device in the state setting interface, uploads the initial state to the cloud server through the gateway, and the cloud server maps the initial state to the device linkage strategy, and generates the linkage control instruction according to the device linkage strategy.

[0098] E3, binding the virtual key and the second mode, and the second device works in the initial state after being started.

[0099] Specifically, when the user completes the second mode configuration through the virtual key interface and confirms the binding, the mobile terminal associates the virtual key with the specified second mode; thereafter, once the second device is started, the second device can work according to the initial state stored in the cloud server.

[0100] S330, in response to the pressing operation of the physical key on the remote controller, determining the target mode bound by the physical key, the target mode including the first mode or the second mode, the first mode having a direct control loop between the bound device and the remote controller, the second mode having a cloud loop between the bound device and the remote controller, and the number of the target mode being multiple.

[0101] S340, determining the target loop corresponding to the target mode.

[0102] S350, transmitting the control instruction to the target device in the target mode through the target loop.

[0103] The technical scheme of the embodiment of the application first displays the virtual key page of the remote controller, binds the virtual key and the corresponding mode in response to the mode binding operation of the target key in the virtual key page, replaces the fixed physical key with the redefinable key, reduces the cost, realizes the control of the remote controller on multiple devices through the binding of the scene, improves the interactive flexibility and efficiency, and improves the control range and compatibility of the remote controller.

[0104] The following exemplary description of the application is made, with "server" representing "cloud server", "home appliance" representing "device", "2.4G" representing "wireless", and "button" representing "physical key":

[0105] Currently, with the development of smart home technology, more and more families begin to use smart home appliances, such as air conditioners, smart mattresses, smart pillows, etc. However, the existing control methods of home appliances have many inconveniences, as follows:

[0106] Multi-remote control management is cumbersome: Different brands and types of home appliances often come with their own independent remote controls, and users need to manage multiple remote controls, which can be confusing and increase the complexity of operation. For example, at night, users may need to find the corresponding air conditioner remote control among multiple remote controls to adjust the temperature, which seriously affects the user experience.

[0107] There are limitations in controlling with a mobile phone APP: Even if some home appliances support mobile phone APP control, in some scenarios, such as when the user does not want to use the mobile phone or the mobile phone is not within reach, it is not convenient to control the home appliances.

[0108] Fixed functions lack personalization: The functions of existing remote controls are mostly fixed and cannot be adjusted according to the user's individual needs, which cannot meet the user's diversified needs for combined control of different home appliances.

[0109] The present invention can solve the problem of multi-remote control: It realizes the centralized control of multiple home appliances in the bedroom through one remote control, improves the convenience of use, and avoids the user's frequent search for different remote controls.

[0110] The present invention can expand the control range and compatibility: By using the Bluetooth connection gateway, it breaks through the limitations of traditional control methods, making it compatible with more brands and types of smart home appliances.

[0111] The present invention can meet the needs of individualized control: Through APP customization of each button function, it supports users to perform diversified operations such as combined control of home appliances, and adapts to different user habits.

[0112] In one embodiment, a hardware composition of the present invention is provided:

[0113] Remote control: The shell material is high-strength engineering plastic, the size is suitable for single-handed operation, the button layout is simple and reasonable, and the holding and operation comfort is improved. The remote control is built-in with multiple communication module combinations, including an infrared module (control distance 8-15 meters, compatible with mainstream air conditioner infrared protocol), a 2.4G wireless module (strong anti-interference ability, supporting exclusive communication with electric beds / smart mattresses), and an optional ZIGBEE or radio frequency module (according to actual scene needs). In terms of power supply, a rechargeable lithium battery is provided, and a Type-C interface is used for charging. At the same time, a signal processing unit is built-in, which can identify the type of buttons and match the corresponding communication module to send signals, and has communication capability with the gateway to realize server interaction.

[0114] Gateway: As the communication transfer core between the remote controller and the server, part of the household appliances, it has the functions of multi-protocol adaptation and data forwarding. The gateway accesses the home network through the Ethernet interface or Wi-Fi, on the one hand, it establishes a stable connection with the remote controller (supports 2.4G or optional ZIGBEE / radio frequency communication), on the other hand, it realizes real-time data interaction with the cloud server. The built-in high-performance processor can quickly process the key signals uploaded by the remote controller and forward them to the server, at the same time, it can receive the control instructions issued by the server and deliver them to the corresponding device. In terms of compatibility, it supports the access of household appliances of different brands and types, and can be compatible with ZIGBEE, Z-Wave and other common smart home communication protocols on the market, greatly improving the device adaptation capability.

[0115] In one embodiment, a software design of the present application is provided:

[0116] APP: The core functions include device management, communication mode matching, scene customization, and server connection configuration. When used for the first time, the user binds the device by scanning the two-dimensional code on the remote controller or manually entering the device number, and at the same time, configures the connection parameters of the gateway and the server (such as server address, port number). The main interface of the APP is divided into three modules: "device control", "scene management", and "communication setting", which clearly shows the paired devices, custom scenes, and the corresponding communication methods of each device, making it convenient for users to quickly operate.

[0117] Household appliance addition and pairing: After the user clicks the "add household appliance" button (i.e. the add device button) in the APP, the system will automatically search for smart household appliances within the coverage range of the gateway (i.e. virtual devices within the coverage range of the gateway corresponding to the remote controller are displayed in the add interface), and identify the communication methods supported by the devices. The pairing process is designed differently according to the communication type: 1. Infrared devices (such as air conditioners): the APP provides an infrared code library matching function, the user selects the device brand and model to complete code library synchronization, and the remote controller controls directly through the infrared module (i.e. direct control loop); 2. 2.4G devices (such as electric beds, smart mattresses): complete 2.4G pairing between the remote controller and the device through APP guidance (i.e. set pairing guidance), and communicate directly after binding; 3. Scene association devices (i.e. second devices associated with the second mode): complete device access through the gateway, and set the device's scene grouping in the APP. After successful addition, the household appliances will be displayed in the device list in the format of "communication type-device name", and the user can customize the name, modify the communication parameters, and adjust the scene ownership.

[0118] Button customization: The APP has a built-in button customization function module. After entering the module, the virtual key layout of the remote controller (i.e., the virtual key interface) can be displayed. Users can bind "single device control" (i.e., the first mode) or "scene control" mode (i.e., the second mode) to each key (i.e., virtual key) according to their needs: 1. Single device control: After selecting the key (i.e., virtual key), select the target device, match the corresponding communication method (such as infrared for air conditioner, 2.4G for electric bed), and set the specific control parameters (such as air conditioner temperature, bed mattress lifting height); 2. Scene control: Click "New Scene", name the scene (such as "Sleep Scene"), check all devices that need to be linked in this scene, set the target state for each device (such as air conditioner 26℃, bed mattress medium hardness, light off) (i.e., initial state), and bind the scene to the specified key. All settings are synchronized to the remote controller and server through the APP to ensure that the key instructions and server scene data are consistent, and the key configuration takes effect immediately.

[0119] In one embodiment, the loop design of the present application is provided:

[0120] 1. First interaction loop (infrared direct control loop) (i.e., direct control loop): When the user presses the key bound to the infrared device such as air conditioner, the remote controller signal processing unit directly activates the infrared module, sends the corresponding control command (such as temperature adjustment, on-off) to the target device in the form of infrared signal, and the device executes the operation immediately without going through the gateway or server, realizing fast direct control.

[0121] 2. Second interaction loop (2.4G direct control loop) (i.e., direct control loop): When the user presses the key bound to the 2.4G device such as electric bed or smart mattress, the remote controller activates the 2.4G module, sends the encrypted control command (such as lifting, hardness adjustment) to the target device through 2.4G wireless signal, and the device executes the operation after decryption. This loop has fast response speed and strong anti-interference ability, and is suitable for complex bedroom environment.

[0122] 3. Third interaction loop (server scene linkage loop) (i.e., cloud loop): When the user presses the key bound to the custom scene (such as sleep scene), the remote controller first uploads the key signal (i.e., key identifier) and scene identifier to the cloud server through the communication link with the gateway; the server receives it immediately and retrieves the pre-set device linkage rules of the scene, generates a set of control commands for the corresponding devices (i.e., linkage control commands); then the server sends the command set (i.e., linkage control commands) to all associated devices in the scene (including infrared, 2.4G and other communication type devices) through the gateway, and each device receives the command according to its own communication method and executes it, while the server feeds back the execution result to the APP, realizing scene-based linkage control.

[0123] The beneficial effects of the present application are as follows:

[0124] Multi-loop adaptability: Through infrared and 2.4G double straight control loop, the control requirements of different types of home appliances are adapted, the response speed of the straight control loop is ≤0.5 seconds, the response speed of the server scene loop is ≤1 second, both fast straight control and scene linkage are considered, and the adaptation range of the remote controller is improved by more than 80% compared with a single communication mode.

[0125] Optimization of communication stability: The infrared module is compatible with mainstream home appliance infrared protocols, the 2.4G module uses frequency hopping technology to reduce interference, and the server communication guarantees connection stability through a gateway heartbeat packet mechanism, the error code rates of the three loops are all controlled below 0.1%, and the anti-interference ability is significantly improved compared with a single Bluetooth scheme.

[0126] More flexible scene control: The server linkage mode of the third loop breaks through the local control limitations of traditional remote controllers, supports combination linkage of devices across communication types, and users can customize multiple scenes (such as sleep, wake up, and night wake up), meeting diversified life needs.

[0127] Reduce user purchase cost: One remote controller replaces multiple traditional remote controllers, directly reducing user's remote controller purchase expenditure.

[0128] Prolong the service life of home appliances: The product is compatible with multiple brands and multiple protocols of home appliances, avoiding the problem of early replacement of home appliances due to control incompatibility, and reducing the replacement cost of user remote controllers and home appliances.

[0129] The present application optimizes the design for the multi-device control requirements of the bedroom scene, and has strong practicality. The three interactive loops adapt to different use scenarios: when the user wants to quickly adjust the air conditioner temperature, the first loop infrared straight control is used for efficient operation; when the second loop 2.4G straight control is used for quick response when fine-tuning the mattress hardness; when the third loop is used for server linkage, the air conditioner, mattress, and light are synchronized to enter the preset state, and there is no need to operate one by one. When waking up at night, the light is dimmed and the air conditioner is kept at a constant temperature by pressing the night wake-up scene key, which takes into account convenience and comfort. In addition, the APP supports scene backup and sharing, the elderly can directly use the preset scene key, and young users can customize personalized scenes, which is widely applicable to a wide range of people, and has good market prospects.

[0130] Example Four

[0131] Figure 5 is a structural schematic diagram of a device control device provided by an embodiment of the present application. As shown in Figure 5 , the device includes:

[0132] The first response module 410 is configured to determine a target mode bound by the physical button on the remote controller in response to a pressing operation of the physical button, the target mode including a first mode or a second mode, the first mode having a direct control loop between the bound device and the remote controller, the second mode having a cloud loop between the bound device and the remote controller, and the number of the bound devices in the second mode being multiple;

[0133] The first determination module 420 is configured to determine a target loop corresponding to the target mode.

[0134] The transmission module 430 is configured to transmit a control instruction to a target device in the target mode through the target loop.

[0135] The technical scheme of the embodiment of the application, the remote controller determines the target mode bound by the physical button on the remote controller in response to the pressing operation of the physical button through the response module, and controls different communication protocol devices through one remote controller; the determination module determines the target loop corresponding to the target mode, and the transmission module transmits a control instruction to a target device in the target mode through the target loop, so that different devices are controlled through different target modes, same frequency interference is avoided, the reliability of control instruction transmission is improved, and the control range and compatibility of the remote controller are improved.

[0136] In another embodiment, the first mode includes a mode of binding a single device, and the second mode includes a mode of binding a scene, the bound scene including multiple devices, and the transmission module 430 is specifically configured to:

[0137] In the case that the target loop is a direct control loop, a communication type corresponding to the direct control loop is determined, and a control instruction is transmitted to the bound device in the target mode through a communication module corresponding to the communication type;

[0138] In the case that the target loop is a cloud loop, a key identifier of the physical button and a scene identifier of a scene bound by the physical button are transmitted to a server, the server is configured to retrieve a corresponding device linkage strategy based on the key identifier and the scene identifier, generate a linkage control instruction based on the device linkage strategy, and send the linkage control instruction to the device in the scene bound by the physical button.

[0139] In another embodiment, the device, the remote controller performs a device binding operation, and further includes:

[0140] The second response module is configured to display virtual devices within a coverage range of a gateway corresponding to the remote controller in an adding interface in response to a triggering operation of an adding device button.

[0141] a second determining module, configured to determine a communication type supported by the virtual device;

[0142] a pairing module, configured to pair the virtual device according to the communication type.

[0143] In another embodiment, the pairing module is specifically configured to:

[0144] In a case where the communication type includes infrared, acquire an infrared code library corresponding to the virtual device from a server;

[0145] In a case where the communication type includes radio, pair the virtual device by setting a pairing guide.

[0146] In another embodiment, the apparatus, the custom operation of the key function of the remote controller, further includes:

[0147] a display module, configured to display a virtual key page of the remote controller;

[0148] a third response module, configured to bind the virtual key with a corresponding mode in response to a mode binding operation for a target key in the virtual key page.

[0149] In another embodiment, the mode binding operation is an operation of binding the first mode, and the third response module is specifically configured to:

[0150] display a device selection option in response to the mode binding operation for the target key in the virtual key page;

[0151] bind the virtual key with a first device in response to a selection operation of the first device in the device selection option, the virtual key being used to control the first device.

[0152] In another embodiment, the mode binding operation is an operation of binding the second mode, and the third response module further includes:

[0153] a first response unit, configured to display a scene setting interface in response to the mode binding operation for the target key in the virtual key page;

[0154] a second response unit, configured to bind the virtual key with the second mode in response to an operation of selecting a second device for the second mode in the scene setting interface, the virtual key being used to control the second device.

[0155] In another embodiment, the second response unit is specifically configured to:

[0156] In response to a second device selection operation for the second mode in the scene setting interface, a state setting interface of the second device is displayed;

[0157] In response to a state setting operation for the second device in the state setting interface, an initial state of the second device corresponding to the operation is acquired;

[0158] The virtual key is bound to the second mode, and the second device works in the initial state after being started.

[0159] The device control apparatus provided by the embodiments of the present application can execute the device control method provided by any of the embodiments of the present application, and has the corresponding function modules and beneficial effects of the execution method.

[0160] Embodiment five

[0161] Figure 6 is a structural block diagram of an electronic device provided by an embodiment of the present application, as Figure 6 shown, a structural schematic diagram of an electronic device 10 that can be used to implement embodiments of the present application is shown. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular telephones, smartphones, wearable devices (such as headsets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not intended to limit the implementations of the present application described and / or claimed in this document.

[0162] As Figure 6 shown, the electronic device 10 includes at least one processor 11, and a memory, such as a Read-Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., which is in communication with the at least one processor 11, wherein the memory stores a computer program that can be executed by the at least one processor 11, and the computer program is executed by the at least one processor 11 to enable the at least one processor 11 to execute the method provided by the present application.

[0163] The processor 11 can perform various appropriate actions and processes in accordance with a computer program stored in a read only memory (ROM) 12 or a computer program loaded from the storage unit 18 into a random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0164] A plurality of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, and the like; an output unit 17, such as various types of displays, a speaker, and the like; a storage unit 18, such as a magnetic disk, an optical disk, and the like; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, and the like. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunication networks.

[0165] The processor 11 can be various general and / or special purpose processing components having processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal process (DSP), and any appropriate processor, controller, microcontroller, and the like. The processor 11 performs various methods and processes described above, such as the methods provided by the present disclosure.

[0166] In some embodiments, the methods provided by the present disclosure can be implemented as a computer program tangibly embodied in a computer readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the methods described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to perform the methods by any other appropriate means, such as by means of firmware.

[0167] The various implementations of the systems and techniques described above can be realized in digital electronic circuitry, integrated circuitry, a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), a System on Chip (SOC), a Complex Programmable logic device (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.

[0168] Computer programs implementing the methods of the present application can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the computer program running on the processor implements the functions / operations specified in the flowcharts and / or the block diagrams.

[0169] In the context of the present application, a computer readable storage medium stores computer instructions for causing a processor to implement the method provided by the present application when executed by the processor.

[0170] The present application also provides a computer program product, which includes a computer program, the computer program implements the method provided by the embodiments of the present application when executed by a processor. The computer readable storage medium can be a tangible medium, which can contain or store a computer program for use by or in connection with an instruction execution system, apparatus or device. The computer readable storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any suitable combination of the above. Alternatively, the computer readable storage medium can be a machine readable signal medium. More specific examples of the machine readable storage medium will include one or more wires, portable computer disks, hard drives, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disks read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.

[0171] To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.

[0172] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), blockchain network, and the Internet.

[0173] The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. Servers can be cloud servers, also known as cloud computing servers or cloud hosts, which are a host product in the cloud computing service system to solve the defects of great management difficulty and weak business scalability in traditional physical hosts and VPS services.

[0174] The embodiment of the present application further provides a computer program product comprising a computer program which, when executed by a processor, can implement the method provided in any embodiment of the present application.

[0175] The computer program product can be written in one or more programming languages or combinations of languages including object-oriented languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).

[0176] It should be understood that the various forms of flow shown above can be re-ordered, added to, or deleted from without departing from the scope of the present application. For example, the steps recited in the present application can be performed in parallel, in series, or in a different order, and the present application is not limited in this regard.

[0177] The specific embodiments described above are not intended to limit the scope of the present application. Those skilled in the art will understand that various modifications, combinations, sub-combinations, and alternatives of the present application can be made based on the technical idea of the present application. Any modifications, equivalent replacements, and improvements made within the spirit and principle of the present application shall fall within the scope of the present application.

Claims

1. A device control method characterized by, The method is applied to a remote controller, a plurality of devices controlled by the remote controller include a device bound by a user to the remote controller, and the method comprises the following steps: In response to a pressing operation of a physical button on the remote controller, a target mode bound by the physical button is determined, the target mode includes a first mode or a second mode, there is a direct control loop between the bound device and the remote controller in the first mode, there is a cloud loop between the bound device and the remote controller in the second mode, and the number of bound devices in the second mode is multiple; A target loop corresponding to the target mode is determined; Control instructions are transmitted to target devices in the target mode through the target loop.

2. The method of claim 1, wherein, The first mode includes a mode of binding a single device, and the second mode includes a mode of binding a scene, and the bound scene includes a plurality of devices; The control instructions are transmitted to the bound devices in the target mode through a communication module corresponding to a communication type corresponding to the direct control loop in the case that the target loop is the direct control loop; In the case that the target loop is the cloud loop, a key identifier of the physical button and a scene identifier of a scene bound by the physical button are transmitted to a server, the server is configured to retrieve a corresponding device linkage strategy based on the key identifier and the scene identifier, generate a linkage control instruction based on the device linkage strategy, and send the linkage control instruction to devices in the scene bound by the physical button. The operation of binding a device by the remote controller comprises the following steps:

3. The method of claim 1, wherein, In response to a triggering operation of an add device button, virtual devices within a coverage range of a gateway corresponding to the remote controller are displayed in an add interface; A communication type supported by the virtual devices is determined; The virtual devices are paired according to the communication type. The pairing of the virtual devices according to the communication type comprises the following steps:

4. The method of claim 3, wherein, In the case that the communication type includes infrared, an infrared code library corresponding to the virtual devices is obtained from a server; In the case that the communication type includes radio, the virtual devices are paired through setting pairing guidance. The custom operation of the key function of the remote controller comprises the following steps:

5. The method of claim 1, wherein, A virtual key page of the remote controller is displayed; In response to a mode binding operation of a target key in the virtual key page, the virtual key is bound to a corresponding mode. The mode binding operation is an operation of binding the first mode, and the operation of binding the virtual key to the corresponding mode in response to the mode binding operation of the target key in the virtual key page comprises the following steps:

6. The method of claim 5, wherein, In response to the mode binding operation of the target key in the virtual key page, a device selection option is displayed; In response to a selection operation of a first device in the device selection option, the virtual key is bound to the first device, and the virtual key is configured to control the first device. ​ 7. The method of claim 5, wherein, The mode binding operation is an operation of binding the second mode, and the operation of binding the virtual key with the corresponding mode in response to the mode binding operation of the target key in the virtual key page comprises: In response to the mode binding operation of the target key in the virtual key page, a scene setting interface is displayed; In response to the operation of selecting the second device for the second mode in the scene setting interface, the virtual key is bound with the second mode, and the virtual key is used to control the second device.

8. The method of claim 7, wherein, The operation of binding the virtual key with the second mode in response to the operation of selecting the second device for the second mode in the scene setting interface comprises: In response to the operation of selecting the second device for the second mode in the scene setting interface, a state setting interface of the second device is displayed; In response to the operation of setting the state of the second device in the state setting interface, an initial state of the second device corresponding to the operation is obtained; The virtual key is bound with the second mode, and the second device works in the initial state after being started.

9. An apparatus control device characterized by comprising: Comprise: The first response module is configured to determine a target mode bound by a physical key on the remote controller in response to a pressing operation of the physical key, the target mode comprising a first mode or a second mode, a device bound in the first mode having a direct control loop with the remote controller, a device bound in the second mode having a cloud loop with the remote controller, and a number of devices bound in the second mode being multiple; The first determination module is configured to determine a target loop corresponding to the target mode; The transmission module is configured to transmit a control instruction to a target device in the target mode through the target loop.

10. An electronic device, comprising: The electronic device comprises: At least one processor; and The memory is in communication connection with the at least one processor; wherein The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the method of any one of claims 1-8.

11. A computer readable storage medium characterized by, The computer readable storage medium stores computer instructions for enabling the processor to execute the method of any one of claims 1-8 when executed.