A data transmission method, device and equipment of power internet of things and storage medium

CN117040893BActive Publication Date: 2026-08-07GUANGDONG POWER GRID CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GUANGDONG POWER GRID CO LTD
Filing Date
2023-09-01
Publication Date
2026-08-07

AI Technical Summary

Technical Problem

[0005]本发明提供了一种电力物联网的数据传输方法、装置、设备及存储介质,以解决现有技术中数据在传输过程的完整性低、安全性低、部署复杂性高和维护成本大的技术问题

Benefits of technology

[0039]本发明的技术方案通过获取电力物联网设备的待传输数据,并根据传输网络带宽来进行待传输数据的安全需求划分,从而得到待编码数据,进而通过电力物联网设备的接入方式确定待编码数据的编码系数后,对待编码数据进行互补交织的编码,得到编码数据包,无需采用虚拟专用网络等部署复杂性高和维护成本大的方式,同时能够有效地应对窃听者对某一网络进行的窃听行为,增加了数据传输的安全性,并且即使在传输过程中部分数据包丢失或受到干扰,最终通过调用宽带网络和窄带网络,对编码数据包发送至接收端设备,接收端仍能通过收集足够数量的数据包来恢复原始数据,确保数据的完整性和可靠性。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117040893B_ABST
    Figure CN117040893B_ABST
Patent Text Reader

Abstract

The application discloses a kind of data transmission method, device and equipment of electric power internet of things and storage medium, method includes: obtaining the data to be transmitted of electric power internet of things equipment, and according to the transmission network bandwidth required by the data to be transmitted, the security requirement division of the data to be transmitted is carried out, and the data to be encoded is obtained;According to the access mode of the electric power internet of things equipment, the coding coefficient of the data to be encoded is determined, and the coding of the data to be encoded is carried out according to the coding coefficient, and the coded data packet is obtained;According to the transmission network bandwidth, the coded data packet is sent to receiving end equipment by calling wideband network and narrowband network, so that the receiving end equipment decodes the coded data packet to original data, so as to complete the data transmission of electric power internet of things.The application solves the technical problems of low integrity, low security, high deployment complexity and high maintenance cost of data in the transmission process in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power Internet of Things (IoT) technology, and in particular to a data transmission method, apparatus, device, and storage medium for power IoT. Background Technology

[0002] With the rapid development of information and communication technologies, the Internet of Things (IoT) for power equipment has been widely applied in the power industry. These applications cover all aspects of power production, transmission, distribution, and equipment condition monitoring, greatly improving the efficiency and interconnectivity of power systems. However, this has also brought about increasing concerns about the security of data transmission.

[0003] Traditional IoT data transmission methods are often vulnerable to data eavesdropping, tampering, and interference, which can lead to serious security issues and data breaches. To improve the security of power IoT data transmission, several security measures have been implemented. Encryption, authentication and authorization, and virtual private networks (VPNs) are widely used for data protection. While these methods enhance data transmission security to some extent, several challenges remain. Encryption ensures data is not intercepted during transmission, but it cannot completely prevent data tampering and replay attacks. Furthermore, the encryption and decryption process can increase communication latency, potentially impacting real-time requirements in power IoT applications. Authentication and authorization prevents unauthorized access, but for authorized devices, data integrity and security during transmission cannot be guaranteed. Moreover, the authentication and authorization process itself is susceptible to attack, leading to security problems. VPNs can establish encrypted tunnels for communication, but they also suffer from complex deployment and high maintenance costs, potentially making them inflexible and inefficient, especially in large-scale power IoT applications.

[0004] Therefore, there is an urgent need for a method that can ensure the integrity and security of data during transmission, and reduce deployment complexity and maintenance costs. Summary of the Invention

[0005] This invention provides a data transmission method, apparatus, device, and storage medium for the power Internet of Things, in order to solve the technical problems of low data integrity, low security, high deployment complexity, and high maintenance cost in the prior art during data transmission.

[0006] To address the aforementioned technical problems, embodiments of the present invention provide a data transmission method for a power Internet of Things, comprising:

[0007] The system acquires the data to be transmitted from the power Internet of Things (IoT) device, and divides the data to be transmitted according to the network bandwidth required by the data to be transmitted, thereby obtaining the data to be encoded.

