Equipment management method, system and device, equipment and storage medium

By encrypting and transmitting user control instructions in the smart home system and verifying them on the blockchain network, the problem of insufficient user privacy protection in the smart home system is solved, and the security of information transmission and system reliability are achieved.

CN119814487APending Publication Date: 2025-04-11GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1

Patent Information

Application Number
CN202411821206.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-11
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

The existing smart home system does not have perfect protection for user privacy, and there is a risk of information leakage.

Method used

By encrypting and transmitting the user's control instructions and sending the decrypted control instructions to the blockchain network for verification, only legal instructions recognized by the blockchain will be further transmitted and executed.

Benefits of technology

Effectively prevent information from being maliciously intercepted, stolen or tampered during transmission from user terminals to gateway devices, avoiding the inclusion of illegal external instructions, enhancing the security of the entire device management system, and improving the reliability and stability of the smart home system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119814487A_ABST
    Figure CN119814487A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an equipment management method, system and device, equipment and a storage medium. The method comprises the following steps: acquiring encrypted information sent by a user terminal; decrypting the encrypted information to obtain a control instruction; sending the control instruction to a block chain network for verification; a verification result sent by the block chain network is received, and when the verification result shows that verification is passed, the control instruction is sent to the corresponding home equipment through the target protocol, so that the home equipment is controlled to execute corresponding operation; according to the method, the control instruction of the user is encrypted and transmitted, so that the confidentiality and integrity of data related to the control instruction of the user are guaranteed, and the information can be effectively prevented from being maliciously intercepted, stolen or tampered in the process of transmitting the information from the user terminal to the gateway equipment; it is ensured that the household equipment receives effective instructions which are strictly verified, the possibility of abnormal behaviors of the household equipment caused by error instructions is reduced, and the reliability and stability of operation of the intelligent household system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of household appliances, and in particular to an appliance management method, system, device, equipment and storage medium. Background Art

[0002] With the advancement of technology and the improvement of people's living standards, smart home devices are used more and more widely in daily life. Users have higher requirements for the transparency and security of smart home device control. However, the existing smart home system does not provide perfect protection for user privacy. There is a risk of information leakage when the user terminal controls the smart home devices. Summary of the invention

[0003] In view of the above problems, embodiments of the present invention are proposed to provide a device management method, system, apparatus, device and storage medium that overcome the above problems or at least partially solve the above problems.

[0004] In order to solve the above problem, an embodiment of the present invention discloses a device management method, which is applied to a gateway device. The method includes:

[0005] Obtaining encrypted information sent by a user terminal;

[0006] Decrypting the encrypted information to obtain a control instruction;

[0007] Sending the control instruction to the blockchain network for verification;

[0008] Receive the verification result sent by the blockchain network, and when the verification result indicates that the verification is passed, send the control instruction to the corresponding home appliance through the target protocol to control the home appliance to perform the corresponding operation.

[0009] Optionally, the method further comprises:

[0010] Receiving status data sent by the home device;

[0011] Determining whether the status data is valid;

[0012] If the state data is valid, encrypting the state data to obtain encrypted state data;

[0013] The encrypted state data is stored in the blockchain network.

[0014] Optionally, the method further comprises:

[0015] Receiving a status acquisition request sent by the user terminal, wherein the status acquisition request includes a home device identifier;

[0016] Querying the encryption status information corresponding to the target home device from the blockchain network according to the home device identifier;

[0017] The encryption status information is sent to the user terminal.

[0018] Optionally, the status data includes a data format and a timestamp, and the determining whether the status data is valid includes:

[0019] If the data format is consistent with a preset data format, and the time interval between the timestamp and the timestamp of the last time the home appliance reported status data is less than a preset value, it is determined that the status data is valid.

[0020] Optionally, the state information further includes an operating voltage value, and the method further includes:

[0021] When the working voltage value is outside the preset voltage value range, it is determined that the household appliance is working abnormally and an alarm message is generated;

[0022] The warning information is sent to the user terminal.

[0023] The present invention also discloses a device management method, which is applied to a user terminal, and the method comprises:

[0024] Determine a control command input by a user for a home device;

[0025] Encrypting the control instruction to obtain encrypted information;

[0026] The encrypted information is sent to the gateway device so that the gateway device decrypts the encrypted message to obtain the control instruction, and the control instruction is sent to the blockchain network to verify the control instruction. When the control instruction is verified, the control instruction is sent to the corresponding home appliance through the target protocol to control the home appliance to perform the corresponding operation.

[0027] Optionally, the method further comprises:

[0028] Verifying the identity information of the user;

[0029] The determining the control instruction input by the user for the home appliance includes:

[0030] When the identity information of the user is verified, the control instruction for the home appliance input by the user is determined.

[0031] Optionally, verifying the identity information of the user includes:

[0032] Obtaining the account information and password information input by the user;

[0033] Determine whether the account information exists in a preset mapping relationship; the preset mapping relationship includes password information corresponding to multiple user account information;

[0034] If the account information exists in the preset mapping relationship, determining whether the target password information corresponding to the account information in the preset mapping relationship is consistent with the password information;

[0035] If the target password information corresponding to the account information in the preset mapping relationship is consistent with the password information, it is determined that the identity information of the user has been verified.

[0036] Optionally, the method further comprises:

[0037] Sending a status acquisition request to the gateway device, wherein the status acquisition request includes a home device identifier;

[0038] Receive the encrypted status information of the target home device corresponding to the home device identifier sent by the gateway device.

[0039] The present invention also discloses a device management system, the system comprising a gateway device, a user terminal, a blockchain network and a home appliance;

[0040] The user terminal is used to determine the control instruction input by the user for the home device, encrypt the control instruction to obtain encrypted information, and send the encrypted information to the gateway device;

[0041] The gateway device is used to decrypt the encrypted information to obtain a control instruction, send the control instruction to the blockchain network, receive a verification result sent by the blockchain network, and when the verification result indicates that the verification is passed, send the control instruction to the corresponding home appliance through the target protocol to control the home appliance to perform a corresponding operation;

[0042] The blockchain network is used to verify the control instruction and send the verification result to the gateway device.

[0043] The present invention also discloses a device management apparatus, which is applied to a gateway device, and the apparatus comprises:

[0044] A first acquisition module, used to acquire encrypted information sent by a user terminal;

[0045] A decryption module, used to decrypt the encrypted information to obtain a control instruction;

[0046] A first verification module, used to send the control instruction to the blockchain network for verification;

[0047] The control module is used to receive the verification result sent by the blockchain network. When the verification result indicates that the verification is passed, the control instruction is sent to the corresponding home appliance through the target protocol to control the home appliance to perform the corresponding operation.

[0048] Optionally, the device further comprises:

[0049] A first receiving module, used for receiving status data sent by the household device;

[0050] A judging module, used to judge whether the status data is valid;

[0051] A state encryption module, configured to encrypt the state data to obtain encrypted state data if the state data is valid;

[0052] A storage module is used to store the encrypted state data in the blockchain network

[0053] Optionally, the device further comprises:

[0054] A second receiving module, configured to receive a status acquisition request sent by the user terminal, wherein the status acquisition request includes a home device identifier;

[0055] A query module, used to query the encryption status information corresponding to the target home device from the blockchain network according to the home device identifier;

[0056] A status sending module is used to send the encrypted status information to the user terminal.

[0057] Optionally, the status data includes a data format and a timestamp, and the judgment module includes:

[0058] The determination submodule is used to determine that the status data is valid if the data format is consistent with a preset data format and the time interval between the timestamp and the timestamp of the last time the home appliance reported status data is less than a preset value.

[0059] Optionally, the state information further includes an operating voltage value, and the device further includes:

[0060] A generating module, configured to determine that the household appliance is operating abnormally and generate an alarm message when the operating voltage value is outside a preset voltage value range;

[0061] An alarm module is used to send the alarm information to the user terminal.

[0062] The present invention also discloses a device management apparatus, which is applied to a user terminal, and the device comprises:

[0063] A determination module, used to determine a control instruction input by a user for a home appliance;

[0064] An encryption module, used for encrypting the control instruction to obtain encrypted information;

[0065] The sending module is used to send the encrypted information to the gateway device so that the gateway device decrypts the encrypted message to obtain the control instruction, and sends the control instruction to the blockchain network to verify the control instruction. When the control instruction is verified, the control instruction is sent to the corresponding home device through the target protocol to control the home device to perform the corresponding operation.

[0066] Optionally, the device further comprises:

[0067] A second verification module, used to verify the identity information of the user;

[0068] The determining module comprises:

[0069] The determination submodule is used to determine the control instruction for the home appliance input by the user when the identity information of the user is verified.

[0070] Optionally, the second verification module includes:

[0071] An acquisition submodule, used to acquire the account information and password information input by the user;

[0072] A first judgment submodule is used to judge whether the account information exists in a preset mapping relationship; the preset mapping relationship includes password information corresponding to multiple user account information;

[0073] A second judgment submodule is used to judge whether the target password information corresponding to the account information in the preset mapping relationship is consistent with the password information if the account information exists in the preset mapping relationship;

[0074] The verification submodule is used to determine that the identity information of the user has been verified if the target password information corresponding to the account information in the preset mapping relationship is consistent with the password information.

[0075] Optionally, the device further comprises:

[0076] A request sending module, used to send a status acquisition request to the gateway device, wherein the status acquisition request includes a home device identifier;

[0077] The third receiving module is used to receive the encrypted status information of the target home device corresponding to the home device identifier sent by the gateway device.

[0078] The present invention also discloses an electronic device, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor is used to execute the steps of the device management method as described above.

[0079] The present invention also discloses a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the device management method described above are implemented.

[0080] The present invention discloses a device management method. The present invention ensures the confidentiality and integrity of data related to the user control instructions by encrypting and transmitting the user's control instructions, and can effectively prevent the information from being maliciously intercepted, stolen or tampered with during transmission from the user terminal to the gateway device; the present invention sends the control instructions obtained after decryption to the blockchain network for verification, and only the legal instructions recognized by the blockchain will be further transmitted and executed, which can effectively prevent external illegal instructions from mixing in, and prevent malicious attackers from forging instructions to control home appliances, further enhancing the security of the entire device management system at the instruction level, and improving the reliability and stability of the operation of the smart home system. BRIEF DESCRIPTION OF THE DRAWINGS

[0081] Figure 1 A flowchart of a device management method provided by an embodiment of the present invention is shown;

[0082] Figure 2 A flowchart showing another device management method provided by an embodiment of the present invention is shown;

[0083] Figure 3 A structural block diagram of a device management system provided by an embodiment of the present invention is shown;

[0084] Figure 4 A structural block diagram of a device management device provided by an embodiment of the present invention is shown;

[0085] Figure 5 A structural block diagram of another device management apparatus provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0086] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0087] One of the core concepts of the embodiments of the present invention is that the present invention ensures the confidentiality and integrity of the data related to the user control instructions by encrypting and transmitting the user's control instructions, and can effectively prevent the information from being maliciously intercepted, stolen or tampered with during the transmission from the user terminal to the gateway device; the present invention sends the control instructions obtained after decryption to the blockchain network for verification, and only legal instructions recognized by the blockchain will be further transmitted and executed, which can effectively prevent the mixing of external illegal instructions and prevent malicious attackers from forging instructions to control home appliances, further enhancing the security of the entire device management system at the instruction level, and improving the reliability and stability of the operation of the smart home system.

[0088] like Figure 1 , shows a flow chart of the steps of a device management method provided by an embodiment of the present invention, which is applied to a gateway device, and the method includes:

[0089] Step 101: Obtain encrypted information sent by a user terminal.

[0090] In an embodiment of the present invention, encrypted information refers to information obtained by encrypting operations performed on home appliances according to user needs. The user terminal may be a smart phone, tablet computer, smart remote control, or other device that can communicate with the gateway device and is convenient for user operation. For example, when a user clicks on the "turn on the living room light" operation option in the smart home control application on the mobile phone, the corresponding control request will be encrypted and sent to the gateway device.

[0091] The present invention uses encrypted form to send control instructions, which can ensure the security of information transmission. The original information can be converted into ciphertext through encryption, making it difficult for attackers to interpret the content even if it is intercepted, thereby protecting the privacy and integrity of data related to user control intentions.

[0092] It should be noted that the key used for encryption may be a symmetric key or an asymmetric key pre-negotiated between the gateway device and the user terminal, and the specific one is not limited here.

