Equipment control system, method and equipment and computer readable storage medium
Through the home control system, the operating status of the cloud platform control system is detected and the control right is switched, and the problem of unavailability of the equipment is solved, which achieves the high availability of the equipment and the richness of business functions.
Patent Information
- Application Number
- CN202311391947.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-24
- Publication Date
- 2025-04-25
AI Technical Summary
The existing home device control methods have service availability problems. The remote control of cloud platform relies on centralized systems and public network services, which are prone to unavailability of equipment due to system failures; while local gateway control cannot provide rich and expanded service services due to hardware limitations.
It provides an equipment control system, which detects the operating status of the cloud platform control system through the home control system, activates the home control module in abnormal situations, switches the device control rights, and uses the home control module to control the equipment according to historical instructions or user policies; when the cloud platform control system returns to normal, restores the equipment control rights to the cloud platform system.
It realizes that when the cloud platform control system fails, the home equipment can still be controlled normally, avoiding the problem of unavailability of the equipment. At the same time, cloud platform resources are used to provide rich and easy-to-scaling business functions, and the control system is not restricted by hardware equipment.
Smart Images

Figure CN119892537A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of computing power networks, and in particular, relates to a device control system, method, device and computer-readable storage medium. Background Art
[0002] With the development of network technology, home devices are becoming more intelligent, and the management and control of these home devices are becoming increasingly important.
[0003] Currently, there are two methods for controlling home devices: one is remote control via a cloud platform, and the other is local gateway control.
[0004] However, the use of cloud platform remote control solutions relies on centralized control systems and public network services, which results in service availability issues. When the dependent systems and services fail, home devices will be unable to be controlled and used. Although the use of local gateway control can solve the dependency problem, it cannot provide responsible and rich business services, nor can it be expanded due to reasons such as device hardware limitations. Summary of the invention
[0005] The embodiments of the present application provide a device control system, method, device and computer-readable storage medium, which can utilize the hardware resources of the cloud platform to provide users with rich and easily expandable business functions, while avoiding the control of home devices being restricted by hardware devices.
[0006] In a first aspect, an embodiment of the present application provides a device control system, which includes: a home control system, which is used to detect operating status information of a cloud platform control system, and when the operating status information indicates that the operating status of the cloud platform control system is abnormal, activate a home control module in the home control system, and switch control of the home device to the home control module, and when the operating status information indicates that the operating status of the cloud platform control system is normal, determine that the cloud platform control system controls the home device; wherein the home control module is used to control the home device according to historical control instructions of the home device or according to a control strategy pre-set by a user when the operating status of the cloud platform control system is abnormal; the cloud platform control system is connected to the home control system and the home device respectively through the Internet, and the cloud platform control system is used to control the home device according to control instructions sent by the user when the operating status of the cloud platform control system is normal.
[0007] According to the implementation scheme of the first aspect of the present application, the home control system is also used to continue to detect the operating status information of the cloud platform control system after switching the control right of the home device to the home control module, and restore the control right of the home device to the cloud platform control system when it is detected that the operating status of the cloud platform control system is normal.
[0008] According to any of the aforementioned implementations of the first aspect of the present application, the home control system is also used to determine that the home control system is in a standby state when the operating status information indicates that the operating status of the cloud platform control system is normal, and to obtain historical control data and execution instructions of home devices when the home control system is in the standby state; the historical control data and execution instructions of the home devices are analyzed and processed to obtain historical control instructions of the home devices.
[0009] According to any of the aforementioned implementations of the first aspect of the present application, the home control system is also used to obtain and display operating status data of home devices.
[0010] According to any of the aforementioned implementations of the first aspect of the present application, the operating status information of the cloud platform control system includes: the connection status between the cloud platform control system and the home device, and / or, interface response information of the cloud platform control system.
[0011] In a second aspect, an embodiment of the present application provides a device control method, which includes: a home control system detects operating status information of a cloud platform control system; when the operating status information indicates that the operating status of the cloud platform control system is abnormal, the home control system activates a home control module in the home control system and switches control of the home device to the home control module; when the operating status of the cloud platform control system is abnormal, the home control module controls the home device according to historical control instructions of the home device or according to a control strategy pre-set by the user; when the operating status information indicates that the operating status of the cloud platform control system is normal, the home control system determines that the cloud platform control system controls the home device; when the operating status of the cloud platform control system is normal, the cloud platform control system controls the home device according to control instructions sent by the user.
[0012] According to the implementation method of the second aspect of the present application, the device control method also includes: after the home control system switches the control right of the home device to the home control module, the home control system continues to detect the operating status information of the cloud platform control system, and when it is detected that the operating status of the cloud platform control system is normal, the control right of the home device is restored to the cloud platform control system.
[0013] According to any of the aforementioned implementations of the second aspect of the present application, the device control method also includes: when the operating status information of the home control system indicates that the operating status of the cloud platform control system is normal, determining that the home control system is in a standby state, and when the home control system is in the standby state, obtaining historical control data and home device execution instructions of the home device; analyzing and processing the historical control data and home device execution instructions to obtain historical control instructions of the home device.
[0014] According to any of the aforementioned implementations of the second aspect of the present application, the device control method further includes: the home control system acquires and displays operating status data of the home device.
[0015] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the device control method of the second aspect is implemented.
[0016] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having computer program instructions stored thereon, and when the computer program instructions are executed by a processor, the device control method of the second aspect is implemented.
[0017] A device control system, method, device and computer-readable storage medium according to an embodiment of the present application, when it is detected that the cloud platform control system is operating normally, the cloud platform control system controls the home device, so that the device control system can use the hardware resources of the cloud platform to provide users with rich and easily expandable business functions; when it is detected that the cloud platform control system is operating abnormally, the home control system switches the control of the home device to the home control module, thereby solving the problem of home devices being unavailable when the cloud platform control system fails; and because the home control system according to the embodiment of the present application is a software solution and can run on any suitable home computing device, the control of the home device by the present application is not limited by hardware devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0019] Figure 1 It is a structural schematic diagram of a device control system provided in an embodiment of the present application;
[0020] Figure 2 This is a schematic diagram of the structure of a home control system provided by an embodiment of the present application;
[0021] Figure 3 It is a flow chart of a device control method provided in an embodiment of the present application;
[0022] Figure 4 This is a schematic diagram of a workflow of a device control system provided in an embodiment of the present application;
[0023] Figure 5 This is another schematic diagram of the working process of the device control system provided in the embodiment of the present application;
[0024] Figure 6 It is an internal working flow diagram of the home control system provided by the embodiment of the present application in a standby state;
[0025] Figure 7 It is an internal workflow diagram of the home control system provided by the embodiment of the present application in an activated state;
[0026] Figure 8 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0027] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0028] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0029] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0030] It is obvious to those skilled in the art that various modifications and changes can be made in the present application without departing from the spirit or scope of the present application. Therefore, the present application is intended to cover modifications and changes of the present application that fall within the scope of the corresponding claims (technical solutions for protection) and their equivalents. It should be noted that the implementation methods provided in the embodiments of the present application can be combined with each other without contradiction.
[0031] With the development of network technology, home devices are becoming more intelligent, and the management and control of these home devices are becoming increasingly important.
[0032] Currently, there are two methods for controlling home devices: one is remote control via a cloud platform, and the other is local gateway control.
[0033] However, the use of cloud platform remote control solutions relies on centralized control systems and public network services, which results in service availability issues. When the dependent systems and services fail, home devices will be unable to be controlled and used. Although the use of local gateway control can solve the dependency problem, it cannot provide responsible and rich business services, nor can it be expanded due to reasons such as device hardware limitations.
[0034] In order to solve the problems in the prior art, the embodiments of the present application provide a device control system, method, device and computer-readable storage medium. The device control system provided by the embodiments of the present application is first introduced below.
[0035] Figure 1 A schematic diagram of the structure of a device control system provided by an embodiment of the present application is shown. Figure 1 As shown, the device control system 10 may include: a home control system 101 and a cloud platform control system 102 .
[0036] The home control system 101 can be used to detect the operating status information of the cloud platform control system 102. When the operating status information indicates that the operating status of the cloud platform control system 102 is abnormal, the home control module in the home control system 101 is activated, and the control of the home device is switched to the home control module. When the operating status information indicates that the operating status of the cloud platform control system 102 is normal, it is determined that the cloud platform control system 102 controls the home device. Among them, the home control module can be used to control the home device according to the historical control instructions of the home device or according to the control strategy pre-set by the user when the operating status of the cloud platform control system 102 is abnormal.
[0037] The cloud platform control system 102 can be connected to the home control system 101 and home devices through the Internet. The cloud platform control system 102 can be used to control home devices according to control instructions sent by users when the cloud platform control system 102 is operating normally.
[0038] It should be noted that the implementation scheme of the home control system is to select a computing device in the home network, such as a personal computer (PC) or a small computer such as Raspberry Pi, deploy control software, and form a home control system. The cloud platform control system and the home control system are two control systems for home smart devices. The cloud platform control system runs on the remote cloud, and the home control system runs in the home local environment. They are independent of each other, do not interfere with each other, and serve as the main backup for each other. The home control system and the home gateway are two different solutions. The home control system is a pure software solution that can run on any suitable home computing device and does not rely on specific hardware, while the home gateway itself is a hardware device.
[0039] The device control system 10 provided in the embodiment of the present application is controlled by the cloud platform control system 102 to control the home device when the cloud platform control system 102 is detected to be in normal operation, so that the device control system can use the hardware resources of the cloud platform to provide users with rich and easily expandable business functions; when the cloud platform control system 102 is detected to be in abnormal operation, the home control system 101 switches the control right of the home device to the home control module, solving the problem that the home device is unavailable when the cloud platform control system 102 fails; and because the home control system 101 of the embodiment of the present application is a software solution, it can be run on any suitable home computing device, such as a personal computer (PC) or a small computer such as a Raspberry Pi. The control software is deployed on the computing device to form a home control system. Therefore, the control of home devices by this application is not limited by hardware devices.
[0040] In some preferred embodiments, the home control system 101 includes several functional modules: Figure 2 is a structural diagram of a home control system provided by an embodiment of the present application, such as Figure 2 As shown, combined Figure 1 and Figure 2 From the perspective of the present invention, the home control system 101 may include a cloud platform control system survival probe 201, a device control decision module 202, an information display module 203, a device driver module 204, a device data storage module 205, a device history instruction storage module 206 and a K3S container orchestration and scheduling infrastructure 207.
[0041] Among them, the cloud platform control system survival probe 201 can be used to detect the operating status information of the cloud platform control system 102, that is, to detect whether the cloud platform control system 102 is reachable and available. In some embodiments, the operating status information of the cloud platform control system 102 may include: the connection status between the cloud platform control system 102 and the home device, and / or, the interface response information of the cloud platform control system 102. When the connection status between the cloud platform control system 102 and the home device is normal, and the interface response of the cloud platform control system 102 is normal, it indicates that the operating status of the cloud platform control system 102 is normal. When the connection status between the cloud platform control system 102 and the home device is abnormal, and / or the interface response of the cloud platform control system 102 is abnormal, it indicates that the operating status of the cloud platform control system 102 is abnormal.
[0042] The device control decision module 202 can be used to set the home control system state to active or standby state according to the detection result of the cloud platform control system survival probe 201. When the cloud platform control system survival probe 201 detects that the cloud platform control system 102 is in normal operation, the home control system 101 is set to standby state; when the cloud platform control system 102 is detected to be in abnormal operation, the home control system 101 is set to active state. The device control decision module 202 can also be used to issue control instructions when the home control system 101 is in active state according to the device historical data, the device real-time status, the device historical instructions, etc. The acquisition of device historical data, device real-time status, and device historical instructions will be described in detail below.
[0043] The information display module 203 can be used to provide an application programming interface (API) for the local area network, so that local display terminals such as mobile phones, personal computers (PCs), etc. can display the real-time status of home devices and the real-time status of the home control system. The real-time status of the home control system may include the system operation status and the system activation status. The information display module 203 can also be used to receive local user instructions and send them to the corresponding device.
[0044] The device driver module 205 or the software driver (Software Development Kit, SDK) module can run the device driver service or SDK integration service according to the specific model of the device connected to the home to realize functions such as device connection, data reading, and command issuance.
[0045] The device data storage module 205 is responsible for storing device history data, device history, and / or real-time status of home devices for information display and device control decision-making.
[0046] The device history instruction storage module 206 is responsible for storing the device's history instructions and instruction execution results, which can be used for information display and device control decision-making.
[0047] The K3S container orchestration and scheduling infrastructure 207, as the infrastructure for the operation of other modules of the system, provides other modules with functions such as dependency isolation, independent deployment, and operating environment protection. Specifically, the K3S container orchestration and scheduling infrastructure 207 can flexibly orchestrate and schedule various services through containerization. For example, since the home control system is a pure software system, two home computing devices can be selected to execute specific services in the home control system respectively. When one of the computing devices fails, the K3S container orchestration and scheduling infrastructure 207 can respond in time and load the services of the failed computing device to other computing devices, so that the home control system can continue to execute various services.
[0048] In some embodiments, the home control system 101 can also be used to continue to detect the operating status information of the cloud platform control system 102 by the cloud platform control system survival probe after switching the control right of the home device to the home control module, and restore the control right of the home device to the cloud platform control system 102 when it is detected that the operating status of the cloud platform control system 102 is normal. In this way, it can be achieved that when the cloud platform control system 102 is normal, the cloud platform control system 102 always controls the home device, and the cloud platform control system 102 has the advantages of flexible expansion and easy realization of complex and personalized business functions in controlling home devices.
[0049] In some embodiments, the home control system 101 is also used to determine that the home control system 101 is in a standby state when the operation status information indicates that the cloud platform control system 102 is in a normal operation state. When the home control system 101 is in a standby state, the historical control data and home device execution instructions of the home device are obtained; the historical control data and home device execution instructions are analyzed and processed to obtain the historical control instructions of the home device. For example, the home control system 101 may include a device data storage module and a device historical instruction storage module. When the home control system 101 is in a standby state, the device data storage module in the home control system 101 obtains the historical control data and home device execution instructions of the home device, and the home control system 101 analyzes and processes the historical control data and home device execution instructions, and stores the obtained historical control instructions of the home device in the device historical instruction storage module. So that when the home control module in the home control system 101 controls the home device, the home device can be controlled according to the historical control instructions or the control strategy pre-set by the user.
[0050] For example, when the cloud platform control system 102 controls the home device, it is set to turn on the air conditioner at 6 pm every day in summer. When the cloud platform control system 102 is in an abnormal operating state and the home control module in the home control system 101 controls the home device, the home control module can execute the historical control instruction, that is, the instruction to turn on the air conditioner at 6 pm every day in summer, without the user having to set it again, which brings convenience to the user.
[0051] In some embodiments, the home control system can also be used to obtain and display the operating status data of home devices. For example, the home control system 101 can include an information display module. Since the home control system 101 is a pure software system and can be loaded on any computing device, the operating status information of home devices can be displayed through the user's mobile phone software or a visualized web page, for example, displaying information that the air conditioner is turned on at 6 pm in summer.
[0052] Based on the device control system provided in the above embodiment, the present application also provides a device control method. The device control method applies the device control system provided in the above embodiment.
[0053] Figure 3 A schematic diagram of a flow chart of a device control method provided in an embodiment of the present application is shown. Figure 3 As shown, the device control method may include: S301 to S305.
[0054] S301. The home control system detects the operating status information of the cloud platform control system.
[0055] In some embodiments, the operating status information may include: the connection status between the cloud platform control system and the home device, and / or the interface response information of the cloud platform control system. When the connection status between the cloud platform control system and the home device is normal, and the interface response of the cloud platform control system is normal, it indicates that the operating status of the cloud platform control system is normal. When the connection status between the cloud platform control system and the home device is abnormal, and / or the interface response of the cloud platform control system is abnormal, it indicates that the operating status of the cloud platform control system 102 is abnormal.
[0056] S302: When the operation status information indicates that the operation status of the cloud platform control system is abnormal, the home control system activates the home control module in the home control system and switches the control right of the home device to the home control module.
[0057] S303. When the cloud platform control system is in an abnormal operating state, the home control module controls the home device according to the historical control instructions of the home device or according to the control strategy pre-set by the user.
[0058] In some embodiments, the historical control instructions are obtained by acquiring historical control data of the home device and the execution instructions of the home device; and analyzing and processing the historical control data and the execution instructions of the home device. The specific process of the home control module controlling the home device will be described below.
[0059] S304: When the operation status information indicates that the operation status of the cloud platform control system is normal, the home control system determines that the cloud platform control system controls the home devices.
[0060] S305: When the cloud platform control system is operating normally, the cloud platform control system controls the home devices according to the control instructions received from the user.
[0061] The following will introduce in detail the process of the cloud platform control system controlling home devices. Figure 4 is a schematic diagram of a work flow of a device control system provided in an embodiment of the present application, such as Figure 4 As shown, the device control system needs to use: user application end 401, cloud platform control system 102, home gateway 402, home control system 101 and home device 403 during operation.
[0062] The cloud platform control system 102 is connected to the home control system 101, the home gateway 402 and the user application terminal 401 respectively through public network communication, and the home device 403 is connected to the home gateway 402 and the home control system 101 respectively through local area network communication.
[0063] Figure 4 This scenario is that the home control system 101 detects that the operating status information of the cloud platform control system 102 is normal through public network communication, and when the home control system 101 is in standby state, the cloud platform control system controls the home device 403. First, the user application end 401, such as the user application (Application, App), sends a control instruction to the cloud platform control system 102 through public network communication; the cloud platform control system 102 sends the instruction to the home gateway 402 through public network communication, and finally the home gateway 402 sends the control instruction to the home device 403 through local area network communication. The home gateway 402 can be a router, or other hardware devices that can provide a network.
[0064] Based on the same principle, the home device 403 can send the operation information and data of the home device 403 to the home gateway 402 through the local area network communication, and the home gateway 402 sends it to the cloud platform control system 102 through the public network communication. The cloud platform control system 102 sends the operation information and data of the home device 403 to the user application end 401 through the public network communication, and displays it on the user application end 401. In the scenario where the home control system 101 is in the standby state, the work of the cloud platform control system 102 is to control the home device 403 and collect and issue control instructions. The home control system 101 collects and stores the operation data of the home device 403 and the instructions issued by the cloud platform control system 102 through the local area network communication, and continuously detects the operation status information of the cloud platform control system 102 through the public network communication, and does not issue control instructions to the home device 403.
[0065] Figure 5 is another schematic diagram of the working process of the device control system provided in the embodiment of the present application, such as Figure 5 As shown in FIG. 1 , this scenario is the control of the home control system 101 on the home device 403 when the home control system 101 detects that the cloud platform control system is in an activated state through public network communication. In this scenario, the communication between the cloud platform control system 101 and the user application terminal 403 and the home gateway 402 is interrupted and cannot work normally. The home control system 101 controls the home device 403 through local area network communication according to the historical control instructions of the home device 403 stored in the home control system 101 or according to the control strategy pre-set by the user. For example, when the cloud platform control system 102 controls the home device 403, it sets an instruction to turn on the air conditioner at 6 pm every day. Since the home control system 101 collects and stores the operation data of the home device 403 and the instructions issued by the cloud platform control system 102 through local area network communication in the standby state, when the operation state of the cloud platform control system 102 is abnormal, the home control system 101 can control the home device 403 according to the acquired instruction. It provides convenience for users.
[0066] Continue to see Figure 5 When the home control system is in the activated state, the cloud platform control system 102 cannot work normally and cannot control and manage the home device 403. While the home control system 101 continuously detects the operating status of the cloud platform control through public network communication, it collects and stores the data of the home device 403, sends control instructions to the home device 403, and takes over the device management function. After detecting that the cloud platform control system 102 is in a normal operating state, the home control system 101 will be restored to a standby state, releasing the control right over the home device 403 and not issuing control instructions.
[0067] Figure 6This is an internal workflow diagram of the home control system provided by the embodiment of the present application in a standby state, such as Figure 6 As shown, the internal working process of the home control system in the standby state includes: S601 to S606.
[0068] It should be noted that the following functional modules are all functional modules in the preferred embodiment of the home control system. The functional modules include: cloud platform control system survival probe, device control decision module, information display module, device history instruction storage module, device data storage module and device driver module.
[0069] S601. The cloud platform control system survival probe detects that the cloud platform control system is operating normally.
[0070] The cloud platform control system survival probe is used to monitor and detect the status of the cloud platform control system in real time, providing a basis for switching the status of the backup system.
[0071] S602: The device decision module sets the home control system to a standby state.
[0072] When the home control system is in standby mode, the cloud platform control system controls the operation of home devices.
[0073] S603: The device driver module connects to the home device and obtains data.
[0074] The data may include historical operation data and home device execution instructions.
[0075] S604: The device history instruction storage module stores the history control data.
[0076] S605: The device data storage module stores the home device execution instruction.
[0077] The cloud platform control system survival probe and historical control data, as well as the collection of home device execution instructions are two independent tasks that do not depend on or affect each other and work independently.
[0078] S606: The information display module displays system data and status.
[0079] The local application programming interface (API) exposed by the information display module can provide data display, status monitoring and other functions locally at home without relying on public network services.
[0080] Based on the same principle, Figure 7 This is an internal workflow diagram of the home control system provided by the embodiment of the present application in an activated state; Figure 7As shown, the internal workflow of the home control system in the activated state includes: S701 to S709.
[0081] S701: The cloud platform control system survival probe detects that the cloud platform control system is operating abnormally.
[0082] S702: The device control decision module sets the home control system to an activated state.
[0083] When the home control system is activated, the cloud platform control system survival probe continues to work, and the data storage process is consistent with the standby state.
[0084] S703: The device driver module connects to the home device and obtains data.
[0085] S704: The device history instruction storage module stores the history control data.
[0086] S705: The device data storage module stores the home device execution instruction.
[0087] S706: The information display module displays the home control system data and status.
[0088] Through the LAN API provided by the information display, users can also manually issue instructions to the device through channels such as APP and PC display terminals, replacing the cloud platform control system.
[0089] S707: The device control decision module analyzes the historical control data and the home device execution instructions to obtain the home device control instructions, and issues the home device control instructions.
[0090] In this way, the basic usage functions of home devices can be guaranteed even when the cloud platform control system is unavailable.
[0091] S708: The device driver module receives the instruction from the decision module and sends it to the home device.
[0092] When the survival probe detects that the cloud platform control system has returned to normal, it switches the system state to the standby state.
[0093] In some embodiments, the device control method may further include: step one.
[0094] Step 1: After switching the control of the home device to the home control module, the home control system continues to detect the operating status information of the cloud platform control system. When it is detected that the operating status of the cloud platform control system is normal, the control of the home device is restored to the cloud platform control system.
[0095] In this way, when the cloud platform control system is normal, the cloud platform control system can always control the home devices. The cloud platform control system has the advantages of flexible expansion and easy implementation of complex and personalized business functions in controlling home devices.
[0096] In some embodiments, the device control method may further include: step 2.
[0097] Step 2: When the operating status information of the home control system indicates that the operating status of the cloud platform control system is normal, the home control system is determined to be in a standby state. When the home control system is in the standby state, historical control data and execution instructions of the home devices are obtained; the historical control data and execution instructions of the home devices are analyzed and processed to obtain historical control instructions of the home devices.
[0098] For example, when the cloud platform control system controls the home device, it is set to turn on the air conditioner at 6 pm every day in summer. When the cloud platform control system is in an abnormal operating state and the home control module in the home control system controls the home device, the home control module can execute the historical control instruction, that is, the instruction to turn on the air conditioner at 6 pm every day in summer, without the user having to set it again, which brings convenience to the user.
[0099] Preferably, detecting the operating status of the cloud platform control system and obtaining the historical control data of the home devices and the execution instructions of the home devices are two independent modules running, which are independent of and do not affect each other and work independently.
[0100] In some embodiments, the device control method may further include: step three.
[0101] Step 3: The home control system obtains and displays the operating status data of the home devices.
[0102] In some embodiments, the operating status data includes the operating status of the home control system, data such as whether home devices are turned on or off at a certain point in time, etc., to facilitate user observation and use.
[0103] Based on the same technical concept as the device control method provided in the above embodiment, the present application also provides an electronic device. Please see the following embodiment.
[0104] Figure 8 A schematic diagram of an electronic device provided in an embodiment of the present application, such as Figure 8 As shown, the electronic device includes: a processor 801 and a memory 802 storing computer program instructions.
[0105] Specifically, the processor 801 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0106] The memory 802 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 802 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 802 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 802 may be inside or outside the electronic device. In a particular embodiment, the memory 802 is a non-volatile solid-state memory.
[0107] The memory may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Therefore, generally, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to the first aspect of the present application.
[0108] The processor 801 implements any one of the device control methods in the above embodiments by reading and executing computer program instructions stored in the memory 802 .
[0109] In one example, an electronic device may further include a communication interface 803 and a bus 810. Figure 8 As shown, the processor 801, the memory 802, and the communication interface 803 are connected via a bus 810 and communicate with each other.
[0110] The communication interface 803 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0111] The bus 810 includes hardware, software or both, coupling the components of the terminal service device to each other. For example, but not limitation, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand interconnect, a Linear Predictive Coding (LPC) bus, a memory bus, a MicroChannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (Peripheral Component Interconnect-X, PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VESA Local Bus, VLB) bus or other suitable buses or a combination of two or more of these. Where appropriate, the bus 810 may include one or more buses. Although embodiments of the present application describe and illustrate a particular bus, the present application contemplates any suitable bus or interconnect.
[0112] The device can execute the device control method in the embodiment of the present application based on each unit / component in the device control system, thereby realizing the combination Figure 3 Describes the device control method.
[0113] In addition, in combination with the device control method in the above embodiment, the embodiment of the present application can provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any device control method in the above embodiment is implemented.
[0114] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0115] The functional blocks shown in the structural block diagram described above can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), appropriate firmware, plug-in, function card, etc. When implemented in software, the elements of the present application are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or communication link by a data signal carried in a carrier. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, read-only memory (Read-Only Memory, ROM), flash memory, erasable read-only memory (Erasable ReadOnly Memory, EROM), floppy disks, compact disc read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical discs, hard disks, optical fiber media, radio frequency (Radio Frequency, RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0116] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0117] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0118] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A device control system, characterized in that: include: A home control system, the home control system is used to detect the operation status information of the cloud platform control system, and when the operation status information indicates that the operation status of the cloud platform control system is abnormal, activate the home control module in the home control system and switch the control right of the home device to the home control module, and when the operation status information indicates that the operation status of the cloud platform control system is normal, determine that the cloud platform control system controls the home device; wherein the home control module is used to control the home device according to the historical control instructions of the home device or according to the control strategy preset by the user when the operation status of the cloud platform control system is abnormal; The cloud platform control system is connected to the home control system and the home device through the Internet. The cloud platform control system is used to control the home device according to the control instructions sent by the user when the cloud platform control system is in normal operation.
2. The device control system according to claim 1, characterized in that: The home control system is also used to continue to detect the operating status information of the cloud platform control system after switching the control of the home device to the home control module, and restore the control of the home device to the cloud platform control system when it is detected that the operating status of the cloud platform control system is normal.
3. The device control system according to claim 1, characterized in that: The home control system is also used to determine that the home control system is in a standby state when the operating status information indicates that the cloud platform control system is operating normally, and to obtain historical control data and execution instructions of the home devices when the home control system is in the standby state; analyze and process the historical control data and the execution instructions of the home devices to obtain historical control instructions of the home devices.
4. The device control system according to claim 1, characterized in that: The home control system is also used to obtain and display the operating status data of the home devices.
5. The device control system according to any one of claims 1 to 2, characterized in that: The operating status information of the cloud platform control system includes: The connection status between the cloud platform control system and the home device, and / or the interface response information of the cloud platform control system.
6. A device control method, characterized in that: Applied to the device control system according to any one of claims 1 to 5, the method comprises: The home control system detects the operation status information of the cloud platform control system; When the operation status information indicates that the operation status of the cloud platform control system is abnormal, the home control system activates the home control module in the home control system and switches the control right of the home device to the home control module; The home control module controls the home device according to the historical control instructions of the home device or according to the control strategy preset by the user when the cloud platform control system is in an abnormal operating state; When the operation status information indicates that the operation status of the cloud platform control system is normal, the home control system determines that the home device is controlled by the cloud platform control system; When the cloud platform control system is in a normal operating state, the cloud platform control system controls the home device according to the control instruction received from the user.
7. The device control method according to claim 6, characterized in that: The method further comprises: After switching the control right of the home device to the home control module, the home control system continues to detect the operating status information of the cloud platform control system. When it is detected that the operating status of the cloud platform control system is normal, the control right of the home device is restored to the cloud platform control system.
8. The device control method according to claim 7, characterized in that: The method further comprises: When the operating status information indicates that the operating status of the cloud platform control system is normal, the home control system determines that the home control system is in a standby state, and when the home control system is in the standby state, obtains the historical control data and the home device execution instructions of the home device; analyzes and processes the historical control data and the home device execution instructions to obtain the historical control instructions of the home device.
9. The device control method according to claim 7, characterized in that: The method further comprises: The home control system acquires and displays the operating status data of the home device.
10. An electronic device, characterized in that: The electronic device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the device control method according to any one of claims 6 to 9 is implemented.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the device control method according to any one of claims 6 to 9 is implemented.
Citation Information
Patent Citations
Intelligent household electrical appliance control system and control method based on mobile internet
CN104730932A
Household electrical appliance state information notification method and household electrical appliance state information notification device
CN105471682A
Smart home control system with smart phone as household gateway and method thereof
CN107453970A
Smart home control system and method based on cloud processing
CN107465750A
Household intelligent gateway control system and method based on WebSocket
CN107493349A