#### Abstract

In traditional wireless sensor networks, information transmission usually uses data encryption methods to prevent information from being stolen illegally. However, once the encryption methods are leaked, eavesdropping nodes can easily obtain information. LT codes are rateless codes; if it is attacked by random channel noise, the decoding process will change and the decoding overhead will also randomly change. When it is used for physical layer communication of wireless sensor networks, it ensures that the destination node recovers all the information without adding the key, while the eavesdropping node can only obtain part of the information to achieve wireless information security transmission. To reduce the intercept efficiency of eavesdropping nodes, a physical layer security (PLS) method of LT codes with double encoding matrix reorder (DEMR-LT codes) is proposed. This method performs two consecutive LT code concatenated encoding on the source symbol, and part of the encoding matrix is reordered according to the degree value of each column from large to small, which reduces the probability of eavesdropping nodes recovering the source information. Experimental results show that compared with other LT code PLS schemes, DEMR-LT codes only increase the decoding overhead by a small amount. However, it can effectively reduce the intercept efficiency of eavesdropping nodes and improve information transmission security.

#### 1. Introduction

In wireless sensor networks, limited by the cost of current sensor equipment and computing power, traditional encryption technology cannot effectively secure information transmission in wireless sensor networks. As a result of this problem, PLS technology based on information theory [1–3] has attracted increasing attention from researchers because PLS technology can realize secure transmission without keys. In contrast to the traditional encryption methods used in the network layer and in the above layers, PLS utilizes the wireless channel’s characteristics combined with wireless communication technology to reduce the eavesdroppers’ signal receiving quality to realize the secure transmission of information.

The concept of PLS can be traced back to 1949. Shannon proposed the principle of secure communication and the concept of perfect secrecy in [4]. Later, Wyner proposed the wiretap channel model [5] and defined the secrecy capacity of degraded wiretap channels based on information theory in 1975. These two works set the information theory foundation for the development of PLS technology. According to the definition of secrecy capacity, secure communication can be realized in the transmission process of the wiretap channel when the channel capacity of the main channel is higher than that of the wiretap channel. Therefore, most of the existing PLS technologies is aimed at improving the security capacity. The commonly used methods include artificial noise [6], cooperative relay [7], and beamforming [8]. Among them, artificial noise is an important application direction of PLS. Putting artificial noise in the null space of the main channel can reduce the eavesdroppers’ signal reception quality without affecting the signal reception of legitimate receivers. For example, an artificial noise design method based on secrecy capacity optimization was proposed in [9]. On the basis of the traditional artificial noise method, local artificial noise was added to transform the antinoise ability of the wireless communication system into secrecy capacity. [10] proposed a PLS scheme based on joint feedback and artificial noise without any eavesdropper’s channel state information, and the secrecy capacity was maximized by optimizing the power distribution ratio between the secret information and artificial noise.

In recent years, PLS technology has become an important solution to the problem with the security of wireless sensor networks. For example, [11] proposed a cooperative jamming scheme for wireless sensor networks, where cooperative jamming nodes disturb the eavesdropper by sending noise, and legitimate receivers can effectively eliminate the noise by using the orthogonality of orthogonal vectors, thus improving the confidentiality of information transmission. [12] proposed a physical layer network coding scheme for confidential data transmission in wireless sensor networks, where the source node sends data to the destination node through the relay node. By applying physical layer network coding, the signal received by the relay node is guaranteed to be inseparable to prevent attacks by external eavesdroppers. Compared with traditional encryption technology, although PLS technology can achieve stronger security performance, it has transmission rate defects. [13] proposed that under the limitation of physical layer security capacity, the information transmission rate would be considerably reduced, which would cause the delay of the legitimate receiver’s information reception. To solve this problem, [14] first introduced fountain codes [15] into PLS technology and proposed a transmit power control strategy to improve the signal-to-noise ratio of legitimate receivers. When the quality of the main channel is worse than that of the wiretap channel, the legitimate receiver can have a faster rate of information reception. According to the working principle of fountain codes, supposing that the source symbols have been grouped, each group of sources contains symbols. After fountain code encoding, an infinite number of encoded symbols can be generated. As long as the receivers receive encoded symbols, source symbols can be recovered, and is only slightly higher than . In the wiretap channel, the security of information transmission in the main channel can be guaranteed as long as the legitimate receiver receives encoded symbols before the eavesdropper and completes the decoding by taking advantage of this characteristic of fountain codes.