[0093] Step 102, decrypt the encrypted information to obtain the control instruction.

[0094] In an embodiment of the present invention, a corresponding decryption algorithm and key management mechanism are built into the gateway device. Taking a symmetric key as an example, after obtaining the encrypted information, the decryption key corresponding to the user terminal can be obtained according to the encrypted information, and then the encrypted information is decrypted according to the decryption key to obtain a control instruction.

[0095] Step 103, sending the control instruction to the blockchain network for verification.

[0096] In an embodiment of the present invention, the gateway device can send control instructions through a network interface in accordance with the communication protocol supported by the blockchain network. For example, HTTP, RPC and other protocols can be used to establish a connection with the blockchain network and transmit data.

[0097] With the help of the decentralized, tamper-proof and traceable characteristics of the blockchain network, control instructions can be verified in multiple dimensions. The blockchain network can store relevant feature information of legal instructions, authorization information of the instruction issuer, etc., and through comparison and verification operations, it can be determined whether the control instruction comes from a legitimate user and whether it complies with established rules and formats, etc., so as to prevent illegal instructions from entering the subsequent execution links and ensure the security of the entire equipment management system.

[0098] In one example, a blockchain network may include control instructions for multiple users with operating permissions for different home devices. Different users may have different operating permissions for the same home device. For example, user A may have control instructions 1 and control instruction 2 for home device 1, and user B may have control instruction 2 for home device 1. When user B's control instruction 1 for home device 1 is received, the control instructions that can be performed on home device 1 can be queried based on user B's identification information. Then it is found that control instruction 1 is not included. At this time, it means that user B's verification has failed, that is, user B is prohibited from executing control instruction 1 on home device 1, thereby preventing illegal instructions from entering subsequent execution links and ensuring the security of the entire device management system.

[0099] Step 104, receiving the verification result sent by the blockchain network. When the verification result indicates that the verification is passed, the control instruction is sent to the corresponding home appliance through the target protocol to control the home appliance to perform the corresponding operation.

[0100] In an embodiment of the present invention, the gateway device can receive the verification result returned from the blockchain network. The verification result is usually presented in a specific data format, such as a simple "pass" or "fail" mark, or structured data containing a detailed verification description.

[0101] If the verification result shows passed, it means that the control instruction is deemed to be legal and valid. At this time, the gateway device will select the appropriate target protocol according to the communication protocol supported by the home device. In one example, the smart device supports the MQTT-SN protocol, and the control instruction can be accurately sent to the corresponding home device through the MQTT-SN protocol. After receiving the instruction, the home device will perform the corresponding operation according to the control instruction. For example, the smart lighting device will turn on the light bulb after receiving the "open" instruction, and the smart curtain device will start to move the curtain track to open the curtain after receiving the "open" instruction, etc., thereby realizing the user's remote control intention of the home device through the terminal.

[0102] The present invention discloses a device management method, which ensures the confidentiality and integrity of data related to the user control instructions by encrypting and transmitting the user's control instructions, and can effectively prevent the information from being maliciously intercepted, stolen or tampered with during transmission from the user terminal to the gateway device; the present invention sends the control instructions obtained after decryption to the blockchain network for verification, and only legal instructions recognized by the blockchain will be further transmitted and executed, which can effectively prevent external illegal instructions from mixing in, and prevent malicious attackers from forging instructions to control home appliances, further enhancing the security of the entire device management system at the instruction level, and improving the reliability and stability of the operation of the smart home system.

[0103] In one embodiment of the present invention, the method also includes: receiving status data sent by the home device; determining whether the status data is valid; if the status data is valid, encrypting the status data to obtain encrypted status data; and storing the encrypted status data in the blockchain network.

[0104] In the embodiments of the present invention, these status data are actively sent by various household appliances. For example, a smart refrigerator can send data such as the current temperature setting value, the actual internal temperature, the open and close door status of the refrigerator and freezer; a smart air conditioner can send relevant status information such as the current operating mode, set temperature, wind speed level, and whether a fault occurs; a smart camera can provide feedback on whether it is currently in recording status, picture resolution settings, remaining storage capacity, etc. Different types of household appliances will send corresponding status data to the gateway device according to their own functions and monitorable parameters, so as to reflect the current operation of the device and related conditions.

[0105] The status data are generally transmitted between the home device and the gateway device through an established communication link and corresponding protocol. The present invention uses the MQTT-SN protocol for message transmission to ensure that the status data can be accurately and stably transmitted to the gateway device.

[0106] After obtaining the status data, the validity of the status data can be judged based on various factors of the status data. If the status data is valid, the status data is encrypted to obtain encrypted status data, and then the encrypted status data is stored in the blockchain network. A variety of encryption algorithms can be used to encrypt valid status data, such as common symmetric encryption algorithms or asymmetric encryption algorithms. The gateway device will select a suitable encryption algorithm to encrypt the status data based on the overall security strategy of the system and the actual application scenario.

[0107] In a smart home environment, the status data of home devices often contains a lot of sensitive information related to user living habits, internal home environment, etc., such as the switch records of smart door locks, etc. By encrypting this data into ciphertext form, even if it may be obtained externally during data storage or transmission, it can ensure that this sensitive information cannot be easily interpreted, thereby preventing user privacy leakage and malicious use of data.

[0108] The gateway device will upload and store the encrypted status data to the corresponding block location in the blockchain network in accordance with the interface protocol supported by the blockchain network. The nodes in the blockchain network will verify and confirm the data according to the established consensus mechanism to ensure that the data can be correctly recorded and stored on the blockchain.

[0109] The present invention uses the tamper-proof and traceable characteristics of the blockchain network to store encrypted status data. On the one hand, once the data is stored, it is difficult to be tampered with. Therefore, whether the user views the historical status of the device, performs device troubleshooting, analyzes device usage habits, etc., reliable and authentic original data records can be obtained. On the other hand, traceability makes it convenient to perform backtracking queries along the data link on the blockchain when it is necessary to understand the device status changes at a certain time node, data update trajectory, etc., and it is also convenient for different authorized entities to obtain and use these stored status data under the premise of legality and compliance.