[0008] Based on the access method of the power Internet of Things device, the encoding coefficients of the data to be encoded are determined, and based on the encoding coefficients, the data to be encoded is encoded by complementary interleaving to obtain an encoded data packet;

[0009] Based on the bandwidth of the transmission network, the encoded data packets are sent to the receiving device by calling both broadband and narrowband networks, so that the receiving device can decode the encoded data packets into the original data, thereby completing the data transmission of the power Internet of Things.

[0010] As a preferred embodiment, the step of acquiring the data to be transmitted from the power Internet of Things (IoT) device and dividing the data to be transmitted according to the required transmission network bandwidth to obtain the data to be encoded is specifically as follows:

[0011] The system acquires the data to be transmitted from the power IoT device and divides the data to be transmitted according to the transmission network bandwidth set by the power IoT device for the data to be transmitted; wherein, the transmission network bandwidth includes broadband network transmission and narrowband network transmission.

[0012] If the data to be transmitted can be divided into high-speed data and low-speed data, and the high-speed data and low-speed data are transmitted through broadband network and narrowband network respectively, then the data to be transmitted is data that does not require encoding.

[0013] If the data to be transmitted cannot be divided into high-speed data and low-speed data, and needs to be transmitted using both broadband and narrowband networks, then the data to be transmitted is data to be encoded.

[0014] As a preferred embodiment, determining the encoding coefficients of the data to be encoded based on the access method of the power Internet of Things (IoT) device specifically involves:

[0015] When the power IoT device and the receiving device are directly connected, the coefficients generated by a synchronous pseudo-random number generator set between the power IoT device and the receiving device are used as the encoding coefficients of the data to be encoded.

[0016] When the power IoT device and the receiving device are connected indirectly, elements are randomly selected from a finite field within a preset range of coding coefficients as coding coefficients for the data to be encoded.

[0017] As a preferred embodiment, the step of performing complementary interleaving encoding on the data to be encoded according to the encoding coefficients to obtain an encoded data packet specifically involves:

[0018] The data to be encoded is divided into a first data to be encoded and a second data to be encoded; wherein the bit size of the data blocks of the first data to be encoded and the data blocks of the second data to be encoded are the same.

[0019] According to a preset interleaving coefficient, the first data to be encoded and the second data to be encoded are interleaved to obtain the first interleaved data and the second interleaved data.

[0020] The coding sparse matrix is ​​determined based on the coding coefficients, and random linear network coding is performed on the first interleaved data and the second interleaved data respectively based on the coding sparse matrix to obtain their corresponding coding data matrices, wherein the row elements of the coding data matrix are coded data packets.

[0021] As a preferred embodiment, the formula for calculating the preset interleaving coefficient is:

[0022] d1 = 1 - P BB d2=1-P NB ;

[0023] Among them, P BB P represents the probability that broadband transmission is subject to eavesdropping and interference. NB d1 represents the probability of narrowband transmission being eavesdropped on and interfered with, d2 represents the preset interleaving coefficient corresponding to the first data to be encoded, and d2 represents the preset interleaving coefficient corresponding to the second data to be encoded.

[0024] As a preferred embodiment, the step of sending the encoded data packet to the receiving device by invoking both broadband and narrowband networks based on the transmission network bandwidth specifically involves:

[0025] Based on the bandwidth of the transmission network, broadband and narrowband networks are invoked for the transmission of encoded data packets;

[0026] The encoded data matrix corresponding to the first data to be encoded is sent to the receiving device in the form of encoded data packets via a broadband network.

[0027] Furthermore, the encoded data matrix corresponding to the second data to be encoded is transmitted to the receiving device in the form of encoded data packets via a narrowband network.

[0028] In this process, the encoded data matrix corresponding to the first data to be encoded and the encoded data matrix corresponding to the second data to be encoded are both transmitted simultaneously.

[0029] As a preferred embodiment, the receiving device decodes the encoded data packet into the original data, specifically as follows:

[0030] The receiving device receives encoded data packets from the encoded data matrix corresponding to the first data to be encoded and encoded data packets from the encoded data matrix corresponding to the second data to be encoded, respectively, through a broadband network and a narrowband network.

[0031] The receiving device uses a random linear network coding decoding operation to recover all encoded data packets and integrate them to obtain the original data.