To reduce the intercept efficiency of eavesdropping nodes in wireless sensor networks, a PLS scheme is proposed based on encoding matrix reordering according to the degree value of each column from large to small and through secondary LT concatenated encoding. The main contributions of this work can be summarized as follows: (1)This paper proposes a PLS transmission method of wireless sensor networks using LT codes as antieavesdropping codes and establishes a DEMR-LT code PLS encoding model. In addition, an encoding matrix reorder method in DEMR-LT codes is proposed to reduce the probability that the eavesdropping node completes the decoding before the destination node in each decoding(2)In this paper, the decoding start time and the number of decoding symbols of DEMR-LT codes are deduced and verified by simulation experiments. It is proven that DEMR-LT codes can reduce the intercept efficiency of eavesdropping nodes while increasing the decoding overhead by a small amount

The rest of this paper is organized as follows. Section 2 introduces the related work of the latest research on wireless sensor networks. Section 3 briefly introduces the system model and LT codes. Section 4 presents the encoding and decoding method design of DEMR-LT codes. Section 5 provides the performance analysis of DEMR-LT codes. The final conclusions are provided in Section 6.

All mathematical symbols used in this paper are shown in Table 1.

#### 2. Related Work

Traditional wireless sensor network security technology is mostly based on cryptography. For example, [16] proposed a secure efficient hierarchical key management scheme (SEHKM) for wireless sensor networks. In this scheme, a network key, group key, and pairwise key are established to encrypt messages sent among sensor nodes, which not only ensures the security of information transmission but also improves the computing and storage efficiency of wireless sensor networks. [17] proposed an efficient dynamic authentication and key management scheme for heterogeneous wireless sensor networks (HWSNs). The key distribution algorithm generates dynamic keys based on existing information without any secure channel and sharing phase and improves the security of information transmission. [18] proposed a local dynamic scheme based on the layer cluster topology to complete the key management process in wireless sensor networks, and the number of nodes that need to update the key during the dynamic key agreement process is reduced under the conditions to protect the security of the network.

With the development of computer technology, the attack ability of eavesdroppers is also constantly improving, and thus, more complex encryption algorithms are required to maintain the information security between sensor nodes. However, in the actual working process of sensor nodes, due to its weak computing power, a single node is unable to carry out complex encryption calculations. Thus, the traditional encryption algorithm faces great challenges. In recent years, PLS has gradually become a common research topic within wireless sensor network security due to its low computational complexity and the ability to directly apply existing PLS technologies, such as artificial noise and cooperative relay for sensor networks. For example, [19] applied cooperative communication technology in PLS to wireless sensor networks and designed a security protocol suitable for sensor networks, which improved the performance of information security transmission between nodes. [20] proposed exploiting opportunistic scheduling schemes and wireless power transmission based on multihop transmission to improve the PLS in wireless sensor networks, enabling the data to be safely transmitted in the presence of an eavesdropper.

Combining fountain codes with PLS technology can increase the information transmission rate while ensuring the security of the system. For example, [21] proposed a PLS method based on fountain coding aided by combining fountain codes with cooperative interference technology. The signal reception quality of eavesdroppers is reduced, and a constellation rotation approach is used to reduce the impact of interference on legitimate receivers. [22, 23] proposed using the feedback information of legitimate receivers to dynamically adjust the encoding mechanism of fountain codes to improve the decoding rate of legitimate receivers. [24] proposed a fountain coding-aided secure transmission scheme with delay and content awareness, which also used feedback to adjust the number and priority of encoded symbols, and successfully applied this scheme to image transmission. In [25, 26], the authors proposed sending the degree 1 symbol in advance by reordering the encoding matrix of the fountain code according to the degree value of each column from small to large. The start of the decoding was advanced to improve the recovery rate of intermediate symbols of online fountain codes. Therefore, combining the advantages of fountain codes and PLS technology could further improve the information security transmission performance of wireless sensor networks.