[0110] It should be noted that the status data can be stored in the blockchain ledger of the blockchain network, thereby ensuring that the status data is stored in multiple nodes of the blockchain network. This distributed storage method avoids data loss due to single point failure. Even if some nodes are attacked or fail, other nodes still save complete copies of the data. For example, in a smart home system, if the home gateway device fails, other nodes in the blockchain network can still provide access services to the status data, ensuring the availability of the data.

[0111] In one embodiment of the present invention, the method also includes: receiving a status acquisition request sent by a user terminal, the status acquisition request including a home device identifier; querying encrypted status information corresponding to the target home device from the blockchain network according to the home device identifier; and sending the encrypted status information to the user terminal.

[0112] In an embodiment of the present invention, a status acquisition request is initiated by a user terminal device, such as a common user terminal such as a smart home control application installed on a smart phone, a corresponding operation interface on a tablet computer, or a specially made smart remote control and other devices. For example, if a user wants to know the current operating status of the smart air conditioner in his home, he will click the function button to view the air conditioner status in the smart home APP on the mobile phone, and the APP will generate a corresponding status acquisition request.

[0113] The home device identification is key information used to uniquely identify a specific home device. Different home devices have their own identifications. For example, it can be the unique number assigned to the device in the smart home system, the MAC address of the device, or the specific product serial number set by the device manufacturer. Through this identification, subsequent operations can accurately locate the target home device whose status the user wants to query, avoiding confusion of the query object.

[0114] The gateway device receives the status acquisition request across domains and parses the request to obtain the home device identification. The blockchain network stores the encrypted status information of each home device. This information is recorded in different blocks according to certain rules and data structures. The gateway device will match the corresponding records based on the home device identification information to find the encrypted status information corresponding to the target home device. For example, if the device identification points to a smart refrigerator, then the encrypted status content such as the temperature and the number of times the door is opened and closed belonging to this refrigerator will be filtered out from the data stored in the blockchain.

[0115] These status information are encrypted to ensure the privacy and security of home device status data. As mentioned above, the status information of home devices may contain a lot of sensitive content. The encrypted status information exists in ciphertext form. Even if it is intercepted externally during the query or transmission process, it is difficult to crack and interpret, thereby effectively preventing the leakage of user privacy.

[0116] The gateway device can send encrypted status information according to the communication protocol supported and agreed upon between the user terminal and itself, such as Wi-Fi, Bluetooth, etc., to ensure that the information can be accurately and stably transmitted to the user terminal. For example, if the user terminal and the gateway device are connected via Wi-Fi, the encrypted status information is packaged and sent according to the specifications of the Wi-Fi communication protocol.

[0117] The gateway device can completely transmit the encrypted status information corresponding to the target home device queried from the blockchain network to the user terminal, so that the user terminal can subsequently perform corresponding decryption and status information display operations, allowing the user to intuitively understand the current or past status of the target home device.

[0118] Through this process, users do not need to check the status of each home device directly. They only need to initiate a request on their commonly used terminal devices to quickly and easily obtain the home device status information they want to know. This greatly improves the convenience and timeliness of device management and monitoring in smart home scenarios, optimizes the user experience, expands the remote monitoring functions of the smart home system, and enables smart homes to better serve the diverse needs of users.

[0119] In one embodiment of the present invention, the status data includes a data format and a timestamp, and determining whether the status data is valid includes: if the data format is consistent with a preset data format, and the time interval between the timestamp and the timestamp of the last time the home appliance reported status data is less than a preset value, then determining that the status data is valid.

[0120] In the embodiment of the present invention, there are many factors to consider when judging the validity of the status data. First, from the perspective of data format, the data sent by each home appliance has its own conventional format specifications, such as specific data field length, data type, data structure, etc. If the received data does not meet the format requirements of the device, it is likely to be invalid data; secondly, it can also be judged by the integrity of the data. If some key data fields are missing, it will also be deemed as invalid data; it can also be determined whether the status data is valid by judging whether the device reporting the status data is legal, and it can be compared by judging the home appliance ID and the pre-registered device list. If the home appliance exists in the device list, it is determined that the status data is valid; it can also be judged based on the timestamp of the status data, that is, judging whether the timestamp is within a reasonable range, ensuring the clock synchronization of the home appliance and the gateway, and avoiding timestamp problems caused by clock deviation. The specific method used to judge whether the status data is valid can be set according to user needs, and at least one of the multiple methods can be used.

[0121] The status data includes data format and timestamp as an example. When the data format is consistent with the preset data format, and the time interval between the timestamp and the timestamp of the last time the home appliance reported the status data is less than the preset value, the status data is determined to be valid. When the data format is inconsistent with the preset data format, or the time interval between the timestamp and the timestamp of the last time the home appliance reported the status data is greater than the preset value, the status data is determined to be invalid.

[0122] In one embodiment of the present invention, the status information also includes an operating voltage value, and the method also includes: when the operating voltage value is outside a preset voltage value range, determining that the household appliance is operating abnormally and generating an alarm message; and sending the alarm message to a user terminal.

[0123] In the embodiment of the present invention, the preset voltage value interval is determined based on the normal operating voltage range of different household appliances. Usually, the equipment manufacturer will clearly provide the voltage range within which the equipment can operate stably and normally in the product manual or technical specification document. For example, the normal operating voltage range of a smart speaker may be 100-240 volts, so the preset voltage value interval set for this device is this range. In addition, the interval can also be comprehensively determined in combination with empirical data in actual usage scenarios and industry standards to ensure its rationality and accuracy.

[0124] As part of the status information, the working voltage value of the home appliance will be monitored in real time or periodically through the corresponding sensors or built-in voltage monitoring modules, and the monitored data will be sent to the gateway device as status information. For example, the circuit system inside the smart TV will have a voltage detection point, and the relevant detection circuit will continuously obtain the current working voltage status and pass on the value.

[0125] When the gateway device obtains the working voltage value of the home appliance, it will compare it with the preset voltage value range. If the working voltage value is less than the lower limit of the interval or greater than the upper limit of the interval, it means that the working voltage of the device exceeds the normal range. At this time, it can be determined that the home appliance has an abnormal voltage situation, and then it can be inferred that the overall operation of the device may be affected and is in an abnormal working state.