[0032] Accordingly, the present invention also provides a data transmission device for a power Internet of Things, comprising: a security partitioning module, an encoding module, and a transmission module;

[0033] The security partitioning module is used to acquire the data to be transmitted from the power Internet of Things device, and to partition the data to be transmitted according to the network bandwidth required by the data to be transmitted, so as to obtain the data to be encoded.

[0034] The encoding module is used to determine the encoding coefficients of the data to be encoded according to the access method of the power Internet of Things device, and to perform complementary interleaving encoding on the data to be encoded according to the encoding coefficients to obtain an encoded data packet;

[0035] The transmission module is used to send the encoded data packet to the receiving device by calling the broadband network and the narrowband network according to the bandwidth of the transmission network, so that the receiving device can decode the encoded data packet into the original data, thereby completing the data transmission of the power Internet of Things.

[0036] Accordingly, the present invention also provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to implement the data transmission method of the power Internet of Things as described above.

[0037] Accordingly, the present invention also provides a computer-readable storage medium comprising a stored computer program, wherein, when the computer program is executed, it controls the device where the computer-readable storage medium is located to perform the data transmission method of the power Internet of Things as described above.

[0038] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0039] The technical solution of this invention acquires the data to be transmitted from power Internet of Things (IoT) devices and divides the data according to the security requirements of the transmission network bandwidth to obtain the data to be encoded. Then, after determining the encoding coefficients of the data to be encoded based on the access method of the power IoT devices, the data to be encoded is encoded by complementary interleaving to obtain encoded data packets. This eliminates the need for deployment complexity and maintenance costs of virtual private networks (VPNs), and effectively counters eavesdropping on a network, increasing the security of data transmission. Even if some data packets are lost or interfered with during transmission, the encoded data packets can be sent to the receiving device by calling broadband and narrowband networks. The receiving end can still recover the original data by collecting a sufficient number of data packets, ensuring the integrity and reliability of the data. Attached Figure Description

[0040] Figure 1 : A flowchart illustrating the steps of a data transmission method for a power Internet of Things (IoT) provided in an embodiment of the present invention;

[0041] Figure 2 : This is a schematic diagram of the structure of a data transmission device for the power Internet of Things provided in an embodiment of the present invention. Detailed Implementation

[0042] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0043] Example 1

[0044] Please refer to Figure 1 The present invention provides a data transmission method for a power Internet of Things, comprising the following steps S101-S103:

[0045] Step S101: Obtain the data to be transmitted from the power Internet of Things device, and divide the data to be transmitted into security requirements according to the transmission network bandwidth required by the data to be transmitted, to obtain the data to be encoded.

[0046] In a preferred embodiment, the step of acquiring the data to be transmitted from the power Internet of Things (IoT) device and dividing the data to be transmitted according to the required transmission network bandwidth to obtain the data to be encoded specifically involves:

[0047] The system acquires the data to be transmitted from the power IoT device and divides the data according to the transmission network bandwidth set by the power IoT device. The transmission network bandwidth includes broadband network transmission and narrowband network transmission. If the data to be transmitted can be divided into high-speed data and low-speed data, and the high-speed data and low-speed data are transmitted via broadband network and narrowband network respectively, then the data to be transmitted is data that does not require encoding. If the data to be transmitted cannot be divided into high-speed data and low-speed data, and requires simultaneous transmission via broadband network and narrowband network, then the data to be transmitted is data that needs to be encoded.

[0048] In this embodiment, all power IoT devices are connected to a converged broadband and narrowband network. Therefore, the IoT devices integrate a broadband network module, a narrowband network module, and a network coding module. The network coding module is used to execute the method of this embodiment, while the broadband network module and the narrowband network module are used to connect the receiving end and the transmitting end of the IoT device, respectively.

[0049] In this embodiment, the data to be transmitted can be classified into low-security-requirement data and high-security-requirement data. Low-security-requirement data has a lower security level requirement, so it does not need to be encoded or encrypted to improve the efficiency of data transmission. For high-security-requirement data, since it may involve a large amount of sensitive data, such as power supply information and equipment status, which need to be transmitted over the network, it is necessary to encode and encrypt the data.