#### 3. System Model and LT Codes

##### 3.1. Wiretap Channel Model of Wireless Sensor Networks Based on LT Codes

The wireless sensor network is a wireless network composed of a large number of sensors in a self-organizing and multihop manner. The source node (Alice) collects information and sends the information to the destination node (Bob) through the wireless network, while the eavesdropping node (Eve) uses the open structure of the wireless network to obtain a large amount of information by monitoring the wireless sensor networks. LT codes are a kind of fountain code that has the advantages of simple encoding and decoding and low decoding overhead. When combined with the wiretap channel model [5], channel coding at the physical layer of wireless transmission can achieve a better antieavesdropping effect. The wiretap channel model of wireless sensor networks based on LT codes is shown in Figure 1.

In Figure 1, the wiretap channel model of wireless sensor networks based on LT codes mainly consists of the source node Alice, the destination node Bob, and the eavesdropping node Eve. The channel between Alice and Bob is called the legitimate channel, and the channel between Alice and Eve is called the wiretap channel. LT codes are selected as the antieavesdropping code, and the receiver nodes use belief propagation (BP) decoding. Assume that Eve knows all the decoding rules of Bob. In Figure 1, Alice first groups the source symbols and then continuously sends the encoded symbols to Bob through the LT encoder, while Eve steals the LT encoded symbols in the legitimate channel through the wiretap channel. When Bob receives enough LT encoded symbols and finishes decoding, Bob sends an ACK instruction to Alice and tells Alice to stop sending source symbols. If Eve has not fully recovered the source information at this time, the incomplete LT encoded symbols received by Eve cannot continue the decoding process, thus reducing Eve’s intercept efficiency.

##### 3.2. LT Code Degree Distribution

LT codes are a kind of fountain code designed by using the robust soliton distribution (RSD) degree distribution function [15], and the RSD degree distribution function is composed of the ideal soliton distribution (ISD) and the enhancement factor after normalization. The definition of ISD is shown in where represents the number of original source symbols and represents the degree of encoded symbols.

is expressed as follows: where , is a constant, , and represents the maximum probability of decoding failure.

Normalize equations (1) and (2), and the RSD degree distribution function can be obtained as follows: where and represents the probability of degree 1 symbols.

##### 3.3. LT Code Encoding Matrix in the Erasure Channel

We group the source symbols, and each group of source symbols contains symbols. In the channel with the erasure probability , the LT encoding matrix is designed according to equation (3), which is shown in

In equation (4), is the matrix, the position of element “1” in each column of the LT encoding matrix represents the position of the corresponding source symbol, and the number represents the degree value of the corresponding encoded symbol.

LT codes encode symbols . To recover a group of source symbols, the number of correctly encoded symbols that the destination node needs to receive is . However, affected by the erasure channel, the number of encoded symbols received by the destination node is . Since the LT codes are rateless codes, to ensure that there are enough encoded symbols for decoding, the number of columns in satisfies .

#### 4. The Encoding and Decoding Method Design of DEMR-LT Codes

In the traditional LT code antieavesdropping method, since the degree 1 symbol appears early, it takes a long time for the destination node Bob to decode from the beginning to the end. Therefore, the eavesdropping node Eve is given more time to receive the encoded symbols for decoding, and Eve may complete the decoding before Bob. In response to this problem, this paper proposes DEMR-LT codes on the basis of Figure 1. Since we need to carry out secondary LT cascade encoding for source symbols, the first LT encoding process is called LT-1 encoding. Then, the second LT encoding process for the first encoding symbols obtained in LT-1 encoding is called LT-2 encoding, and part of the encoding matrix is reordered according to the degree value of each column from large to small in two encoding processes, to delay the decoding start time of the receiving node and achieve antieavesdropping.