[0126] The generated alarm information generally contains key content that can clearly point out the abnormal situation of the equipment. For example, it will indicate which specific household equipment has an abnormality, and explain that the specific type of abnormality is "abnormal working voltage". It may also be accompanied by information such as the actual working voltage value currently monitored and the normal voltage range, so that users can more clearly understand the specific abnormal situation of the equipment. For example, "The working voltage of the smart refrigerator with device identification

[001] is abnormal. The current voltage value is 80 volts, and the normal voltage range is 100-240 volts." Such detailed alarm content.

[0127] The format of the alarm information is usually arranged in a way that can be recognized and parsed by the user terminal. It may be a structured data format to facilitate subsequent accurate display and reminder operations on the terminal. The presentation form can be text message reminders, pop-up prompts, etc., depending on the design and settings of the smart home application on the user terminal.

[0128] Once the gateway device determines that the device is working abnormally and generates an alarm message, it will push it to the user terminal as soon as possible so that the user can know the problem of the home device at the first time and take corresponding measures in time.

[0129] The present invention discloses a device management method, which ensures the confidentiality and integrity of data related to the user control instructions by encrypting and transmitting the user's control instructions, and can effectively prevent the information from being maliciously intercepted, stolen or tampered with during transmission from the user terminal to the gateway device; the present invention sends the control instructions obtained after decryption to the blockchain network for verification, and only legal instructions recognized by the blockchain will be further transmitted and executed, which can effectively prevent external illegal instructions from mixing in, and prevent malicious attackers from forging instructions to control home appliances, further enhancing the security of the entire device management system at the instruction level, and improving the reliability and stability of the operation of the smart home system.

[0130] like Figure 2 , shows a flowchart of another device management method provided by an embodiment of the present invention, which is applied to a user terminal. The method may include:

[0131] Step 201: Determine a control instruction input by a user for a home appliance.

[0132] In an embodiment of the present invention, a user usually operates on a user terminal to input control instructions. For example, in the main interface of a smart home application, there are icons or function options for various home appliances. The user clicks the "turn on the light" button corresponding to the smart lighting device, or selects "cooling mode" in the control page of the smart air conditioner and sets the corresponding temperature value, etc. These operation intentions generated through the interaction of the graphical interface form corresponding control instructions.

[0133] Some user terminals support voice interaction function. Users can directly speak the operation instructions they want to perform. For example, say "open the living room curtains" to the mobile phone. The voice recognition system will convert the voice content into corresponding control instructions in text form for subsequent processing.

[0134] The control instructions include which home device or devices to target and the specific operations to be performed, such as "turn the volume of the bedroom smart speaker to 0%."

[0135] In the background, these control instructions will be organized in a certain format, which can be a structured data form, such as expressed in JSON format, including a device identification field, an operation type field, and a specific parameter value field, so that subsequent steps can accurately parse and process the instruction.

[0136] Step 202: encrypt the control instruction to obtain encrypted information.

[0137] In the embodiment of the present invention, one of a variety of encryption algorithms can be used to perform encryption operations. Common ones include symmetric encryption algorithms and asymmetric encryption algorithms. The specific algorithm selected depends on the overall security strategy of the smart home system where the user terminal is located, the trade-off between encryption speed and security, and other factors.

[0138] Taking the AES symmetric encryption algorithm as an example, the user terminal will first obtain a pre-configured key, and then input the control instruction as plain text. Through the encryption logic of the AES algorithm, after a series of mathematical transformations and other operations, the final output is encrypted information, which is generally presented in the form of a seemingly disordered sequence of characters. It should be noted that the key used by the symmetric encryption algorithm is the key pre-negotiated between the user terminal and the gateway device.

[0139] Step 203, the encrypted information is sent to the gateway device, so that the gateway device decrypts the encrypted message to obtain the control instruction, and sends the control instruction to the blockchain network to verify the control instruction. When the control instruction is verified, the control instruction is sent to the corresponding home device through the target protocol to control the home device to perform the corresponding operation.

[0140] In an embodiment of the present invention, the user terminal can send encrypted information to the gateway device. After receiving the information, the gateway device can perform subsequent processing procedures, that is, decrypt and verify the control instructions, and finally pass the legal and valid instructions to the corresponding home devices to enable them to perform corresponding operations, thereby completing the user's intention to control the home devices. The user terminal only needs to complete the sending operation, and the subsequent complex processing links will be collaboratively completed by the gateway device and the relevant mechanisms of the entire smart home system.

[0141] The present invention discloses a device management method, which ensures the confidentiality and integrity of data related to the user control instructions by encrypting and transmitting the user's control instructions, and can effectively prevent the information from being maliciously intercepted, stolen or tampered with during transmission from the user terminal to the gateway device; the present invention sends the control instructions obtained after decryption to the blockchain network for verification, and only legal instructions recognized by the blockchain will be further transmitted and executed, which can effectively prevent external illegal instructions from mixing in, and prevent malicious attackers from forging instructions to control home appliances, further enhancing the security of the entire device management system at the instruction level, and improving the reliability and stability of the operation of the smart home system.

[0142] In one embodiment of the present invention, the method further includes: verifying the identity information of the user; determining the control instructions for the home appliance input by the user, including: determining the control instructions for the home appliance input by the user when the identity information of the user is verified.

[0143] In the embodiment of the present invention, in the smart home system, it is crucial to verify the user identity information, which can ensure that only authorized legitimate users can issue control instructions to home devices, prevent unauthorized outsiders from arbitrarily manipulating home devices, thereby ensuring the security of the home environment and the user's exclusive control over the use of home devices.

[0144] The user's identity information comes in many forms, the most common of which is a combination of username and password, which is the most basic and widely used identity authentication factor. In addition, it can also include the user's biometric information, such as fingerprints, facial recognition data, etc. For example, on a smartphone that supports fingerprint unlocking, the fingerprint information entered by the user by pressing the fingerprint recognition module can be used as one of the key bases for identity authentication. Some smart home applications can also associate the user's mobile phone number, email address and other contact information as auxiliary verification information, and further confirm the user's identity by sending a verification code and other methods.

[0145] This identity information is usually entered and stored when the user first registers and configures the smart home system. Taking the username and password as an example, the user can set the username and password on the corresponding smart home application according to the prompts on the registration page, and submit it to the system backend server for storage for subsequent login and identity verification. Biometric information is collected through the corresponding sensors equipped on the user terminal, and converted into a data format that can be used for comparison and verification through specific algorithm processing and stored in the terminal device or a secure storage area associated with the system.