[0050] Furthermore, low-security-requirement data can be further divided into high-speed data and low-speed data, which are transmitted through broadband network modules and narrowband network modules, respectively; while high-security-requirement data is transmitted using both broadband and narrowband networks. Therefore, the type of data can be determined by the transmission network bandwidth required for the data to be transmitted. The transmission network bandwidth for the data to be transmitted is added by the power IoT device according to its network configuration information when the data is generated.

[0051] Step S102: Determine the encoding coefficients of the data to be encoded according to the access method of the power Internet of Things device, and perform complementary interleaving encoding on the data to be encoded according to the encoding coefficients to obtain the encoded data packet.

[0052] As a preferred embodiment, determining the encoding coefficients of the data to be encoded based on the access method of the power Internet of Things device specifically involves:

[0053] When the power IoT device and the receiving device are directly connected, the coefficients generated by a synchronous pseudo-random number generator set between the power IoT device and the receiving device are used as the encoding coefficients of the data to be encoded; when the power IoT device and the receiving device are indirectly connected, elements are randomly selected from a finite field within a preset encoding coefficient range as the encoding coefficients of the data to be encoded.

[0054] In this embodiment, IoT devices can be categorized into direct access devices and indirect access devices based on their network access methods. Direct access devices connect directly to the network through nearby access points, while data from indirect access devices connects to the network via other indirect access devices or direct access devices acting as relays.

[0055] It should be noted that for direct access devices, before data transmission, the device and the receiving device pre-set a synchronized pseudo-random number generator to generate encoding coefficients; for indirect access devices, the encoding coefficients are randomly selected from a finite field and carried in the header of the encoded data packet.

[0056] In a preferred embodiment, the step of performing complementary interleaving encoding on the data to be encoded according to the encoding coefficients to obtain an encoded data packet specifically involves:

[0057] The data to be encoded is divided into a first data to be encoded and a second data to be encoded; wherein the data blocks of the first data to be encoded and the data blocks of the second data to be encoded have the same bit size; the first data to be encoded and the second data to be encoded are interleaved according to a preset interleaving coefficient to obtain a first interleaved data and a second interleaved data; a coding sparse matrix is ​​determined according to the coding coefficient, and the first interleaved data and the second interleaved data are respectively subjected to random linear network coding according to the coding sparse matrix to obtain their corresponding coding data matrices, wherein the row elements of the coding data matrices are coded data packets.

[0058] In this embodiment, complementary interleaving coding, i.e., random linear network coding of the data to be transmitted using complementary interleaving coding method, yields encoded data packets. This mainly involves first dividing the data to be encoded into two parts, denoted as D1 and D2. D1 contains n1 data blocks, each of size B bits, and D2 contains n2 data blocks, also each of size B bits. The division can be random. The two parts of data are then interleaved to obtain new two-part data. and The interleaving operation is as follows: randomly select d2×D1 data blocks from D1 to form a random subset D of D1. sub1 A random subset D of D2 is formed by randomly selecting d1×D2 data blocks from D2. sub2 Dsub2 Incorporate into D1 to obtain D sub1 Merged into D2 Where d1 and d2 are respectively The preset interleaving coefficient.

[0059] Furthermore, regarding and Random linear network coding is performed separately to obtain coded data matrices E1 and E2. The coding operation is as follows: Let D be the matrix of data blocks to be transmitted, with a size of n×B, where n represents the number of data blocks. Let C be an m×n order coded sparse matrix, whose elements are randomly taken from the finite field GF(2). q ), where q is the size of the finite field. Performing C×D completes the encoding operation, yielding an encoded data matrix E, whose row elements are encoded data packets.

[0060] As a preferred embodiment, the formula for calculating the preset interleaving coefficient is:

[0061] d1 = 1 - P BB d2=1-P NB Among them, P BB P represents the probability that broadband transmission is subject to eavesdropping and interference. NB d1 represents the probability of narrowband transmission being eavesdropped on and interfered with, d2 represents the preset interleaving coefficient corresponding to the first data to be encoded, and d2 represents the preset interleaving coefficient corresponding to the second data to be encoded.

[0062] In this embodiment, the required level of security is determined. and The degree of interleaving, denoted as d1 and d2 respectively, is used to determine the probability of eavesdropping and interference in broadband and narrowband transmissions, respectively. Let P be the probability of broadband transmission. BB Narrowband is P NB The higher the probability of being eavesdropped on or interfered with, the higher the level of security required. The calculation formula is: d1 = 1 - P BB d2=1-P NB .

