Control method and device of Internet of Things equipment, electronic equipment and storage medium

By obtaining and processing status information and control instructions of IoT device clusters, filtering and executing decrypted encryption instruction information, the problem of low security in IoT device information transmission is solved, and higher security in information transmission is achieved.

CN119420787APending Publication Date: 2025-02-11WUHAN HONGXU INFORMATION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411407772.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-10
Publication Date
2025-02-11

AI Technical Summary

Technical Problem

IoT devices have low security in outdoor environments, especially when communication distances are long, it is difficult to meet the security needs of information transmission.

Method used

By obtaining the status information of the IoT device cluster, it is sent to the control platform, and obtaining control instructions, including message headers and encryption instruction information, based on the status information. Then, the target IoT device is filtered out and the decrypted encrypted instruction information is executed to ensure the security of information transmission.

Benefits of technology

On the basis of ensuring the normal control of IoT devices, the security of IoT device information transmission is improved, and the problem of low security of IoT device information transmission is solved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119420787A_ABST
    Figure CN119420787A_ABST
Patent Text Reader

Abstract

The invention provides a control method and device of Internet of Things equipment, electronic equipment and a storage medium, and belongs to the technical field of Internet of Things communication, and the method comprises the steps: obtaining state information; sending the state information to a management and control platform; acquiring a control instruction; taking each piece of Internet of Things equipment in the Internet of Things equipment cluster as current Internet of Things equipment to execute the following steps: screening out target Internet of Things equipment from the Internet of Things equipment cluster, and controlling the target Internet of Things equipment to execute decrypted encryption instruction information: determining a sequence number of the target Internet of Things equipment based on a message header; acquiring a current Internet of Things equipment serial number of the current Internet of Things equipment; and determining the current Internet of Things device as the target Internet of Things device under the condition that the current Internet of Things device serial number is the same as the target Internet of Things device serial number. According to the control method of the Internet of Things equipment provided by the invention, the technical problem of relatively low security of information transmission of the Internet of Things equipment in a control method of the Internet of Things equipment in related technologies is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of Internet of Things communication technology, and in particular to a control method, device, electronic device and storage medium for Internet of Things equipment. Background Art

[0002] The Internet of Things (IoT) refers to a network that connects objects through information carriers such as the Internet and traditional communication networks; in this network, ordinary objects are endowed with intelligence, can exchange data with each other, and can complete specific tasks without human intervention. IoT devices are physical objects that connect and exchange data with other devices or systems through technologies such as sensors, network connections, and software; these devices can be passive or active, and their purpose is to collect and transmit data for intelligent identification, positioning, tracking, monitoring, and management.

[0003] In outdoor environments, during the control process of IoT devices, the transmission of information often has the problem of long communication distance, which leads to the inability to meet the information transmission security requirements during the data transmission process. It can be seen that the control method of IoT devices in related technologies has the technical problem of low security of information transmission of IoT devices. Summary of the invention

[0004] The present invention provides a control method, device, electronic device and storage medium for an Internet of Things device, which are used to solve the technical problem that the control method for an Internet of Things device in the related art has low security in information transmission of the Internet of Things device.

[0005] The present invention provides a control method for an Internet of Things device, comprising the following steps: obtaining status information, wherein the status information is used to indicate the operating status of an Internet of Things device cluster; sending the status information to a management and control platform; obtaining a control instruction returned by the management and control platform, wherein the control instruction is determined by the management and control platform based on the status information, and the control instruction includes a message header and encrypted instruction information; taking each Internet of Things device in the Internet of Things device cluster as a current Internet of Things device to perform the following steps, screening out a target Internet of Things device from the Internet of Things device cluster, and controlling the target Internet of Things device to execute the decrypted encrypted instruction information: determining a target Internet of Things device serial number based on the message header, wherein the message header is used to indicate the Internet of Things device serial number of the Internet of Things device corresponding to the control instruction; obtaining the current Internet of Things device serial number of the current Internet of Things device; and determining the current Internet of Things device as the target Internet of Things device when the current Internet of Things device serial number is the same as the target Internet of Things device serial number.

[0006] According to a control method for an Internet of Things device provided by the present invention, the state information includes at least temperature information and power information of each Internet of Things device in the Internet of Things device cluster.