[0146] That is, only when the user's identity information is verified, which means that the subject of the current operation is confirmed as a legally authorized user, will the control command determination stage be entered. This order of precedence strictly guarantees the operation authority control of the smart home system, so that the subsequent control command issuance process is based on the true intention of the legitimate user, avoiding the risk of illegal commands mixing in.

[0147] After the verification is passed, the control instructions entered by the user on the user terminal will be recognized and processed by the system. Similarly, by clicking the "turn on the light" button corresponding to the smart lighting device, or selecting "cooling mode" in the control page of the smart air conditioner and setting the corresponding temperature value and other graphical interface interactive operations, the corresponding control instructions are formed. These instructions will be organized in a predetermined format, including key elements such as device identification, operation type, and specific parameter values, to prepare for subsequent encryption, sending and other processes.

[0148] In one embodiment of the present invention, the user's identity information is verified, including: obtaining account information and password information input by the user; determining whether the account information exists in a preset mapping relationship; the preset mapping relationship includes password information corresponding to multiple user account information; if the account information exists in the preset mapping relationship, determining whether the target password information corresponding to the account information in the preset mapping relationship is consistent with the password information; if the target password information corresponding to the account information in the preset mapping relationship is consistent with the password information, determining that the user's identity information verification has passed.

[0149] In an embodiment of the present invention, the preset mapping relationship includes password information corresponding to multiple user account information, that is, user information that the application allows to log in. When the user attempts to operate and enter identity information, for the combination of user name and password, the application of the user terminal can first determine whether the input account information exists in the preset mapping relationship, and then when the input account information exists in the preset mapping relationship, the content entered by the user will be compared with the pre-stored correct information. For example, in the background database, the target password information corresponding to the account information will be found through a query algorithm, and the target password information will be checked to see if it is completely consistent with the password information entered by the user. If they are consistent, the password verification passes; if they are inconsistent, the verification is determined to have failed, and the user may be prompted to re-enter the password or take related operations such as password retrieval.

[0150] In one embodiment of the present invention, the method for verifying the identity of the user can also adopt a fingerprint verification method or a facial recognition method. Taking the fingerprint recognition method as an example, when the user presses the fingerprint recognition module, the fingerprint recognition sensor on the terminal device will capture the fingerprint image, and then extract the feature points of the fingerprint, and match and compare them with the previously stored registered fingerprint feature data, and calculate the similarity through a specific matching algorithm. When the similarity reaches the threshold set by the system, it is determined that the fingerprint verification has passed and the user is confirmed to be a legitimate user; the facial recognition verification process is similar, and the user's facial image is captured by the camera, and the key facial features are extracted and compared with the stored facial feature data to determine the identity. If the facial feature similarity is greater than the preset similarity threshold, it is determined that the verification has passed.

[0151] In order to enhance security, some smart home systems can also adopt a multi-factor authentication mechanism, which combines multiple identity information for verification. For example, the user is required to enter the correct username and password at the same time, and the fingerprint recognition is successfully passed before the identity verification is considered passed. This verification method comprehensively utilizes the advantages of different types of identity information, further improves the accuracy and security of identity authentication, and reduces the possibility of illegal users breaking through verification.

[0152] In one embodiment of the present invention, the method further includes: sending a status acquisition request to a gateway device, the status acquisition request including a home device identifier; and receiving encrypted status information of a target home device corresponding to the home device identifier sent by the gateway device.

[0153] In an embodiment of the present invention, a status acquisition request is initiated by a user terminal device, such as a common user terminal such as a smart home control application installed on a smart phone, a corresponding operation interface on a tablet computer, or a specially made smart remote control and other devices. For example, if a user wants to know the current operating status of the smart air conditioner in his home, he will click the function button to view the air conditioner status in the smart home APP on the mobile phone, and the APP will generate a corresponding status acquisition request.

[0154] The home device identification is key information used to uniquely identify a specific home device. Different home devices have their own identifications. For example, it can be the unique number assigned to the device in the smart home system, the MAC address of the device, or the specific product serial number set by the device manufacturer. Through this identification, subsequent operations can accurately locate the target home device whose status the user wants to query, avoiding confusion of the query object.

[0155] The gateway device receives the status acquisition request across domains and parses the request to obtain the home device identification. The blockchain network stores the encrypted status information of each home device. This information is recorded in different blocks according to certain rules and data structures. The gateway device will match the corresponding records based on the home device identification information to find the encrypted status information corresponding to the target home device. For example, if the device identification points to a smart refrigerator, the encrypted status content such as the temperature and the number of times the door is opened and closed belonging to this refrigerator will be filtered out from the data stored in the blockchain, and then the encrypted status information will be sent to the user terminal device.

[0156] The present invention discloses a device management method, which ensures the confidentiality and integrity of data related to the user control instructions by encrypting and transmitting the user's control instructions, and can effectively prevent the information from being maliciously intercepted, stolen or tampered with during transmission from the user terminal to the gateway device; the present invention sends the control instructions obtained after decryption to the blockchain network for verification, and only legal instructions recognized by the blockchain will be further transmitted and executed, which can effectively prevent external illegal instructions from mixing in, and prevent malicious attackers from forging instructions to control home appliances, further enhancing the security of the entire device management system at the instruction level, and improving the reliability and stability of the operation of the smart home system.

[0157] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0158] like Figure 3 , shows a device management system 30 provided by an embodiment of the present invention, the system includes a gateway device 302, a user terminal 301, a blockchain network 303 and home appliances;

[0159] In the embodiment of the present invention, the home appliance may include home appliance 1 ... home appliance N, and the specific number may be set according to user needs.

[0160] The user terminal 301 is used to determine the control instruction for the home device input by the user, encrypt the control instruction, obtain encrypted information, and send the encrypted information to the gateway device;

[0161] The gateway device 302 is used to decrypt the encrypted information, obtain the control instruction, send the control instruction to the blockchain network, receive the verification result sent by the blockchain network, and when the verification result indicates that the verification is passed, send the control instruction to the corresponding home appliance through the target protocol to control the home appliance to perform the corresponding operation;