[0063] Step S103: Based on the transmission network bandwidth, the encoded data packet is sent to the receiving device by calling the broadband network and the narrowband network, so that the receiving device can decode the encoded data packet into the original data, thereby completing the data transmission of the power Internet of Things.

[0064] In a preferred embodiment, the step of sending the encoded data packet to the receiving device by invoking both a broadband network and a narrowband network, based on the transmission network bandwidth, specifically involves:

[0065] Based on the transmission network bandwidth, a broadband network and a narrowband network are invoked for the transmission of encoded data packets; the encoded data matrix corresponding to the first data to be encoded is transmitted to the receiving device in the form of encoded data packets via the broadband network; and the encoded data matrix corresponding to the second data to be encoded is transmitted to the receiving device in the form of encoded data packets via the narrowband network; wherein, the encoded data matrix corresponding to the first data to be encoded and the encoded data matrix corresponding to the second data to be encoded are transmitted simultaneously.

[0066] In a preferred embodiment, the receiving device decodes the encoded data packet to the original data, specifically as follows:

[0067] The receiving device receives encoded data packets from the encoded data matrix corresponding to the first data to be encoded and encoded data packets from the encoded data matrix corresponding to the second data to be encoded via broadband and narrowband networks, respectively. The receiving device uses the decoding operation of random linear network encoding to recover all encoded data packets and integrate them to obtain the original data.

[0068] In this embodiment, the receiving device receives encoded data packets from encoded data matrices E1 and E2 via a broadband network and a narrowband network, respectively. Simultaneously, the encoded data packets of E1 are transmitted via the broadband network, and the encoded data packets of E2 are transmitted via the narrowband network, thereby improving the efficiency of data transmission. Finally, the data is recovered using the decoding operation of random linear network coding to obtain the original data.

[0069] Understandably, in a broadband-narrowband converged power equipment IoT environment, this invention performs complementary interleaving of the data to be transmitted by the device, followed by random linear network coding, and finally transmits it through different networks. This effectively counters eavesdropping attempts on a particular network, increases data transmission security, and even if some data packets are lost or interfered with during transmission, the receiving end can still recover the original data by collecting a sufficient number of data packets, ensuring data integrity and reliability.

[0070] Implementing the above embodiments has the following effects:

[0071] The technical solution of this invention acquires the data to be transmitted from power Internet of Things (IoT) devices and divides the data according to the security requirements of the transmission network bandwidth to obtain the data to be encoded. Then, after determining the encoding coefficients of the data to be encoded based on the access method of the power IoT devices, the data to be encoded is encoded by complementary interleaving to obtain encoded data packets. This eliminates the need for deployment complexity and maintenance costs of virtual private networks (VPNs), and effectively counters eavesdropping on a network, increasing the security of data transmission. Even if some data packets are lost or interfered with during transmission, the encoded data packets can be sent to the receiving device by calling broadband and narrowband networks. The receiving end can still recover the original data by collecting a sufficient number of data packets, ensuring the integrity and reliability of the data.

[0072] Example 2

[0073] Please see Figure 2 The present invention also provides a data transmission device for the Internet of Things for power, comprising: a security partitioning module 201, an encoding module 202, and a transmission module 203.

[0074] The security partitioning module 201 is used to acquire the data to be transmitted from the power Internet of Things device, and to partition the data to be transmitted according to the network bandwidth required by the data to be transmitted to obtain the data to be encoded.

[0075] The encoding module 202 is used to determine the encoding coefficients of the data to be encoded according to the access method of the power Internet of Things device, and to perform complementary interleaving encoding on the data to be encoded according to the encoding coefficients to obtain an encoded data packet.

[0076] The transmission module 203 is used to send the encoded data packet to the receiving device by calling the broadband network and the narrowband network according to the bandwidth of the transmission network, so that the receiving device can decode the encoded data packet into the original data, thereby completing the data transmission of the power Internet of Things.

[0077] As a preferred embodiment, the step of acquiring the data to be transmitted from the power Internet of Things (IoT) device and dividing the data to be transmitted according to the required transmission network bandwidth to obtain the data to be encoded is specifically as follows:

[0078] The system acquires the data to be transmitted from the power IoT device and divides the data to be transmitted according to the transmission network bandwidth set by the power IoT device for the data to be transmitted; wherein, the transmission network bandwidth includes broadband network transmission and narrowband network transmission.

[0079] If the data to be transmitted can be divided into high-speed data and low-speed data, and the high-speed data and low-speed data are transmitted through broadband network and narrowband network respectively, then the data to be transmitted is data that does not require encoding.

[0080] If the data to be transmitted cannot be divided into high-speed data and low-speed data, and needs to be transmitted using both broadband and narrowband networks, then the data to be transmitted is data to be encoded.

[0081] As a preferred embodiment, determining the encoding coefficients of the data to be encoded based on the access method of the power Internet of Things (IoT) device specifically involves:

[0082] When the power IoT device and the receiving device are directly connected, the coefficients generated by a synchronous pseudo-random number generator set between the power IoT device and the receiving device are used as the encoding coefficients of the data to be encoded.

[0083] When the power IoT device and the receiving device are connected indirectly, elements are randomly selected from a finite field within a preset range of coding coefficients as coding coefficients for the data to be encoded.

[0084] As a preferred embodiment, the step of performing complementary interleaving encoding on the data to be encoded according to the encoding coefficients to obtain an encoded data packet specifically involves:

[0085] The data to be encoded is divided into a first data to be encoded and a second data to be encoded; wherein the bit size of the data blocks of the first data to be encoded and the data blocks of the second data to be encoded are the same.

[0086] According to a preset interleaving coefficient, the first data to be encoded and the second data to be encoded are interleaved to obtain the first interleaved data and the second interleaved data.

[0087] The coding sparse matrix is ​​determined based on the coding coefficients, and random linear network coding is performed on the first interleaved data and the second interleaved data respectively based on the coding sparse matrix to obtain their corresponding coding data matrices, wherein the row elements of the coding data matrix are coded data packets.

[0088] As a preferred embodiment, the formula for calculating the preset interleaving coefficient is:

[0089] d1 = 1 - P BB d2=1-P NB ;

[0090] Among them, P BB P represents the probability that broadband transmission is subject to eavesdropping and interference. NBd1 represents the probability of narrowband transmission being eavesdropped on and interfered with, d2 represents the preset interleaving coefficient corresponding to the first data to be encoded, and d2 represents the preset interleaving coefficient corresponding to the second data to be encoded.

[0091] As a preferred embodiment, the step of sending the encoded data packet to the receiving device by invoking both broadband and narrowband networks based on the transmission network bandwidth specifically involves:

[0092] Based on the bandwidth of the transmission network, broadband and narrowband networks are invoked for the transmission of encoded data packets;

[0093] The encoded data matrix corresponding to the first data to be encoded is sent to the receiving device in the form of encoded data packets via a broadband network.

[0094] Furthermore, the encoded data matrix corresponding to the second data to be encoded is transmitted to the receiving device in the form of encoded data packets via a narrowband network.

[0095] In this process, the encoded data matrix corresponding to the first data to be encoded and the encoded data matrix corresponding to the second data to be encoded are both transmitted simultaneously.

[0096] As a preferred embodiment, the receiving device decodes the encoded data packet into the original data, specifically as follows:

[0097] The receiving device receives encoded data packets from the encoded data matrix corresponding to the first data to be encoded and encoded data packets from the encoded data matrix corresponding to the second data to be encoded, respectively, through a broadband network and a narrowband network.

[0098] The receiving device uses a random linear network coding decoding operation to recover all encoded data packets and integrate them to obtain the original data.

[0099] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working process of the device described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0100] Implementing the above embodiments has the following effects:

[0101] The technical solution of this invention acquires the data to be transmitted from power Internet of Things (IoT) devices and divides the data according to the security requirements of the transmission network bandwidth to obtain the data to be encoded. Then, after determining the encoding coefficients of the data to be encoded based on the access method of the power IoT devices, the data to be encoded is encoded by complementary interleaving to obtain encoded data packets. This eliminates the need for deployment complexity and maintenance costs of virtual private networks (VPNs), and effectively counters eavesdropping on a network, increasing the security of data transmission. Even if some data packets are lost or interfered with during transmission, the encoded data packets can be sent to the receiving device by calling broadband and narrowband networks. The receiving end can still recover the original data by collecting a sufficient number of data packets, ensuring the integrity and reliability of the data.