[0007] According to a control method for an Internet of Things device provided by the present invention, each Internet of Things device in the Internet of Things device cluster includes an acquisition module, a first data transmission communication module and an information encryption processing module, wherein the acquisition module is used to collect the initial state information of each Internet of Things device in the Internet of Things device cluster, the information encryption processing module is used to encrypt the initial state information to obtain the state information, and the first data transmission communication module is used to send the state information to the management and control platform.

[0008] According to a control method for an Internet of Things device provided by the present invention, before obtaining the status information, the method also includes: obtaining a unique identification code of a control device, wherein the control device is used to receive the status information and send the status information to the control platform, and the information encryption processing module uses the unique identification code as a secret key to encrypt the initial status information to obtain encrypted collection information, and the status information includes the message header and the encrypted collection information.

[0009] According to a control method for an Internet of Things device provided by the present invention, the control device includes a second data transmission communication module, and the control device transmits information with the Internet of Things device cluster and the control platform through the second data transmission communication module.

[0010] According to a control method for an Internet of Things device provided by the present invention, the target Internet of Things device includes a control module; controlling the target Internet of Things device to execute decrypted encrypted instruction information includes: sending the decrypted encrypted instruction information to the control module, and the control module executing the decrypted encrypted instruction information.

[0011] The present invention also provides a control device for an Internet of Things device, comprising the following modules: a first acquisition module, used to acquire status information, wherein the status information is used to indicate the operating status of an Internet of Things device cluster; a sending module, used to send the status information to a management and control platform; a second acquisition module, used to acquire a control instruction returned by the management and control platform, wherein the control instruction is determined by the management and control platform based on the status information, and the control instruction includes a message header and encrypted instruction information; an execution module, used to execute the following steps with each Internet of Things device in the Internet of Things device cluster as the current Internet of Things device, to filter out a target Internet of Things device from the Internet of Things device cluster, and to control the target Internet of Things device to execute the decrypted encrypted instruction information: determine a target Internet of Things device serial number based on the message header, wherein the message header is used to indicate the Internet of Things device serial number of the Internet of Things device corresponding to the control instruction; acquire the current Internet of Things device serial number of the current Internet of Things device; and when the current Internet of Things device serial number is the same as the target Internet of Things device serial number, determine the current Internet of Things device as the target Internet of Things device.

[0012] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a control method for an Internet of Things device as described above is implemented.

[0013] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the control method of the Internet of Things device as described in any one of the above is implemented.

[0014] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the control method of the Internet of Things device as described in any one of the above is implemented.

[0015] The control method, device, electronic device and storage medium of the Internet of Things device provided by the present invention obtain state information, wherein the state information is used to indicate the running state of the Internet of Things device cluster; send the state information to the control platform; obtain the control instruction returned by the control platform, wherein the control instruction is determined by the control platform based on the state information, and the control instruction includes a message header and encrypted instruction information; each Internet of Things device in the Internet of Things device cluster is used as the current Internet of Things device to perform the following steps, screen out the target Internet of Things device from the Internet of Things device cluster, and control the target Internet of Things device to execute the decrypted encrypted instruction information: determine the target Internet of Things device sequence number based on the message header, wherein the message header is used to indicate the Internet of Things device sequence number of the Internet of Things device corresponding to the control instruction; obtain the current Internet of Things device sequence number of the current Internet of Things device; when the current Internet of Things device sequence number is the same as the target Internet of Things device sequence number, determine the current Internet of Things device as the target Internet of Things device. After determining the target Internet of Things device corresponding to the control instruction, the target Internet of Things device executes the encrypted instruction information decrypted in the control instruction, which can ensure the security of information transmission of the Internet of Things device on the basis of normal control of the Internet of Things device, thereby solving the technical problem that the control method of the Internet of Things device in the related technology has low security of information transmission of the Internet of Things device. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced one by one below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0017] Figure 1 This is one of the flow charts of the control method of the Internet of Things device provided by the present invention.

[0018] Figure 2 It is a schematic diagram of the control method of the Internet of Things device provided by the present invention.

[0019] Figure 3 This is the second flow chart of the control method of the Internet of Things device provided by the present invention.

[0020] Figure 4 It is a structural schematic diagram of the control device of the Internet of Things device provided by the present invention.