[0162] The blockchain network 303 is used to verify the control instructions and send the verification results to the gateway device.

[0163] The present invention discloses a device management system, which ensures the confidentiality and integrity of data related to user control instructions by encrypting and transmitting user control instructions, and can effectively prevent information from being maliciously intercepted, stolen or tampered with during transmission from a user terminal to a gateway device; the present invention sends the decrypted control instructions to a blockchain network for verification, and only legal instructions recognized by the blockchain will be further transmitted and executed, which can effectively prevent external illegal instructions from being mixed in, and prevent malicious attackers from forging instructions to control home appliances, further enhancing the security of the entire device management system at the instruction level, and improving the reliability and stability of the operation of the smart home system.

[0164] like Figure 4 , shows a structural block diagram of a device management device provided by the present invention, which is applied to a gateway device, and the device includes:

[0165] A first acquisition module 401, used to acquire encrypted information sent by a user terminal;

[0166] A decryption module 402, used to decrypt the encrypted information to obtain a control instruction;

[0167] A first verification module 403, used to send the control instruction to the blockchain network for verification;

[0168] The control module 404 is used to receive the verification result sent by the blockchain network. When the verification result indicates that the verification is passed, the control instruction is sent to the corresponding home appliance through the target protocol to control the home appliance to perform the corresponding operation.

[0169] The present invention discloses a device management device, which ensures the confidentiality and integrity of data related to user control instructions by encrypting and transmitting user control instructions, and can effectively prevent information from being maliciously intercepted, stolen or tampered with during transmission from a user terminal to a gateway device; the present invention sends the decrypted control instructions to a blockchain network for verification, and only legal instructions recognized by the blockchain will be further transmitted and executed, which can effectively prevent external illegal instructions from mixing in, and prevent malicious attackers from forging instructions to control home appliances, further enhancing the security of the entire device management system at the instruction level, and improving the reliability and stability of the operation of the smart home system.

[0170] In one embodiment of the present invention, the device further includes:

[0171] A first receiving module, used for receiving status data sent by a household device;

[0172] A judgment module is used to judge whether the status data is valid;

[0173] A state encryption module, used for encrypting the state data to obtain encrypted state data if the state data is valid;

[0174] Storage module, used to store encrypted state data in the blockchain network

[0175] In one embodiment of the present invention, the device further includes:

[0176] A second receiving module is used to receive a status acquisition request sent by a user terminal, where the status acquisition request includes a home device identifier;

[0177] A query module, used to query the encryption status information corresponding to the target home device from the blockchain network according to the home device identifier;

[0178] The status sending module is used to send the encrypted status information to the user terminal.

[0179] In one embodiment of the present invention, the status data includes a data format and a timestamp, and the judgment module includes:

[0180] The determination submodule is used to determine that the status data is valid if the data format is consistent with a preset data format and the time interval between the timestamp and the timestamp of the last time the home appliance reported status data is less than a preset value.

[0181] In one embodiment of the present invention, the status information further includes an operating voltage value, and the device further includes:

[0182] A generating module, used to determine that the home appliance is working abnormally and generate alarm information when the working voltage value is outside the preset voltage value range;

[0183] The alarm module is used to send alarm information to the user terminal.

[0184] The present invention discloses a device management device, which ensures the confidentiality and integrity of data related to user control instructions by encrypting and transmitting user control instructions, and can effectively prevent information from being maliciously intercepted, stolen or tampered with during transmission from a user terminal to a gateway device; the present invention sends the decrypted control instructions to a blockchain network for verification, and only legal instructions recognized by the blockchain will be further transmitted and executed, which can effectively prevent external illegal instructions from mixing in, and prevent malicious attackers from forging instructions to control home appliances, further enhancing the security of the entire device management system at the instruction level, and improving the reliability and stability of the operation of the smart home system.

[0185] like Figure 5 , shows a structural block diagram of another device management device provided by the present invention, which is applied to a user terminal, and the device includes:

[0186] A determination module 501 is used to determine a control instruction input by a user for a home appliance;

[0187] The encryption module 502 is used to encrypt the control instruction to obtain encrypted information;

[0188] The sending module 503 is used to send the encrypted information to the gateway device so that the gateway device decrypts the encrypted message to obtain the control instruction, and sends the control instruction to the blockchain network to verify the control instruction. When the control instruction is verified, the control instruction is sent to the corresponding home device through the target protocol to control the home device to perform the corresponding operation.

[0189] The present invention discloses a device management device, which ensures the confidentiality and integrity of data related to user control instructions by encrypting and transmitting user control instructions, and can effectively prevent information from being maliciously intercepted, stolen or tampered with during transmission from a user terminal to a gateway device; the present invention sends the decrypted control instructions to a blockchain network for verification, and only legal instructions recognized by the blockchain will be further transmitted and executed, which can effectively prevent external illegal instructions from mixing in, and prevent malicious attackers from forging instructions to control home appliances, further enhancing the security of the entire device management system at the instruction level, and improving the reliability and stability of the operation of the smart home system.

[0190] In one embodiment of the present invention, the device further includes:

[0191] The second verification module is used to verify the user's identity information;

[0192] Identify modules, including:

[0193] The determination submodule is used to determine the control instructions for the home appliance input by the user when the user's identity information is verified.

[0194] In one embodiment of the present invention, the second verification module includes:

[0195] The acquisition submodule is used to obtain the account information and password information entered by the user;

[0196] The first judgment submodule is used to judge whether there is account information in the preset mapping relationship; the preset mapping relationship includes password information corresponding to multiple user account information;

[0197] The second judgment submodule is used to judge whether the target password information corresponding to the account information in the preset mapping relationship is consistent with the password information if the account information exists in the preset mapping relationship;

[0198] The verification submodule is used to determine that the user's identity information verification has passed if the target password information corresponding to the account information in the preset mapping relationship is consistent with the password information.

[0199] In one embodiment of the present invention, the device further includes:

[0200] A request sending module, used to send a status acquisition request to the gateway device, where the status acquisition request includes a home device identifier;

[0201] The third receiving module is used to receive the encrypted status information of the target home device corresponding to the home device identifier sent by the gateway device.

