Remote control method for smart home equipment

By building a cloud device control platform and remote control nodes, the problem of data communication difficulties and information interference between smart home devices is solved, and efficient smart home device control and security improvement are achieved.

CN118740539AActive Publication Date: 2024-10-01DONGGUAN KEMANLI INTELLIGENT CONTROL
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411004988.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-10-01
Estimated Expiration
2044-07-25

AI Technical Summary

Technical Problem

Smart home devices of different manufacturers and brands have data communication difficulties and information interference problems in the same networking area, which affects control efficiency and security.

Method used

Build a cloud device control platform, establish remote control nodes by obtaining relevant information of home devices, judge the same-domain data communication capabilities, and decide whether to perform communication protocol conversion based on the results, allocate private operation gateways to correct information transmission, and realize integrated control of home devices .

Benefits of technology

It achieves efficient data communication between smart home devices from different manufacturers and brands, reduces information interference, and improves the control efficiency and security of smart home devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740539A_ABST
    Figure CN118740539A_ABST
Patent Text Reader

Abstract

The invention discloses a remote control method for smart home equipment, and relates to the technical field of smart home control, and the method comprises the steps: constructing a cloud equipment control platform, obtaining the equipment related information of a plurality of pieces of home equipment through the cloud equipment control platform, building remote control nodes of the corresponding home equipment in the cloud equipment control platform, and setting a test time period; the method comprises the following steps: judging whether a plurality of remote control nodes can carry out same-domain data communication or not within a test time period, and determining whether to carry out communication protocol conversion of the plurality of remote control nodes or not according to a judgment result; according to the invention, the private operation gateway corresponding to each remote control node is distributed to correct the information transmission of the corresponding home equipment, and all equipment state data of the information transmission are acquired to carry out integrated control on the home equipment, so that intelligent control on different types of home equipment is realized, and information interference among the home equipment during control is effectively reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of smart home control technology, and in particular to a remote control method for smart home equipment. Background Art

[0002] Smart home uses information technology to connect various home appliances in the home environment through the Internet and several types of sensor devices, and realizes automatic control and remote operation through an intelligent management platform. The core goal of smart home is to improve the convenience, comfort, energy saving and safety of the home.

[0003] However, in the existing control methods for smart home devices, there are certain difficulties in data communication between smart homes of different manufacturers and brands, and different smart home devices may cause information interference with each other in the same networking area. These problems are key issues that need to be considered urgently in controlling smart home devices. Summary of the invention

[0004] In order to solve the above problems, an object of the present invention is to provide a remote control method for smart home devices.

[0005] The object of the present invention can be achieved by the following technical solution: A remote control method for smart home devices comprises the following steps:

[0006] Step S1: construct a cloud device control platform, obtain device-related information of several home devices through the cloud device control platform, and establish a remote control node of the corresponding home device in the cloud device control platform;

[0007] Step S2: setting a test period, determining whether a plurality of remote control nodes can perform data communication in the same domain during the test period, and determining whether to perform communication protocol conversion of the plurality of remote control nodes according to the determination result;

[0008] Step S3: When the home appliances corresponding to several remote control nodes are in the same networking environment, a corresponding private operation gateway is allocated to each remote control node to correct the information transmission of the corresponding home appliances and obtain all the device status data of the information transmission for integrated control of the home appliances.

[0009] Furthermore, the process of building a cloud device control platform includes:

[0010] An initial platform code is written and run in an integrated environment tool, thereby constructing an initial cloud platform. The initial cloud platform is provided with a number of platform ports, which are numbered as i, i=1, 2, 3, ..., n, where n is a natural number greater than 0. Device link codes of a number of home appliances are pre-entered on the initial cloud platform. The device link codes are used for communication links between the home appliances and the initial cloud platform. The number of home appliances are numbered as j, j=1, 2, 3, ..., m, where m is a natural number greater than 0.

[0011] The device link code corresponding to the home device numbered j is recorded as To[j], and the mapping relationship between the platform port numbered i in the initial cloud platform and the device link code To[j] corresponding to the home device numbered j is constructed, and the mapping relationship is recorded as R<i,j> , R<i,j> =[ID[i], To[j]], where ID[i] is the port authentication code corresponding to the platform port numbered i, R<i,j> It means that the home appliance numbered j is mapped to the platform port numbered i. The mapping is performed through the corresponding device link code and port authentication code. When all platform ports in the initial cloud platform have completed the establishment of mapping relationships with home appliances, the initial cloud platform is constructed as a cloud device control platform.