##### 4.1. The DEMR-LT Code Encoding Matrix Design for the Erasure Channel

To obtain the encoding symbols of the DEMR-LT codes, the encoding matrix needs to be designed. First, the source symbols are grouped, the number of source symbols in each group is , and the number of encoding symbols required to complete LT-1 and LT-2 decoding is and , respectively. The number of encoding symbols is determined by the number of encoding matrix columns, in order to ensure that the destination node receives enough decoding symbols for decoding, the number of LT-1 encoding matrix columns , and the number of LT-2 encoding matrix columns .

###### 4.1.1. LT-1 Encoding Matrix

According to equation (4) to obtain the encoding matrix , the encoding matrix is obtained by reordering the encoding matrix of the first column in according to the degree value of each column from large to small. To ensure that the source symbols in LT-1 can be fully recovered in the final decoding, we continue to obtain the encoding matrix of columns to in according to the RSD degree distribution. Thus, we can get the LT-1 encoding matrix as follows: where is the matrix and is the matrix.

In equation (5), after the encoding matrix is reordered according to the degree value, the degree 1 column is arranged in the latter part of the encoding matrix . By setting the nondegree 1 column and the degree 1 column matrix reordered according to the degree value as and , respectively, the LT-1 encoding matrix of equation (5) can be written as follows: where is the matrix, is the matrix, and is the probability distribution of degree obtained from equation (3) when the number of source symbols is .

###### 4.1.2. LT-2 Encoding Matrix

The number of LT encoding symbols cannot be determined. This paper proposes selecting the first encoding symbols of LT-1 as the source symbols to conduct the second LT encoding. The number of LT-2 decoding symbols is also difficult to determine, but it is greater than or equal to , according to equation (4) to obtain the encoding matrix , and is the matrix.

Similar to the construction of the LT-1 encoding matrix, we divide into two parts and reorder the first columns in according to the degree value of each column from large to small to obtain . In order to recover the source symbol of LT-2, i.e., the first encoding symbol of LT-1, according to the RSD degree distribution function, to obtain the to columns encodes matrix . Then, we obtain the LT-2 encoding matrix as follows: where is the matrix and is the matrix.

##### 4.2. The DEMR-LT Code Encoding and Decoding Method

Suppose the source symbol is , the LT-1 encoding matrix is composed of , , and , and the LT-2 encoding matrix is . is the partial LT-1 encoded symbol obtained through encoding matrix ; is the another partial LT-1 encoded symbol obtained through the encoding matrix and ; is the LT-2 encoded symbol obtained from through the LT-2 encoding matrix ; ACK1 and ACK2 are the feedback information after the decoding of the LT-1 codes and LT-2 codes, respectively. The DEMR-LT codes’ physical layer security encoding model is shown in Figure 2.

The specific encoding and decoding methods of the DEMR-LT codes are as follows: (1)We group the source symbols, and each group contains symbols. We obtain the LT-1 encoding symbol according to and obtain according to and . Then, we use as the LT-2 source to obtain the LT-2 encoding symbol through the encoding matrix (2)The Alice control switch first selects “2.” Then, Alice sends to Bob and checks whether ACK2 has been received; if not, Alice keeps sending to Bob(3)The Bob control switch selects “2” to receive over the legitimate channel and chooses the correct symbol for BP decoding. When is recovered, ACK2 is sent to Alice, and at the same time, the Bob control switch selects “1”(4)When Alice receives ACK2, it stops sending ; at the same time, the Alice control switch selects “1” and starts sending to Bob(5)Bob receives through the legitimate channel and combines recovered in step (3) for LT-1 decoding together. When the message is recovered, Bob sent ACK1 to Alice(6)Alice stops sending after receiving ACK1 and continues to send the next group of DEMR-LT code encoding symbols(7)Repeat the above steps until the source symbols of all groups are recovered

The algorithm flowchart of the DEMR-LT codes’ physical layer security encoding is shown in Figure 3.