[0202] The present invention discloses a device management device, which ensures the confidentiality and integrity of data related to user control instructions by encrypting and transmitting user control instructions, and can effectively prevent information from being maliciously intercepted, stolen or tampered with during transmission from a user terminal to a gateway device; the present invention sends the decrypted control instructions to a blockchain network for verification, and only legal instructions recognized by the blockchain will be further transmitted and executed, which can effectively prevent external illegal instructions from mixing in, and prevent malicious attackers from forging instructions to control home appliances, further enhancing the security of the entire device management system at the instruction level, and improving the reliability and stability of the operation of the smart home system.

[0203] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0204] An embodiment of the present invention further provides an electronic device, including:

[0205] It includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor. When the computer program is executed by the processor, the various processes of the above-mentioned device management method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0206] An embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the various processes of the above-mentioned device management method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0207] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0208] It will be appreciated by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0209] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0210] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0211] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0212] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0213] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0214] The above is a detailed introduction to a device management method, system, apparatus, equipment and computer-readable storage medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for a general technician in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A device management method, characterized in that: Applied to a gateway device, the method comprises: Obtaining encrypted information sent by a user terminal; Decrypting the encrypted information to obtain a control instruction; Sending the control instruction to the blockchain network for verification; Receive the verification result sent by the blockchain network, and when the verification result indicates that the verification is passed, send the control instruction to the corresponding home appliance through the target protocol to control the home appliance to perform the corresponding operation.

2. The method according to claim 1, characterized in that The method further comprises: Receiving status data sent by the home device; Determining whether the status data is valid; If the state data is valid, encrypting the state data to obtain encrypted state data; The encrypted state data is stored in the blockchain network.

3. The method according to claim 2, characterized in that The method further comprises: Receiving a status acquisition request sent by the user terminal, wherein the status acquisition request includes a home device identifier; Querying the encryption status information corresponding to the target home device from the blockchain network according to the home device identifier; The encryption status information is sent to the user terminal.

4. The method according to claim 2, characterized in that: The state data includes a data format and a timestamp, and the determining whether the state data is valid includes: If the data format is consistent with a preset data format, and the time interval between the timestamp and the timestamp of the last time the home appliance reported status data is less than a preset value, it is determined that the status data is valid.

5. The method according to claim 2, characterized in that: The state information also includes an operating voltage value, and the method further includes: When the working voltage value is outside the preset voltage value range, it is determined that the household appliance is working abnormally and an alarm message is generated; The warning information is sent to the user terminal.

6. A device management method, characterized in that: Applied to a user terminal, the method comprises: Determine a control command input by a user for a home device; Encrypting the control instruction to obtain encrypted information; The encrypted information is sent to the gateway device so that the gateway device decrypts the encrypted message to obtain the control instruction, and the control instruction is sent to the blockchain network to verify the control instruction. When the control instruction is verified, the control instruction is sent to the corresponding home appliance through the target protocol to control the home appliance to perform the corresponding operation.

7. The method according to claim 6, characterized in that The method further comprises: Verifying the identity information of the user; The determining the control instruction input by the user for the home appliance includes: When the identity information of the user is verified, the control instruction for the home appliance input by the user is determined.

8. The method according to claim 7, characterized in that The verifying the identity information of the user includes: Obtaining the account information and password information input by the user; Determine whether the account information exists in a preset mapping relationship; the preset mapping relationship includes password information corresponding to multiple user account information; If the account information exists in the preset mapping relationship, determining whether the target password information corresponding to the account information in the preset mapping relationship is consistent with the password information; If the target password information corresponding to the account information in the preset mapping relationship is consistent with the password information, it is determined that the identity information of the user has been verified.

9. The method according to claim 6, characterized in that The method further comprises: Sending a status acquisition request to the gateway device, wherein the status acquisition request includes a home device identifier; Receive the encrypted status information of the target home device corresponding to the home device identifier sent by the gateway device.

10. A device management system, characterized in that: The system includes a gateway device, a user terminal, a blockchain network and a home device; The user terminal is used to determine the control instruction input by the user for the home device, encrypt the control instruction to obtain encrypted information, and send the encrypted information to the gateway device; The gateway device is used to decrypt the encrypted information to obtain a control instruction, send the control instruction to the blockchain network, receive a verification result sent by the blockchain network, and when the verification result indicates that the verification is passed, send the control instruction to the corresponding home appliance through the target protocol to control the home appliance to perform a corresponding operation; The blockchain network is used to verify the control instruction and send the verification result to the gateway device.

11. A device management apparatus, characterized in that: Applied to a gateway device, the device comprises: A first acquisition module, used to acquire encrypted information sent by a user terminal; A decryption module, used to decrypt the encrypted information to obtain a control instruction; A first verification module, used to send the control instruction to the blockchain network for verification; The control module is used to receive the verification result sent by the blockchain network. When the verification result indicates that the verification is passed, the control instruction is sent to the corresponding home appliance through the target protocol to control the home appliance to perform the corresponding operation.

12. A device management apparatus, characterized in that: Applied to a user terminal, the device comprises: A determination module, used to determine a control instruction input by a user for a home appliance; An encryption module, used for encrypting the control instruction to obtain encrypted information; The sending module is used to send the encrypted information to the gateway device so that the gateway device decrypts the encrypted message to obtain the control instruction, and sends the control instruction to the blockchain network to verify the control instruction. When the control instruction is verified, the control instruction is sent to the corresponding home device through the target protocol to control the home device to perform the corresponding operation.

13. An electronic device, characterized in that: The device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor is used to execute the steps of the device management method according to any one of claims 1-5 or 6-9.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the device management method according to any one of claims 1 to 5 or 6 to 9 are implemented.

Citation Information

Patent Citations

  • Industrial Internet trusted control method, device and system based on block chain

    CN111131229A

  • Internet of Things equipment control method based on alliance block chain

    CN111355786A

  • Block chain system, management device, intelligent household electrical appliance control method and intelligent household electrical appliance

    CN114371628A

  • Smart home data secrecy method, system and device based on block chain and medium

    CN115037540A

  • Internet of Things equipment credible control method and system, electronic equipment and storage medium

    CN117914558A

Cited By

  • Cold chain Internet of Things terminal equipment and system

    CN120846428A

  • Network distribution method and device of intelligent equipment, medium and packaging box of intelligent equipment

    CN120979860A