[0012] Furthermore, the process of obtaining device-related information of a plurality of home appliances by the cloud device control platform and establishing a remote control node of the corresponding home appliance in the cloud device control platform includes:

[0013] Set the device information acquisition period and record it as T 获取 , T 获取 =[t1, t2], where t1 and t2 are the start time and end time of the device information acquisition period respectively;

[0014] At the start time point corresponding to t1, the cloud device control platform obtains device-related information of several home devices that have established communication links, and the device-related information includes device type, device protocol, device model, device working parameters, device GPS location, device networking data, and device historical work log;

[0015] At the end time point corresponding to t2, the device type, device model and device GPS location in the device-related information are combined as the node identifier, and the remote control node of the corresponding home device is established in the cloud device control platform according to the node identifiers corresponding to several home devices. The device protocol, device working parameters, device networking data and device historical work log in the device-related information of each home device are encapsulated into their respective preset device documents, and then used as the device data set corresponding to each home device.

[0016] Furthermore, the process of determining whether a plurality of remote control nodes can perform data communication in the same domain includes:

[0017] Set a test period. During the test period, the cloud device control platform selects two remote control nodes corresponding to home devices in turn to perform intra-domain data communication. Intra-domain data communication means that the remote control nodes corresponding to different home devices can directly perform data communication in the same local area network.

[0018] The standard communication state of data communication between the remote control nodes of two home devices in the same local area network is predefined, and the network-related data in the standard communication state is set. The network-related data in the standard communication state includes the network rate, the network packet loss rate, and the communication data loading speed, which are respectively denoted as V 网速 , D 丢包 and V 加载 ;

[0019] The remote control nodes corresponding to the two selected home devices are marked as node 1 and node 2 respectively, and then the network rate, network packet loss rate and communication data loading speed of node 1 recorded in the device networking data of each device data set are obtained and recorded as V1 and V2 respectively. 网速 、D1 丢包 and V1 加载 , and obtain the network rate, network packet loss rate and communication data loading speed of node 2, and record them as V2 网速 、D2 丢包 and V2 加载 ;

[0020] Set the data fluctuation threshold of network-related data under standard communication conditions. The data fluctuation threshold includes the network speed fluctuation threshold, the packet loss rate fluctuation threshold, and the loading speed fluctuation threshold, which are denoted as μ1,

[0021] μ2 and μ3, when |V1 网速 —V 网速 |≤μ1,|D1 丢包 —D 丢包 |≤μ2,|V1 加载 —V 加

[0022] 载 |≤μ3, and |V2 网速 —V 网速 |≤μ1,|D2 丢包 —D 丢包 |≤μ2,|V2 加载 —V 加载|≤μ3 is established at the same time, it is determined that the two remote control nodes can perform same-domain data communication, otherwise, the same-domain data communication cannot be performed, and the above operation is repeated, each time determining whether the remote control nodes corresponding to the two home devices can perform same-domain data communication, until the determination of the same-domain data communication corresponding to several remote control nodes is completed.

[0023] Furthermore, the process of determining whether to perform communication protocol conversion of a plurality of remote control nodes according to the judgment result includes:

[0024] The judgment result includes result one and result two. The content of result one is that the remote control nodes corresponding to the two current home appliances can perform data communication in the same domain. The content of result two is that the remote control nodes corresponding to the two current home appliances cannot perform data communication in the same domain.

[0025] When the judgment result is result one, the communication protocol conversion of the remote control nodes corresponding to the two home appliances that cannot perform data communication in the same domain is performed, and then the communication protocol conversion of the remote control nodes corresponding to every two home appliances among a plurality of home appliances that cannot perform data communication in the same domain is repeated. When the judgment result is result two, no operation is performed;

[0026] The communication protocol conversion is as follows: obtain the device protocols corresponding to the device data sets of the remote control nodes of the two home appliances, and replace the device protocols of the two remote control nodes with the standard protocols corresponding to the local area network under the standard communication state, and test whether the two remote control nodes can perform data communication in the same domain. If so, do not perform any operation. If not, correct the standard protocol until the two remote control nodes can perform data communication in the same domain.