[0021] Figure 5 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0022] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0023] It should be noted that in the description of the present invention, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "include one..." do not exclude the existence of other identical elements in the process, method, article or device including the elements. The orientation or position relationship indicated by the terms "upper", "lower" and the like is based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention. Unless otherwise clearly specified and limited, the terms "installed", "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be a connection between the two elements. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0024] The terms "first", "second", etc. in the present invention are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present invention can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" means at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0025] IoT devices are physical objects that connect and exchange data with other devices or systems through technologies such as sensors, network connections and software; these devices can be passive or active, and their purpose is to collect and transmit data for intelligent identification, positioning, tracking, monitoring and management.

[0026] In outdoor environments, due to the requirements of the environment and power consumption of IoT devices, IoT devices need to meet the conditions of easy deployment and monitoring, low power consumption, long communication distance, and information transmission security requirements. In the control process of IoT devices, the transmission of information often has the problem of long communication distance, which leads to the inability to meet the information transmission security requirements during the data transmission process. Therefore, the control method of IoT devices in related technologies has the technical problem of low security of information transmission of IoT devices.

[0027] In order to at least solve some of the above problems, the following Figure 1-Figure 5 The present invention describes a control method, device, electronic device and storage medium for an Internet of Things device.

[0028] Figure 1 This is one of the flow charts of the control method of the Internet of Things device provided by the present invention, such as Figure 1 As shown, including but not limited to the following steps: Step 101: Acquire status information, where the status information is used to indicate the operating status of the IoT device cluster.

[0029] The control method of the Internet of Things device provided in this embodiment can be applied to the scenario of controlling the Internet of Things device. Figure 2 is a schematic diagram of a control method for an Internet of Things device provided by the present invention, such as Figure 2 As shown, the control method of the Internet of Things device provided in this embodiment is executed by the control device; the control device is communicatively connected with the Internet of Things device cluster and the control platform, and the control device controls the Internet of Things device cluster according to the instructions issued by the control platform; the Internet of Things device cluster and the control device are arranged in an outdoor scene, the control platform is a background server, and the control device is communicatively connected with the control platform through the network.

[0030] The IoT device cluster consists of multiple IoT devices, each of which includes a host device, a collection module, a communication module, and a control module.

[0031] The host device usually plays the role of the core processing unit in the IoT system. It is responsible for receiving data from various modules, performing centralized processing, analysis and decision-making, and may further send instructions or data to other modules or systems. The host device usually has powerful computing and storage capabilities to ensure the efficient operation of the IoT system and real-time data processing.

[0032] The acquisition module is mainly used to collect various types of data from IoT devices or environments. These data may include physical quantities such as temperature, humidity, pressure, and light intensity, and may also include multimedia information such as video and audio. The acquisition module converts the information of the physical world into digital signals by connecting various sensors and actuators, and transmits them to the host device or other processing units for further processing. The acquisition module is an important way for the IoT system to obtain information, and is crucial to realizing the intelligence and automation of the system.

[0033] The communication module is a key component for information transmission between IoT devices and between IoT devices and external networks. It supports various communication protocols and technologies to achieve wireless or wired connections between devices. The communication module enables IoT devices to exchange data and control instructions in real time, thereby achieving remote monitoring, control and management. In addition, the communication module also has the reliability and security of data transmission to ensure the stable operation and data security of the IoT system.

[0034] The control module is a component in the IoT device that is used to execute control instructions and adjust the device status. It receives instructions from the host device or other control center, and adjusts and controls the operating status of the IoT device through the drive circuit and actuator. The control module can realize functions such as switch control, parameter adjustment, and fault diagnosis of the device, and is the core component for the IoT system to achieve intelligent control. In addition, the control module also has the ability of remote control and automatic control, allowing the IoT device to automatically operate and adjust without human supervision.

[0035] In this embodiment, the status information is used to indicate the operating status of the IoT device cluster.

[0036] Optionally, the status information includes at least temperature information and power information of each IoT device in the IoT device cluster.

[0037] The status information is collected by the collection module. After collecting the status information, the IoT device sends the status information to the control device through the communication module.

[0038] Step 102, sending the status information to the management and control platform.

[0039] After obtaining the status information, the control device sends the status information to the control platform.

[0040] Step 103, obtaining a control instruction returned by the control platform, wherein the control instruction is determined by the control platform based on the status information, and the control instruction includes a message header and encrypted instruction information.

[0041] The control platform determines whether it is necessary to control the IoT device cluster based on the status information. If the judgment is yes, the control platform sends a control instruction to the controlled device.