Due to wireless communication, when Alice sends encoded symbols, both Eve and Bob can receive Alice’s encoded symbols. Suppose Eve knows the decoding rules with Bob and decodes the received Alice encoding symbols. According to the DEMR-LT code decoding rule, the Eve control switch selects “2” first to receive the encoded symbol sent by Alice through the wiretap channel and decodes as much as possible before Bob sends ACK2. After receiving ACK2 sent by Bob, the Eve control switch selects “1,” then receives through the wiretap channel, and recovers the message together with the translated part of .

During the process of Alice sending a group of encoded symbols, due to the influence from the noise of the legal channel and the wiretap channel, there are some errors in the received by Bob and the received by Eve. However, the randomness of the noise leads to different error symbols received by Bob and Eve, and the differences also occur in the process of BP decoding, which makes it difficult for Eve and Bob to recover at the same time.

If Bob recovers all symbols and decodes them together with , Eve only recovers part of symbols. Since there is no degree 1 encoded symbol in , Eve cannot start decoding before Bob and needs to continue receiving for decoding together. Then, there is a situation where Bob’s decoding ends, but Eve has not yet acquired enough symbols, and thus, Eve cannot continue to receive and enter the “waterfall area” of BP decoding to recover a large number of source symbols. As a result, Eve can only obtain a small intercept rate or even zero. Of course, there are also cases where Eve recovers information before Bob and obtains a 100% intercept rate, but it is usually necessary to send multiple groups of symbols to transmit a complete message. Therefore, Eve can only intercept a fraction of the total source message.

#### 5. Performance Analysis of DEMR-LT Codes

The hardware environment required for the simulation experiment in this section is as follows: Intel™Core™ i5, 8 GB running memory, Windows™ 10 operating system, and MATLAB™ R2016a application software.

Experimental conditions: we assume that the wireless sensor network model structure is shown in Figure 1, where there is a source node Alice, a destination node Bob, and an eavesdropping node Eve existing around them to steal the information between Alice and Bob. In addition, we do not consider the data encryption between sensor nodes. Both Bob and Eve use the BP decoding method for LT decoding, and Eve knows all of Bob’s decoding rules.

Experimental parameters: the source symbol number is , the transmission group number is 5000, RSD degree distribution is set to , and .

##### 5.1. Decoding Start Time of Destination Node

LT codes generally adopt BP decoding and begin decoding when the degree 1 symbol is received. In the traditional LT code encoding matrix, the columns of degree 1 are not reordered, and the starting decoding time is uncertain, but the number of columns in the LT encoding matrix is greater than or equal to . According to equation (5), the number of degree 1 columns in the first columns is . If there is no rearrangement of the degree 1 column, then the decoding start time is as follows: where represents the degree 1 probability that the number of the source symbols is .

If only LT-1 codes are used for transmission, the number of columns with degree 1 in the first columns of equation (5) is . After rearrangement, degree 1 columns are listed in columns of equation (6). Affected by the erasure channel, the destination node receives the degree 1 symbol with errors, so the decoding start time of LT-1 codes satisfies where is the time period of each symbol and represents the probability distribution of degree obtained by equation (3) when the number of source symbols is .

In the LT-2 encoding of DEMR-LT codes, is the source of LT-2, the number of source symbols is , and the time of the first appearance of the degree 1 encoding symbol is . Then, satisfies where represents the probability distribution of degree obtained by equation (3) when the number of source symbols is .

In the process of DEMR-LT code decoding, first, it is necessary to receive the LT-2 degree 1 symbol to start LT-1 decoding, and the number of decoded symbols required is greater than or equal to . Since there is no degree 1 encoded symbol in , LT-1 decoding cannot be started, and thus, it is necessary to obtain the degree 1 symbol from to start LT-1 decoding. LT-2 degree 1 symbol reception time is , and the decoding start time of DEMR-LT codes satisfies

Equations (9) and (11) are taken as equal signs to compare their sizes, i.e.,

According to equation (12), when , then , and with the increase in , then . Thus, there is a case where DEMR-LT codes start decoding later than LT-1 codes or decoding simultaneously.