[0027] Furthermore, when the home appliances corresponding to several remote control nodes are in the same network environment, the process of allocating the private operation gateway corresponding to each remote control node includes:

[0028] When several remote control nodes are capable of performing data communication in the same domain, the several remote control nodes are in the same networking environment, and the device operating parameters and the device historical working log in the device data set corresponding to each remote control node are obtained;

[0029] Determine whether the device working parameters meet the preset device reference working parameters when the home device is working normally, determine whether there is attack information defined by external attacks in the device's historical working log, and then locate the real-time status of the home device based on the judgment result, the real-time status includes abnormal status and normal status;

[0030] If the device working parameters do not meet the device reference working parameters, or there is attack information in the device historical working log, if either of the two conditions is met, the corresponding home device is located in an abnormal state and is given a state mark of "Abnormal". If the device working parameters meet the device reference working parameters and there is no attack information in the device historical working log, the corresponding home device is located in a normal state and is given a state mark of "Normal".

[0031] Several private operation gateways are set and numbered, denoted by k, where k=1, 2, 3, ..., p, where p is a natural number greater than 0. A private operation gateway is assigned to each remote control node. When the remote control node is assigned to the corresponding private operation gateway, the corresponding gateway transmission channel is called through the private operation gateway, and the gateway transmission channel transmits information of each home appliance, and corrects the information transmission.

[0032] Furthermore, the process in which the private operation gateway generates a gateway transmission channel, the gateway transmission channel transmits information, and the information transmission is corrected includes:

[0033] Obtain the private operation gateway corresponding to each remote control node, and then obtain the gateway port corresponding to the private operation gateway, match the gateway port with the preset port list, and then match the port number in the port list that satisfies the gateway port, and call the gateway transmission channel corresponding to the port number as the gateway transmission channel corresponding to the current remote control node;

[0034] The gateway transmission channel corresponding to each remote control node performs corresponding information transmission according to the preset information transmission rate, information transmission frequency-to-noise ratio and information transmission allowable bit error rate, and sends the device status data generated by the information transmission to the cloud device control platform. The device status data includes the operation-related data of the home device and the status identification of the home device;

[0035] When any of the information transmission rate and the information transmission frequency-to-noise ratio of the corresponding gateway transmission channel does not meet the preset standard information transmission rate and standard information transmission frequency-to-noise ratio, or the actual bit error rate of the corresponding gateway transmission channel does not meet the permissible bit error rate of information transmission, the network bandwidth, modulation mode, signal-to-noise ratio model and encoding mode of the current gateway transmission channel are changed, and the information transmission rate and the information transmission frequency-to-noise ratio are corrected to the standard information transmission rate and the standard information transmission frequency-to-noise ratio, and the actual bit error rate is corrected to meet the permissible bit error rate of information transmission. Otherwise, no operation is performed.

[0036] Furthermore, the process of integrated control of home appliances includes:

[0037] Obtain all device status data of information transmission, and decide whether to perform fault handling operations according to the status identification of the home device in the device status data. When the status identification of the home device is "Abnormal", the fault handling operation is performed, and when the status identification of the home device is "Normal", the fault handling operation is not performed;

[0038] When the fault handling operation of the home appliance is completed, the operation-related data of each home appliance in the corresponding remote control node is obtained, and all the operation-related data is input into the preset instruction library, and then the device integration control instructions of each home appliance in the instruction library are obtained, and the intelligent home scene corresponding to the home appliance is constructed according to the device integration control instructions of each home appliance.

[0039] Compared with the prior art, the present invention has the following beneficial effects:

[0040] 1. By building a cloud device control platform, we can obtain the device-related information of several home appliances, establish remote control nodes for the corresponding home appliances in the cloud device control platform, set a test period to determine whether several remote control nodes can perform data communication in the same domain, and decide whether to convert the communication protocols of several remote control nodes based on the judgment results, thus completing the mutual data communication between smart homes of different manufacturers and brands.

[0041] 2. When the home appliances corresponding to several remote control nodes are in the same networking environment, a corresponding private operation gateway is allocated to each remote control node to correct the information transmission of the corresponding home appliances, and obtain all the device status data of the information transmission for integrated control of the home appliances, which effectively reduces the problem of information interference between the control of different smart homes and realizes efficient and intelligent control of home appliances. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 It is a flow chart of the present invention. DETAILED DESCRIPTION

[0043] like Figure 1 As shown, the remote control method for smart home devices includes the following steps:

[0044] Step S1: construct a cloud device control platform, obtain device-related information of several home devices through the cloud device control platform, and establish a remote control node of the corresponding home device in the cloud device control platform;

[0045] Step S2: setting a test period, determining whether a plurality of remote control nodes can perform data communication in the same domain during the test period, and determining whether to perform communication protocol conversion of the plurality of remote control nodes according to the determination result;

[0046] Step S3: When the home appliances corresponding to several remote control nodes are in the same networking environment, a corresponding private operation gateway is allocated to each remote control node to correct the information transmission of the corresponding home appliances and obtain all the device status data of the information transmission for integrated control of the home appliances.

[0047] It should be further explained that, in the specific implementation process, the process of building a cloud device control platform includes:

[0048] The programmer writes the initial platform code and runs the platform code in the integrated environment tool to build the initial cloud platform, which is provided with a number of platform ports;

[0049] The platform ports are numbered as i, i=1, 2, 3, ..., n, where n is a natural number greater than 0. The device link codes of the home appliances are pre-entered on the initial cloud platform. The device link codes are used to establish a communication link between the home appliances and the initial cloud platform. The home appliances are numbered as j, j=1, 2, 3, ..., m, where m is a natural number greater than 0.

[0050] The device link code corresponding to the home device numbered j is recorded as To[j], and the mapping relationship between the platform port numbered i in the initial cloud platform and the device link code To[j] corresponding to the home device numbered j is constructed, and the mapping relationship is recorded as R<i,j> ;

[0051] Then R<i,j> =[ID[i], To[j]], where ID[i] is the port authentication code corresponding to the platform port numbered i, R<i,j> Indicates that the home device numbered j is mapped to the platform port numbered i, and the mapping is performed through the corresponding device link code and port authentication code of the two;

[0052] When all platform ports in the initial cloud platform have completed the establishment of mapping relationships with home devices, the initial cloud platform is constructed as a cloud device control platform.

[0053] It should be further explained that, in the specific implementation process, the cloud device control platform obtains device-related information of several home devices and establishes a remote control node of the corresponding home device in the cloud device control platform, including:

[0054] When the cloud device control platform is built, set the device information acquisition period and record it as T 获取 , there is T 获取 =[t1, t2], where t1 is the start time of the device information acquisition period, and t2 is the end time of the device information acquisition period;

[0055] At the start time point corresponding to t1, the cloud device control platform obtains device-related information of several household devices that have established communication links, and the device-related information includes device type, device protocol, device model, device operating parameters, device GPS location, device networking data, and device historical work log;

[0056] At the end time point corresponding to t2, the device type, device model and device GPS location in the device-related information are combined as node identifiers, and a remote control node of the corresponding home device is established in the cloud device control platform according to the node identifiers corresponding to the respective home devices. The device protocol, device working parameters, device networking data and device historical working log in the device-related information of each home device are encapsulated into respective preset device documents, and then used as the device data set corresponding to each home device.

[0057] The remote control node corresponding to each home appliance is used to perform a series of control operations on the home appliance.

[0058] It should be further explained that, in a specific implementation process, a test period is set, and a process of determining whether a plurality of remote control nodes can perform data communication in the same domain during the test period includes:

[0059] Set the test period and record it as T 测试 , there is T 测试 =[t 始 , t 终 ], where t 始 is the starting time node of the test period, t 终 is the end time node of the test period, at t 始 At the corresponding start time node, the remote control nodes corresponding to the two home appliances are selected in turn in the cloud device control platform to perform intra-domain data communication;

[0060] The same-domain data communication means that the remote control nodes corresponding to different home appliances can directly communicate data in the same local area network;

[0061] The content of intra-domain data communication is as follows: pre-define the standard communication state for data communication in the same local area network, and then set the network-related data in the standard communication state. The network-related data in the standard communication state includes network rate, network packet loss rate and communication data loading speed, which are respectively denoted as V 网速 , D 丢包 and V 加载 ;

[0062] The remote control nodes corresponding to the two selected home devices are marked as node 1 and node 2 respectively, and then the network rate, network packet loss rate and communication data loading speed of node 1 recorded in the device networking data in the device data set are obtained and recorded as V1 and V2 respectively. 网速 、D1 丢包 and V1 加载 , and obtain the network rate, network packet loss rate and communication data loading speed of node 2, and record them as V2 网速 、D2 丢包 and V2 加载 ;

