Smart home cloud platform and device cooperative control method
Through the device access, communication protocol conversion and collaborative control module of the smart home cloud platform, the problem of difficulty in interconnection of equipment between different brands is solved, the collaborative work of smart home devices is realized, and the system flexibility and user experience are improved.
Patent Information
- Application Number
- CN202411881959.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-19
- Publication Date
- 2025-04-01
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Due to the differences in communication protocols and control methods, smart home devices of different brands are difficult to achieve interconnection and collaborative work, resulting in the user's use process being not smart and convenient enough.
Provides a smart home cloud platform, including device access module, communication protocol conversion module and collaborative control module. The device access module connects smart home devices to the cloud platform through various connection methods, and the communication protocol conversion module converts the protocols of different devices into a unified protocol. The collaborative control module controls the devices to work together in a predefined scenario mode.
It realizes the interconnection and collaborative work of smart home devices of different brands, improves the flexibility and scalability of smart home systems, and improves the user experience.
Smart Images

Figure CN119743341A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart home technology, and in particular to a smart home cloud platform and a device collaborative control method. Background Art
[0002] With the continuous development of smart home technology, more and more families are starting to use smart home devices, such as smart air conditioners, smart refrigerators, smart TVs, smart lights, etc. At present, smart home devices of different brands often use different communication protocols and control methods, which makes it difficult for them to interconnect and work together, resulting in the user's use process being not smart and convenient enough.
[0003] Therefore, there is an urgent need for a solution that can enable smart home devices of different brands to work together. Summary of the invention
[0004] The present application provides a smart home cloud platform and a device collaborative control method to solve the problem in the prior art that smart home devices of different brands often use different communication protocols and control methods, which makes it difficult for them to interconnect and work collaboratively.
[0005] In a first aspect, the present application provides a smart home cloud platform, including: a device access module, a communication protocol conversion module and a collaborative control module;
[0006] The device access module is used to connect multiple smart home devices to the cloud platform through multiple connection methods;
[0007] The communication protocol conversion module is used to convert the communication protocols of different smart home devices into a unified target communication protocol;
[0008] The collaborative control module is used to determine a target scene mode from a plurality of predefined scene modes, and control a plurality of smart home devices connected to the cloud platform to work collaboratively according to the target scene mode.
[0009] In a possible implementation, the device access module includes a device discovery submodule, and the device discovery submodule includes an active scanning unit, a device broadcast unit, and a manual adding unit;
[0010] The active scanning unit is used to periodically scan the network to find new smart home devices connected to the network;
[0011] The device broadcasting unit is used to discover the corresponding smart home device by receiving the information broadcast by the smart home device;
[0012] The manual adding unit is used to discover the corresponding smart home device according to the device identification information input by the user.
[0013] In a possible implementation, the device access module includes a device connection submodule, and the device connection submodule includes a WiFi connection unit, a Bluetooth connection unit, and a ZigBee connection unit;
[0014] The WiFi connection unit is used to connect the smart home device supporting WiFi communication to the cloud platform through the WiFi network;
[0015] The Bluetooth connection unit is used to connect a smart home device supporting Bluetooth communication to the cloud platform via Bluetooth connection;
[0016] The ZigBee connection unit is used to connect the smart home device supporting ZigBee communication to the cloud platform via ZigBee.
[0017] In a possible implementation, the device access module further includes a device authentication submodule;
[0018] The device authentication submodule is used to authenticate the smart home device before connecting to the smart home device, and after the authentication is passed, connect the smart home device to the cloud platform.
[0019] In a possible implementation, the communication protocol conversion module includes a protocol identification unit and a protocol conversion unit;
[0020] The protocol identification unit is used to identify the communication protocol of the smart home device according to the device information of the smart home device, wherein the device information includes any one of the device model, manufacturer information and the data packet sent by the smart home device;
[0021] The protocol conversion unit is used to convert the identified communication protocol into the target communication protocol.
[0022] In a possible implementation, the communication protocol conversion module further includes a data format conversion unit;
[0023] The data format conversion unit is used to convert the data formats of different smart home devices into a unified target data format.
[0024] In one possible implementation, the collaborative control module is also used to obtain environmental information, generate control instructions based on the environmental information, and determine a target device among multiple smart home devices connected to the cloud platform based on the environmental information, and send the control instructions to the target device to control the target device to adjust the current environment.
[0025] In a possible implementation manner, the collaborative control module is further used to obtain an execution time corresponding to the target scene mode, and when the current time is consistent with the execution time, execute the step of controlling the collaborative operation of multiple smart home devices connected to the cloud platform according to the target scene mode;
[0026] Alternatively, a trigger event corresponding to the target scene mode is obtained, and when the trigger event is detected, a step of controlling a plurality of smart home devices connected to the cloud platform to work collaboratively according to the target scene mode is executed.
[0027] In a possible implementation, the cloud platform further includes: a user interface module, the user interface module including: a user login unit, a device management unit, a scene mode setting unit, a device control unit and a status viewing unit;
[0028] The user login unit is used to implement user login, so as to control and manage the smart home devices connected to the cloud platform after login;
[0029] The device management unit is used to manage smart home devices connected to the cloud platform;
[0030] The scene mode setting unit is used to define a plurality of scene modes;
[0031] The device control unit is used to control the smart home devices connected to the cloud platform;
[0032] The status checking unit is used to check the operating status of the smart home devices connected to the cloud platform.
[0033] In a second aspect, the present application provides a device collaborative control method, comprising:
[0034] Connect multiple smart home devices to the cloud platform through various connection methods;
[0035] determining a target scene mode among a plurality of predefined scene modes;
[0036] The plurality of smart home devices connected to the cloud platform are controlled to work collaboratively according to the target scene mode.
[0037] In a third aspect, the present application provides a device cooperative control apparatus, comprising:
[0038] An access module is used to connect multiple smart home devices to the cloud platform through various connection methods;
[0039] A determination module, used for determining a target scene mode from a plurality of predefined scene modes;
[0040] A control module is used to control the multiple smart home devices connected to the cloud platform to work collaboratively according to the target scene mode.
[0041] In a fourth aspect, the present application provides a device, comprising: a processor and a memory, wherein the processor is used to execute a device collaborative control program stored in the memory to implement the device collaborative control method described in any one of the second aspects.
[0042] In a fifth aspect, the present application provides a storage medium storing one or more programs, which can be executed by one or more processors to implement the device collaborative control method described in any one of the second aspects.
[0043] The above technical solution provided by the embodiment of the present application has the following advantages over the prior art: the cloud platform provided by the embodiment of the present application includes: a device access module, a communication protocol conversion module and a collaborative control module; the device access module is used to connect multiple smart home devices to the cloud platform through multiple connection methods; the communication protocol conversion module is used to convert the communication protocols of different smart home devices into a unified target communication protocol; the collaborative control module is used to determine the target scene mode from multiple pre-defined scene modes, and control the collaborative work of multiple smart home devices connected to the cloud platform according to the target scene mode. Through the cloud platform provided by this application, the interconnection and collaborative work of smart home devices of different brands can be realized, thereby improving the flexibility and scalability of the smart home system. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0045] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0046] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0047] Figure 1 A schematic diagram of the structure of a smart home cloud platform provided in an embodiment of the present application;
[0048] Figure 2 A flowchart of an embodiment of a device collaborative control method provided in an embodiment of the present application;
[0049] Figure 3 A block diagram of an embodiment of a device cooperative control device provided in an embodiment of the present application;
[0050] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0052] The disclosure below provides many different embodiments or examples to realize the different structures of the present application. In order to simplify the disclosure of the present application, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present application. In addition, the present application can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.
[0053] In order to solve the technical problem in the prior art that smart home devices of different brands often use different communication protocols and control methods, which makes it difficult for them to interconnect and work together, the present application provides a smart home cloud platform that can achieve interconnection and collaboration of smart home devices of different brands, thereby improving the flexibility and scalability of the smart home system.
[0054] Figure 1 A schematic diagram of the structure of a smart home cloud platform provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the platform includes: a device access module, a communication protocol conversion module and a collaborative control module;
[0055] The device access module is used to connect multiple smart home devices to the cloud platform through multiple connection methods;
[0056] The communication protocol conversion module is used to convert the communication protocols of different smart home devices into a unified target communication protocol;
[0057] The collaborative control module is used to determine a target scene mode from a plurality of predefined scene modes, and control a plurality of smart home devices connected to the cloud platform to work collaboratively according to the target scene mode.
[0058] The above connection methods refer to the connection methods between the device and the cloud platform, such as WiFi connection, Bluetooth connection, ZigBee connection, etc.
[0059] The above-mentioned smart home devices refer to smart devices that can communicate with the cloud platform, such as smart air conditioners, smart refrigerators, smart TVs, smart lights and other home appliances.
[0060] The above-mentioned scene mode refers to a scene mode pre-defined by the user for implementing scene mode control, for example, "home mode", "sleep mode", "away mode", etc. Each scene mode may include control operations for multiple smart home devices.
[0061] For example, in "home mode", the corresponding control operations include: controlling the smart lamp to turn on the light, controlling the air conditioner to adjust the temperature, controlling the smart speaker to play music, etc. For another example, in "sleep mode", the corresponding control operations include: controlling the smart lamp to turn off the light, controlling the air conditioner to adjust the temperature, controlling the smart speaker to turn off, etc.
[0062] In the application, scene definition and collaborative control can be achieved through the following algorithms:
[0063] Scenario definition algorithm: Users define different scenarios in the user interface module, and each scenario contains operations of multiple devices. The scenario definition algorithm converts the user-defined scenario information into a sequence of device operations and stores it in the cloud platform.
[0064] Equipment collaboration algorithm: The collaborative control module operates the equipment in sequence according to the user-defined scenario and the equipment operation sequence. The equipment collaboration algorithm can achieve collaborative work of equipment by means of timing triggering, event triggering, etc.
[0065] In practical applications, the scene mode selected by the user may be determined as the target scene mode, or the scene mode corresponding to the current scene may be determined as the target scene mode by identifying the current scene.
[0066] In the embodiment of the present application, the cloud platform can use the device access module to connect multiple smart home devices to the cloud platform through multiple connection methods, and then use the communication protocol conversion module to convert the communication protocols of different smart home devices into a unified target communication protocol, so as to facilitate the cloud platform to uniformly manage and control various smart home devices. Finally, the collaborative control module is used to determine the target scene mode in multiple pre-defined scene modes, and control the collaborative work of multiple smart home devices connected to the cloud platform according to the target scene mode. In this way, cross-brand smart home device collaboration can be achieved through the cloud platform to improve compatibility and intelligence.
[0067] The cloud platform provided in the embodiment of the present application includes: a device access module, a communication protocol conversion module and a collaborative control module; the device access module is used to connect multiple smart home devices to the cloud platform through multiple connection methods; the communication protocol conversion module is used to convert the communication protocols of different smart home devices into a unified target communication protocol; the collaborative control module is used to determine the target scene mode from multiple pre-defined scene modes, and control the collaborative work of multiple smart home devices connected to the cloud platform according to the target scene mode. Through the cloud platform provided by the present application, the interconnection and collaborative work of smart home devices of different brands can be realized, thereby improving the flexibility and scalability of the smart home system.
[0068] In another embodiment of the present application, the device access module includes a device discovery submodule, and the device discovery submodule includes an active scanning unit, a device broadcasting unit, and a manual adding unit;
[0069] The active scanning unit is used to periodically scan the network to find new smart home devices connected to the network;
[0070] The device broadcasting unit is used to discover the corresponding smart home device by receiving the information broadcast by the smart home device;
[0071] The manual adding unit is used to discover the corresponding smart home device according to the device identification information input by the user.
[0072] The above device identification information is used to identify the corresponding smart home device, for example, device model, serial number, etc.
[0073] In the application, the device discovery process can be implemented through the following algorithms:
[0074] Active scanning algorithm: The active scanning unit periodically sends broadcast packets to inquire whether there are new smart home devices connected to the network. If a device responds to the broadcast packet, the active scanning unit records the relevant information of the device and adds the device to the device list.
[0075] Device broadcast algorithm: After the smart home device is connected to the network, it broadcasts its existence to the network. The device broadcast unit receives the device broadcast data packet, obtains the relevant information of the device, and adds the device to the device list.
[0076] User manual addition algorithm: The user enters the device identification information of the device in the user interface module, such as the device model, serial number, etc. The manual addition unit searches for the corresponding device in the network based on the information entered by the user and adds the device to the device list.
[0077] In another embodiment of the present application, the device access module includes a device connection submodule, and the device connection submodule includes a WiFi connection unit, a Bluetooth connection unit, and a ZigBee connection unit;
[0078] The WiFi connection unit is used to connect the smart home device supporting WiFi communication to the cloud platform through the WiFi network;
[0079] The Bluetooth connection unit is used to connect a smart home device supporting Bluetooth communication to the cloud platform via Bluetooth connection;
[0080] The ZigBee connection unit is used to connect the smart home device supporting ZigBee communication to the cloud platform via ZigBee.
[0081] In the embodiment of the present application, the device access module uses a corresponding connection method to connect the device to the cloud platform according to the type and communication protocol of the smart home device. The specific connection methods include the following:
[0082] The corresponding smart home device is connected through the WiFi connection unit, that is, for a smart home device that supports WiFi communication, the WiFi connection unit can connect the smart home device to the cloud platform through the WiFi network.
[0083] In the application, WiFi connection can be achieved through the WiFi connection algorithm. The specific execution process is as follows: For smart home devices that support WiFi communication, the WiFi connection unit first obtains the device's SSID and password and other information. Then, the WiFi connection unit connects to the device through the WiFi network and performs authentication. After the authentication is passed, the WiFi connection unit sends the relevant information of the device to the cloud platform to complete the device connection.
[0084] Connected through a Bluetooth connection unit, that is, for a smart home device that supports Bluetooth communication, the Bluetooth connection unit can connect the smart home device to the cloud platform via a Bluetooth connection.
[0085] In the application, Bluetooth connection can be achieved through the Bluetooth connection algorithm. The specific execution process is as follows: For devices that support Bluetooth communication, the Bluetooth connection unit first turns on the Bluetooth function and searches for devices. When the target device is searched, the Bluetooth connection unit pairs with the device and authenticates it. After the authentication is passed, the Bluetooth connection unit sends the relevant information of the device to the cloud platform to complete the connection of the device.
[0086] Connected through a ZigBee connection unit, that is, for a smart home device that supports ZigBee communication, the ZigBee connection unit can connect the smart home device to the cloud platform through a ZigBee gateway.
[0087] In the application, ZigBee connection can be achieved through the ZigBee connection unit. The specific execution process is as follows: For devices that support ZigBee communication, the ZigBee connection unit first connects to the ZigBee network through the ZigBee gateway. Then, the ZigBee connection unit searches for the target device in the ZigBee network and performs authentication. After the authentication is passed, the device access module sends the relevant information of the device to the cloud platform to complete the device connection.
[0088] Through this solution, the cloud platform can support multiple connection methods to connect smart home devices.
[0089] In yet another embodiment of the present application, the device access module further includes a device authentication submodule;
[0090] The device authentication submodule is used to authenticate the smart home device before connecting to the smart home device, and after the authentication is passed, connect the smart home device to the cloud platform.
[0091] In the embodiment of the present application, the device access module can authenticate the smart home device when connecting to the smart home device. The authentication method can be a unique identifier such as a device serial number, MAC address, etc., or a user name and password. This can ensure the security of the smart home device.
[0092] In yet another embodiment of the present application, the communication protocol conversion module includes a protocol identification unit and a protocol conversion unit;
[0093] The protocol identification unit is used to identify the communication protocol of the smart home device according to the device information of the smart home device, wherein the device information includes any one of the device model, manufacturer information and the data packet sent by the smart home device;
[0094] The protocol conversion unit is used to convert the identified communication protocol into the target communication protocol.
[0095] In the application, the protocol conversion process can be achieved through the following algorithm:
[0096] Protocol identification algorithm: The protocol identification unit analyzes the data packets sent by the device to obtain the header information, data length, data type and other information of the data packets, and then determines the communication protocol type of the device based on this information.
[0097] Protocol conversion algorithm: The protocol conversion unit calls the corresponding protocol parsing library or middleware to perform protocol conversion according to the communication protocol type of the device. The protocol conversion process includes data packet parsing, data format conversion, command translation, etc.
[0098] In the embodiment of the present application, first, the communication protocols of different smart home devices are identified by the protocol identification unit. Specifically, the protocol identification can be performed by the model, manufacturer information, etc. of the device, or the protocol type can be determined by analyzing the data packets sent by the smart home device. Then, the communication protocols of different smart home devices are converted into a unified target communication protocol by the protocol conversion unit, so that the cloud platform can uniformly manage and control the smart home devices.
[0099] In practical applications, protocol conversion can be implemented by software or hardware. In software implementation, protocol parsing library, middleware and other technologies can be used for protocol conversion; in hardware implementation, protocol conversion chips and other devices can be used for protocol conversion.
[0100] In yet another embodiment of the present application, the communication protocol conversion module further includes a data format conversion unit;
[0101] The data format conversion unit is used to convert the data formats of different smart home devices into a unified target data format.
[0102] In the application, data format conversion can be achieved through the following algorithms:
[0103] Data format conversion algorithm: The data format conversion unit converts the data into a unified data format according to the data format of the device. The data format conversion process includes data length adjustment, unit conversion, encoding method conversion, etc. In this way, the data formats of different smart home devices can be converted into a unified data format for processing and analysis by the cloud platform.
[0104] In another embodiment of the present application, the collaborative control module is also used to obtain environmental information, generate control instructions based on the environmental information, and determine the target device among multiple smart home devices connected to the cloud platform based on the environmental information, and send the control instructions to the target device to control the target device to adjust the current environment.
[0105] The above-mentioned environmental information refers to parameters corresponding to the current environment, such as temperature, humidity, light, etc.
[0106] In the application, the intelligent control process can be realized through the following algorithms:
[0107] Intelligent control algorithm: The collaborative control module acquires environmental information and equipment status information by collecting sensor data. Then, based on this information, the collaborative control module uses machine learning algorithms to perform data analysis and prediction to achieve intelligent control. For example, when the indoor temperature is too high, the collaborative control module can automatically turn on the air conditioner to cool it down; when the indoor light is too dark, the collaborative control module can automatically turn on the lights for illumination. In practical applications, the intelligent control process can be achieved using technologies such as sensor data collection, data analysis, and machine learning.
[0108] In another embodiment of the present application, the collaborative control module is further used to obtain the execution time corresponding to the target scene mode, and when the current time is consistent with the execution time, execute the step of controlling the collaborative work of multiple smart home devices connected to the cloud platform according to the target scene mode;
[0109] Alternatively, a trigger event corresponding to the target scene mode is obtained, and when the trigger event is detected, a step of controlling a plurality of smart home devices connected to the cloud platform to work collaboratively according to the target scene mode is executed.
[0110] In an embodiment of the present application, the collaborative control module can use a timed triggering method to trigger the collaborative control module to control the collaborative work of multiple smart home devices connected to the cloud platform according to the target scene mode.
[0111] For example, the user pre-sets the "Go Home Mode" to start at 6 o'clock every evening. Then, at 6 o'clock every evening, the corresponding control operations under the "Go Home Mode" are started, for example, controlling the smart lights to turn on the lights, controlling the air conditioner to adjust the temperature, controlling the smart speaker to play music, and so on.
[0112] In addition, the collaborative control module can also use event triggering to trigger the collaborative control module to control the collaborative work of multiple smart home devices connected to the cloud platform according to the target scene mode.
[0113] For example, it is preset that when the user falls asleep, the "sleep mode" is started. Then, when the sensor detects that the user falls asleep, the control operations under the "sleep mode" are started, for example, controlling the smart lights to turn off the lights, controlling the air conditioner to adjust the temperature, controlling the smart speakers to turn off, and so on.
[0114] In this way, the collaborative control module can be intelligently started by timing triggering or event triggering.
[0115] In another embodiment of the present application, the cloud platform further includes: a user interface module, the user interface module including: a user login unit, a device management unit, a scene mode setting unit, a device control unit and a status viewing unit;
[0116] The user login unit is used to implement user login, so as to control and manage the smart home devices connected to the cloud platform after login;
[0117] The device management unit is used to manage smart home devices connected to the cloud platform;
[0118] The scene mode setting unit is used to define a plurality of scene modes;
[0119] The device control unit is used to control the smart home devices connected to the cloud platform;
[0120] The status checking unit is used to check the operating status of the smart home devices connected to the cloud platform.
[0121] In the embodiment of the present application, the user can log in to the user interface module through the user login unit of the user interface module with a username and password, etc., so as to control and manage the smart home devices. After logging in, the user can view and manage the list of connected smart home devices through the device management unit of the user interface module, and perform operations such as adding, deleting, and modifying smart home devices. In addition, the user can also define different scenes through the scene mode setting unit of the user interface module, set the operations performed by each smart home device in the scene, and control a single smart home device through the device control unit of the user interface module, such as turning on the lights, adjusting the temperature, closing the curtains, etc. Finally, the user can also view the status information of each smart home device through the status viewing unit of the user interface module, such as the brightness of the light, the value of the temperature, the degree of opening and closing of the curtains, etc.
[0122] Through the above solution, users can conveniently view and manage smart home devices in the cloud platform through the user interface module.
[0123] Figure 2 The flowchart of an embodiment of a device collaborative control method provided in the present application embodiment. In one embodiment, the method is applied to a smart home cloud platform. Figure 2 As shown, the method comprises the following steps:
[0124] Step 201: Connect multiple smart home devices to the cloud platform through multiple connection methods;
[0125] Step 202: determining a target scene mode from a plurality of predefined scene modes;
[0126] Step 203: Control the multiple smart home devices connected to the cloud platform to work collaboratively according to the target scene mode.
[0127] The technical solution provided by the embodiment of the present application is that the cloud platform can connect multiple smart home devices to the cloud platform through multiple connection methods, and determine the target scene mode from multiple pre-defined scene modes, and control the multiple smart home devices connected to the cloud platform to work together according to the target scene mode. In this way, the interconnection and collaborative work of smart home devices of different brands are achieved, thereby improving the flexibility and scalability of the smart home system.
[0128] Figure 3 This is a block diagram of an embodiment of a device cooperative control device provided in an embodiment of the present application. Figure 3 As shown, the device comprises:
[0129] An access module 301 is used to connect multiple smart home devices to the cloud platform through multiple connection methods;
[0130] A determination module 302, configured to determine a target scene mode from a plurality of predefined scene modes;
[0131] The control module 303 is used to control the multiple smart home devices connected to the cloud platform to work collaboratively according to the target scene mode.
[0132] The technical solution provided by the embodiment of the present application is that the cloud platform can connect multiple smart home devices to the cloud platform through multiple connection methods, and determine the target scene mode from multiple pre-defined scene modes, and control the multiple smart home devices connected to the cloud platform to work together according to the target scene mode. In this way, the interconnection and collaborative work of smart home devices of different brands are achieved, thereby improving the flexibility and scalability of the smart home system.
[0133] like Figure 4 As shown, an embodiment of the present application provides a device, including a processor 111, a communication interface 112, a memory 113 and a communication bus 114, wherein the processor 111, the communication interface 112, and the memory 113 communicate with each other through the communication bus 114.
[0134] Memory 113, used for storing computer programs;
[0135] In one embodiment of the present application, the processor 111 is used to execute the program stored in the memory 113 to implement the device collaborative control method provided by any of the above method embodiments, including:
[0136] Connect multiple smart home devices to the cloud platform through various connection methods;
[0137] determining a target scene mode among a plurality of predefined scene modes;
[0138] The plurality of smart home devices connected to the cloud platform are controlled to work collaboratively according to the target scene mode.
[0139] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the device collaborative control method provided in any of the aforementioned method embodiments are implemented.
[0140] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0141] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0142] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.
[0143] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.
Claims
1. A smart home cloud platform, characterized in that: The cloud platform includes: a device access module, a communication protocol conversion module and a collaborative control module; The device access module is used to connect multiple smart home devices to the cloud platform through multiple connection methods; The communication protocol conversion module is used to convert the communication protocols of different smart home devices into a unified target communication protocol; The collaborative control module is used to determine a target scene mode from a plurality of predefined scene modes, and control a plurality of smart home devices connected to the cloud platform to work collaboratively according to the target scene mode.
2. The cloud platform according to claim 1, characterized in that: The device access module includes a device discovery submodule, and the device discovery submodule includes an active scanning unit, a device broadcasting unit, and a manual adding unit; The active scanning unit is used to periodically scan the network to find new smart home devices connected to the network; The device broadcasting unit is used to discover the corresponding smart home device by receiving the information broadcast by the smart home device; The manual adding unit is used to discover the corresponding smart home device according to the device identification information input by the user.
3. The cloud platform according to claim 1, characterized in that: The device access module includes a device connection submodule, and the device connection submodule includes a WiFi connection unit, a Bluetooth connection unit and a ZigBee connection unit; The WiFi connection unit is used to connect the smart home device supporting WiFi communication to the cloud platform through the WiFi network; The Bluetooth connection unit is used to connect a smart home device supporting Bluetooth communication to the cloud platform via Bluetooth connection; The ZigBee connection unit is used to connect the smart home device supporting ZigBee communication to the cloud platform via ZigBee.
4. The cloud platform according to claim 1, characterized in that: The device access module also includes a device authentication submodule; The device authentication submodule is used to authenticate the smart home device before connecting to the smart home device, and after the authentication is passed, connect the smart home device to the cloud platform.
5. The cloud platform according to claim 1, characterized in that: The communication protocol conversion module includes a protocol identification unit and a protocol conversion unit; The protocol identification unit is used to identify the communication protocol of the smart home device according to the device information of the smart home device, wherein the device information includes any one of the device model, manufacturer information and the data packet sent by the smart home device; The protocol conversion unit is used to convert the identified communication protocol into the target communication protocol.
6. The cloud platform according to claim 1, characterized in that: The communication protocol conversion module also includes a data format conversion unit; The data format conversion unit is used to convert the data formats of different smart home devices into a unified target data format.
7. The cloud platform according to claim 1, characterized in that: The collaborative control module is also used to obtain environmental information, generate control instructions based on the environmental information, and determine the target device among multiple smart home devices connected to the cloud platform based on the environmental information, and send the control instructions to the target device to control the target device to adjust the current environment.
8. The cloud platform according to claim 1, characterized in that: The collaborative control module is further used to obtain the execution time corresponding to the target scene mode, and when the current time is consistent with the execution time, execute the step of controlling the collaborative work of multiple smart home devices connected to the cloud platform according to the target scene mode; Alternatively, a trigger event corresponding to the target scene mode is obtained, and when the trigger event is detected, a step of controlling a plurality of smart home devices connected to the cloud platform to work collaboratively according to the target scene mode is executed.
9. The cloud platform according to claim 1, characterized in that: The cloud platform further includes: a user interface module, the user interface module including: a user login unit, a device management unit, a scene mode setting unit, a device control unit and a status viewing unit; The user login unit is used to implement user login, so as to control and manage the smart home devices connected to the cloud platform after login; The device management unit is used to manage smart home devices connected to the cloud platform; The scene mode setting unit is used to define a plurality of the scene modes; The device control unit is used to control the smart home devices connected to the cloud platform; The status checking unit is used to check the operating status of the smart home devices connected to the cloud platform.
10. A device collaborative control method, characterized in that: The method comprises: Connect multiple smart home devices to the cloud platform through various connection methods; determining a target scene mode among a plurality of predefined scene modes; The plurality of smart home devices connected to the cloud platform are controlled to work collaboratively according to the target scene mode.
Citation Information
Patent Citations
Function-oriented intelligent home control system and intelligent home system
CN106325085A
Smart home control system and method with multiple parallel communication protocols
CN117499168A
Smart home Internet of Things control system
CN117872790A
Smart home automation control system and control method thereof
CN119105306A