[0042] Specifically, when the status information includes temperature information and power information of each IoT device in the IoT device cluster, the management and control platform determines whether it is necessary to control the IoT device cluster based on the status information. Specifically, it can be: sending corresponding control instructions to IoT devices whose temperature information and power information are not within a preset threshold range, so as to restore the status of the IoT device to a normal level.

[0043] In this embodiment, the control instruction includes a message header and encrypted instruction information, and the message header is used to indicate the IoT device serial number of the IoT device corresponding to the control instruction, that is, the message header is used to indicate the IoT device serial number of the IoT device that needs to execute the control instruction.

[0044] It should be noted that each IoT device has a unique IoT device serial number corresponding to itself.

[0045] Here, the encrypted instruction information includes the control instructions that the IoT device needs to execute as indicated by the message header.

[0046] Step 104, taking each IoT device in the IoT device cluster as the current IoT device to perform the following steps, screening out the target IoT device from the IoT device cluster, and controlling the target IoT device to execute the decrypted encrypted instruction information: Step 1041, determining a target IoT device serial number based on a message header, wherein the message header is used to indicate an IoT device serial number of an IoT device corresponding to the control instruction; Step 1042, obtaining the current IoT device serial number of the current IoT device; Step 1043: When the serial number of the current IoT device is the same as the serial number of the target IoT device, the current IoT device is determined as the target IoT device.

[0047] In this embodiment, the target IoT device serial number is determined based on the message header, and whether the current IoT device needs to be determined as the target IoT device is determined based on the target IoT device serial number. When the current IoT device serial number is the same as the target IoT device serial number, the current IoT device is determined as the target IoT device, and the target IoT device is controlled to execute the decrypted encrypted instruction information.

[0048] Through the embodiment provided by the present application, the state information is obtained, wherein the state information is used to indicate the running state of the IoT device cluster; the state information is sent to the control platform; the control instruction returned by the control platform is obtained, wherein the control instruction is determined by the control platform based on the state information, and the control instruction includes a message header and encrypted instruction information; each IoT device in the IoT device cluster is used as the current IoT device to perform the following steps, screen out the target IoT device from the IoT device cluster, and control the target IoT device to execute the decrypted encrypted instruction information: determine the target IoT device sequence number based on the message header, wherein the message header is used to indicate the IoT device sequence number of the IoT device corresponding to the control instruction; obtain the current IoT device sequence number of the current IoT device; when the current IoT device sequence number is the same as the target IoT device sequence number, the current IoT device is determined as the target IoT device. The control method of IoT devices in the related art solves the technical problem that the security of IoT device information transmission is low, and the security of IoT device information transmission is improved.

[0049] As an optional solution, each IoT device in the IoT device cluster includes an acquisition module, a first data transmission communication module and an information encryption processing module, wherein the acquisition module is used to collect the initial state information of each IoT device in the IoT device cluster, the information encryption processing module is used to encrypt the initial state information to obtain state information, and the first data transmission communication module is used to send the state information to the management and control platform.

[0050] In this embodiment, the first data transmission communication module corresponds to Figure 2 The communication module in the data transmission communication module, here, the data transmission communication module, also known as the data transmission module or the wireless data transmission module, is an electronic component specially used for the transmission and reception of wireless data; it usually includes a transmitter and a receiver, which can convert digital signals into electromagnetic waves for transmission, and can also convert the received electromagnetic waves back into digital signals.

[0051] It can be understood that data transmission between IoT devices and control devices through digital communication modules can effectively improve the wireless communication capabilities and reduce the complexity and cost of the communication system.

[0052] The Internet of Things device also includes an information encryption processing module, which is used to encrypt the initial state information to obtain state information.

[0053] Through this embodiment, the stability and reliability of data transmission between the IoT device cluster and the management and control device are improved, and the encryption of status information improves the security of the data transmission process.

[0054] As an optional solution, before obtaining the status information, the method further includes: S11, obtain the unique identification code of the control device, wherein the control device is used to receive status information and send the status information to the control platform, and the information encryption processing module uses the unique identification code as a secret key to encrypt the initial status information to obtain encrypted collection information, and the status information includes a message header and encrypted collection information.

[0055] In this embodiment, after obtaining the unique identification code of the managed device, the information encryption processing module uses the unique identification code as a secret key to encrypt the initial state information to obtain encrypted collection information; the initial state information is the state of the IoT device obtained by the collection module, including the temperature, power level and other information of the IoT device.