[0063] Setting data fluctuation thresholds of network-related data under standard communication conditions, wherein the data fluctuation thresholds include a network speed fluctuation threshold, a packet loss rate fluctuation threshold, and a loading speed fluctuation threshold, and are denoted as μ1, μ2, and μ3 respectively;

[0064] When | V1 网速 —V 网速 |≤μ1,|D1 丢包 —D 丢包 |≤μ2,|V1 加载 —V 加载 |≤μ3, and |V2 网速 —V 网速 |≤μ1,|D2 丢包 —D 丢包 |≤μ2,|V2 加载 —V 加载 |≤μ3 is true at the same time, then it is judged that the two remote control nodes can communicate data in the same local area network, that is, they can communicate data in the same domain. Otherwise, they cannot communicate data in the same domain.

[0065] Repeat the above operation, each time determining whether two home appliances corresponding to remote control nodes can perform same-domain data communication, until the determination of the same-domain data communication corresponding to several remote control nodes is completed.

[0066] It should be further explained that, in a specific implementation process, the process of determining whether to perform communication protocol conversion of a plurality of remote control nodes according to the judgment result includes:

[0067] The judgment result includes result one and result two;

[0068] The content of the result 1 is: the remote control nodes corresponding to the two current home appliances can perform data communication in the same domain;

[0069] The content of the second result is: the remote control nodes corresponding to the two current home appliances cannot perform data communication in the same domain;

[0070] When the judgment result is result 1, the communication protocol conversion of the remote control nodes corresponding to the two home appliances that cannot perform data communication in the same domain is performed, and then the communication protocol conversion of the remote control nodes corresponding to every two home appliances among a plurality of home appliances that cannot perform data communication in the same domain is repeated;

[0071] When the judgment result is result 2, no operation is performed;

[0072] The content of the communication protocol conversion is: obtaining the device protocols corresponding to the device data sets of the remote control nodes of the two home appliances, and replacing the device protocols of the two remote control nodes with the standard protocols corresponding to the local area network under the standard communication state, and testing whether the two remote control nodes can perform data communication in the same domain. If so, no operation is performed, if not, the standard protocol is corrected until the two remote control nodes can perform data communication in the same domain.

[0073] It should be further explained that, in a specific implementation process, when several home appliances corresponding to remote control nodes are in the same network environment, the process of allocating the corresponding private operation gateway of each remote control node to correct the information transmission of the corresponding home appliances includes:

[0074] When several remote control nodes are capable of performing data communication in the same domain, the several remote control nodes are in the same networking environment, and the device operating parameters and the device historical working log in the device data set corresponding to each remote control node are obtained;

[0075] Determine whether the device working parameters meet the preset device reference working parameters when the home device is working normally, determine whether there is attack information defined by external attacks in the device history work log, and then locate the real-time status of the home device according to the judgment result, the real-time status includes abnormal status and normal status;

[0076] If the device working parameters do not meet the device reference working parameters, or there is attack information in the device historical working log, if either of the two conditions is met, the corresponding home device is located in an abnormal state and is given a state mark of "Abnormal". If the device working parameters meet the device reference working parameters and there is no attack information in the device historical working log, the corresponding home device is located in a normal state and is given a state mark of "Normal".

[0077] Several private operation gateways are set and numbered, denoted by k, then k=1, 2, 3, ..., p, where p is a natural number greater than 0. A private operation gateway is assigned to each remote control node. When the remote control node is assigned to the corresponding private operation gateway, the corresponding gateway transmission channel is called through the private operation gateway, and the gateway transmission channel transmits information of each home appliance and corrects the information transmission.

[0078] Furthermore, the private operation gateway generates a gateway transmission channel, which transmits information and corrects the information transmission as follows:

[0079] Obtain the private operation gateway assigned to each remote control node, and then obtain the gateway port corresponding to the private operation gateway, match the gateway port with the preset port list, and then match the port number in the port list that satisfies the gateway port, and call the gateway transmission channel corresponding to the port number as the gateway transmission channel corresponding to the current remote control node;

[0080] Among them, the private operation gateway assigned to each remote control node is unique and non-repetitive, so the information transmission of each remote control node is carried out through its own specific gateway transmission channel, which to a certain extent avoids the interference of information transmission between different home devices;