Comparing equations (8), (9), and (12), we can get the following: .

When the legitimate channel erasure probability is and the wiretap channel erasure probability is , the comparison result of the decoding start time of the traditional LT codes, LT-1 codes, and DEMR-LT codes is shown in Figure 4.

According to Figure 4, traditional LT codes, LT-1 codes, and DEMR-LT codes receive on average 252, 2822, and 2824 symbols to begin decoding, and the decoding time of DEMR-LT codes is delayed by 2 symbols compared with LT-1 codes.

In traditional LT codes, the receiving nodes can start decoding as long as the degree 1 symbol is received, and the decoding start time is earlier. In LT-1 codes, the receiving time of the degree 1 symbol is delayed because the encoding matrix is reordered once. Thus, the decoding success probability before receiving the degree 1 symbol is 0, and the decoding start time is later than that of traditional LT codes. However, in DEMR-LT codes, the receiving time of the degree 1 symbol is further delayed due to the reordering of matrixes and . Therefore, the decoding start time is the latest compared with that of the other two schemes.

In addition, Figure 4 shows that the curves of DEMR-LT codes and LT-1 codes basically coincide before the 2822nd symbol is received. The main reason for this is that both of these encoding methods rearrange part of the encoding matrix for different times. Thus, the decoding process cannot start before receiving the symbol of degree 1, and the probability of success of decoding is 0.

##### 5.2. Intercept Efficiency of the Eavesdropping Node

The experimental conditions are the same as above and compare the influence of changes in the wiretap channel erasure probability and the legitimate channel erasure probability of three different LT code schemes on the intercept efficiency of the eavesdropping node. The experimental results are shown in Figures 5 and 6.

**(a)**

**(b)**

**(c)**According to Figure 5, when , the Eve intercept efficiencies of the three schemes all decrease with increasing , and the Eve intercept efficiencies of the DEMR-LT codes are the lowest.

Figure 6 shows that the value of ranges from 0 to 0.8, and the difference between and is different; the relationship between Eve’s intercept efficiency and is compared using three different schemes. As shown in Figure 6, Eve has the lowest intercept efficiency compared with the other two schemes in three channel conditions. In Figure 6(a), under the condition of the degraded wiretap channel, Eve’s intercept efficiency always decreases with increasing . In Figure 6(b), the intercept efficiency of Eve decreases first and then slightly increases with increasing . However, as shown in Figure 6(c), even under the condition that the wiretap channel condition is superior to the legitimate channel, DEMR-LT codes can also considerably reduce Eve’s intercept efficiency.

According to the experimental results in Figures 5 and 6, the scheme proposed in this paper makes the intercept efficiency of eavesdropping nodes low. The main reason for this is that DEMR-LT codes contain two decoding stages in total. In LT-2, Bob receives the encoded symbol and decodes . Then, it sends ACK2 to Alice and stops sending . Eve can only decode the symbol by stealing enough before Bob sends ACK2 and continues with LT-1 decoding; otherwise, the message cannot be recovered. By reordering the encoding matrixes and in descending order according to the degree value of each column, DEMR-LT codes delay the receiving time of degree 1 symbols and shorten the receiving time for Eve to receive more symbols. As a result, the probability that Eve completes decoding before Bob is reduced, leading to a further decline in Eve’s intercept efficiency.

In addition, the reason for the phenomenon that Eve’s intercept efficiency first drops and then rises in the other schemes of Figure 6 is that the encoded symbols received by Eve and Bob are the same when . Both of them have the same decoding process and complete decoding at the same time, and thus, Eve’s intercept efficiency is 100%. With the increase in and , the difference between the encoded symbols received by Eve and Bob gradually increases; Eve cannot continue to decode according to Bob’s decoding order, which may be earlier or later than Bob’s decoding. Thus, Eve’ intercept efficiency begins to decrease. When and increase to a large value, the correct symbol intercepted by Eve is quite different from Bob. As long as Eve receives the degree 1 symbol before Bob, it can decode according to its own decoding order. Then, Eve’s intercept efficiency increases to a certain extent. In addition, the increase range is affected by the difference between and . According to Figure 6, the better the wiretap channel is, the higher the probability that Eve will receive the degree 1 symbol before Bob and the greater the increase in intercept efficiency.