[0056] Preferably, the status information includes a message header, time, encrypted collection information and a message tail; the message header is used to indicate the IoT device corresponding to the status information, the time is used to indicate the time when the status information was acquired, the encrypted collection information includes the specific content of the status information (temperature, power level and other information of the IoT device), and the message tail is a fixed identification code.

[0057] Through this embodiment, the setting of the message header enables the status information to be sent only to the control device, and then sent by the control device to the control platform. At the same time, the setting of encrypting the collected information ensures the security of the status information during transmission.

[0058] As an optional solution, the control device includes a second data transmission communication module, and the control device transmits information with the IoT device cluster and the control platform through the second data transmission communication module.

[0059] In this embodiment, the control device includes a second data transmission communication module, and the control device transmits information with the IoT device cluster and the control platform through the second data transmission communication module, that is, the control device and the control platform achieve communication connection through data transmission technology.

[0060] Through this embodiment, the control device and the control platform achieve communication connection through digital transmission technology, which improves the efficiency and reliability of data transmission between the control device and the control platform.

[0061] As an optional solution, the target IoT device includes a control module; Control the target IoT device to execute the decrypted encrypted instruction information, including: S21, sending the decrypted encrypted instruction information to the control module, and the control module executes the decrypted encrypted instruction information.

[0062] In this embodiment, a unique identification code is entered in advance into the IoT device. After determining the target IoT device, the target IoT device decrypts the encrypted instruction information according to the unique identification code to obtain the decrypted encrypted instruction information, and sends the decrypted encrypted instruction information to the control module, which executes the decrypted encrypted instruction information.

[0063] Through this embodiment, after determining the target IoT device, the encrypted instruction information is decrypted and sent to the control module, which executes the decrypted encrypted instruction information, thereby improving the security of the control instruction transmission and execution process.

[0064] Figure 3 This is the second flow chart of the control method of the Internet of Things device provided by the present invention, see Figure 3 The control method of the Internet of Things device of the embodiment of the present application is described below in conjunction with an optional example. In this optional example, the following steps may be included: Step 301: The collection module periodically collects the temperature, power and other status information of the IoT device, encrypts it through the communication module and sends it to the management and control device.

[0065] Step 302: The control device decrypts the collected information and updates the information to the control platform.

[0066] Step 303: When the control platform monitors the temperature and power status of the IoT device and finds that the status is abnormal, it distributes commands to the IoT device.

[0067] Step 304, after the IoT device communication module receives the command, the communication module determines whether the command needs to be executed. If not, the command is sent to other IoT devices. If so, the command is decrypted and sent to the control module. It should be noted that the IoT devices in the IoT device cluster are connected to each other.

[0068] Step 305: The control module executes the corresponding instruction after receiving the command.

[0069] It can be understood that in this embodiment, the acquisition module periodically collects the temperature, power and other status information of the IoT device, and encrypts and sends it to the control device through the communication module; the control device decrypts the collected information and updates the information to the control platform; when the control platform monitors the temperature and power status of the IoT device, it distributes commands to the IoT device; after receiving the command, the IoT device communication module determines whether the command needs to be executed. If not, the command is sent out, and if so, the command is decrypted and sent to the control module; the control module executes the corresponding instruction after receiving the command. The IoT device includes a host device, an acquisition module, a communication module and a control module. The solution of this embodiment not only significantly extends the data transmission distance, but more importantly, it realizes real-time synchronization of data between devices, greatly improves the efficiency, security and real-time performance of parameter transmission, and enhances the flexibility and accuracy of its deployment in a changing network environment, opening up a new path for improving the overall availability and user experience of IoT equipment.

[0070] Figure 4 Schematic diagram of the structure of the control device of the Internet of Things device provided by the present invention, such as Figure 4 As shown, including but not limited to the following modules: A first acquisition module 401 is used to acquire status information, wherein the status information is used to indicate the operating status of the IoT device cluster; The sending module 402 is used to send the status information to the management and control platform; The second acquisition module 403 is used to acquire the control instruction returned by the control platform, wherein the control instruction is determined by the control platform based on the state information, and the control instruction includes a message header and encrypted instruction information; The execution module 404 is used to use each IoT device in the IoT device cluster as the current IoT device to perform the following steps, filter out the target IoT device from the IoT device cluster, and control the target IoT device to execute the decrypted encrypted instruction information: Determine the target IoT device serial number based on the message header, wherein the message header is used to indicate the IoT device serial number of the IoT device corresponding to the control instruction; Get the current IoT device serial number of the current IoT device; When the serial number of the current IoT device is the same as the serial number of the target IoT device, the current IoT device is determined as the target IoT device.