[0081] The gateway transmission channel corresponding to each remote control node performs corresponding information transmission according to the preset information transmission rate, information transmission frequency-to-noise ratio and information transmission permitted bit error rate, and sends the device status data generated by the information transmission to the cloud device control platform, wherein the device status data includes operation-related data of the home device and the status identifier of the home device;

[0082] When any of the information transmission rate and the information transmission frequency-to-noise ratio of the corresponding gateway transmission channel does not meet the preset standard information transmission rate and standard information transmission frequency-to-noise ratio, or the actual bit error rate of the corresponding gateway transmission channel does not meet the permitted bit error rate of information transmission, the information transmission is corrected by changing the network bandwidth, modulation mode, signal-to-noise ratio model and encoding mode of the current gateway transmission channel to correct the information transmission rate and the information transmission frequency-to-noise ratio to the standard information transmission rate and the standard information transmission frequency-to-noise ratio, and to correct the actual bit error rate to meet the permitted bit error rate of information transmission. Otherwise, no operation is performed.

[0083] It should be further explained that, in the specific implementation process, the process of obtaining all device status data of information transmission for integrated control of home devices includes:

[0084] Obtain all device status data of information transmission, and decide whether to perform a fault handling operation according to the status identification of the home device in the device status data. When the status identification of the home device is "Abnormal", it is decided to perform a fault handling operation, and when the status identification of the home device is "Normal", the fault handling operation is not performed;

[0085] The content of the fault handling operation is: setting a fault library, the fault library records a number of fault solutions for solving fault problems of household appliances, inputting the fault problems corresponding to all household appliances with status marked as "Abnormal" into the fault library, and then judging whether there are corresponding matching fault solutions in the fault library, if so, handling the fault of the current household appliance according to the fault solution, if not, handing the fault of the household appliance to a fault maintenance personnel for analysis, generating a corresponding troubleshooting plan, and executing the troubleshooting plan;

[0086] After the fault handling operation of the home appliance is completed, the home appliance integrated control of several home appliances is performed, and the content of the home appliance integrated control is as follows: the operation-related data of each home appliance in the corresponding remote control node is obtained, all the operation-related data are input into a preset instruction library, and then the device integrated control instruction of each home appliance in the instruction library is obtained, and the intelligent home scene corresponding to the home appliance is constructed according to the device integrated control instruction of each home appliance;

[0087] The intelligent home scene includes a work start trigger condition, a work end trigger condition, and a linkage trigger condition with other home appliances, wherein when a home appliance meets the corresponding work start trigger condition, the corresponding home appliance is started; when a home appliance meets the corresponding work end trigger condition, the corresponding home appliance is turned off; when a home appliance meets the corresponding linkage trigger condition, other home appliances to be linked are obtained according to the linkage trigger condition, and the current home appliance and other linked home appliances are operated synchronously;

[0088] It should be noted that the work start trigger conditions, work end trigger conditions and linkage trigger conditions corresponding to the home appliances can be changed subsequently. By constructing the smart home scene corresponding to each home appliance, when the smart home scenes corresponding to all home appliances are constructed, a smart home ecosystem is formed in the entire home environment, achieving the purpose of smart home.

[0089] The above embodiments are only used to illustrate the technical method of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.

Claims

1. A remote control method for smart home devices, characterized in that: The following steps are involved: Step S1: construct a cloud device control platform, obtain device-related information of several home devices through the cloud device control platform, and establish a remote control node of the corresponding home device in the cloud device control platform; Step S2: setting a test period, determining whether a plurality of remote control nodes can perform data communication in the same domain during the test period, and determining whether to perform communication protocol conversion of the plurality of remote control nodes according to the determination result; Step S3: When the home appliances corresponding to several remote control nodes are in the same networking environment, a corresponding private operation gateway is allocated to each remote control node to correct the information transmission of the corresponding home appliances and obtain all the device status data of the information transmission for integrated control of the home appliances.

