Control method, apparatus, system, and device
By acquiring target scene information through the cloud using the bound device, the problem of control failure caused by communication interruption of Bluetooth control device is solved, ensuring stable operation of the device and user experience.
Patent Information
- Application Number
- CN202211348855.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-31
- Publication Date
- 2025-12-23
- Estimated Expiration
- 2042-10-31
AI Technical Summary
In existing technologies, the control devices of the equipment are not universal, have low intelligence, resulting in a poor user experience, and cannot operate normally when the Bluetooth control device communication is interrupted.
The system sends data requests to the device bound to the Bluetooth controller via the cloud to determine the communication status. In the event of communication failure, it uses a second device that maintains normal communication with the Bluetooth controller to obtain target scene information, generate control parameters, and ensure normal control of the device.
It enables stable device control when Bluetooth control communication is interrupted, improving the user experience.
Smart Images

Figure CN117953667B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the field of computer communication, and particularly relates to a control method, device, system and equipment. BACKGROUND
[0002] With the development of science and technology, the intelligence requirement of users on control devices of various devices is also higher and higher. For example, each air conditioner is equipped with a remote control device, and users can realize the control of the air conditioner through the function keys on the remote control device. In the related art, for each device, the control of the device can only be realized through the respective control device, the control devices between devices cannot be universal, the intelligence degree of the control device is low, and the user experience is poor. Therefore, how to control multiple devices through the control device and ensure that each device can be normally controlled is a problem to be solved. SUMMARY
[0003] In view of the above technical problems in the related art, the embodiments of the present application provide a control method, device, system and equipment, so that the controlled device and the Bluetooth control device can still normally run in the case of communication interruption.
[0004] In a first aspect, the embodiments of the present application provide a control method applied to the cloud, and the method comprises:
[0005] sending a first data request for target scene information to a first device bound with a Bluetooth control device, so that the first device determines the communication state with the Bluetooth control device based on the first data request, wherein the target scene information is saved in the Bluetooth control device;
[0006] if the first device fails to communicate with the Bluetooth control device, determining a second device that maintains normal communication with the Bluetooth control device, wherein the second device is bound with the Bluetooth control device;
[0007] sending a second data request for the target scene information to the second device, so that the second device requests the target scene information from the Bluetooth control device based on the second data request, and forwards the target scene information to the cloud;
[0008] generating a control parameter of the first device based on the target scene information, and delivering the control parameter to the first device.
[0009] In some embodiments, if the target scene information is dynamic update information, after the control parameter of the first device is generated, the method further comprises:
[0010] sending a third data request for the target scene information to the second device when performing the next round of control on the first device, so that the second device requests the latest target scene information from the Bluetooth control device based on the third data request, and forwards the latest target scene information to the cloud;
[0011] generating the next round of control parameters of the first device based on the received latest target scene information, and delivering the next round of control parameters to the first device.
[0012] In some embodiments, if the target scene information is non-dynamic update information, after the second data request for the target scene information is sent to the second device, the method further comprises:
[0013] saving the target scene information sent by the second device in the cloud.
[0014] In some embodiments, after the control parameters of the first device are generated, the method further comprises:
[0015] when performing the next round of control on the first device, generating the next round of control parameters of the first device based on the target scene information stored in the cloud, and delivering the next round of control parameters to the first device.
[0016] In some embodiments, after the control parameters of the first device are generated, the method further comprises:
[0017] if the first device resumes communication with the Bluetooth control device, receiving the target scene information sent by the first device, and generating the control parameters of the first device based on the target scene information sent by the first device.
[0018] In some embodiments, the second device that maintains normal communication with the Bluetooth control device comprises:
[0019] based on N devices bound with the Bluetooth control device, sending a communication state detection request to each device in the N devices, N being a positive integer;
[0020] receiving the communication state of the Bluetooth control state fed back by each device, and determining the second device with normal communication from the N devices based on the communication state of each device with the Bluetooth control device.
[0021] In a second aspect, an embodiment of the present application provides a control method applied to a control system, comprising:
[0022] The cloud sends a first data request for target scene information to a first device bound with the Bluetooth control device, the target scene information being stored in the Bluetooth control device;
[0023] The first device determines a communication state with the Bluetooth control device based on the first data request;
[0024] If the communication state between the first device and the Bluetooth control device is communication failure, the cloud determines a second device that maintains normal communication with the Bluetooth control device, and sends a second data request for the target scene information to the second device, wherein the second device is bound with the Bluetooth control device;
[0025] The second device requests the target scene information from the Bluetooth control device based on the second data request, and forwards the target scene information to the cloud;
[0026] The cloud generates control parameters of the first device based on the target scene information, and sends the control parameters to the first device.
[0027] In some embodiments, the determination of the communication state with the Bluetooth control device comprises:
[0028] If the first device does not detect a Bluetooth signal sent by the Bluetooth control device within a preset time length, it is determined that the communication state between the first device and the Bluetooth control device is communication failure.
[0029] In some embodiments, before the determination of the second device that maintains normal communication with the Bluetooth control device, the method further comprises: if the first device fails to communicate with the Bluetooth control device, the first device sends a search request for the Bluetooth control device to the cloud;
[0030] The determination of the second device that maintains normal communication with the Bluetooth control device comprises: the cloud determines the second device that maintains normal communication with the Bluetooth control device in response to the search request sent by the first device.
[0031] In a third aspect, an embodiment of the present application provides a control device applied to a cloud, comprising:
[0032] A first sending module is configured to send a first data request for target scene information to a first device bound with a Bluetooth control device, so that the first device determines a communication state with the Bluetooth control device based on the first data request, wherein the target scene information is stored in the Bluetooth control device;
[0033] The first processing module is configured to determine a second device in normal communication with the Bluetooth control device if the first device fails to communicate with the Bluetooth control device, wherein the second device is bound to the Bluetooth control device;
[0034] The second sending module is configured to send a second data request for the target scene information to the second device, so that the second device requests the target scene information from the Bluetooth control device based on the second data request and forwards the target scene information to the cloud.
[0035] The second processing module is configured to generate a control parameter of the first device based on the target scene information and to send the control parameter to the first device.
[0036] In a fourth aspect, an embodiment of the present application provides a control system, comprising:
[0037] The cloud is configured to send a first data request for target scene information to a first device bound to a Bluetooth control device, wherein the target scene information is stored in the Bluetooth control device.
[0038] The first device is configured to determine a communication state with the Bluetooth control device based on the first data request.
[0039] The cloud is configured to determine a second device in normal communication with the Bluetooth control device when the communication state between the first device and the Bluetooth control device is communication failure, and to send a second data request for the target scene information to the second device, wherein the second device is bound to the Bluetooth control device.
[0040] The second device is configured to request the target scene information from the Bluetooth control device based on the second data request and to forward the target scene information to the cloud.
[0041] The cloud is configured to generate a control parameter of the first device based on the target scene information and to send the control parameter to the first device.
[0042] In a fifth aspect, an embodiment of the present application provides a device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the control method when executing the program.
[0043] In a sixth aspect, an embodiment of the present application provides a computer readable storage medium, which stores a computer program, wherein the program is executable on a processor to implement the steps of the control method.
[0044] The one or more technical solutions provided by the embodiments of the present application at least achieve the following technical effects or advantages:
[0045] The control method provided by the embodiments of the present application, the cloud sends a first data request for target scene information to a first device bound to the Bluetooth control device, so that the first device determines a communication state with the Bluetooth control device based on the first data request, wherein the target scene information is stored in the Bluetooth control device; if the first device fails to communicate with the Bluetooth control device, a second device maintaining normal communication with the Bluetooth control device is determined, wherein the second device is bound to the Bluetooth control device; a second data request for the target scene information is sent to the second device, so that the second device requests the target scene information from the Bluetooth control device based on the second data request, and forwards the target scene information to the cloud; based on the target scene information, the cloud generates a control parameter of the first device, and delivers the control parameter to the first device. In the present scheme, when the cloud needs to use the target scene information in the process of controlling the first device, if the first device interrupts communication with the Bluetooth control device, the second device in normal communication with the Bluetooth control device can be used to obtain the target scene information, so that normal control of the first device is realized, control failure caused by interruption of communication between the controlled device and the Bluetooth control terminal is avoided, the stability of the cloud in controlling the device is improved, and user experience is improved. BRIEF DESCRIPTION OF DRAWINGS
[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0047] Figure 1 A schematic diagram of a control system provided by the embodiments of the present application is shown in the figure.
[0048] Figure 2 A flowchart of a control method applied in the cloud provided by the embodiments of the present application is shown in the figure.
[0049] Figure 3 A flowchart of a control method applied in the control system provided by the embodiments of the present application is shown in the figure.
[0050] Figure 4 A flowchart of another control method provided by the embodiments of the present application is shown in the figure.
[0051] Figure 5 A schematic diagram of a control device of the cloud provided by the embodiments of the present application is shown in the figure.
[0052] Figure 6A schematic diagram of a control system provided for an embodiment of the present application;
[0053] Figure 7 A structural schematic diagram of a device provided for an embodiment of the present application. DETAILED DESCRIPTION
[0054] The embodiments of the present specification provide a control method, device, system and equipment, the method comprises: the cloud end sends a first data request for target scene information to a first device bound to a Bluetooth control device, so that the first device determines a communication state with the Bluetooth control device based on the first data request, wherein the target scene information is saved in the Bluetooth control device; if the first device fails to communicate with the Bluetooth control device, a second device maintaining normal communication with the Bluetooth control device is determined, wherein the second device is bound to the Bluetooth control device; a second data request for the target scene information is sent to the second device, so that the second device requests the target scene information from the Bluetooth control device based on the second data request, and forwards the target scene information to the cloud end; based on the target scene information, the cloud end generates a control parameter of the first device, and delivers the control parameter to the first device.
[0055] In the present scheme, when the cloud end needs to use the target scene information in the process of controlling the first device, if the first device interrupts communication with the Bluetooth control device, the target scene information can be obtained through the second device in normal communication with the Bluetooth control device, so as to realize normal control of the first device, avoid control failure caused by interruption of communication between the first controlled device and the Bluetooth control terminal, improve the stability of the cloud end control device, and further improve the user experience.
[0056] To make the objectives, technical solutions and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.
[0057] It should be noted that the terms "first", "second", and the like in the description and claims of the application and 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 application described herein can be implemented in other than the order 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 that includes 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.
[0058] In order to better understand the control method provided by the embodiments of the present application, the use scene of the present application is described as follows: Figure 1 The control system provided by the embodiments of the present application is shown in the figure, which can include a cloud, a plurality of devices, and a Bluetooth control device.
[0059] Specifically, each device is provided with a Bluetooth module and a cloud communication module, which can be a WIFI module, of course, it can also be other communication modules, which are not limited here. The device establishes a connection with the Bluetooth control device through the Bluetooth module, and establishes a connection with the cloud through the cloud communication module. The plurality of devices in the system can include devices that have been bound with the Bluetooth control device, and can also include devices that have not been bound with the Bluetooth control device. When the device is bound with the Bluetooth control device, the Bluetooth control device can control the operation of the device, and the device that has not been bound cannot be controlled by the Bluetooth control device. In addition, each device can be connected to the cloud through network configuration, and the device connected to the cloud can be controlled by the cloud.
[0060] The Bluetooth control device, specifically, can be a Bluetooth remote control, a sensor or other Bluetooth peripheral, which is not limited here. A plurality of sensors can be provided in the Bluetooth control device as needed, such as temperature sensors, humidity sensors, etc., and the data collected by the sensors can be used to control the bound devices.
[0061] The cloud can communicate with the connected devices through the cloud communication module, and for each device, the cloud can generate a set of control logic corresponding to each device, and the cloud can control each device through the corresponding control logic. For example, when the plurality of devices are all air conditioners, the cloud can calculate the temperature control curve of each air conditioner under different function modes for each air conditioner, and control the operation of each air conditioner based on the temperature control curve.
[0062] It should be noted that for the device bound with the Bluetooth control device, the control of the bound device can be realized through the cloud or through the Bluetooth control device. The control in the embodiments of the present specification is not only that the user sends preset control parameters to the device through the preset function keys on the Bluetooth control device or sends preset control parameters to the device through the cloud based on the preset function options displayed by the control system client program installed on the user terminal. The control in the embodiments of the present specification can also be that the device is controlled according to the cloud algorithm and / or the local algorithm saved on the Bluetooth control device, and the control parameter recorded on the Bluetooth controller can also be extracted in the process of cloud control.
[0063] In the embodiments of the present specification, the scene information of the bound device is recorded in the Bluetooth control device, and the scene information can be used for the control of the bound device by the Bluetooth control device, or the cloud can obtain the scene information saved on the Bluetooth control device through the bound device when controlling the device. Taking an air conditioner as the device and a remote controller of the air conditioner as the Bluetooth control device as an example, the scene information includes but is not limited to: recording the control parameters of user habits, such as recording the default values of the start temperature of the air conditioner; recording the control values of one-key entering a certain mode, such as recording the control values of the air conditioner one-key entering the sleep mode; the parameter values recorded on the Bluetooth control device in the process of cloud algorithm control; the parameter values recorded on the Bluetooth control device in the process of air conditioner algorithm control; the corresponding parameter values recorded by the local algorithm of the Bluetooth control device when starting.
[0064] As Figure 2 The flow chart of the control method provided by the embodiments of the present specification is shown in the figure, and the method is applied to the cloud and includes the following steps:
[0065] Step S201: sending a first data request for target scene information to a first device bound with a Bluetooth control device, so that the first device determines the communication state with the Bluetooth control device based on the first data request, wherein the target scene information is saved in the Bluetooth control device;
[0066] Step S202: if the first device fails to communicate with the Bluetooth control device, determining a second device maintaining normal communication with the Bluetooth control device, wherein the second device is bound with the Bluetooth control device;
[0067] Step S203: sending a second data request for the target scene information to the second device, so that the second device requests the target scene information from the Bluetooth control device based on the second data request, and forwards the target scene information to the cloud;
[0068] Step S204: generating the control parameter of the first device based on the target scene information, and delivering the control parameter to the first device.
[0069] In the embodiments of the present specification, multiple devices in the control system are in a binding state with the Bluetooth control device, and a connection is established with the cloud, that is, multiple devices in the control system can be controlled by the Bluetooth control device or the cloud at the same time. During the process of controlling the device by the cloud, the scene information recorded on the Bluetooth control device may be used. At this time, the data request needs to be initiated by the controlled device to the Bluetooth control device to obtain the scene information. However, when the communication between the controlled device and the Bluetooth control device is interrupted, the controlled device cannot obtain the scene information, which further causes the cloud to fail to normally generate the control parameter of the controlled device, resulting in deviation of the control of the controlled device. In order to avoid this situation, the method provided by the embodiments of the present specification can be used to ensure the normal acquisition of the scene information, and further ensure the normal control of the controlled device.
[0070] It should be noted that the multiple devices capable of being bound with the Bluetooth control device in the embodiments of the present specification can be devices of the same type, for example, the multiple devices are all air conditioners or all fresh air machines. The multiple devices can also be devices of different types, for example, the multiple devices can include air conditioners, fresh air machines, televisions, and the like, which are not limited herein. In order to facilitate the description, in the embodiments of the present specification, the multiple devices are taken as air conditioners for example to introduce the control process of the device.
[0071] In step S201, the first device is a device that has been bound with the Bluetooth control device, and the first device also establishes a connection with the cloud. When the first device is in a cloud control state, the cloud can generate the control parameter of the first device in real time and deliver it to the first device.
[0072] The target scene information can be scene information corresponding to the first device, for example, the target scene information can include user usage habit information corresponding to the first device, a control algorithm recorded on the Bluetooth control device called by the first device when performing certain functions, and the like. Of course, the target scene information can also include other information, which is not limited herein.
[0073] During the process of controlling the first device by the cloud, if the target scene parameter needs to be used, the cloud can send a first data request to the first device, the purpose of which is to obtain the target scene information from the Bluetooth control device through the first device. After receiving the first data request, the first device can determine whether the Bluetooth control device can be searched.
[0074] For example, if the Bluetooth control device is a Bluetooth remote controller, the Bluetooth remote controller can be bound to multiple air conditioners of the same family. When the cloud controls the air conditioner 1, if the target scene information needs to be used, the cloud sends a first data request to the air conditioner 1, and the air conditioner 1 searches for the Bluetooth remote controller after receiving the first data request. Generally, if the Bluetooth remote controller is in the same room as the air conditioner 1 or is close to the air conditioner 1, the Bluetooth remote controller can normally communicate with the Bluetooth control device, and if the Bluetooth remote controller is in another room far away from the air conditioner 1, the Bluetooth remote controller can not receive the signal transmitted by the air conditioner 1, resulting in communication failure between the air conditioner 1 and the Bluetooth remote controller.
[0075] It should be noted that when the Bluetooth control device is bound to multiple devices, if the Bluetooth control device continuously communicates with the devices for a long time, the Bluetooth control device can consume a large power consumption. In order to reduce power consumption, the Bluetooth control device can establish a connection with the devices according to a preset frequency. For example, the Bluetooth control device transmits a Bluetooth signal to the devices according to a preset frequency, and the bound devices feed back a response signal to the Bluetooth control device after receiving the Bluetooth signal transmitted by the Bluetooth control device. Alternatively, the bound devices transmit a Bluetooth signal to the environment according to a preset frequency, and the Bluetooth control device feeds back a response signal to the bound devices after receiving the signal. In the embodiments of the present application, if the first device does not detect the Bluetooth signal (including the response signal actively transmitted or fed back) transmitted by the Bluetooth control device within a preset time period, it can be determined that the communication state between the first device and the Bluetooth control device is communication failure, that is, the first device cannot search for the Bluetooth control device. The preset time period can be set according to specific needs, for example, the preset time period is 3 minutes, 5 minutes, etc.
[0076] In step S202, if the first device cannot search for the Bluetooth control device and communication failure occurs, the first device can send a search request for the Bluetooth control device to the cloud, and the cloud determines a second device that normally communicates with the Bluetooth control device after receiving the search request.
[0077] In the specific implementation process, step S202 can be implemented by the following steps: based on N devices bound to the Bluetooth control device, a communication state detection request is sent to each device of the N devices, N is a positive integer; receiving the communication state of the Bluetooth control device fed back by each device, and determining the second device with normal communication from the N devices based on the communication state of each device and the Bluetooth control device.
[0078] Specifically, the cloud can record the device information bound with the Bluetooth control device. For example, if the devices bound with the Bluetooth control device are device 1, device 2 and device 3 respectively, the first device is device 1, if device 1 cannot communicate with the Bluetooth control device, the cloud sends a communication state detection request to device 2 and device 3. Device 2 and device 3 determine whether they can communicate with the Bluetooth control device, and the specific manner in which device 2 and device 3 determine the communication state of the Bluetooth control device can refer to the above description, which will not be repeated here. After obtaining the respective communication states, device 2 and device 3 send them to the cloud, and the cloud determines the second device that can normally communicate with the Bluetooth control device from them.
[0079] In the specific implementation process, if there are multiple devices that can normally communicate with the Bluetooth control device, for example, continuing to use the above example, if device 2 and device 3 can both normally communicate with the Bluetooth control device, one of them can be randomly selected as the second device. Alternatively, the signal strengths of the Bluetooth signals received by device 2 and device 3 from the Bluetooth control device can be obtained, and the device with the strongest signal strength can be selected as the second device.
[0080] In step S203, after determining the second device, the cloud sends a second data request to the second device, and the second device sends an acquisition request for the target scene information to the Bluetooth control device after receiving the second data request. The Bluetooth control device sends the target scene information to the second device, and the second device sends the received target scene information to the cloud.
[0081] In the embodiments of the present specification, the second device and the Bluetooth control device can be in a low-power communication state. In one embodiment, the second device and the Bluetooth control device can not establish a connection when there is no communication demand, and the second device communicates with the Bluetooth control device again after receiving the second data request, so as to reduce the power consumption of the Bluetooth control device. Alternatively, in another embodiment, the second device can communicate with the Bluetooth control device at a lower frequency, and can not establish communication at other times. In this way, the power consumption of the Bluetooth control device can be reduced.
[0082] In step S204, after receiving the target scene information, the cloud can generate the control parameter of the first device based on the target scene information, and send it to the first device, so as to ensure normal control of the first device.
[0083] In the embodiments of the present specification, the target scene information can be dynamic update information or non-dynamic update information. For example, the dynamic update information can be parameter information generated in real time according to the local control algorithm of the Bluetooth control device, or environmental parameters collected in real time by the Bluetooth control device. The non-dynamic update information can be a preset parameter configured.
[0084] In a specific implementation process, if the target scene information is dynamic update information, after generating the control parameter of the first device in this round according to the currently obtained target scene information, the following steps can be further performed: when performing the next round of control on the first device, sending a third data request for the target scene information to the second device, so that the second device requests the latest target scene information from the Bluetooth control device based on the third data request, and forwards the latest target scene information to the cloud; based on the received latest target scene information, generating the next round of control parameter of the first device, and delivering the next round of control parameter to the first device.
[0085] Specifically, since the target scene information is real-time changing, the target scene information needs to be reacquired every time the control parameter of the first device is generated, that is, every time a new control parameter needs to be generated, a third data request is sent to the second device, and the latest target scene information is acquired through the link between the cloud, the second device and the Bluetooth control device.
[0086] For the case where the target scene information is non-dynamic update information, the following steps can be performed: saving the target scene information sent by the second device in the cloud, and when performing the next round of control on the first device, generating the next round of control parameter of the first device based on the target scene information stored in the cloud, and delivering the next round of control parameter to the first device.
[0087] Specifically, when the target scene information is non-dynamic update information, the target scene information can be directly saved to the cloud, and in the subsequent control process of the first device, the control information is generated through the target scene information saved in the cloud.
[0088] In the embodiments of the present specification, when the first device and the Bluetooth control device are in communication interruption, the first device can also attempt to establish communication with the Bluetooth control device at a certain frequency. In an embodiment, the first device can emit a Bluetooth signal to the environment at a pre-set frequency (for example, a first frequency), and detect whether a feedback signal of the Bluetooth control device is received. If the feedback signal is detected, it indicates that the first device and the Bluetooth control device have resumed communication.
[0089] After the first device and the Bluetooth control device resume communication, the following steps can be performed: receiving the target scene information sent by the first device, and generating the control parameter of the first device based on the target scene information sent by the first device.
[0090] Specifically, after the first device and the Bluetooth controller re-establish communication, the first device can obtain target scene information from the Bluetooth controller without needing to request data through the second device. The first device sends a data acquisition request to the Bluetooth controller, receives the target scene information from the Bluetooth controller, and then uploads the target scene information to the cloud.
[0091] It should be noted that if the target scene information is non-dynamically updated information already stored in the cloud, the control parameters will still be generated based on the target scene information already stored in the cloud after the first device and the Bluetooth control device resume communication, without needing to retrieve it again through the first device. If the target scene information is dynamically updated information, the latest target scene information can be obtained in real time through the first device.
[0092] In the embodiments of this specification, if the cloud needs to continuously obtain target scene information through the second device during the control of the first device, the second device can also continuously detect the communication status between the second device and the Bluetooth control device during this process. If the user moves the Bluetooth control device to another location, causing the second device to communicate with the Bluetooth control device, the cloud can again determine the third device that is currently communicating normally with the Bluetooth control device, and obtain the target scene information through the third device to ensure normal control of the first device.
[0093] In summary, in the solutions provided by the embodiments of this specification, when communication between the controlled first device and the Bluetooth control device is interrupted, the cloud can still obtain target scene information through other devices communicating with the Bluetooth control device, ensuring the accuracy and stability of control over the first device. In the embodiments of this specification, after communication between the first device and the Bluetooth control device is interrupted, the Bluetooth control device does not need to increase its power to restore communication. Instead, it obtains scene information through other bound devices that can maintain communication with the Bluetooth control device. This allows the Bluetooth control device to transmit data with other bound devices via low-power communication, achieving low-power communication for the Bluetooth control device.
[0094] like Figure 3 As shown, this specification provides a control method applied in a control system. The method includes the following steps:
[0095] Step S301: The cloud sends a first data request for target scene information to the first device bound to the Bluetooth control device, wherein the target scene information is stored in the Bluetooth control device;
[0096] Step S302: The first device determines the communication status with the Bluetooth control device based on the first data request;
[0097] Step S303: If the communication state between the first device and the Bluetooth control device is communication failure, the cloud determines a second device which maintains normal communication with the Bluetooth control device, and sends a second data request for the target scene information to the second device, wherein the second device is bound with the Bluetooth control device;
[0098] Step S304: The second device requests the target scene information from the Bluetooth control device based on the second data request, and forwards the target scene information to the cloud;
[0099] Step S305: The cloud generates the control parameter of the first device based on the target scene information, and sends the control parameter to the first device.
[0100] In some embodiments, the determination of the communication state with the Bluetooth control device comprises:
[0101] If the first device does not detect the Bluetooth signal sent by the Bluetooth control device within a preset time length, it is determined that the communication state between the first device and the Bluetooth control device is communication failure.
[0102] In some embodiments, before the determination of the second device which maintains normal communication with the Bluetooth control device, the method further comprises: if the first device fails to communicate with the Bluetooth control device, the first device sends a search request for the Bluetooth control device to the cloud;
[0103] The determination of the second device which maintains normal communication with the Bluetooth control device comprises: the cloud determines the second device which maintains normal communication with the Bluetooth control device in response to the search request sent by the first device.
[0104] For the method corresponding to the control system, it has been described in detail in the above method corresponding to the cloud. In order to better understand the control method corresponding to the control system, the following takes the Bluetooth control device as a Bluetooth remote controller, the Bluetooth control device binds the air conditioner 1, the air conditioner 2 and the air conditioner 3 located in the same family, and the air conditioner 1 is controlled by the cloud as an example to describe the steps executed by the control system, please refer to Figure 4 , which specifically comprises the following steps:
[0105] Step S401: The air conditioner 1 is controlled by the cloud, and the target scene information on the Bluetooth remote controller needs to be used;
[0106] Step S402: Whether the air conditioner 1 can search the Bluetooth remote controller, if yes, step S403 is executed, if not, step S404 is executed;
[0107] Step S403: The cloud system controls air conditioner 1 normally;
[0108] Normal control refers to the Bluetooth remote control sending target scene information to air conditioner 1, air conditioner 1 sending the target scene information to the cloud, the cloud generating control parameters based on the target scene information, and sending the control parameters back to air conditioner 1.
[0109] Step S404: Air conditioner 1 initiates a search request for the Bluetooth remote control to the cloud;
[0110] Step S405: The cloud confirms that the air conditioner 2 and the Bluetooth remote control can communicate normally;
[0111] Step S406: Determine whether the target scene information on the Bluetooth remote control is dynamically updated. If yes, proceed to step S407; otherwise, proceed to step S408.
[0112] Among them, the target scene information on the Bluetooth remote control can be checked to see if it is dynamically updated by communicating through the link between air conditioner 1, cloud, air conditioner 2, and Bluetooth remote control.
[0113] Step S407: Each time the air conditioner 1 is controlled, it goes through the process of going from the Bluetooth remote control to the air conditioner 2, and then to the cloud. The cloud generates control parameters and sends them to the air conditioner 1.
[0114] Step S408: The cloud temporarily records the target scene information until the air conditioner and the Bluetooth remote control establish a connection;
[0115] Step S409: The cloud controls the air conditioner 1 based on the target scene information stored in the cloud.
[0116] Based on the same inventive concept, embodiments of this specification provide a control device applied in the cloud, such as... Figure 5 As shown, the device includes:
[0117] The first sending module 501 is used to send a first data request for target scene information to a first device bound to the Bluetooth control device, so that the first device can determine the communication status with the Bluetooth control device based on the first data request, wherein the target scene information is stored in the Bluetooth control device.
[0118] The first processing module 502 is configured to determine a second device that maintains normal communication with the Bluetooth control device if the first device fails to communicate with the Bluetooth control device, wherein the second device is bound to the Bluetooth control device.
[0119] The second sending module 503 is configured to send a second data request for the target scene information to the second device, so that the second device requests the target scene information from the Bluetooth control device based on the second data request, and forwards the target scene information to the cloud.
[0120] The second processing module 504 is configured to generate a control parameter of the first device based on the target scene information, and deliver the control parameter to the first device.
[0121] In some embodiments, if the target scene information is dynamic update information, the apparatus further comprises:
[0122] The third sending module is configured to, when performing next round control on the first device, send a third data request for the target scene information to the second device, so that the second device requests the latest target scene information from the Bluetooth control device based on the third data request, and forwards the latest target scene information to the cloud.
[0123] The third processing module is configured to generate a next round control parameter of the first device based on the received latest target scene information, and deliver the next round control parameter to the first device.
[0124] In some embodiments, if the target scene information is non-dynamic update information, the apparatus further comprises:
[0125] The storage module is configured to save the received target scene information sent by the second device in the cloud.
[0126] In some embodiments, the apparatus further comprises:
[0127] The fourth processing module is configured to, when performing next round control on the first device, generate a next round control parameter of the first device based on the target scene information stored in the cloud, and deliver the next round control parameter to the first device.
[0128] In some embodiments, the apparatus further comprises:
[0129] The fifth processing module is configured to, after the first device and the Bluetooth control device resume communication, receive the target scene information sent by the first device, and generate a control parameter of the first device based on the target scene information sent by the first device.
[0130] In some embodiments, the first processing module 502 is configured to:
[0131] sending a communication state detection request to each of the N devices based on the N devices being bound to the Bluetooth control device, N being a positive integer;
[0132] receiving a feedback of a communication state of the Bluetooth control device from each of the N devices, and determining the second device having a normal communication state from the N devices based on the communication state of each of the N devices with the Bluetooth control device.
[0133] As to the above device, the specific functions of each module have been described in detail in the embodiments of the control method provided by the embodiments of the present application, and thus will not be described in detail here.
[0134] Based on the same inventive concept, the embodiments of the present application provide a control system, referring to FIG. 6, the system comprises: Figure 6
[0135] a cloud 601, a Bluetooth control device 602, and a plurality of devices, wherein the plurality of devices comprises a first device 603 and a second device 604;
[0136] the cloud 601 is configured to send a first data request for target scene information to the first device 603 bound to the Bluetooth control device 602, wherein the target scene information is stored in the Bluetooth control device 602;
[0137] the first device 603 is configured to determine a communication state with the Bluetooth control device 602 based on the first data request;
[0138] the cloud 601 is configured to determine the second device 604 having a normal communication state with the Bluetooth control device 602 when the communication state between the first device 603 and the Bluetooth control device 602 is a communication failure, and send a second data request for the target scene information to the second device 604, wherein the second device 604 is bound to the Bluetooth control device 601;
[0139] the second device 604 is configured to request the target scene information from the Bluetooth control device 602 based on the second data request, and forward the target scene information to the cloud 601;
[0140] the cloud 601 is configured to generate a control parameter of the first device based on the target scene information, and send the control parameter to the first device 603.
[0141] In some embodiments, the first device 603 is configured to determine that the communication state between the first device 603 and the Bluetooth control device 602 is a communication failure when no Bluetooth signal sent by the Bluetooth control device 602 is detected within a preset time length.
[0142] In some implementations, the first device 603 is configured to send a search request for the Bluetooth controller 602 to the cloud 601 when communication between the first device 603 and the Bluetooth controller 602 fails.
[0143] Cloud 601 is used to respond to a search request sent by the first device 603 and determine the second device 604 that maintains normal communication with the Bluetooth controller 602.
[0144] Regarding the above system, the specific functions of each part have been described in detail in the embodiments of the control method provided in the embodiments of this specification, and will not be elaborated here.
[0145] Based on the same inventive concept, embodiments of the present invention provide a device, with reference to... Figure 7 As shown, it includes: a memory 704, a processor 702, and a computer program stored in the memory 704 and executable on the processor 702. When the processor 702 executes the program, it implements any of the above-described embodiments of the control method.
[0146] Among them, Figure 7 In this document, a bus architecture (represented by bus 700) is used. Bus 700 may include any number of interconnected buses and bridges, linking various circuits including one or more processors represented by processor 702 and memory represented by memory 704. Bus 700 may also link various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. Bus interface 705 provides an interface between bus 700 and receiver 701 and transmitter 703. Receiver 701 and transmitter 703 may be the same element, i.e., a transceiver, providing a unit for communicating with various other devices over a transmission medium. Processor 702 is responsible for managing bus 700 and general processing, while memory 704 can be used to store data used by processor 702 during operation.
[0147] The functions described herein can be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions can be stored as one or more instructions or codes on or transmitted via a computer-readable medium. Other examples and embodiments are within the scope and spirit of this invention and the appended claims. For example, due to the nature of software, the functions described above can be implemented using software executed by a processor, hardware, firmware, hardwired, or any combination thereof. Furthermore, the functional units can be integrated into a single processing unit, or each unit can exist physically separately, or two or more units can be integrated into a single unit.
[0148] In several embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. Among them, the above-mentioned device embodiments are only schematic, for example, the division of the units can be a logical function division, and actual implementation can have another division mode, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed each other can be through some interface, indirect coupling or communication connection between units or modules, which can be electrical or other forms.
[0149] The units described as separate components can or can not be physically separated, and the components of the control device can or can not be physical units, that is, they can be located in one place, or they can be distributed to multiple units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment scheme.
[0150] The integrated unit, if implemented in the form of a software function unit and sold or used as an independent product, can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application essentially or the part that contributes to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a plurality of instructions for making a computer device (which can be a personal computer, a server or a network device, etc.) execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: a U disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a mobile hard disk, a magnetic disk or an optical disk, and various program code storage media.
[0151] The above is only an embodiment of the present application and is not used to limit the present application. For those skilled in the art, the present application can have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application shall be included in the scope of the claims of the present application.
Claims
1. A control method, characterized in that, Applied to the cloud, including: A first data request for target scene information is sent to a first device bound to a Bluetooth control device, so that the first device determines the communication status with the Bluetooth control device based on the first data request, wherein the target scene information is stored in the Bluetooth control device; If the first device fails to communicate with the Bluetooth control device, a second device that maintains normal communication with the Bluetooth control device is identified, wherein the second device is bound to the Bluetooth control device; A second data request for the target scene information is sent to the second device, so that the second device requests the target scene information from the Bluetooth control device based on the second data request, and forwards the target scene information to the cloud; Based on the target scene information, control parameters for the first device are generated, and the control parameters are sent to the first device.
2. The method as described in claim 1, characterized in that, If the target scene information is dynamically updated, after generating the control parameters of the first device, the method further includes: When controlling the first device in the next round, a third data request for the target scene information is sent to the second device, so that the second device requests the latest target scene information from the Bluetooth control device based on the third data request, and forwards the latest target scene information to the cloud. Based on the latest target scene information received, the next round of control parameters for the first device is generated and sent to the first device.
3. The method as described in claim 1, characterized in that, If the target scene information is not dynamically updated, after sending the second data request for the target scene information to the second device, the method further includes: The target scene information received from the second device is stored in the cloud.
4. The method as described in claim 3, characterized in that, After generating the control parameters for the first device, the method further includes: When performing the next round of control on the first device, the next round of control parameters for the first device are generated based on the target scene information stored in the cloud, and the next round of control parameters are sent to the first device.
5. The method as described in claim 1, characterized in that, After generating the control parameters for the first device, the method further includes: If the first device resumes communication with the Bluetooth control device, it receives the target scene information sent by the first device and generates control parameters for the first device based on the target scene information sent by the first device.
6. The method as described in claim 1, characterized in that, The second device that maintains normal communication with the Bluetooth control device includes: Based on the N devices bound to the Bluetooth control device, a communication status detection request is sent to each of the N devices, where N is a positive integer; The system receives the communication status feedback from each device with the Bluetooth control device, and based on the communication status of each device with the Bluetooth control device, determines the second device from the N devices whose communication status is normal.
7. A control method, characterized in that, Applied in control systems, including: The cloud sends a first data request for target scene information to a first device bound to the Bluetooth control device, the target scene information being stored in the Bluetooth control device; The first device determines the communication status with the Bluetooth control device based on the first data request; If the communication status between the first device and the Bluetooth control device is communication failure, the cloud determines a second device that maintains normal communication with the Bluetooth control device, and sends a second data request for the target scene information to the second device, wherein the second device is bound to the Bluetooth control device; Based on the second data request, the second device requests the target scene information from the Bluetooth control device and forwards the target scene information to the cloud. Based on the target scene information, the cloud generates control parameters for the first device and sends the control parameters to the first device.
8. The method as described in claim 7, characterized in that, Determining the communication status with the Bluetooth control device includes: If the first device does not detect the Bluetooth signal sent by the Bluetooth control device within a preset time period, the communication status between the first device and the Bluetooth control device is determined to be a communication failure.
9. The method as described in claim 7, characterized in that, Before determining the second device that maintains normal communication with the Bluetooth control device, the method further includes: if the first device fails to communicate with the Bluetooth control device, the first device sends a search request for the Bluetooth control device to the cloud. The determination of the second device that maintains normal communication with the Bluetooth control device includes: the cloud responding to a search request sent by the first device to determine the second device that maintains normal communication with the Bluetooth control device.
10. A control device, characterized in that, Applied to the cloud, including: The first sending module is configured to send a first data request for target scene information to a first device bound to the Bluetooth control device, so that the first device can determine the communication status with the Bluetooth control device based on the first data request, wherein the target scene information is stored in the Bluetooth control device; A first processing module is configured to determine a second device that maintains normal communication with the Bluetooth control device if the first device fails to communicate with the Bluetooth control device, wherein the second device is bound to the Bluetooth control device; The second sending module is used to send a second data request for the target scene information to the second device, so that the second device requests the target scene information from the Bluetooth control device based on the second data request, and forwards the target scene information to the cloud. The second processing module is used to generate control parameters for the first device based on the target scene information, and send the control parameters to the first device.
11. A control system, characterized in that, include: The cloud is used to send a first data request for target scene information to a first device bound to the Bluetooth control device, the target scene information being stored in the Bluetooth control device; The first device is configured to determine the communication status with the Bluetooth control device based on the first data request; The cloud is used to determine a second device that maintains normal communication with the Bluetooth control device when the communication status between the first device and the Bluetooth control device is communication failure, and to send a second data request for the target scene information to the second device, wherein the second device is bound to the Bluetooth control device; The second device is configured to request the target scene information from the Bluetooth control device based on the second data request, and forward the target scene information to the cloud. The cloud is used to generate control parameters for the first device based on the target scene information, and then send the control parameters to the first device.
12. A device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the program, implements the method as described in any one of claims 1-6.
Citation Information
Patent Citations
Intelligent home control system based on learning
CN105785777A
Method for controlling smart home equipment, server and gateway
CN106227055A