##### 5.3. DEMR-LT Code Decoding Symbol Number

In the traditional LT code, assuming that a group of source symbol numbers is , decoding overhead is ( and ), and the legitimate channel erasure probability is . Then, the number of decoding symbols required to decode the messageis as follows:

In LT-1 decoding, we assume that a group of source symbol numbers is and the decoding overhead is (). The number of LT code decoding symbols has nothing to do with the order of received symbols, and LT-1 codes only change the order of decoded symbols, so . If only LT-1 codes are used for encoding, the number of decoding symbols is as follows:

According to Figure 2, the decoding symbol of DEMR-LT codes is composed of and . Then, the number of decoded symbols for is as follows:

In LT-2 decoding, we let encoding symbol be the source, and the decoding overhead is ( and ). In LT-2 decoding, according to equation (13), the number of required to recover encoded symbol can be expressed as follows:

After combining equations (15) and (16), the number of decoding symbols required to decode the message with the DEMR-LT codes is as follows:

According to equations (13), (14), and (17), the numbers of decoded symbols of the three encoding schemes all increase with increasing . According to equation (16), when , ; DEMR-LT codes have the largest value. According to equation (3), the value of is small, , and , and thus, is close to LT codes and LT-1 codes. However, since the square term of the denominator in equation (17) is less than 1, with the increase in , the increase rate of is faster than that of and . Therefore, when the legitimate channel is good, the number of DEMR-LT code decoding symbols is close to . In contrast, when the channel is poor, the number of decoding symbols is larger.

Figure 7 studies the number of encoded symbols that the destination node needs to receive to complete the decoding under the different in three schemes, where ranges from 0 to 0.8, and other conditions remain unchanged.

According to Figure 7, the number of decoding symbols in the three schemes all increases with the increase in , and the number of decoding symbols from small to large is traditional LT codes, LT-1 codes, and DEMR-LT codes. When is larger, DEMR-LT codes increase faster.

#### 6. Conclusions

In wireless sensor networks, aiming at the problem that traditional encryption algorithms are easy to decipher or leak, this paper proposes a DEMR-LT code PLS transmission scheme and gives the DEMR-LT code encoding matrix design method, as well as the encoding and decoding method. The research results are as follows: (1)By comparing the start-to-end time of the DEMR-LT codes with other LT codes, the decoding process time is shortened, which shows that this method can effectively prevent eavesdropping node Eve from recovering the message symbol(2)By comparing the intercept efficiency of DEMR-LT codes with other LT code schemes, this scheme can further reduce the intercept efficiency of Eve. Even if the wiretap channel is better than the legitimate channel, it can also reduce the intercept efficiency of eavesdroppers(3)The mathematical expression of the decoded symbol number of DEMR-LT codes is derived. According to the experimental simulation results, the number of decoded symbols in this method increases slightly compared with those in other methods, but the number of decoded symbols does not increase much under the condition of low channel erasure probability. While ensuring the secure transmission of information, it will not excessively increase the information transmission delay of the wireless sensor networks

It can be concluded that for wireless sensor network information transmission, when the eavesdropping node obtains the same decoding conditions as the destination node, the scheme in this paper can ensure the secure transmission of information.

In future work, considering the limited computing capacity of sensor nodes, further improvements can be made in reducing the encoding and decoding complexity of the DEMR-LT codes to ensure secure information transmission performance of sensor nodes and improve transmission efficiency. In terms of future applications, the proposed encoding scheme can provide a reference for other physical layer encoding methods in wireless sensor networks to further improve the security performance of wireless sensor networks.

#### Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

#### Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this article.

#### Acknowledgments

This work was supported by the Project of Science and Technology Plan of Liaoning Province (Grant no. 20180550911).