2. The remote control method for smart home devices according to claim 1, characterized in that: The process of building a cloud device control platform includes: An initial platform code is written and run in an integrated environment tool, thereby constructing an initial cloud platform. The initial cloud platform is provided with a number of platform ports, which are numbered as i, i=1, 2, 3, ..., n, where n is a natural number greater than 0. Device link codes of a number of home appliances are pre-entered on the initial cloud platform. The device link codes are used for communication links between the home appliances and the initial cloud platform. The number of home appliances are numbered as j, j=1, 2, 3, ..., m, where m is a natural number greater than 0. The device link code corresponding to the home device numbered j is recorded as To[j], and the mapping relationship between the platform port numbered i in the initial cloud platform and the device link code To[j] corresponding to the home device numbered j is constructed, and the mapping relationship is recorded as R<i,j> , R<i,j> =[ID[i], To[j]], where ID[i] is the port authentication code corresponding to the platform port numbered i, R<i,j> It means that the home appliance numbered j is mapped to the platform port numbered i. The mapping is performed through the corresponding device link code and port authentication code. When all platform ports in the initial cloud platform have completed the establishment of mapping relationships with home appliances, the initial cloud platform is constructed as a cloud device control platform.

3. The remote control method for smart home devices according to claim 2, characterized in that: The process of obtaining device-related information of several home appliances by the cloud device control platform and establishing a remote control node of the corresponding home appliance in the cloud device control platform includes: Set the device information acquisition period and record it as T 获取 , T 获取 =[t1, t2], where t1 and t2 are the start time and end time of the device information acquisition period respectively; At the start time point corresponding to t1, the cloud device control platform obtains device-related information of several home devices that have established communication links, and the device-related information includes device type, device protocol, device model, device working parameters, device GPS location, device networking data, and device historical work log; At the end time point corresponding to t2, the device type, device model and device GPS location in the device-related information are combined as the node identifier, and the remote control node of the corresponding home device is established in the cloud device control platform according to the node identifiers corresponding to several home devices. The device protocol, device working parameters, device networking data and device historical work log in the device-related information of each home device are encapsulated into their respective preset device documents, and then used as the device data set corresponding to each home device.

4. The remote control method for smart home devices according to claim 3, characterized in that: The process of determining whether several remote control nodes can perform data communication in the same domain includes: Set a test period. During the test period, the cloud device control platform selects two remote control nodes corresponding to home devices in turn to perform intra-domain data communication. Intra-domain data communication means that the remote control nodes corresponding to different home devices can directly perform data communication in the same local area network. The standard communication state of data communication between the remote control nodes of two home devices in the same local area network is predefined, and the network-related data in the standard communication state is set. The network-related data in the standard communication state includes the network rate, the network packet loss rate, and the communication data loading speed, which are respectively denoted as V 网速 , D 丢包 and V 加载 ; The remote control nodes corresponding to the two selected home devices are marked as node 1 and node 2 respectively, and then the network rate, network packet loss rate and communication data loading speed of node 1 recorded in the device networking data of each device data set are obtained and recorded as V1 and V2 respectively. 网速 、D1 丢包 and V1 加载 , and obtain the network rate, network packet loss rate and communication data loading speed of node 2, and record them as V2 网速 、D2 丢包 and V2 加载 ; Set the data fluctuation threshold of network-related data under standard communication conditions. The data fluctuation threshold includes the network speed fluctuation threshold, the packet loss rate fluctuation threshold, and the loading speed fluctuation threshold, which are denoted as μ1, μ2, and μ3 respectively. When |V1 网速 —V 网速 |≤μ1,|D1 丢包 —D 丢包 |≤μ2,|V1 加载 —V 加载 |≤μ3, and |V2 网速 —V 网速 |≤μ1,|D2 丢包 —D 丢包 |≤μ2,|V2 加载 —V 加载 |≤μ3 is established at the same time, it is determined that the two remote control nodes can perform same-domain data communication, otherwise, the same-domain data communication cannot be performed, and the above operation is repeated, each time determining whether the remote control nodes corresponding to the two home devices can perform same-domain data communication, until the determination of the same-domain data communication corresponding to several remote control nodes is completed.

5. The remote control method for smart home devices according to claim 4, characterized in that: The process of determining whether to perform communication protocol conversion of several remote control nodes according to the judgment result includes: The judgment result includes result one and result two. The content of result one is that the remote control nodes corresponding to the two current home appliances can perform data communication in the same domain. The content of result two is that the remote control nodes corresponding to the two current home appliances cannot perform data communication in the same domain. When the judgment result is result one, the communication protocol conversion of the remote control nodes corresponding to the two home appliances that cannot perform data communication in the same domain is performed, and then the communication protocol conversion of the remote control nodes corresponding to every two home appliances among a plurality of home appliances that cannot perform data communication in the same domain is repeated. When the judgment result is result two, no operation is performed; The communication protocol conversion is as follows: obtain the device protocols corresponding to the device data sets of the remote control nodes of the two home appliances, and replace the device protocols of the two remote control nodes with the standard protocols corresponding to the local area network under the standard communication state, and test whether the two remote control nodes can perform data communication in the same domain. If so, do not perform any operation. If not, correct the standard protocol until the two remote control nodes can perform data communication in the same domain.