[0102] Example 3

[0103] Accordingly, the present invention also provides a terminal device, comprising: a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to implement the data transmission method of the power Internet of Things as described in any of the above embodiments.

[0104] The terminal device in this embodiment includes a processor, a memory, and a computer program and computer instructions stored in the memory and executable on the processor. When the processor executes the computer program, it implements the various steps described in Embodiment 1 above, for example... Figure 1 The steps S101 to S103 are shown. Alternatively, when the processor executes the computer program, it implements the functions of each module / unit in the above-described device embodiment, such as the encoding module 202.

[0105] For example, the computer program can be divided into one or more modules / units, which are stored in the memory and executed by the processor to complete the present invention. The one or more modules / units can be a series of computer program instruction segments capable of performing specific functions, which describe the execution process of the computer program in the terminal device. For example, the encoding module 202 is used to determine the encoding coefficients of the data to be encoded according to the access method of the power Internet of Things device, and to perform complementary interleaving encoding on the data to be encoded according to the encoding coefficients to obtain an encoded data packet.

[0106] The terminal device may be a desktop computer, laptop, handheld computer, or cloud server, etc. The terminal device may include, but is not limited to, a processor and memory. Those skilled in the art will understand that the schematic diagram is merely an example of a terminal device and does not constitute a limitation on the terminal device. It may include more or fewer components than illustrated, or combine certain components, or different components. For example, the terminal device may also include input / output devices, network access devices, buses, etc.

[0107] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor. The processor is the control center of the terminal device, connecting all parts of the terminal device via various interfaces and lines.

[0108] The memory can be used to store the computer programs and / or modules. The processor implements various functions of the terminal device by running or executing the computer programs and / or modules stored in the memory and by calling data stored in the memory. The memory may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function, etc.; the data storage area may store data created based on the use of the mobile terminal, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as hard disk, RAM, plug-in hard disk, smart media card (SMC), secure digital card (SD), flash card, at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0109] Wherein, if the modules / units integrated in the terminal device are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of the present invention can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by a processor, it can implement the steps of the various method embodiments described above. Wherein, the computer program includes computer program code, which can be in the form of source code, object code, executable file, or some intermediate form, etc. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, portable hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content contained in the computer-readable medium can be appropriately added or removed according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electrical carrier signals and telecommunication signals.

[0110] Example 4

[0111] Accordingly, the present invention also provides a computer-readable storage medium comprising a stored computer program, wherein, when the computer program is executed, it controls the device containing the computer-readable storage medium to perform the data transmission method of the power Internet of Things as described in any of the above embodiments.

[0112] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. In particular, it should be noted that any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention for those skilled in the art.

Claims

1. A data transmission method for a power Internet of Things, characterized in that, include: The system acquires the data to be transmitted from the power Internet of Things (IoT) device, and divides the data to be transmitted according to the network bandwidth required by the data to be transmitted, thereby obtaining the data to be encoded. Based on the access method of the power Internet of Things device, the encoding coefficients of the data to be encoded are determined, and based on the encoding coefficients, the data to be encoded is encoded by complementary interleaving to obtain an encoded data packet; Based on the transmission network bandwidth, the encoded data packets are sent to the receiving device by calling broadband and narrowband networks, so that the receiving device can decode the encoded data packets into the original data, thereby completing the data transmission of the power Internet of Things; The step of encoding the data to be encoded by complementary interleaving according to the encoding coefficients to obtain the encoded data packet specifically involves: The data to be encoded is divided into a first data to be encoded and a second data to be encoded; wherein the bit size of the data blocks of the first data to be encoded and the data blocks of the second data to be encoded are the same. According to a preset interleaving coefficient, the first data to be encoded and the second data to be encoded are interleaved to obtain the first interleaved data and the second interleaved data. The coding sparse matrix is ​​determined based on the coding coefficients, and random linear network coding is performed on the first interleaved data and the second interleaved data respectively based on the coding sparse matrix to obtain their corresponding coding data matrices, wherein the row elements of the coding data matrix are coded data packets; The complementary interleaving operation includes: Divide the data to be encoded into and Two parts; from Random selection Composed of data blocks A random subset ,from Random selection Composed of data blocks A random subset ; Will Merging From ,Will Merging From ; in , They are respectively , The preset interleaving coefficient, and This is the new two-part data obtained by interleaving.

