Secure transmission method, device and system of Internet of Things data and medium
Patent Information
- Application Number
- CN202380015614.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-12-30
- Filing Date
- 2023-12-30
- Publication Date
- 2024-08-30
AI Technical Summary
Existing IoT devices and platforms use low-security UDP plaintext interfaces, which pose high security risks, leading to data leakage and tampering. Moreover, because the system is difficult to modify twice, it is difficult to achieve low-cost and high-security data transmission.
By receiving security protocol authentication requests from IoT devices, performing two-way identity authentication, establishing secure connections, and realizing IoT devices and services through conversion and encrypted transmission between security protocols (such as TLS) and non-security protocols (such as UDP) Data interaction between platforms ensures data security.
It realizes low-cost and high-security IoT data transmission, avoiding the risk of data leakage and tampering. At the same time, there is no need to modify the original business interface protocol, which reduces the cost and impact of the modification.
Smart Images

Figure CN118575449A
Abstract
Description
A secure transmission method, device, system and medium for Internet of Things data
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to U.S. patent applications No. 63 / 436111, filed on December 30, 2022, No. 63 / 450100, filed on March 6, 2023, and No. 63 / 546495, filed on October 30, 2023; and claims priority to PCT application No. PCT / CN2022 / 116928, filed on September 3, 2022; and PCT application No. PCT / CN2023 / 102266, filed on June 26, 2023, all of which are incorporated herein by reference in their entirety. Technical Field
[0003] The present invention relates to the field of network security technology, and in particular to a method, device, system and medium for securely transmitting Internet of Things data. Background Art
[0004] In the ever-changing IoT network environment, the types of IoT devices are becoming more and more diverse, and the security threats that come with them are also increasing. For example, some early IoT devices and IoT services still use the less secure UDP plaintext interface, which poses a high security risk and may cause data leakage and data tampering.
[0005] Since the original IoT platform services and IoT devices have become a set of systems and are difficult to modify a second time, if the overall interface protocol of the IoT is modified, it will affect the original business and the modification cost will be high. Therefore, it is currently difficult for the original IoT platform services and IoT devices to achieve low-cost and high-security data transmission.
[0006] Summary of the Invention
[0007] In view of the above-mentioned deficiencies in the prior art, the object of the present invention is to provide a method, device, system and medium for secure transmission of IoT data, aiming to achieve low-cost and high-security IoT data transmission.
[0008] A first aspect of the present invention provides a method for securely transmitting IoT data, the method comprising:
[0009] Receive authentication requests for security protocols initiated by IoT devices and perform two-way identity authentication;
[0010] After the identity authentication is passed, a secure connection is established with the IoT device;
[0011] The received IoT data is converted between a secure protocol and a non-secure protocol and encrypted for transmission via the secure connection to complete data interaction between the IoT device and the service platform;
[0012] The IoT data comes from the secure protocol interface of the IoT device or the non-secure protocol interface of the service platform.
[0013] In one embodiment, before receiving the authentication request of the security protocol initiated by the IoT device and performing the two-way identity authentication, the method further includes:
[0014] Receive the security protocol server certificate issued by the certificate authority.
[0015] In one embodiment, receiving a security protocol authentication request initiated by an IoT device and performing bidirectional identity authentication includes:
[0016] Receive a security protocol authentication request initiated by an IoT device, wherein the authentication request carries a security protocol client certificate issued by the certificate authority;
[0017] Two-way identity authentication is performed based on the security protocol client certificate and the security protocol server certificate.
[0018] In one embodiment, converting and encrypting the received IoT data between a secure protocol and a non-secure protocol through the secure connection includes:
[0019] Receiving, through the secure connection, a security protocol data packet sent by the IoT device through the security protocol interface;
[0020] Decrypt the security protocol data packet to obtain corresponding IoT data;
[0021] The Internet of Things data is forwarded to the non-secure protocol interface of the service platform through a designated service channel port.
[0022] In one embodiment, the converting and encrypting the received IoT data between a secure protocol and a non-secure protocol through the secure connection further includes:
[0023] Receiving the IoT data sent by the service platform through the non-secure protocol interface through a designated service channel port;
[0024] Packaging and encapsulating the IoT data into a security protocol data packet;
[0025] The security protocol data packet is forwarded to the security protocol interface of the Internet of Things device through the secure connection.
[0026] In one embodiment, the security protocol specifically refers to: TLS protocol.
[0027] In one embodiment, the non-secure protocol specifically refers to: UDP protocol.
[0028] A second aspect of the present invention provides a secure transmission device for IoT data, the device comprising:
[0029] The authentication module is used to receive authentication requests for security protocols initiated by IoT devices and perform two-way identity authentication;
[0030] A connection module, configured to establish a secure connection with the IoT device after the identity authentication is passed;
[0031] A conversion and transmission module, configured to convert and encrypt the received IoT data between a secure protocol and a non-secure protocol through the secure connection, so as to complete data interaction between the IoT device and the service platform;
[0032] The IoT data comes from the secure protocol interface of the IoT device or the non-secure protocol interface of the service platform.
[0033] A third aspect of the present invention provides a secure transmission system for Internet of Things data, the system comprising at least one processor; and
[0034] a memory communicatively connected to the at least one processor; wherein,
[0035] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the above-mentioned method for secure transmission of Internet of Things data.
[0036] A fourth aspect of the present invention provides a non-volatile computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are executed by one or more processors, the one or more processors can execute the above-mentioned method for secure transmission of Internet of Things data.
[0037] Beneficial effects: The present invention discloses a method, device, system and medium for secure transmission of IoT data. Compared with the existing technology, the embodiments of the present invention convert IoT data between secure protocols and non-secure protocols through a secure connection, and realize data interaction between IoT devices and platforms through network boundaries through secure protocols, thereby achieving low-cost and high-security IoT data transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:
[0039] FIG1 is a diagram illustrating an application environment of a method for securely transmitting IoT data according to an embodiment of the present invention;
[0040] FIG2 is a flow chart of a method for securely transmitting IoT data according to an embodiment of the present invention;
[0041] FIG3 is a flow chart of identity authentication in a method for securely transmitting IoT data provided by an embodiment of the present invention;
[0042] FIG4 is a system block diagram of an application embodiment of a method for securely transmitting IoT data;
[0043] FIG5 is a flow chart of an application embodiment of a method for securely transmitting IoT data;
[0044] FIG6 is a system block diagram of another application embodiment of a method for securely transmitting IoT data;
[0045] FIG7 is a schematic diagram of functional modules of a secure transmission device for IoT data provided by an embodiment of the present invention;
[0046] FIG8 is a schematic diagram of the hardware structure of a secure transmission system for IoT data according to an embodiment of the present invention;
[0047] Figure 9 is a diagram of the IoT business technology architecture. DETAILED DESCRIPTION
[0048] To make the objectives, technical solutions, and effects of the present invention more clear and distinct, the present invention is further described in detail below. It should be understood that the specific embodiments described herein are merely for the purpose of explaining the present invention and are not intended to limit the present invention. The following describes embodiments of the present invention in conjunction with the accompanying drawings.
[0049] In the ever-changing IoT network environment, the types of IoT devices are becoming more and more diverse, and the security threats that come with them are also increasing. For example, some early IoT devices and IoT services still use the less secure UDP plaintext interface, which poses a high security risk and may cause data leakage and data tampering.
[0050] Since the original IoT platform services and IoT devices have become a set of systems and are difficult to modify a second time, if the overall interface protocol of the IoT is modified, it will affect the original business and the modification cost will be high. Therefore, it is currently difficult for the original IoT platform services and IoT devices to achieve low-cost and high-security data transmission.
[0051] To address the above-mentioned problems with IoT data transmission, the present invention proposes a secure transmission method for IoT data. The secure transmission method for IoT data can be applied to the secure transmission system framework for IoT data shown in FIG1 . The system framework includes an IoT device, a conversion module, and a service platform. The IoT device includes, for example, an IoT terminal, a base station, a relay station, etc., and has a security protocol interface, such as a TLS security interface, which is connected to the original data interface via the TLS protocol to securely transmit IoT data. The conversion module supports conversion between secure and non-secure protocols to form a transfer channel. The conversion module forwards TLS protocol data to the UDP interface, and also forwards UDP interface data to the TLS interface. The service platform is a service platform in the original IoT system. Its own non-secure protocol, such as the UDP protocol, is fixed. All IoT devices access the service platform relying on the UDP port and device binding management. That is, the secure transmission method for IoT data provided by the embodiment of the present invention does not require modification to the original UDP interface service platform to perform secure data connection, thereby ensuring that the interface protocol of the original service remains unchanged while ensuring end-to-end secure identity authentication and secure data transmission, thereby achieving a security upgrade and transformation with minimal changes to the original IoT system.
[0052] FIG2 is a flowchart of a method for securely transmitting IoT data according to an embodiment of the present invention. The method is described using a conversion module that supports conversion between secure and non-secure protocols in the framework diagram shown in FIG1 . The method specifically includes the following steps:
[0053] S101, receiving a security protocol authentication request initiated by an IoT device and performing two-way identity authentication;
[0054] S102. After the identity authentication is passed, establishing a secure connection with the IoT device;
[0055] S103. Converting and encrypting the received IoT data between a secure protocol and a non-secure protocol through the secure connection to complete data interaction between the IoT device and the service platform;
[0056] The IoT data comes from the secure protocol interface of the IoT device or the non-secure protocol interface of the service platform.
[0057] In this embodiment, IoT devices are those that access the service platform and interact with it, including but not limited to IoT terminals, IoT base stations, and IoT relay stations. These devices can establish secure connections and secure data transmission with the conversion module via a security protocol. Upon receiving a security protocol authentication request initiated by the IoT device, the conversion module performs two-way identity authentication to ensure the IoT device is trusted.
[0058] Among them, the security protocol specifically refers to the TLS protocol, that is, the Transport Layer Security (TLS), which is used to provide confidentiality and data integrity between two communication applications. The Internet of Things device and the conversion module initiate the authentication of the TLS security protocol, and both parties perform two-way identity authentication. The TLS protocol is used to cross the network boundary. Here, the Internet of Things boundary can be the boundary between the Internet and the intranet, and can also be other network boundaries, firewalls, etc. The TLS security protocol belongs to the security layer protocol, and supports any protocol in other protocol layers, including but not limited to the TCP protocol, HTTP protocol, MQTT protocol, etc. Of course, in other embodiments, the security protocol can also adopt other security protocols with the same effect, such as the SSL (Secure Socket Layer) protocol, etc., which is not limited in this embodiment.
[0059] After two-way identity authentication is performed through a security protocol and the authentication is successful, the conversion module establishes a secure connection with the IoT device. The IoT device and the conversion module can perform secure data encryption transmission using the negotiated key to avoid security risks such as data leakage and data tampering brought about by traditional plaintext transmission interfaces.
[0060] Through the secure connection established between the conversion module and the IoT device based on the security protocol, the conversion module can convert and encrypt the IoT data received from the security protocol interface of the IoT device or the IoT data from the non-security protocol interface of the service platform between the security protocol and the non-security protocol. This allows the service platform to maintain its original non-security protocol and achieve end-to-end secure identity authentication and data security transmission without the need to modify the interface protocol of the original business.
[0061] The non-secure protocol specifically refers to the User Datagram Protocol (UDP), a connectionless transport layer protocol in the OSI (Open System Interconnection) reference model that provides a simple, transaction-oriented, unreliable information transmission service. Of course, in other embodiments, the non-secure protocol may also employ other protocols, such as the Frame Relay protocol or the Internet Protocol (IP), and this embodiment does not limit this.
[0062] The TLS protocol described in the present invention includes any version of the TLS protocol, any encryption and decryption algorithm, any hash algorithm, and any configuration of the TLS protocol. The UDP protocol described in the present invention includes any version of the UDP protocol and any configuration of the UDP protocol.
[0063] The secure transmission method for IoT data provided by an embodiment of the present invention converts IoT data between secure protocols and non-secure protocols through a secure connection established between a conversion module and an IoT device based on a secure protocol, and realizes data interaction between IoT devices and a platform through a secure protocol across network boundaries, thereby achieving low-cost and highly secure IoT data transmission.
[0064] In one embodiment, before receiving the authentication request of the security protocol initiated by the IoT device and performing the two-way identity authentication, the method further includes:
[0065] Receive the security protocol server certificate issued by the certificate authority.
[0066] The receiving of the authentication request of the security protocol initiated by the IoT device and performing two-way identity authentication includes:
[0067] Receive a security protocol authentication request initiated by an IoT device, wherein the authentication request carries a security protocol client certificate issued by the certificate authority;
[0068] Two-way identity authentication is performed based on the security protocol client certificate and the security protocol server certificate.
[0069] In this embodiment, the Certificate Authority (CA) system, as the core function of the security system, provides certificate issuance, certificate query, certificate revocation, and certificate management functions. It can use the ID information, ownership information, timestamp information, geographic information, physical information, etc. of the IoT device as certificate generation data to issue security protocol client certificates for IoT devices. At the same time, the CA system can also issue security protocol server certificates for the conversion module.
[0070] Therefore, before secure data transmission begins, the CA center's certificate management function first issues TLS certificates to both parties of the security protocol, specifically the conversion module, and the IoT device, using a server certificate. These certificates support both international and national symmetric encryption algorithms, as well as both international and national hash algorithms. The certificate issuance management mechanism utilizes a one-end-one-certificate and one-device-one-certificate approach. This approach involves issuing certificates separately for both the server and client, while the one-device-one-certificate approach involves issuing individual certificates for each IoT device and each conversion, ensuring reliable identity authentication.
[0071] After the IoT device initiates TLS security protocol authentication to the conversion module, two-way identity authentication is performed through the TLS protocol certificates of both parties to establish a secure connection, and the data is securely encrypted and transmitted using the negotiated key.
[0072] Figure 3 shows the specific authentication process, which depicts the identity authentication and key exchange between the IoT device and the TLS secure interface to UDP interface module. This process involves three endpoints: the CA center, the IoT device, and the TLS secure interface to UDP interface module. The CA center generates and issues a server certificate to the TLS secure interface to UDP interface module, and the CA center generates and issues a client certificate to the IoT device. The identity authentication and key exchange process between the IoT device and the TLS secure interface to UDP interface module follows the standard TLS protocol.
[0073] In one embodiment, converting and encrypting the received IoT data between a secure protocol and a non-secure protocol through the secure connection includes:
[0074] Receiving, through the secure connection, a security protocol data packet sent by the IoT device through the security protocol interface;
[0075] Decrypt the security protocol data packet to obtain corresponding IoT data;
[0076] The Internet of Things data is forwarded to the non-secure protocol interface of the service platform through a designated service channel port.
[0077] In this embodiment, when the IoT device transmits IoT data to the service platform, the IoT device sends an encrypted security protocol data packet to the TLS interface service of the conversion module through the security protocol interface based on the established security connection. After the TLS interface service of the conversion module receives the security protocol data packet, it decrypts the protocol packet based on the negotiated key to obtain the IoT data sent by the IoT; then, through the channel and port required by the UDP protocol of the service platform, the IoT data is sent to the designated UDP service channel port, so as to forward the IoT data to the non-security protocol interface of the service platform, i.e., the UDP service interface, through the UDP service channel port. Thereby, secure data transmission from the device end to the service platform is realized. In one embodiment, the conversion and encrypted transmission between the security protocol and the non-security protocol of the received IoT data through the secure connection also includes:
[0078] Receiving the IoT data sent by the service platform through the non-secure protocol interface through a designated service channel port;
[0079] Packaging and encapsulating the IoT data into a security protocol data packet;
[0080] The security protocol data packet is forwarded to the security protocol interface of the Internet of Things device through the secure connection.
[0081] In this embodiment, when the service platform transmits IoT data to an IoT device, the process is reversed, as opposed to the process of receiving IoT data. Instead, the service platform sends the IoT data to the service channel port specified in the conversion module via a non-secure protocol interface, corresponding to the UDP service channel port. The conversion module then packages the IoT data into TLS packets, which are then sent across network boundaries via a secure TLS connection to the IoT device's secure protocol interface. This ensures secure data transmission across network boundaries and on the internet.
[0082] The secure transmission method for IoT data provided by the embodiments of the present invention does not require interface modifications to existing platform services, while also enabling secure connections to IoT devices through TLS authentication. Compared to other security interface modifications that require interface modifications on both the platform and the IoT device, impacting the normal logic and operation of existing platform services, the embodiments of the present invention improve the feasibility of security interface modification while reducing its cost and expense.
[0083] It should be noted that there is not necessarily a certain order between the above steps. A person skilled in the art can understand, based on the description of the embodiments of the present invention, that in different embodiments, the above steps may have different execution orders, that is, they may be executed in parallel, or may be executed interchangeably, etc. This embodiment does not limit this.
[0084] In order to enable those skilled in the art to more fully understand and appreciate the secure transmission process of IoT data provided by the embodiment of the present invention, the secure transmission process of IoT data is introduced by taking specific application embodiments as examples in conjunction with Figure 4 (which is a system block diagram of an application embodiment of the secure transmission method of IoT data provided by the embodiment of the present invention) and Figure 5 (which is a flow chart of an application embodiment of the secure transmission method of IoT data provided by the embodiment of the present invention).
[0085] Among them, the system block diagram provided in Figure 4 is:
[0086] The system that applies the secure transmission method provided by the embodiment of the present invention includes four major parts: a CA system, an Internet of Things device (terminal, base station, relay station, etc.), a module for converting the TLS security interface to the UDP interface, and a service platform.
[0087] First, the CA system, as the core function of the security system, provides certificate issuance, querying, revocation, and management. It can use the ID, ownership, timestamp, geographic, and physical information of IoT devices as certificate generation data to issue client certificates for IoT devices. The CA system can also issue server certificates for the TLS to UDP interface module.
[0088] Second, IoT devices are IoT devices that access the service platform and interact with it, including but not limited to IoT terminals, IoT base stations, IoT relay stations, and other IoT devices. The module that converts the TLS secure interface to the UDP interface enables secure connections and data transmission using the TLS protocol.
[0089] The TLS secure interface to UDP interface module converts the secure TLS protocol to the UDP protocol. The TLS protocol used between IoT devices is a highly secure protocol, designed to cross network boundaries, such as those between the internet and an intranet. The UDP interface service is used to connect to the service platform and uses the UDP protocol required by the service platform.
[0090] Fourth, the service platform is part of the existing IoT system. Its UDP protocol is fixed, and all device access services rely on UDP ports and device binding management. The UDP protocol interface is used to receive and send data from IoT devices. UDP is a plaintext protocol. The service platform is located within the network boundary and is physically isolated, making it relatively secure.
[0091] Figure 5 provides a diagram of the system workflow:
[0092] Step 1: The CA's certificate management function issues TLS protocol certificates to both parties in the TLS protocol, a server certificate for the TLS secure interface to UDP interface service, and a client certificate for the IoT device. TLS certificates support both international and national symmetric encryption algorithms, as well as both international and national hash algorithms. The certificate issuance management mechanism uses a one-certificate-per-end and one-certificate-per-device model. This model requires separate certificates for the server and client, while a one-certificate-per-device model requires separate certificates for each IoT device and each TLS secure interface to UDP interface module.
[0093] Step 2: The IoT device initiates TLS authentication with the TLS secure interface to UDP interface module. Both parties perform mutual identity authentication. TLS is used to cross network boundaries. This IoT boundary can be the boundary between the internet and the intranet, or other network boundaries, firewalls, etc. The TLS security protocol is a security layer protocol that supports any protocol at other layers, including but not limited to TCP, HTTP, and MQTT.
[0094] Step 3: After TLS mutual authentication and a successful secure connection, the IoT device and the TLS-to-UDP module can securely encrypt data transmission using the negotiated key. The TLS-to-UDP module's TLS interface service receives the data, decrypts the TLS protocol packet, and then sends the data to the designated UDP service channel port using the channel and port mapping required by the service platform's UDP protocol.
[0095] Step 4: The service maintains its original UDP interface and receives data from IoT devices. This process uses the TLS protocol to bypass network boundaries, preventing the UDP interface from being exposed to the public internet. This also mitigates the risks of IoT device data tampering, identity theft, and data leakage, while also establishing a secure structure to protect against DDOS attacks.
[0096] Step 5: The service platform receives data in the reverse order of sending it. The service platform sends the data to the corresponding UDP service's channel port. The TLS secure interface to UDP interface module then packages the data into TLS packets, which are then sent to the IoT device across network boundaries using TLS. This ensures secure data transmission across network boundaries and on the internet.
[0097] Exemplarily, as shown in FIG8 , the signature verification system in the blockchain security management platform provides the CA system and certificate management functions for the present invention, forming a secure connection between the TLS security interface to UDP interface module and the IoT device.
[0098] In practical applications, the IoT device can be a multi-mode heterogeneous IoT gateway with a UDP interface. Without changing the original service platform and UDP interface service, the method provided in the embodiments of the present invention can be used to establish a TLS secure interface to UDP interface module between the multi-mode heterogeneous IoT gateway and the service platform, allowing the TLS protocol to cross the original network boundary. This allows the original multi-mode heterogeneous IoT gateway to securely access the network where the service platform is located.
[0099] The method described in the present invention is not only applicable to multi-mode heterogeneous IoT gateways, but also to any carrier that can use the TLS protocol, including but not limited to IoT sensors, cameras, control terminals, mobile terminals, repeaters, PC clients, etc.
[0100] The present invention is applicable to all Internet of Things industries including but not limited to forest ecology, environmental protection, public security, urban management, housing and construction, emergency response, medical care, transportation, industrial parks, industry and mining, finance, and dual carbon.
[0101] Another embodiment of the present invention provides a secure transmission device for IoT data, which is applied to a positioning terminal with a multi-mode heterogeneous communication method. As shown in FIG7 , the device 1 includes:
[0102] Authentication module 11, used to receive authentication requests of security protocols initiated by IoT devices and perform two-way identity authentication;
[0103] A connection module 12 is configured to establish a secure connection with the IoT device after the identity authentication is passed;
[0104] The conversion and transmission module 13 is used to convert and encrypt the received IoT data between the security protocol and the non-security protocol through the secure connection to complete the data interaction between the IoT device and the service platform;
[0105] The IoT data comes from the secure protocol interface of the IoT device or the non-secure protocol interface of the service platform.
[0106] The module referred to in the present invention refers to a series of computer program instruction segments that can perform specific functions. It is more suitable for describing the secure transmission and execution process of IoT data than a program. For the specific implementation of each module, please refer to the corresponding method embodiment above and will not be repeated here.
[0107] Another embodiment of the present invention provides a secure transmission system for IoT data. As shown in FIG8 , the system 10 includes:
[0108] One or more processors 110 and memory 120. FIG8 takes one processor 110 as an example for introduction. The processor 110 and the memory 120 may be connected via a bus or other means. FIG8 takes the bus connection as an example.
[0109] Processor 110 is used to implement various control logic of system 10. It can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), a single-chip microcomputer, an ARM (Acorn RISC Machine) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of these components. In addition, processor 110 can also be any conventional processor, microprocessor, or state machine. Processor 110 can also be implemented as a combination of computing devices, such as a combination of a DSP and a microprocessor, multiple microprocessors, one or more microprocessors in combination with a DSP, and / or any other such configuration.
[0110] Memory 120, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions corresponding to the method for securely transmitting IoT data in the embodiments of the present invention. Processor 110 executes the non-volatile software programs, instructions, and modules stored in memory 120 to execute various functional applications and data processing of system 10, thereby implementing the method for securely transmitting IoT data in the aforementioned method embodiments.
[0111] Memory 120 may include a program storage area and a data storage area. The program storage area may store an operating system and application programs required for at least one function; the data storage area may store data created based on the use of system 10, etc. In addition, memory 120 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, memory 120 may optionally include memory remotely located relative to processor 110, and such remote memory may be connected to system 10 via a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0112] One or more units are stored in the memory 120, and when executed by one or more processors 110, implement the following steps:
[0113] Receive authentication requests for security protocols initiated by IoT devices and perform two-way identity authentication;
[0114] After the identity authentication is passed, a secure connection is established with the IoT device;
[0115] The received IoT data is converted between a secure protocol and a non-secure protocol and encrypted for transmission via the secure connection to complete data interaction between the IoT device and the service platform;
[0116] The IoT data comes from the secure protocol interface of the IoT device or the non-secure protocol interface of the service platform.
[0117] In one embodiment, before receiving the authentication request of the security protocol initiated by the IoT device and performing the two-way identity authentication, the method further includes:
[0118] Receive the security protocol server certificate issued by the certificate authority.
[0119] In one embodiment, receiving a security protocol authentication request initiated by an IoT device and performing bidirectional identity authentication includes:
[0120] Receive a security protocol authentication request initiated by an IoT device, wherein the authentication request carries a security protocol client certificate issued by the certificate authority;
[0121] Two-way identity authentication is performed based on the security protocol client certificate and the security protocol server certificate.
[0122] In one embodiment, converting and encrypting the received IoT data between a secure protocol and a non-secure protocol through the secure connection includes:
[0123] Receiving, through the secure connection, a security protocol data packet sent by the IoT device through the security protocol interface;
[0124] Decrypt the security protocol data packet to obtain corresponding IoT data;
[0125] The Internet of Things data is forwarded to the non-secure protocol interface of the service platform through a designated service channel port.
[0126] In one embodiment, the converting and encrypting the received IoT data between a secure protocol and a non-secure protocol through the secure connection further includes:
[0127] Receiving the IoT data sent by the service platform through the non-secure protocol interface through a designated service channel port;
[0128] Packaging and encapsulating the IoT data into a security protocol data packet;
[0129] The security protocol data packet is forwarded to the security protocol interface of the Internet of Things device through the secure connection.
[0130] In one embodiment, the security protocol specifically refers to: TLS protocol.
[0131] In one embodiment, the non-secure protocol specifically refers to: UDP protocol.
[0132] An embodiment of the present invention provides a non-volatile computer-readable storage medium storing computer-executable instructions. The computer-executable instructions are executed by one or more processors, for example, to execute steps S101 to S103 of the method described above in FIG. 2 .
[0133] As examples, non-volatile storage media can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) as external cache memory. By way of illustration and not limitation, RAM can be obtained in many forms such as synchronous RAM (SRAM), dynamic RAM, (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and direct Rambus RAM (DRRAM). The disclosed memory components or memories of the operating environment described herein are intended to include one or more of these and / or any other suitable types of memory.
[0134] Figure 3 shows the authentication and key exchange process between an IoT device and the TLS-to-UDP interface module. This process involves three endpoints: the CA center, the IoT device, and the TLS-to-UDP interface module. The CA center generates and issues a server certificate to the TLS-to-UDP interface module, and the CA center generates and issues a client certificate to the IoT device. The authentication and key exchange process between the IoT device and the TLS-to-UDP interface module follows the standard TLS protocol.
[0135] As shown in Figure 6, the signature verification system in the blockchain security management platform provides the CA system and certificate management functions for the present invention, forming a secure connection between the TLS security interface to UDP interface module and the Internet of Things device.
[0136] In practical applications, the IoT device (T1 in Figure 9) can be a multi-mode heterogeneous IoT gateway with a UDP interface. Without changing the original service platform and UDP interface service, the method described in this patent can be used to establish a TLS secure interface to UDP interface module between the multi-mode heterogeneous IoT gateway and the service platform, so that the TLS protocol can be used to cross the original network boundary. This allows the original multi-mode heterogeneous IoT gateway to securely access the network where the service platform is located.
[0137] The method described in the present invention is not only applicable to multi-mode heterogeneous IoT gateways, but also to any carrier that can use the TLS protocol, including but not limited to IoT sensors, cameras, control terminals, mobile terminals, repeaters, PC clients, etc.
[0138] The present invention is applicable to all Internet of Things industries including but not limited to forest ecology, environmental protection, public security, urban management, housing and construction, emergency response, medical care, transportation, industrial parks, industry and mining, finance, and dual carbon.
[0139] The TLS protocol described in the present invention includes any version of the TLS protocol, any encryption and decryption algorithm, any hash algorithm, and any configuration of the TLS protocol. The UDP protocol described in the present invention includes any version of the UDP protocol and any configuration of the UDP protocol.
[0140] In summary, the present invention discloses a method, device, system and medium for secure transmission of IoT data. The method performs two-way identity authentication by receiving an authentication request of a security protocol initiated by an IoT device; after the identity authentication is passed, a secure connection is established with the IoT device; the received IoT data is converted between a security protocol and a non-security protocol and encrypted for transmission via the secure connection to complete data interaction between the IoT device and the service platform; wherein the IoT data comes from the security protocol interface of the IoT device or the non-security protocol interface of the service platform. The IoT data is converted between a security protocol and a non-security protocol via a secure connection, and data interaction between the IoT device and the platform is achieved through the security protocol across the network boundary, thereby achieving low-cost and highly secure IoT data transmission.
[0141] Of course, those skilled in the art will appreciate that all or part of the processes in the above-described method embodiments can be implemented by instructing related hardware (such as a processor, controller, etc.) through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes in the above-described method embodiments. The storage medium can be a memory, a magnetic disk, a floppy disk, a flash memory, an optical storage device, etc.
[0142] It should be understood that the application of the present invention is not limited to the above examples. For those skilled in the art, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.
[0143] The embodiments of Figures 1-8 can be applied to the next-generation Internet of Things (IoT) as shown in Figure 9 , supporting and integrating with the technologies in the system of Figure 9 , effectively resolving many bottleneck issues in IoT applications, such as high latency, high power consumption, incomplete network coverage, low data load, different communication protocols, data insecurity, and the allocation of communication resources by application terminals. This invention significantly enhances the application value and user experience of the IoT in a variety of different environments, improves application efficiency, and truly realizes the effective application of the "Internet of Everything," including but not limited to the following:
[0144] 1) The next-generation IoT is characterized by weakening the boundaries between sensing, transmission, calculation, control, and application in the traditional IoT, improving interoperability between layers, and promoting mutual promotion between layers through dynamic, on-demand, and rational resource allocation, thereby achieving overall system optimization.
[0145] 2) The communication link is particularly critical. Multi-mode heterogeneous networks are designed specifically for smart twinning / smart empowerment in various industries. They are an effective improvement and enhancement to existing wireless communications and networks. Through the dynamic coordination and allocation of communication parameters, multiple networking methods, and network resources, they achieve ubiquitous, dynamic, and real-time effective communication, improve spectrum utilization, network resource utilization, and enhance network coverage and performance.
[0146] 3) Multi-mode heterogeneous networks are polymorphic and can dynamically adjust communication parameters based on physical location to establish networks. In addition to mainstream communication modes, they also include advanced networking methods such as Mesh, relay, and SDN. They support flexible scheduling, flexible expansion of wireless link access and management technologies, and link self-healing, providing professional wireless network bearer services with high utilization, strong stability, and easy recovery.
[0147] 4) Multi-mode heterogeneous networks are closely integrated with industries, dynamically adjusting communication parameters based on industry requirements and / or physical location. For example, communication parameters such as source coding, channel coding, signal time slots, transmit power, carrier frequency, carrier bandwidth, modulation mode, transmit power, and receive sensitivity can be adjusted. Different communication requirements use different communication strategies. For example, high-bandwidth communication requirements can adopt data transmission point splitting, multipath concurrency during transmission, and receiving point aggregation, and can be combined with high service quality deployment strategies. For example, data required for high-reliability communication can adopt multi-path redundant transmission methods, ensuring reliable delivery while reducing delays caused by sequential switching of multiple communication methods.
[0148] 5) Deep integration of multi-mode heterogeneous networks and sensing and control terminals. Sensing devices dynamically change sampling intervals and accuracy based on their own conditions, such as power consumption, sensing data value, sensing data change rate, preset thresholds, and network conditions. They further adjust parameters such as transmission frequency, transmit power, and modulation mode, thereby simultaneously taking into account response time, overall power consumption, and network bandwidth usage. Sensing devices, combined with edge computing, implement edge correction and self-calibration, and can also generate edge decisions to directly drive control terminals.
[0149] 6) Multi-mode heterogeneous networks have autonomous capabilities. The base stations / gateways can have their own distributed edge core network (or communication server) and automatically switch to the edge core network when the connection with the server-side core network is disconnected. In the event of a network outage, base stations / gateways can be networked wirelessly or wired, with one base station / gateway serving as the core network. The edge core network provides hierarchical and regional communications in the event of network outages and weak networks, providing the necessary support for data exchange in domain-specific edge computing.
[0150] 7) With the support of multi-mode heterogeneous networks and artificial intelligence, the core network and base stations can collect link information of base stations, routing nodes, and terminals, including: communication mode, communication path, signal-to-noise ratio, packet loss rate, delay, channel occupancy, etc., and use deep learning to make link predictions and deduce better networking and communication solutions. They can adaptively adjust the device connection mode (direct connection to base station, mesh network, point-to-point), transmission path (single path, multipath), and RF parameters (modulation mode, rate, spectrum occupancy, receiving bandwidth) as needed (data transmission rate, response time, reliability, connection distance, etc.);
[0151] 8) Multi-mode heterogeneous networks can enhance cloud-edge collaborative computing capabilities. The AI industry algorithm middle platform supports unified management and operation and maintenance of computing power and service resources. It can dynamically allocate computing power and algorithm tasks for fog computing, edge computing, and the AI industry algorithm middle platform itself based on industry applications, computing power, network, and communication conditions. It can also automatically scale up and down according to actual configuration scenarios to improve computing resource utilization.
[0152] 9) The next-generation artificial intelligence Internet of Things system covers multiple layers: from bottom to top, they are the terminal layer, transmission layer, support layer, artificial intelligence business platform layer and urban operation comprehensive IOC layer.
[0153] 10) The next-generation AI IoT system also includes: a security management platform, a unified operations and maintenance management platform, and IT resource services; the security management platform and the unified operations and maintenance management platform vertically run through all levels, providing full-chain, end-to-end services;
[0154] 11) IT resource services provide services for the support layer, artificial intelligence business platform layer, and the comprehensive IOC layer of urban operations;
[0155] 12) The multi-mode heterogeneous IoT perception platform manages the base station and gateway resources at the lower level, implements different encryption transmissions for different data according to the importance of the data, and combines with the blockchain security management platform to achieve unified standard data security handover between different layers.
Claims
1. A secure transmission method for Internet of Things data, characterized in that: Methods include: Receive authentication requests for security protocols initiated by IoT devices and perform two-way identity authentication; After the identity authentication is passed, a secure connection is established with the IoT device; The received IoT data is converted between a secure protocol and a non-secure protocol and encrypted for transmission via the secure connection to complete data interaction between the IoT device and the service platform; The IoT data comes from the secure protocol interface of the IoT device or the non-secure protocol interface of the service platform.
2. The method for securely transmitting IoT data according to claim 1, wherein: Before receiving the authentication request of the security protocol initiated by the IoT device and performing two-way identity authentication, the method further includes: Receive the security protocol server certificate issued by the certificate authority.
3. The secure transmission method of Internet of Things data according to claim 2, characterized in that: The receiving of the authentication request of the security protocol initiated by the IoT device and performing two-way identity authentication includes: Receive a security protocol authentication request initiated by an IoT device, wherein the authentication request carries a security protocol client certificate issued by the certificate authority; Two-way identity authentication is performed based on the security protocol client certificate and the security protocol server certificate.
4. The method for securely transmitting IoT data according to claim 1, wherein: The conversion and encrypted transmission between the secure protocol and the non-secure protocol of the received IoT data through the secure connection includes: Receiving, through the secure connection, a security protocol data packet sent by the IoT device through the security protocol interface; Decrypt the security protocol data packet to obtain corresponding IoT data; The Internet of Things data is forwarded to the non-secure protocol interface of the service platform through a designated service channel port.
5. The secure transmission method of Internet of Things data according to claim 4, characterized in that: The converting and encrypting the received IoT data between the security protocol and the non-security protocol through the secure connection also includes: Receiving the IoT data sent by the service platform through the non-secure protocol interface through a designated service channel port; Packaging and encapsulating the IoT data into a security protocol data packet; The security protocol data packet is forwarded to the security protocol interface of the Internet of Things device through the secure connection.
6. The method for securely transmitting IoT data according to any one of claims 1 to 5, characterized in that: The security protocol specifically refers to: TLS protocol.
7. The method for securely transmitting IoT data according to any one of claims 1 to 5, characterized in that: The non-secure protocol specifically refers to: UDP protocol.
8. A secure transmission device for Internet of Things data, characterized in that: The device includes: The authentication module is used to receive authentication requests for security protocols initiated by IoT devices and perform two-way identity authentication; A connection module, configured to establish a secure connection with the IoT device after the identity authentication is passed; A conversion and transmission module, configured to convert and encrypt the received IoT data between a secure protocol and a non-secure protocol through the secure connection, so as to complete data interaction between the IoT device and the service platform; The IoT data comes from the secure protocol interface of the IoT device or the non-secure protocol interface of the service platform.
9. A secure transmission system for Internet of Things data, characterized in that: The system includes at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method for secure transmission of Internet of Things data according to any one of claims 1 to 7.
10. A non-volatile computer-readable storage medium, characterized in that: The non-volatile computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are executed by one or more processors, the one or more processors can execute the method for securely transmitting Internet of Things data according to any one of claims 1 to 7.