6. The remote control method for smart home devices according to claim 5, characterized in that: When several home appliances corresponding to remote control nodes are in the same network environment, the process of allocating a corresponding private operation gateway to each remote control node includes: When several remote control nodes are capable of performing data communication in the same domain, the several remote control nodes are in the same networking environment, and the device operating parameters and the device historical working log in the device data set corresponding to each remote control node are obtained; Determine whether the device working parameters meet the preset device reference working parameters when the home device is working normally, determine whether there is attack information defined by external attacks in the device's historical working log, and then locate the real-time status of the home device based on the judgment result, the real-time status includes abnormal status and normal status; If the device working parameters do not meet the device reference working parameters, or there is attack information in the device historical working log, if either of the two conditions is met, the corresponding home device is located in an abnormal state and is given a state mark of "Abnormal". If the device working parameters meet the device reference working parameters and there is no attack information in the device historical working log, the corresponding home device is located in a normal state and is given a state mark of "Normal". Several private operation gateways are set and numbered, denoted by k, where k=1, 2, 3, ..., p, where p is a natural number greater than 0. A private operation gateway is assigned to each remote control node. When the remote control node is assigned to the corresponding private operation gateway, the corresponding gateway transmission channel is called through the private operation gateway, and the gateway transmission channel transmits information of each home appliance, and corrects the information transmission.

7. The remote control method for smart home devices according to claim 6, characterized in that: The process of generating a gateway transmission channel through which the private operation gateway transmits information and correcting the information transmission includes: Obtain the private operation gateway corresponding to each remote control node, and then obtain the gateway port corresponding to the private operation gateway, match the gateway port with the preset port list, and then match the port number in the port list that satisfies the gateway port, and call the gateway transmission channel corresponding to the port number as the gateway transmission channel corresponding to the current remote control node; The gateway transmission channel corresponding to each remote control node performs corresponding information transmission according to the preset information transmission rate, information transmission frequency-to-noise ratio and information transmission allowable bit error rate, and sends the device status data generated by the information transmission to the cloud device control platform. The device status data includes the operation-related data of the home device and the status identification of the home device; When any of the information transmission rate and the information transmission frequency-to-noise ratio of the corresponding gateway transmission channel does not meet the preset standard information transmission rate and standard information transmission frequency-to-noise ratio, or the actual bit error rate of the corresponding gateway transmission channel does not meet the permissible bit error rate of information transmission, the network bandwidth, modulation mode, signal-to-noise ratio model and encoding mode of the current gateway transmission channel are changed, and the information transmission rate and the information transmission frequency-to-noise ratio are corrected to the standard information transmission rate and the standard information transmission frequency-to-noise ratio, and the actual bit error rate is corrected to meet the permissible bit error rate of information transmission. Otherwise, no operation is performed.

8. The remote control method for smart home devices according to claim 7, characterized in that: The process of integrated control of home devices includes: Obtain all device status data transmitted by the information, and decide whether to perform a fault handling operation according to the status identification of the home device in the device status data. When the status identification of the home device is "Abnormal", the fault handling operation is performed, and when the status identification of the home device is "Normal", the fault handling operation is not performed; When the fault handling operation of the home appliance is completed, the operation-related data of each home appliance in the corresponding remote control node is obtained, and all the operation-related data is input into the preset instruction library, and then the device integration control instructions of each home appliance in the instruction library are obtained, and the intelligent home scene corresponding to the home appliance is constructed according to the device integration control instructions of each home appliance.

Citation Information

Patent Citations

  • Communication method and device between terminals in LAN

    CN101267378A

  • Test platform compatible with various switches

    CN111600779A

  • OTA upgrading method and system based on protocol conversion

    CN112822199A

  • Equipment interaction method, device and system, super node and storage medium

    CN114257465A

  • Smart home gateway and data processing method

    CN114915521A