2. The data transmission method for a power Internet of Things as described in claim 1, characterized in that, The process involves acquiring the data to be transmitted from the power IoT device, and dividing the data according to the required network bandwidth to obtain the data to be encoded. The system acquires the data to be transmitted from the power IoT device and divides the data to be transmitted according to the transmission network bandwidth set by the power IoT device for the data to be transmitted; wherein, the transmission network bandwidth includes broadband network transmission and narrowband network transmission. If the data to be transmitted can be divided into high-speed data and low-speed data, and the high-speed data and low-speed data are transmitted through broadband network and narrowband network respectively, then the data to be transmitted is data that does not require encoding. If the data to be transmitted cannot be divided into high-speed data and low-speed data, and needs to be transmitted using both broadband and narrowband networks, then the data to be transmitted is data to be encoded.

3. The data transmission method for a power Internet of Things as described in claim 2, characterized in that, The step of determining the encoding coefficients of the data to be encoded based on the access method of the power Internet of Things device is as follows: When the power IoT device and the receiving device are directly connected, the coefficients generated by a synchronous pseudo-random number generator set between the power IoT device and the receiving device are used as the encoding coefficients of the data to be encoded. When the power IoT device and the receiving device are connected indirectly, elements are randomly selected from a finite field within a preset range of coding coefficients as coding coefficients for the data to be encoded.

4. The data transmission method for a power Internet of Things as described in claim 1, characterized in that, The formula for calculating the preset interleaving coefficient is: , ; in, The probability of broadband transmission being eavesdropped on and interfered with. The probability of narrowband transmission being eavesdropped on and interfered with. The preset interleaving coefficients are the first set of data to be encoded. The preset interleaving coefficient is the one corresponding to the second data to be encoded.

5. The data transmission method for a power Internet of Things as described in claim 4, characterized in that, The step of sending the encoded data packet to the receiving device by invoking both broadband and narrowband networks based on the transmission network bandwidth specifically involves: Based on the bandwidth of the transmission network, broadband and narrowband networks are invoked for the transmission of encoded data packets; The encoded data matrix corresponding to the first data to be encoded is sent to the receiving device in the form of encoded data packets via a broadband network. Furthermore, the encoded data matrix corresponding to the second data to be encoded is transmitted to the receiving device in the form of encoded data packets via a narrowband network. In this process, the encoded data matrix corresponding to the first data to be encoded and the encoded data matrix corresponding to the second data to be encoded are both transmitted simultaneously.

6. The data transmission method for a power Internet of Things as described in claim 5, characterized in that, The receiving device decodes the encoded data packet into the original data, specifically as follows: The receiving device receives encoded data packets from the encoded data matrix corresponding to the first data to be encoded and encoded data packets from the encoded data matrix corresponding to the second data to be encoded, respectively, through a broadband network and a narrowband network. The receiving device uses a random linear network coding decoding operation to recover all encoded data packets and integrate them to obtain the original data.

7. A data transmission device for a power Internet of Things, characterized in that, The data transmission method of the power Internet of Things as described in any one of claims 1 to 6 is adopted; The data transmission device includes: a security partitioning module, an encoding module, and a transmission module; The security partitioning module is used to acquire the data to be transmitted from the power Internet of Things device, and to partition the data to be transmitted according to the network bandwidth required by the data to be transmitted, so as to obtain the data to be encoded. The encoding module is used to determine the encoding coefficients of the data to be encoded according to the access method of the power Internet of Things device, and to perform complementary interleaving encoding on the data to be encoded according to the encoding coefficients to obtain an encoded data packet; The transmission module is used to send the encoded data packet to the receiving device by calling the broadband network and the narrowband network according to the bandwidth of the transmission network, so that the receiving device can decode the encoded data packet into the original data, thereby completing the data transmission of the power Internet of Things.

8. A terminal device, characterized in that, It includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to implement the data transmission method of the power Internet of Things as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored computer program, wherein, when the computer program is executed, it controls the device containing the computer-readable storage medium to perform the data transmission method of the power Internet of Things as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Self-adapting multi-band cooperative security transmission method and device

    CN106789919A

  • Double-path transmission method based on random linear network coding

    CN112153693A