[0071] Through the embodiment of the present application, the state information is obtained, wherein the state information is used to indicate the running state of the IoT device cluster; the state information is sent to the control platform; the control instruction returned by the control platform is obtained, wherein the control instruction is determined by the control platform based on the state information, and the control instruction includes a message header and encrypted instruction information; each IoT device in the IoT device cluster is used as the current IoT device to perform the following steps, screen out the target IoT device from the IoT device cluster, and control the target IoT device to execute the decrypted encrypted instruction information: determine the target IoT device sequence number based on the message header, wherein the message header is used to indicate the IoT device sequence number of the IoT device corresponding to the control instruction; obtain the current IoT device sequence number of the current IoT device; when the current IoT device sequence number is the same as the target IoT device sequence number, the current IoT device is determined as the target IoT device. The control method of IoT devices in the related art solves the technical problem that the security of IoT device information transmission is low, and the security of IoT device information transmission is improved.

[0072] It should be noted that the control device of the Internet of Things device provided by the present invention can execute the control method of the Internet of Things device of any of the above-mentioned embodiments during specific operation, which will not be elaborated in this embodiment.

[0073] Figure 5 is a schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 5 As shown, the electronic device may include: a processor (processor) 510, a communication interface (Communications Interface) 520, a memory (memory) 530 and a communication bus 540, wherein the processor 510, the communication interface 520, and the memory 530 communicate with each other through the communication bus 540. The processor 510 can call the logic instructions in the memory 530 to execute the control method of the Internet of Things device, which includes: obtaining status information, wherein the status information is used to indicate the operating status of the Internet of Things device cluster; sending the status information to the management and control platform; obtaining the control instruction returned by the management and control platform, wherein the control instruction is determined by the management and control platform based on the status information, and the control instruction includes a message header and encrypted instruction information; taking each Internet of Things device in the Internet of Things device cluster as the current Internet of Things device to perform the following steps, screening out the target Internet of Things device from the Internet of Things device cluster, and controlling the target Internet of Things device to execute the decrypted encrypted instruction information: determining the target Internet of Things device serial number based on the message header, wherein the message header is used to indicate the Internet of Things device serial number of the Internet of Things device corresponding to the control instruction; obtaining the current Internet of Things device serial number of the current Internet of Things device; when the current Internet of Things device serial number is the same as the target Internet of Things device serial number, determining the current Internet of Things device as the target Internet of Things device.

[0074] In addition, the logic instructions in the above-mentioned memory 530 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0075] On the other hand, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, the computer program including program instructions, and when the program instructions are executed by a computer, the computer can execute the control method of the Internet of Things device provided by the above-mentioned embodiments, the method including: obtaining status information, wherein the status information is used to indicate the operating status of the Internet of Things device cluster; sending the status information to a management and control platform; obtaining a control instruction returned by the management and control platform, wherein the control instruction is determined by the management and control platform based on the status information, and the control instruction includes a message header and encrypted instruction information; taking each Internet of Things device in the Internet of Things device cluster as the current Internet of Things device to perform the following steps, screening out the target Internet of Things device from the Internet of Things device cluster, and controlling the target Internet of Things device to execute the decrypted encrypted instruction information: determining the target Internet of Things device serial number based on the message header, wherein the message header is used to indicate the Internet of Things device serial number of the Internet of Things device corresponding to the control instruction; obtaining the current Internet of Things device serial number of the current Internet of Things device; and determining the current Internet of Things device as the target Internet of Things device when the current Internet of Things device serial number is the same as the target Internet of Things device serial number.

