Smart home equipment remote control method and system
Through two-factor verification and device relationship map optimization, the identity authentication and cross-protocol control problems of smart home devices are solved, and high security and efficient device collaborative control is achieved.
Patent Information
- Application Number
- CN202510357828.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-25
- Publication Date
- 2025-07-04
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing smart home devices have problems such as simple identity authentication and vulnerability to attacks, difficulty in cross-protocol control, and insufficient device dependency analysis in complex scenarios, resulting in poor security and coordination.
Two-factor verification is used to build a temporary access key, dynamically allocate device permissions based on user types, and automatically match the optimal communication protocol through cloud servers, remote control of equipment is used using local and cloud computing nodes, and the device relationship map is built to optimize the control sequence, and monitor device feedback data in real time.
It improves the security and coordination of equipment control, simplifies the collaborative control process of multiple equipment types, optimizes the equipment linkage in complex scenarios, and improves the reliability and accuracy of equipment linkage.
Smart Images

Figure CN120263580A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of home equipment control, and specifically to a method and system for remotely controlling smart home equipment. Background Art
[0002] With the rapid development of smart home technology, users have put forward higher requirements for the convenience, security, and coordination of remote device control. However, the existing technologies still have the following significant problems:
[0003] 1. The identity authentication mechanism is too simple. Most systems rely only on a single password or static token, which is vulnerable to malicious attacks or counterfeiting, posing a security risk;
[0004] 2. Different brands or types of home equipment adopt heterogeneous communication protocols, resulting in difficulties in cross-protocol control. Users need to manually adapt the protocols, which is cumbersome and has poor compatibility;
[0005] 3. In complex scenarios (such as multi-device linkage and space-dependent operations), the existing systems lack the ability to dynamically analyze the dependency relationships between devices, and the execution order of control instructions is chaotic, easily causing device conflicts or delays, affecting the user experience.
[0006] Therefore, there is an urgent need for a remote automation control solution for home equipment that integrates high-security authentication, cross-protocol compatibility, and intelligent scenario optimization to meet the actual needs of modern smart homes. Summary of the Invention
[0007] In order to solve the above problems, the purpose of the present invention is to provide a method and system for remotely controlling smart home equipment.
[0008] The purpose of the present invention can be achieved through the following technical solutions: A method for remotely controlling smart home equipment includes the following steps:
[0009] Step S1: Initiate a control request at the mobile terminal, synchronously trigger a two-factor verification operation, construct a temporary access secret key for the successfully verified control request, dynamically allocate device control permissions according to the request additional information, and roll back the failed verified control request;
[0010] Step S2: The cloud server automatically matches the optimal communication protocol of each target home equipment to be controlled from the protocol library according to the type of the target home equipment, synchronously conducts communication interaction, evaluates the network quality of the communication interaction, and dynamically switches the transmission mode according to the evaluation result;
[0011] Step S3: Deploy a local computing node and a cloud computing node. The local computing node preloads common instruction logics for remotely controlling devices in simple scenarios, and the cloud computing node analyzes the scenario live information and then remotely controls devices in complex scenarios;
[0012] Step S4: Construct a device relationship graph to analyze the dependencies of home devices, optimize the control execution order of different home devices, monitor the device feedback data in real time, and perform forced intervention management when anomalies are detected.
[0013] Further, the process of initiating a control request at the mobile terminal, synchronously triggering a two-factor authentication operation, constructing a temporary access key for the successfully authenticated control request, dynamically allocating device control permissions based on the request additional information, and rolling back the failed control request includes:
[0014] Each user logs in on their respective mobile terminal and constructs their corresponding control request to be initiated through the mobile terminal. The control request of each user is bound with basic identity information and request additional information;
[0015] Synchronously trigger a two-factor authentication operation based on the basic identity information;
[0016] The basic identity information includes biometric information and token set information;
[0017] When both the biometric information and the token set information are successfully authenticated, construct a temporary access key for the corresponding control request. When either the biometric information or the token set information fails the authentication, roll back the corresponding control request;
[0018] Create a device permission stack based on the temporary access key, and enter the additional request information corresponding to the control request into the device permission stack. The additional request information includes user type and user historical operation records;
[0019] When the user type is an administrator, allocate all device control permissions for the corresponding user;
[0020] When the user type is a regular user, allocate partial device control permissions for the corresponding user.
[0021] Further, the process of the cloud server automatically matching the optimal communication protocol for each target home device to be controlled from the protocol library and synchronously performing communication interaction includes:
[0022] The cloud server and the protocol library are communicatively connected to each other;
[0023] The protocol library pre-stores a device type - device protocol comparison table;
[0024] Obtain the device parameter information of each target home device to be controlled, parse the device parameter information to obtain the device type and communication interaction code, and map the device types of all target home devices to be controlled into the cloud server;
[0025] The cloud server imports all the device types mapped to itself into the protocol library through communication and interaction with the protocol library. The protocol library automatically matches the device protocols required by the target home devices corresponding to each device type, and uses this device protocol as the optimal communication protocol.
[0026] Build a communication middleware to perform communication and interaction between target home devices with different device protocols.
[0027] Furthermore, the process of evaluating the network quality of communication and interaction and dynamically switching the transmission mode according to the evaluation results includes:
[0028] The communication-related parameters during communication and interaction between different target home devices include basic layer index parameters and application layer index parameters. According to the communication-related parameters, a fuzzy logic algorithm is used to calculate the network health during communication and interaction.
[0029] Denote the network health as δ, and the value range of δ is (0, 1).
[0030] Obtain the network quality score according to the network health, denoted as Score, Score = δ × 100.
[0031] When Score ≥ 80, evaluate the network quality of communication and interaction as excellent, and the switched transmission mode is the high-bandwidth mode.
[0032] When 60 ≤ Score < 80, evaluate the network quality of communication and interaction as good, and the switched transmission mode is the balanced mode.
[0033] When Score < 60, evaluate the network quality of communication and interaction as poor, and the switched transmission mode is the saving mode.
[0034] Furthermore, the process of deploying local computing nodes and cloud computing nodes and preloading common instruction logics by the local computing nodes for device remote control in simple scenarios includes:
[0035] Deploy local computing nodes through an embedded edge server;
[0036] Deploy cloud computing nodes through a distributed cluster;
[0037] Preferentially start the local computing nodes and preload common instruction logics. The common instruction logics include device working instructions, device shutdown instructions, and status switching instructions. By executing each common instruction logic, perform device remote control for the automation of target home devices in corresponding simple scenarios respectively.
[0038] Furthermore, the process of performing device remote control in complex scenarios by the cloud computing node after analyzing the scenario live information includes:
[0039] The cloud computing node constructs a three-dimensional structure topology model of the scene according to the scene live information;
[0040] Construct a semantic segmentation network to analyze the spatial features of different target home appliances under the three-dimensional structure topology model of the scene, and obtain the spatial attribution relationship between different target home appliances. The spatial attribution relationship includes spatial synchronization and spatial asynchrony;
[0041] When linkage operations are performed between multiple target home appliances, mark the current working scene where all target home appliances are located as a complex scene, construct the execution sequence priority between each target home appliance in the complex scene, and the linkage events between different target home appliances. After integration, construct a linkage event chain in the complex scene, and monitor whether there are dangerous elements on the chain. Decide whether to generate an abnormal warning notification according to the monitoring result; According to the spatial attribution relationship and the linkage event chain between target home appliances, automatically execute the remote control of all target home appliances in the complex scene.
[0042] Furthermore, the process of constructing a device relationship graph to analyze the device dependency relationship, optimizing the control execution sequence of different home appliances, and real-time monitoring of device feedback data and performing forced intervention management when abnormalities are detected includes:
[0043] Construct the device feature vector of each target home appliance;
[0044] Judge whether there is an interactive association behavior relationship between every two target home appliances. The interactive association behavior relationship includes a direct interaction relationship and an indirect interaction relationship;
[0045] Take each target home appliance as a device node, take the device feature vector as a mapping element, take the interactive association behavior relationship between target home appliances as the inter-chain judgment condition of the device node, assign a strong dependency relationship to all device nodes with direct communication interactions, and construct a device relationship graph;
[0046] Judge whether there is a cyclic dependency among the target home appliances with strong dependency relationships. If so, preferentially execute the automatic remote control of the relevant target home appliances with cyclic dependencies. If not, count the control delay of the critical path corresponding to the device control chain formed under the strong dependency relationship;
[0047] Arrange and combine the target home appliances with control delays that do not meet the preset delay period according to the interactive association behavior relationship, construct several new device control chains with different control execution sequences, and select a new device control chain with the shortest control delay and meeting the delay period to execute the automatic remote control of all corresponding target home appliances. Real-time monitor the device feedback data of each target home appliance, and perform forced intervention management when abnormalities are detected.
[0048] Further, a remote control system for smart home devices, the system comprising:
[0049] A request verification and processing module, used to initiate a control request at a mobile terminal, synchronously trigger a two-factor verification operation, construct a temporary access key for a successfully verified control request, dynamically allocate device control permissions according to request additional information, and fallback for a failed verified control request;
[0050] A device protocol matching module, where the cloud server automatically matches the optimal communication protocol for each target home device to be controlled from a protocol library, synchronously conducts communication interaction, evaluates the network quality of the communication interaction, and dynamically switches the transmission mode according to the evaluation result;
[0051] A device remote control module, used to deploy local computing nodes and cloud computing nodes, where the local computing nodes pre-load common instruction logics for remote control of devices in simple scenarios, and the cloud computing nodes analyze scenario live information for remote control of devices in complex scenarios;
[0052] A device control optimization module, constructs a device relationship graph to analyze the dependencies of home devices, optimizes the control execution order of different home devices, real-time monitors device feedback data, and performs forced intervention management when an anomaly is detected.
[0053] Compared with the prior art, the beneficial effects of the present invention are:
[0054] 1. By constructing a temporary access key through two-factor verification and dynamically allocating device permissions in combination with user types, illegal access is effectively prevented, and a request fallback mechanism is provided in case of verification failure to further reduce the risk of being attacked;
[0055] 2. The cloud server automatically matches the optimal communication protocol for each target home device in combination with the protocol library, and realizes the unified conversion of heterogeneous protocols through a communication middleware, eliminating the need for manual adaptation and simplifying the collaborative control process of different target home devices of multiple device types;
[0056] 3. The local computing nodes handle remote control of devices in simple scenarios, the cloud computing nodes analyze complex scenarios through a three-dimensional topology model and semantic segmentation technology, and the dynamic construction of the linkage event chain and danger monitoring ensure the safety and accuracy of multi-device collaborative execution. By analyzing strong dependencies and circular dependencies through the device relationship graph, the control execution order is optimized, the critical path delay is shortened, and effective control optimization of complex device linkages is achieved, improving the reliability of device linkages. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1 is a flowchart of the present invention. Detailed implementation manners
[0058] As Figure 1 shown, a method for remotely controlling a smart home device includes the following steps:
[0059] Step S1: Initiate a control request at the mobile terminal, synchronously trigger a two-factor authentication operation, construct a temporary access key for the successfully verified control request, dynamically allocate device control permissions according to the request additional information, and roll back the control request with a failed verification;
[0060] Step S2: The cloud server automatically matches the optimal communication protocol of each target smart home device to be controlled from the protocol library according to the type of the target smart home device, synchronously conducts communication interaction, evaluates the network quality of the communication interaction, and dynamically switches the transmission mode according to the evaluation result;
[0061] Step S3: Deploy local computing nodes and cloud computing nodes. The local computing nodes preload common instruction logics for remotely controlling devices in simple scenarios, and the cloud computing nodes analyze the scenario live information and then remotely control devices in complex scenarios;
[0062] Step S4: Construct a device relationship graph to analyze the device dependency relationship, optimize the control execution order of different smart home devices, real-time monitor the device feedback data, and perform forced intervention management when an anomaly is detected.
[0063] It should be further noted that, in the specific implementation process, the process of initiating a control request at the mobile terminal, synchronously triggering a two-factor authentication operation, constructing a temporary access key for the successfully verified control request, dynamically allocating device control permissions according to the request additional information, and rolling back the control request with a failed verification includes:
[0064] Each user performs a login operation on their respective mobile terminal, constructs their respective corresponding control requests, initiates the control requests through their respective mobile terminals, and the control request of each user is bound with corresponding basic identity information and request additional information;
[0065] Synchronously trigger a two-factor authentication operation according to the basic identity information;
[0066] The basic identity information includes biometric information and a token set information;
[0067] The biometric information includes 3D facial features and fingerprint patterns;
[0068] The user collects 3D facial features through an infrared camera arranged on the mobile terminal, collects fingerprint patterns through a capacitive sensor arranged on the mobile terminal, compares the 3D facial features with pre-stored facial reference features, and compares the fingerprint patterns with pre-stored fingerprint templates;
[0069] When the 3D facial features match the facial reference features and the fingerprint patterns belong to the fingerprint template simultaneously, the biometric information verification of the current user is successful; otherwise, the biometric information verification of the current user fails;
[0070] The token set information includes a first type of token and a second type of token;
[0071] The first type of token is sent to the user through the SMS channel;
[0072] The second type of token is sent to the user through the email channel;
[0073] Within the respective preset dynamic life cycles of the first type of token and the second type of token, input the first type of token and the second type of token into the token reading area set on the mobile terminal, and the token reading area determines whether the first type of token and the second type of token can be safely read under their respective specified dynamic life cycles;
[0074] If so, the token set information verification is successful;
[0075] If not, the token set information verification fails;
[0076] After both the biometric information and the token set information are verified successfully, construct a temporary access secret key for the corresponding control request. When any one of the biometric information or the token set information fails the verification, roll back the corresponding control request;
[0077] Create a device permission stack according to the temporary access secret key, and enter the additional request information corresponding to the control request into the device permission stack. The additional request information includes the user type and the user's historical operation records, and the device permission stack dynamically allocates the device control permissions for the corresponding user;
[0078] When the user type is an administrator, allocate all device control permissions for the corresponding user;
[0079] When the user type is an ordinary user, evaluate the confidence level of the corresponding user according to the user's historical operation records, and allocate partial device control permissions for the corresponding user according to the confidence level.
[0080] Among them, the specific content of evaluating the confidence level of the corresponding user according to the user's historical operation records and allocating device control permissions according to the confidence level is as follows:
[0081] Analyze the standard operation behaviors in the user's historical operation records, and use the proportion of the standard operation behaviors in all operation behaviors as the user's confidence level, denoted as ZX. The value range of the confidence level ZX is [0, 1].
[0082] When ZX ∈ [0, 0.6], prohibit the current user from being assigned device control permissions.
[0083] When ZX ∈ (0.6, 1], allow the current user to be assigned partial device control permissions.
[0084] Among them, users with partial device control permissions are only allowed to perform remote control of devices in simple scenarios, while users with full device control permissions are allowed to perform remote control of devices in both simple and complex scenarios. And users with partial device control permissions do not have the right to forcibly intervene in the management of target home devices.
[0085] It should be further noted that in the specific implementation process, the cloud server automatically matches the optimal communication protocol of each target home device to be controlled from the protocol library according to the type of each target home device, and the process of synchronous communication interaction includes:
[0086] The cloud server is communicatively connected to the protocol library.
[0087] The protocol library pre-stores a device type - device protocol comparison table.
[0088] The device type - device protocol comparison table is used to record the device protocols used by home devices of each device type.
[0089] Obtain the device parameter information of each target home device to be controlled, parse the device parameter information to obtain the device type and communication interaction code of the corresponding target home device, and map the device types of all target home devices to be controlled to the cloud server.
[0090] The cloud server imports all the device types mapped to itself into the protocol library through communication interaction with the protocol library. The protocol library automatically matches the device protocols required for target home devices of each device type, and uses this device protocol as the optimal communication protocol.
[0091] The device protocols include ZigBee protocol, HTTP protocol, and LoRaWAN protocol.
[0092] Build a communication middleware. When target home devices of different device types perform synchronous communication interaction, the communication middleware decodes the device protocols of different target home devices, and then converts them into their respective protocol code texts, unifies the number systems between different protocol code texts, and creates a temporary visitor public protocol according to the protocol code texts after unified number system.
[0093] Communication and interaction are carried out between target home devices of different device types through a temporary visitor public protocol, and communication-related parameters during the communication and interaction are monitored in real time. The temporary visitor public protocol is set with a corresponding protocol maintenance time. When the protocol maintenance time ends, the communication and interaction are disconnected, and the temporary visitor public protocol is destroyed.
[0094] It should be further noted that in the specific implementation process, the process of evaluating the network quality of the communication and interaction and dynamically switching the transmission mode according to the evaluation results includes:
[0095] The communication-related parameters during the communication and interaction between the different target home devices include basic layer index parameters composed of round-trip delay, bandwidth utilization rate, and packet loss rate, and also include application layer index parameters composed of device response success rate and protocol compatibility stability rate;
[0096] According to the communication-related parameters, a fuzzy logic algorithm is used to calculate the network health degree during the communication and interaction;
[0097] Network health degree = ω1 × basic layer health coefficient + ω2 × application layer health coefficient;
[0098] Among them, ω1 is the fitting weight of the basic layer health coefficient, ω2 is the fitting weight of the application layer health coefficient, ω1 + ω2 = 1, ω1 > 0, and ω2 > 0;
[0099] Basic layer health coefficient = η1 × round-trip delay + η2 × bandwidth utilization rate + η3 × packet loss rate;
[0100] Among them, η1 is the weighted coefficient of the round-trip delay, η2 is the weighted coefficient of the bandwidth utilization rate, η3 is the weighted coefficient of the packet loss rate, η1 + η2 + η3 = 1, η1 > 0, η2 > 0, η3 > 0;
[0101] Application layer health coefficient = μ1 × device response success rate + μ2 × protocol compatibility stability rate;
[0102] Among them, μ1 is the weighted coefficient of the device response success rate, μ2 is the weighted coefficient of the protocol compatibility stability rate, μ1 + μ2 = 1, μ1 > 0, μ2 > 0;
[0103] The network health degree is denoted as δ, and the value range of δ is (0, 1);
[0104] According to the network health degree, a network quality score is obtained, and the network instruction score is denoted as Score;
[0105] Then: Score = δ × 100;
[0106] When Score ≥ 80, the network quality of the communication interaction is evaluated as excellent, and the switched transmission mode is the high - bandwidth mode;
[0107] When 60 ≤ Score < 80, the network quality of the communication interaction is evaluated as good, and the switched transmission mode is the balanced mode;
[0108] When Score < 60, the network quality of the communication interaction is evaluated as poor, and the switched transmission mode is the saving mode.
[0109] It should be further noted that in the specific implementation process, the process of deploying local computing nodes and cloud computing nodes, and pre - loading common instruction logics by local computing nodes for device remote control in simple scenarios includes:
[0110] Deploy local computing nodes through an embedded edge server;
[0111] Deploy cloud computing nodes through a distributed cluster;
[0112] Pre - start local computing nodes first, and local computing nodes pre - load a series of common instruction logics. The common instruction logics include device working instructions, device shutdown instructions, and status switching instructions. By executing each common instruction logic, device remote control for the automation of target home devices in corresponding simple scenarios is carried out respectively;
[0113] Specifically, it includes the following:
[0114] Automatically execute the device working instruction, and the corresponding simple scenario loaded is the device working scenario. In the device working scenario, automatically remotely control the corresponding target home device to start working;
[0115] Automatically execute the device shutdown instruction, and the corresponding simple scenario loaded is the device shutdown scenario. In the device shutdown scenario, automatically remotely control the response target home device to shut down;
[0116] Automatically execute the status switching instruction, and the loaded simple scenario is the working status switching scenario. In the working status switching scenario, automatically remotely control the response target home device to switch from the currently ongoing working status to the required target working status.
[0117] It should be further noted that in the specific implementation process, the process of the cloud computing node analyzing the scenario live information for device remote control in complex scenarios includes:
[0118] The cloud computing node constructs a three - dimensional structure topology model of the scenario according to the scenario live information;
[0119] By constructing a semantic segmentation network, spatial feature analysis is performed on different target household devices under the three-dimensional structural topology model of the scene, and then the spatial attribution relationship between different target household devices is obtained. The spatial attribution relationship includes spatial synchronization and spatial asynchrony;
[0120] For two target household devices under spatial synchronization, when each is performing its work, it is allowed to be carried out in the same household environment space area, and there is no mutual interference between their respective works;
[0121] For two target household devices under spatial asynchrony, when each is performing its work, it is prohibited to be carried out in the same household environment space area. If the two target household devices are forced to perform their work in a household environment space area, an abnormal warning notice will be generated;
[0122] When linkage operations are performed between multiple target household devices, the current working scenarios of all target household devices are marked as complex scenarios. The execution sequence between each target household device under the complex scenario and the linkage events between different target household devices are constructed. After integration, a linkage event chain under the complex scenario is constructed, and whether there are dangerous elements on the chain is monitored in the linkage event chain. According to the monitoring results, it is decided whether to generate an abnormal warning notice;
[0123] If so, it is decided to generate it. If not, no operation is performed;
[0124] According to the spatial attribution relationship and the linkage event chain between target household devices, the device remote control of all target household devices under the complex scenario is automatically executed, and all abnormal warning notices are pushed to the cloud server. The cloud server locates all abnormal linkage events, analyzes the abnormal details and reasons of the abnormal linkage events, and synchronously generates an abnormal data report for storage in the cloud server.
[0125] It should be further noted that in the specific implementation process, the process of constructing a device relationship graph to analyze the dependence relationship of household devices, optimizing the control execution sequence of different household devices, real-time monitoring of device feedback data, and performing forced intervention management when abnormalities are detected includes:
[0126] Respectively construct the device feature vectors corresponding to each target household device;
[0127] Analyze the interaction logs between target household devices through the association rule algorithm, and then judge whether there is an interaction association behavior relationship between every two target household devices. If so, it means that there is an executable linkage operation between the two target household devices. Further, the interaction association behavior relationship includes a direct interaction relationship and an indirect interaction relationship;
[0128] The direct interaction relationship is carried out through direct communication and interaction between two target home devices;
[0129] The indirect interaction relationship is that two target home devices each send interaction requests to the cloud server, an interaction middleware is constructed at the cloud server, after the interaction middleware receives all interaction requests, it analyzes the interaction requests to obtain the interaction requirements between the target home devices, and the interaction middleware substitutes for the interaction;
[0130] If not, it means that there is no executable linkage operation between the two target home devices;
[0131] Regarding each target home device as a device node, taking the device feature vector of the target home device as the mapping element of its respective device node, taking the interaction association behavior relationship between the target home devices as the inter-chain determination condition of the device node, assigning a strong dependence relationship to all device nodes with direct communication interaction, and then constructing a device relationship graph, and judging whether there is a circular dependence among the target home devices with a strong dependence relationship. If so, preferentially execute the automatic remote control of the relevant target home devices with a circular dependence. If not, count the control delay of the critical path corresponding to each device control chain formed under the strong dependence relationship;
[0132] Optimize all target home devices under the device control chain whose control delay does not meet the preset delay period, arrange and combine the target home devices according to the interaction association behavior relationship, construct several new device control chains with different control execution sequences, and count their respective control delays, and select a new device control chain with the shortest control delay and meeting the delay period to execute the automatic remote control of all its corresponding target home devices;
[0133] Real-time monitor the device feedback data of each target home device, and when an anomaly is detected, the administrator intervenes and manages it forcibly, performs device maintenance on the target home device with the anomaly, and synchronizes the device maintenance data to the cloud server for storage as the maintenance reference data for the same subsequent anomaly.
[0134] The present invention also provides a remote control system for smart home devices, and this system includes:
[0135] A request verification and processing module, which is used to initiate a control request at the mobile terminal, synchronously trigger a two-factor verification operation, construct a temporary access secret key for the verified control request, dynamically allocate device control permissions according to the request additional information, and roll back the unverified control request;
[0136] The device protocol matching module automatically matches the optimal communication protocol for each target home device to be controlled by the cloud server according to the type of the target home device from the protocol library, synchronously conducts communication interaction, evaluates the network quality of the communication interaction, and dynamically switches the transmission mode according to the evaluation result;
[0137] The device remote control module is used to deploy local computing nodes and cloud computing nodes. The local computing nodes pre-load common instruction logics to perform device remote control in simple scenarios, and the cloud computing nodes analyze the scene live information to perform device remote control in complex scenarios;
[0138] The device control optimization module constructs a device relationship graph to analyze the dependencies of home devices, optimizes the control execution order of different home devices, real-time monitors the device feedback data, and performs forced intervention management when an anomaly is detected.
[0139] The above embodiments are only used to illustrate the technical method of the present invention and not to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical method of the present invention can be modified or equivalently replaced without departing from the spirit and scope of the technical method of the present invention.
Claims
1. A method for remotely controlling a smart home device, characterized in that, It includes the following steps: Step S1: Initiate a control request at the mobile terminal, synchronously trigger a two-factor authentication operation, construct a temporary access key for the successfully verified control request, dynamically allocate device control permissions according to the request additional information, and roll back the control request with a failed verification; Step S2: The cloud server automatically matches the optimal communication protocol for each target home device to be controlled from the protocol library, synchronously conducts communication interactions, evaluates the network quality of the communication interactions, and dynamically switches the transmission mode according to the evaluation results; Step S3: Deploy local computing nodes and cloud computing nodes. The local computing nodes pre-load common instruction logics for remote control of devices in simple scenarios, and the cloud computing nodes analyze the scenario live information for remote control of devices in complex scenarios; Step S4: Construct a device relationship graph to analyze the dependencies of home devices, optimize the control execution order of different home devices, real-time monitor the device feedback data, and perform forced intervention management when an anomaly is detected.
2. The remote control method for a smart home device according to claim 1, wherein, The process of initiating a control request at the mobile terminal, synchronously triggering a two-factor authentication operation, constructing a temporary access key for the successfully verified control request, dynamically allocating device control permissions according to the request additional information, and rolling back the control request with a failed verification includes: Each user performs a login operation on their respective mobile terminal, constructs their corresponding control request and initiates it through the mobile terminal. The control request of each user is bound with basic identity information and request additional information; Synchronously trigger a two-factor authentication operation according to the basic identity information; The basic identity information includes biometric information and token set information; When both the biometric information and the token set information are successfully verified, construct a temporary access key for the corresponding control request. When any one of the biometric information or the token set information fails to be verified, roll back the corresponding control request; Create a device permission stack according to the temporary access key, and enter the additional request information corresponding to the control request into the device permission stack. The additional request information includes user type and user historical operation records; When the user type is an administrator, allocate all device control permissions for the corresponding user; When the user type is a regular user, allocate partial device control permissions for the corresponding user.
3. A method for remotely controlling a smart home device according to claim 2, wherein, The process of the cloud server automatically matching the optimal communication protocol for each target home device to be controlled from the protocol library and synchronously conducting communication interactions includes: The cloud server communicates and connects with the protocol library; The protocol library pre-stores a device type - device protocol comparison table; Obtain the device parameter information of each target home device to be controlled, parse the device parameter information to obtain the device type and communication interaction code, and map the device types of all target home devices to be controlled to the cloud server; The cloud server imports all the device types mapped to itself into the protocol library through communication interactions with the protocol library. The protocol library automatically matches the device protocols required for the target home devices corresponding to each device type and uses this device protocol as the optimal communication protocol; Build a communication middleware to carry out communication interaction between target home devices with different device protocols.
4. A method for remotely controlling a smart home device according to claim 3, characterized in that, The process of evaluating the network quality of communication interaction and dynamically switching the transmission mode according to the evaluation results includes: The communication-related parameters during communication interaction between different target home devices include basic layer index parameters and application layer index parameters. According to the communication-related parameters, a fuzzy logic algorithm is used to calculate the network health during communication interaction; Record the network health as δ, and the value range of δ is (0, 1); Obtain the network quality score according to the network health, denoted as Score, Score = δ × 100; When Score ≥ 80, evaluate the network quality of communication interaction as excellent, and the switched transmission mode is the high-bandwidth mode; When 60 ≤ Score < 80, evaluate the network quality of communication interaction as good, and the switched transmission mode is the balanced mode; When Score < 60, evaluate the network quality of communication interaction as poor, and the switched transmission mode is the saving mode.
5. A method for remotely controlling a smart home device according to claim 4, characterized in that, The process of deploying local computing nodes and cloud computing nodes, and preloading common instruction logics by the local computing nodes for remote device control in simple scenarios includes: Deploy local computing nodes through an embedded edge server; Deploy cloud computing nodes through a distributed cluster; Give priority to starting the local computing nodes and preloading common instruction logics. The common instruction logics include device working instructions, device shutdown instructions, and status switching instructions. By executing each common instruction logic, remote device control of target home devices in corresponding simple scenarios is carried out respectively.
6. A method for remotely controlling a smart home device according to claim 5, characterized in that, The process of remote device control in complex scenarios by the cloud computing node after analyzing the scenario live information includes: The cloud computing node constructs a three-dimensional structure topology model of the scenario according to the scenario live information; Construct a semantic segmentation network to analyze the spatial features of different target home devices under the three-dimensional structure topology model of the scenario, and obtain the spatial attribution relationship between different target home devices. The spatial attribution relationship includes spatial synchronization and spatial asynchrony; When linkage operations are carried out between multiple target home devices, mark the current working scenario where all target home devices are located as a complex scenario, construct the execution sequence between each target home device in the complex scenario, and the linkage events between different target home devices. After integration, construct a linkage event chain in the complex scenario, and monitor whether there are dangerous elements on the chain. Decide whether to generate an abnormal warning notice according to the monitoring results; according to the spatial attribution relationship and the linkage event chain between target home devices, automatically execute the remote device control of all target home devices in the complex scenario.
7. A method for remotely controlling a smart home device according to claim 6, characterized in that, The process of constructing a device relationship graph to analyze the dependencies of home devices, optimizing the control execution sequence of different home devices, real-time monitoring of device feedback data, and performing forced intervention management when an anomaly is detected includes: Construct the device feature vector of each target home device; Judge whether there is an interaction correlation behavior relationship between every two target home devices. The interaction correlation behavior relationship includes direct interaction relationship and indirect interaction relationship; Taking each target home device as a device node, the device feature vector as a mapping element, the interaction association behavior relationship between target home devices as the inter-chain determination condition of the device node, and allocating strong dependency relationships to all device nodes with direct communication interactions to construct a device relationship graph; Judging whether there is a cyclic dependency among the target home devices with strong dependency relationships. If so, preferentially execute the automatic remote control of the relevant target home devices with cyclic dependencies. If not, calculate the control delay of the critical path corresponding to the device control chain formed under the strong dependency relationship; Arrange and combine the target home devices with control delays not meeting the preset delay period according to the interaction association behavior relationship, construct several new device control chains with different control execution sequences, select a new device control chain with the shortest control delay and meeting the delay period, execute the automatic remote control of all corresponding target home devices, monitor the device feedback data of each target home device in real time, and perform forced intervention management when an anomaly is detected.
8. A remote control system for smart home devices, which is used to implement the remote control method for smart home devices according to any one of claims 1 to 7, characterized in that The system includes: A request verification and processing module, which is used to initiate a control request at the mobile terminal, synchronously trigger a two-factor verification operation, construct a temporary access secret key for the verified control request, dynamically allocate device control permissions according to the request additional information, and roll back the failed verification control request; A device protocol matching module, where the cloud server automatically matches the optimal communication protocol of each corresponding target home device from the protocol library according to the type of each target home device to be controlled, synchronously conducts communication interactions, evaluates the network quality of the communication interactions, and dynamically switches the transmission mode according to the evaluation results; A device remote control module, which is used to deploy local computing nodes and cloud computing nodes. The local computing nodes pre-load common instruction logics to perform device remote control in simple scenarios, and the cloud computing nodes analyze the scenario live information to perform device remote control in complex scenarios; A device control optimization module, which constructs a device relationship graph to analyze the dependency relationships of home devices, optimizes the control execution sequences of different home devices, monitors the device feedback data in real time, and performs forced intervention management when an anomaly is detected.
Citation Information
Cited By
Cross-system linkage method for smart home entrance-level equipment
CN120434072A
Cross-system linkage method for smart home entry-level devices
CN120434072B
Office intelligent control system and method based on modular temporary place
CN121500814A
Universal control system and method based on cloud soft correlation compensation
CN121585659A