[0076] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the processor executes the control method of the Internet of Things device provided by the above-mentioned embodiments, the method comprising: obtaining status information, wherein the status information is used to indicate the operating status of the Internet of Things device cluster; sending the status information to the management and control platform; obtaining a control instruction returned by the management and control platform, wherein the control instruction is determined by the management and control platform based on the status information, and the control instruction includes a message header and encrypted instruction information; taking each Internet of Things device in the Internet of Things device cluster as the current Internet of Things device to perform the following steps, screening out the target Internet of Things device from the Internet of Things device cluster, and controlling the target Internet of Things device to execute the decrypted encrypted instruction information: determining the target Internet of Things device serial number based on the message header, wherein the message header is used to indicate the Internet of Things device serial number of the Internet of Things device corresponding to the control instruction; obtaining the current Internet of Things device serial number of the current Internet of Things device; and determining the current Internet of Things device as the target Internet of Things device when the current Internet of Things device serial number is the same as the target Internet of Things device serial number.

[0077] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.

[0078] Through the description of the above implementation modes, those skilled in the art can clearly understand that each implementation mode can be implemented by means of software plus a necessary general hardware platform, or of course by hardware. Based on such an understanding, the above technical solution can essentially or in other words be embodied in the form of a software product that contributes to the prior art. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of each embodiment or some parts of the embodiment.

[0079] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A control method for an Internet of Things device, characterized in that: include: Acquire status information, wherein the status information is used to indicate the operating status of the IoT device cluster; Sending the status information to the management and control platform; Acquire a control instruction returned by the control platform, wherein the control instruction is determined by the control platform based on the status information, and the control instruction includes a message header and encrypted instruction information; Each IoT device in the IoT device cluster is used as a current IoT device to perform the following steps, filter out a target IoT device from the IoT device cluster, and control the target IoT device to execute the decrypted encrypted instruction information: Determine the target IoT device serial number based on the message header, wherein the message header is used to indicate the IoT device serial number of the IoT device corresponding to the control instruction; Obtain the current IoT device serial number of the current IoT device; When the serial number of the current Internet of Things device is the same as the serial number of the target Internet of Things device, the current Internet of Things device is determined as the target Internet of Things device.

2. The control method of the Internet of Things device according to claim 1, characterized in that: The status information includes at least temperature information and power information of each IoT device in the IoT device cluster.

3. The control method of the Internet of Things device according to claim 1, characterized in that: Each IoT device in the IoT device cluster includes an acquisition module, a first data transmission communication module and an information encryption processing module, wherein the acquisition module is used to collect the initial state information of each IoT device in the IoT device cluster, the information encryption processing module is used to encrypt the initial state information to obtain the state information, and the first data transmission communication module is used to send the state information to the management and control platform.

4. The control method of the Internet of Things device according to claim 3, characterized in that: Before obtaining the status information, the method further includes: Obtain a unique identification code for a control device, wherein the control device is used to receive the status information and send the status information to the control platform, and the information encryption processing module uses the unique identification code as a secret key to encrypt the initial status information to obtain encrypted collection information, wherein the status information includes the message header and the encrypted collection information.

5. The control method of the Internet of Things device according to claim 4, characterized in that: The control device includes a second data transmission communication module, and the control device transmits information with the Internet of Things device cluster and the control platform through the second data transmission communication module.

6. The control method of the Internet of Things device according to any one of claims 1 to 5, characterized in that: The target IoT device includes a control module; The controlling the target IoT device to execute the decrypted encrypted instruction information includes: The decrypted encrypted instruction information is sent to the control module, and the decrypted encrypted instruction information is executed by the control module.

7. A control device for an Internet of Things device, characterized in that: include: A first acquisition module is used to acquire status information, wherein the status information is used to indicate the operating status of the IoT device cluster; A sending module, used for sending the status information to a management and control platform; A second acquisition module is used to acquire a control instruction returned by the control platform, wherein the control instruction is determined by the control platform based on the state information, and the control instruction includes a message header and encrypted instruction information; The execution module is used to use each IoT device in the IoT device cluster as the current IoT device to perform the following steps, filter out a target IoT device from the IoT device cluster, and control the target IoT device to execute the decrypted encrypted instruction information: Determine the target IoT device serial number based on the message header, wherein the message header is used to indicate the IoT device serial number of the IoT device corresponding to the control instruction; Obtain the current IoT device serial number of the current IoT device; When the serial number of the current Internet of Things device is the same as the serial number of the target Internet of Things device, the current Internet of Things device is determined as the target Internet of Things device.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the control method of the Internet of Things device according to any one of claims 1 to 6 is implemented.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the control method of the Internet of Things device as claimed in any one of claims 1 to 6 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the control method of the Internet of Things device as claimed in any one of claims 1 to 6 is implemented.