CN111049552B - Method, device and device for secure multi-hop data transmission based on power line communication - Google Patents

Method, device and device for secure multi-hop data transmission based on power line communication Download PDF

Info

Publication number
CN111049552B
CN111049552B CN201911380136.9A CN201911380136A CN111049552B CN 111049552 B CN111049552 B CN 111049552B CN 201911380136 A CN201911380136 A CN 201911380136A CN 111049552 B CN111049552 B CN 111049552B
Authority
CN
China
Prior art keywords
power line
matrix
communication
hop
line communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911380136.9A
Other languages
Chinese (zh)
Other versions
CN111049552A (en
Inventor
张思建
林国营
张晓平
王鹏
曾争
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Southern Power Grid Power Technology Co Ltd
Original Assignee
China Southern Power Grid Power Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Southern Power Grid Power Technology Co Ltd filed Critical China Southern Power Grid Power Technology Co Ltd
Priority to CN201911380136.9A priority Critical patent/CN111049552B/en
Publication of CN111049552A publication Critical patent/CN111049552A/en
Application granted granted Critical
Publication of CN111049552B publication Critical patent/CN111049552B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/391Modelling the propagation channel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04KSECRET COMMUNICATION; JAMMING OF COMMUNICATION
    • H04K3/00Jamming of communication; Counter-measures
    • H04K3/80Jamming or countermeasure characterized by its function
    • H04K3/82Jamming or countermeasure characterized by its function related to preventing surveillance, interception or detection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04KSECRET COMMUNICATION; JAMMING OF COMMUNICATION
    • H04K3/00Jamming of communication; Counter-measures
    • H04K3/80Jamming or countermeasure characterized by its function
    • H04K3/86Jamming or countermeasure characterized by its function related to preventing deceptive jamming or unauthorized interrogation or access, e.g. WLAN access or RFID reading

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Computer Security & Cryptography (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Power Engineering (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Abstract

本发明实施例涉及一种基于电力线通信的多跳数据安全传输方法、装置及设备,包括获取多跳宽带电力线上各个通信信道的信道状态信息和通信参数,依据各个通信参数构建与每个通信信道一一对应的信道传递函数,各个通信参数结合MK模型对各个信道传递函数构建实际信道模型;依据实际信道模型建立电力线通信系统模型;将联合收发矩阵输入电力线通信系统模型中得到目标函数;对目标函数采用迭代分布式算法进行优化求解,得到电力线通信系统模型上多跳数据安全传输的安全速率;使得电力线在安全速率下进行数据传输,保证安全通信,预防窃听用户窃取数据。解决了现有技术中多跳宽带电力线通信系统下进行数据传输的安全性低的技术问题。

Figure 201911380136

Embodiments of the present invention relate to a method, device, and device for secure multi-hop data transmission based on power line communication, including acquiring channel state information and communication parameters of each communication channel on a multi-hop broadband power line, and constructing a communication channel with each communication channel according to each communication parameter. One-to-one corresponding channel transfer function, each communication parameter is combined with the MK model to construct an actual channel model for each channel transfer function; a power line communication system model is established based on the actual channel model; the joint transceiver matrix is input into the power line communication system model to obtain the objective function; The function is optimized and solved by iterative distributed algorithm, and the safe rate of multi-hop data safe transmission on the power line communication system model is obtained. The power line can transmit data at a safe rate to ensure safe communication and prevent eavesdropping users from stealing data. The technical problem of low security of data transmission under the multi-hop broadband power line communication system in the prior art is solved.

Figure 201911380136

Description

基于电力线通信的多跳数据安全传输方法、装置及设备Multi-hop data security transmission method, device and equipment based on power line communication

技术领域technical field

本发明涉及数据传输安全技术领域,尤其涉及一种基于电力线通信的多跳数据安全传输方法、装置及设备。The present invention relates to the technical field of data transmission security, and in particular, to a method, device and device for multi-hop data security transmission based on power line communication.

背景技术Background technique

多跳宽带电力线通信是指利用电力线作为信号传输的媒介,在发送信号时,利用调制技术把数据进行调制,将载有信息的信号加载到电流上,接着利用电力线进行传输;在接收端接收信号时,先让接收信号经过滤波器,然后将调制信号取出,再经过解调技术,就可得到原来的通信信号,并传送到电话或计算机,实现信息的传递。Multi-hop broadband power line communication refers to the use of power lines as a medium for signal transmission. When sending signals, modulation technology is used to modulate data, and information-carrying signals are loaded on the current, and then power lines are used for transmission; signals are received at the receiving end At the time, the received signal is first passed through the filter, then the modulated signal is taken out, and then the original communication signal can be obtained through demodulation technology, and transmitted to the telephone or computer to realize the transmission of information.

目前在每家每户均已经分布有电力线,普及范围极广,不需要加设专用线路,若用电力线作为媒介实现台区的移动终端和电能表之间的通信,降低电网获取电能量数据的成本,又可以提高电力线的使用价值。但是,台区的移动终端和电能表之间的通信数据比较庞大,如此庞大而重要的数据在具有广播特性的电力线上进行传输,需要对通信数据进行安全和保密传输,而如何实现数据在电力线上传输的保密性和安全性,对多跳宽带电力线通信的物理层安全的保证显得尤为重要。At present, power lines have been distributed in every household, and the scope of popularization is extremely wide. There is no need to add dedicated lines. If the power line is used as a medium to realize the communication between the mobile terminal and the electric energy meter in the station area, it will reduce the need for the power grid to obtain electric energy data. cost, and can improve the use value of the power line. However, the communication data between the mobile terminal and the electric energy meter in the station area is relatively large. Such huge and important data is transmitted on the power line with broadcast characteristics, and the communication data needs to be transmitted securely and confidentially. How to realize the data on the power line? It is particularly important to ensure the security of the physical layer of multi-hop broadband power line communication.

因此,如何实现多跳宽带电力线通信的物理层安全,保证台区的移动终端与电能表之间能进行安全通信成为本领域技术人员亟待解决的重要技术问题。Therefore, how to realize the physical layer security of the multi-hop broadband power line communication and ensure the secure communication between the mobile terminal in the station area and the electric energy meter has become an important technical problem to be solved urgently by those skilled in the art.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供了一种基于电力线通信的多跳数据安全传输方法、装置及设备,用于解决现有技术中多跳宽带电力线通信系统下进行数据传输的安全性低,电力线通信系统中的通信数据易被偷窃的技术问题。Embodiments of the present invention provide a method, device and device for secure multi-hop data transmission based on power line communication, which are used to solve the problem of low security of data transmission in the multi-hop broadband power line communication system in the prior art, and problems in the power line communication system. The technical problem that communication data is easy to be stolen.

为了实现上述目的,本发明实施例提供如下技术方案:In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:

一种基于电力线通信的多跳数据安全传输方法,应用于台区的移动终端和电能表之间的通信数据传输,包括以下步骤:A multi-hop data security transmission method based on power line communication, applied to communication data transmission between a mobile terminal in a station area and an electric energy meter, comprising the following steps:

S1.获取多跳宽带电力线上各个通信信道的信道状态信息和通信参数,依据各个所述通信参数构建与每个所述通信信道一一对应的信道传递函数,各个所述通信参数结合MK模型对各个所述信道传递函数构建实际信道模型;S1. Obtain the channel state information and communication parameters of each communication channel on the multi-hop broadband power line, and construct a channel transfer function corresponding to each of the communication channels according to each of the communication parameters. Each of the communication parameters is combined with the MK model. each of the channel transfer functions constructs an actual channel model;

S2.依据所述实际信道模型建立电力线通信系统模型;S2. Establish a power line communication system model according to the actual channel model;

S3.将联合收发矩阵输入所述电力线通信系统模型中得到目标函数;S3. Input the joint transceiver matrix into the power line communication system model to obtain the objective function;

S4.对所述目标函数采用迭代分布式算法进行优化求解,得到所述电力线通信系统模型上多跳数据安全传输的安全速率。S4. Use an iterative distributed algorithm to optimize and solve the objective function to obtain a safe rate of multi-hop data safe transmission on the power line communication system model.

优选地,所述通信参数包括各个所述通信信道的路径数量、路径的传输距离、信号频率和通信节点:Preferably, the communication parameters include the number of paths of each of the communication channels, the transmission distance of the paths, the signal frequency and the communication nodes:

其中,所述通信节点能用于窃听用户窃取所述通信信道上的传输数据。Wherein, the communication node can be used to eavesdrop on the user to steal the transmission data on the communication channel.

优选地,根据如下公式作为多跳宽带电力线的所述实际信道模型:Preferably, the actual channel model of the multi-hop broadband power line is based on the following formula:

Figure BDA0002341978280000021
Figure BDA0002341978280000021

其中,i为路径的编号,gi为每条路径的加权系数且数值为不大于1的自然数,A(f,di)为所述通信信道的衰减系数,α0、α1和k均是衰减参数,k为0.5~1,di为第i条路径的传输距离,τi为路径i上的时延

Figure BDA0002341978280000022
c0为光速,εr为所述多跳宽带电力线的介电常数。Among them, i is the number of the path, gi is the weighting coefficient of each path and the value is a natural number not greater than 1, A(f, d i ) is the attenuation coefficient of the communication channel, α 0 , α 1 and k are all is the attenuation parameter, k is 0.5 to 1, d i is the transmission distance of the i-th path, and τ i is the delay on path i
Figure BDA0002341978280000022
c 0 is the speed of light, and ε r is the dielectric constant of the multi-hop broadband power line.

优选地,所述电力线通信系统模型包括发射端、中继和接收端,基于加性高斯白噪声对所有的用于接收数据的所述通信节点的均值为零和方差σ2进行处理,得到所述发射端、所述中继和所述接收端它们之间链路的信道矩阵。Preferably, the power line communication system model includes a transmitter, a relay and a receiver, and based on additive white Gaussian noise, the mean value and variance σ2 of all the communication nodes used to receive data are processed to obtain the The channel matrix of the link between the transmitter, the relay and the receiver.

优选地,所述联合收发矩阵包括发射预编码矩阵、中继编码矩阵和接收滤波矩阵;所述目标函数包括各发射功率的约束、通信通道数的约束以及对窃听用户均方误差的约束,在满足发射端和中断端的传输功率约束,所述目标函数为:Preferably, the joint transceiving matrix includes a transmission precoding matrix, a relay coding matrix and a reception filtering matrix; the objective function includes constraints on each transmit power, the number of communication channels, and the mean square error of the eavesdropping user. Satisfy the transmission power constraints of the transmitting end and the interrupting end, the objective function is:

Figure BDA0002341978280000023
Figure BDA0002341978280000023

s.t.∶MSEe,k≥εk st: MSE e,k ≥ε k

Figure BDA0002341978280000024
Figure BDA0002341978280000024

Figure BDA0002341978280000025
Figure BDA0002341978280000025

其中,其中,K为不小于1的自然数,{Uk}为所述发射预编码矩阵,{Vm}为所述中继编码矩阵,{Wk}为所述接收滤波矩阵,{We,k}为所述窃听用户的接收滤波矩阵,MSEk为接收端对所述多跳宽带电力线上传输数据的均方误差,MSEe,k为所述窃听用户对传输数据的均方误差,

Figure BDA0002341978280000031
为发射端的发射功率,
Figure BDA0002341978280000032
为中断端的发射功率,Psk为发射端的最大发射功率,Prm为中断端的最大发射功率,εk为MSEe,k的最小值。Wherein, K is a natural number not less than 1, {U k } is the transmit precoding matrix, {V m } is the relay coding matrix, {W k } is the receiving filter matrix, {W e , k } is the reception filter matrix of the eavesdropping user, MSE k is the mean square error of the receiving end to the transmission data on the multi-hop broadband power line, MSE e, k is the mean square error of the eavesdropping user to the transmission data,
Figure BDA0002341978280000031
is the transmit power of the transmitter,
Figure BDA0002341978280000032
is the transmitting power of the interrupted end, P sk is the maximum transmitting power of the transmitting end, P rm is the maximum transmitting power of the interrupting end, ε k is the minimum value of MSE e,k .

优选地,根据所述迭代分布式算法对所述目标函数进行优化求解的步骤包括:Preferably, the step of optimally solving the objective function according to the iterative distributed algorithm includes:

S41.对所述发射预编码矩阵和所述中继编码矩阵的矩阵变量设置初始值,并采用所述迭代分布式算法计算出所述接收滤波矩阵的最优线性矩阵;S41. Set initial values for the matrix variables of the transmit precoding matrix and the relay coding matrix, and use the iterative distributed algorithm to calculate the optimal linear matrix of the reception filter matrix;

S42.根据所述目标函数,求解得到所述窃听用户的优化接收滤波矩阵;S42. according to the objective function, solve and obtain the optimized reception filter matrix of the eavesdropping user;

S43.基于所述最优线性矩阵、所述优化接收滤波矩阵和在所述步骤S41迭代得到的所述中继编码矩阵,再采用所述迭代分布式算法计算得到优化后的发射预编码矩阵;S43. Based on the optimal linear matrix, the optimized reception filter matrix, and the relay coding matrix obtained iteratively in the step S41, calculate the optimized transmit precoding matrix by using the iterative distributed algorithm;

S44,基于所述最优线性矩阵、所述优化接收滤波矩阵和所述优化后的发射预编码矩阵,采用所述迭代分布式算法计算得到优化后的中继编码矩阵。S44. Based on the optimal linear matrix, the optimized reception filter matrix, and the optimized transmit precoding matrix, calculate and obtain the optimized relay coding matrix by using the iterative distributed algorithm.

优选地,根据所述迭代分布式算法计算步骤包括:Preferably, the calculation step according to the iterative distributed algorithm includes:

S01.初始化,设置迭代计数器n=0,接收端的均方误差TMSE(n)=0,所述发射预编码矩阵和所述中继编码矩阵的矩阵变量设置初始值为

Figure BDA0002341978280000033
Figure BDA0002341978280000034
S01. Initialize, set the iteration counter n=0, the mean square error TMSE (n) =0 of the receiving end, the matrix variables of the transmit precoding matrix and the relay coding matrix are set to initial value
Figure BDA0002341978280000033
and
Figure BDA0002341978280000034

S02.根据所述目标函数获得的所述发射预编码矩阵

Figure BDA0002341978280000035
和所述中继编码矩阵
Figure BDA0002341978280000036
计算得到所述窃听用户的接收滤波矩阵
Figure BDA0002341978280000037
和所述接收滤波矩阵
Figure BDA0002341978280000038
S02. the transmit precoding matrix obtained according to the objective function
Figure BDA0002341978280000035
and the relay coding matrix
Figure BDA0002341978280000036
Calculate the receiving filter matrix of the eavesdropping user
Figure BDA0002341978280000037
and the receive filter matrix
Figure BDA0002341978280000038

S03.根据所述步骤S02中迭代获得的

Figure BDA0002341978280000039
Figure BDA00023419782800000310
Figure BDA00023419782800000311
对所述目标函数进行优化,得到更新后的发射预编码矩阵
Figure BDA00023419782800000312
S03. Iteratively obtained according to the step S02
Figure BDA0002341978280000039
and
Figure BDA00023419782800000310
and
Figure BDA00023419782800000311
Optimizing the objective function to obtain an updated transmit precoding matrix
Figure BDA00023419782800000312

S04.根据获得的

Figure BDA00023419782800000313
Figure BDA00023419782800000314
对所述目标函数进行优化,更新得到
Figure BDA00023419782800000315
并计算所述接收端的均方误差TMSE(n+1);S04. According to the obtained
Figure BDA00023419782800000313
and
Figure BDA00023419782800000314
The objective function is optimized and updated to get
Figure BDA00023419782800000315
And calculate the mean square error TMSE (n+1) of the described receiving end;

S05.若TMSE(n+1)-TMSE(n)≤ξ,结束所述迭代分布式算法计算;若TMSE(n+1)-TMSE(n)>ξ,n=n+1,执行所述步骤S02;S05. If TMSE (n+1) - TMSE (n) ≤ ξ, end the iterative distributed algorithm calculation; if TMSE (n+1) - TMSE (n) >ξ, n=n+1, execute the above Step S02;

其中,ξ为给定的前后两次迭代的数值差。Among them, ξ is the numerical difference between the given two iterations before and after.

优选地,根据所述最优线性矩阵、所述优化后的中继编码矩阵和所述优化后的发射预编码矩阵求解所述窃听用户和合法用户接收端的通信速率,根据以下公式求解得出所述合法用户接收端的通过所述多跳宽带电力线传输数据的安全速率,且安全速率大于0;安全速率的公式为:Preferably, according to the optimal linear matrix, the optimized relay coding matrix and the optimized transmit precoding matrix, the communication rate of the eavesdropping user and the receiving end of the legitimate user is calculated, and the obtained communication rate is obtained according to the following formula. The safe rate of data transmission through the multi-hop broadband power line at the receiving end of the legitimate user, and the safe rate is greater than 0; the formula of the safe rate is:

RateDk=max(0,comDk)-max(0,comE),k=1,......kRateD k =max(0, comD k )-max(0, comE), k=1, ...... k

其中,comDk为所述合法用户接收端的通信速率,comE为所述窃听用户的通信速率。Wherein, comD k is the communication rate of the receiving end of the legitimate user, and comE is the communication rate of the eavesdropping user.

本发明还提供一种基于电力线通信的多跳数据安全传输装置,应用于台区的移动终端和电能表之间的通信数据传输,包括:The present invention also provides a multi-hop data security transmission device based on power line communication, which is applied to the communication data transmission between the mobile terminal and the electric energy meter in the station area, including:

实际信道模型单元,用于根据获取多跳宽带电力线上各个通信信道的信道状态信息和通信参数,依据各个所述通信参数构建与每个所述通信信道一一对应的信道传递函数,各个所述通信参数结合MK模型对各个所述信道传递函数构建实际信道模型;The actual channel model unit is used to construct a channel transfer function corresponding to each of the communication channels according to the channel state information and communication parameters of each communication channel on the multi-hop broadband power line, and each of the communication channels. The communication parameters are combined with the MK model to construct an actual channel model for each of the channel transfer functions;

电力线通信系统模型单元,用于依据所述实际信道模型建立电力线通信系统模型;a power line communication system model unit, configured to establish a power line communication system model according to the actual channel model;

建立目标函数单元,用于将联合收发矩阵输入所述电力线通信系统模型中得到目标函数;establishing an objective function unit for inputting the joint transceiver matrix into the power line communication system model to obtain an objective function;

计算单元,用于根据所述目标函数采用迭代分布式算法进行优化求解,得到所述电力线通信系统模型上多跳数据安全传输的安全速率。The computing unit is configured to use an iterative distributed algorithm to optimize and solve the problem according to the objective function, so as to obtain a safe rate of multi-hop data safe transmission on the power line communication system model.

本发明还提供一种设备,包括处理器以及存储器;The present invention also provides a device including a processor and a memory;

所述存储器,用于存储程序代码,并将所述程序代码传输给所述处理器;the memory for storing program codes and transmitting the program codes to the processor;

所述处理器,用于根据所述程序代码中的指令执行上述所述的基于电力线通信的多跳数据安全传输方法。The processor is configured to execute the above-mentioned method for secure multi-hop data transmission based on power line communication according to the instructions in the program code.

从以上技术方案可以看出,本发明实施例具有以下优点:As can be seen from the above technical solutions, the embodiments of the present invention have the following advantages:

1.该基于电力线通信的多跳数据安全传输方法包括获取多跳宽带电力线上各个通信信道的信道状态信息和通信参数,依据各个通信参数构建与每个通信信道一一对应的信道传递函数,各个通信参数结合MK模型对各个信道传递函数构建实际信道模型;依据实际信道模型建立电力线通信系统模型;将联合收发矩阵输入电力线通信系统模型中得到目标函数;对目标函数采用迭代分布式算法进行优化求解,得到电力线通信系统模型上多跳数据安全传输的安全速率。该基于电力线通信的多跳数据安全传输方法通过迭代分布算法优化的联合收发矩阵和目标函数,得到电力线通信多跳数据安全传输的安全速率,使得电力线在安全速率下进行数据传输,保证安全通信,预防窃听用户窃取数据。解决了现有技术中多跳宽带电力线通信系统下进行数据传输的安全性低,电力线通信系统中的通信数据易被偷窃的技术问题;1. The multi-hop data security transmission method based on power line communication includes acquiring the channel state information and communication parameters of each communication channel on the multi-hop broadband power line, and constructing a channel transfer function corresponding to each communication channel according to each communication parameter. The communication parameters are combined with the MK model to construct the actual channel model for each channel transfer function; the power line communication system model is established based on the actual channel model; the joint transceiver matrix is input into the power line communication system model to obtain the objective function; the objective function is optimized by using an iterative distributed algorithm. , to obtain the safe rate of multi-hop data safe transmission on the power line communication system model. The multi-hop data security transmission method based on power line communication obtains the security rate of multi-hop data security transmission of power line communication through the joint transceiver matrix and objective function optimized by iterative distribution algorithm, so that the power line can perform data transmission at a safe rate and ensure secure communication. Prevent eavesdropping users from stealing data. Solve the technical problems of low security of data transmission in the multi-hop broadband power line communication system in the prior art, and the communication data in the power line communication system is easy to be stolen;

2.该基于电力线通信的多跳数据安全传输装置通过实际信道模型单元构建实际信道模型,采用建立目标函数单元将联合收发矩阵输入电力线通信系统模型中得到目标函数,再通过计算单元依据目标函数采用迭代分布式算法优化,求解得到多跳数据安全传输的安全速率,使得电力线在安全速率下进行数据传输,保证安全通信,预防窃听用户窃取数据。解决了现有技术中多跳宽带电力线通信系统下进行数据传输的安全性低,电力线通信系统中的通信数据易被偷窃的技术问题。2. The multi-hop data security transmission device based on power line communication constructs the actual channel model through the actual channel model unit, adopts the establishment objective function unit to input the joint transceiver matrix into the power line communication system model to obtain the objective function, and then adopts the calculation unit according to the objective function. The iterative distributed algorithm is optimized to obtain the safe rate of multi-hop data safe transmission, so that the power line can transmit data at a safe rate, ensure safe communication, and prevent eavesdropping users from stealing data. The technical problems in the prior art that the security of data transmission in the multi-hop broadband power line communication system is low and the communication data in the power line communication system is easy to be stolen are solved.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其它的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1为本发明实施例所述的基于电力线通信的多跳数据安全传输方法的步骤流程图。FIG. 1 is a flow chart of steps of a method for secure multi-hop data transmission based on power line communication according to an embodiment of the present invention.

图2为本发明实施例所述的基于电力线通信的多跳数据安全传输方法的5条路径的通信信道MK模型幅频特性曲线图。FIG. 2 is an amplitude-frequency characteristic curve diagram of a five-path communication channel MK model of the multi-hop data secure transmission method based on power line communication according to an embodiment of the present invention.

图3为本发明实施例所述的基于电力线通信的多跳数据安全传输方法的数据传输的框架图。FIG. 3 is a frame diagram of data transmission of the multi-hop data security transmission method based on power line communication according to an embodiment of the present invention.

图4为本发明实施例所述的基于电力线通信的多跳数据安全传输方法的传输数据多跳宽带电力线通信系统的框架图。FIG. 4 is a frame diagram of a multi-hop broadband power line communication system for transmitting data according to the multi-hop data security transmission method based on power line communication according to an embodiment of the present invention.

图5为本发明实施例所述的基于电力线通信的多跳数据安全传输方法的多跳宽带电力线通信系统的框架图。FIG. 5 is a frame diagram of a multi-hop broadband power line communication system based on a multi-hop data secure transmission method based on power line communication according to an embodiment of the present invention.

图6为本发明实施例所述的基于电力线通信的多跳数据安全传输方法目标函数进行优化求解的步骤流程图。6 is a flow chart of steps for optimizing and solving the objective function of the method for secure multi-hop data transmission based on power line communication according to an embodiment of the present invention.

图7为本发明实施例所述的基于电力线通信的多跳数据安全传输方法迭代分布式算法计算的步骤框架图。FIG. 7 is a framework diagram of steps for iterative distributed algorithm calculation of the method for secure multi-hop data transmission based on power line communication according to an embodiment of the present invention.

图8为本发明实施例所述的基于电力线通信的多跳数据安全传输方法安全速率和通信速率随信噪比的变化趋势图。FIG. 8 is a change trend diagram of the security rate and the communication rate with the signal-to-noise ratio of the multi-hop data security transmission method based on the power line communication according to the embodiment of the present invention.

图9为本发明实施例所述的基于电力线通信的多跳数据安全传输方法迭代分布算法的收敛性图。FIG. 9 is a convergence diagram of the iterative distribution algorithm of the multi-hop data secure transmission method based on power line communication according to an embodiment of the present invention.

图10为本发明实施例所述的基于电力线通信的多跳数据安全传输装置的框架图。FIG. 10 is a frame diagram of a multi-hop data security transmission device based on power line communication according to an embodiment of the present invention.

具体实施方式Detailed ways

为使得本发明的发明目的、特征、优点能够更加的明显和易懂,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,下面所描述的实施例仅仅是本发明一部分实施例,而非全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。In order to make the purpose, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the following The described embodiments are only some, but not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

在本申请实施例中,对于数据的解释:In the examples of this application, for the interpretation of data:

中继:是两个交换中心之间的一条传输通路,中继线是承载多条逻辑链路的一条物理连接。Trunk: It is a transmission path between two switching centers, and a trunk is a physical connection that carries multiple logical links.

电能表:用于低压用户电能计量的设备,可生成各种电能量数据。Electric energy meter: A device used for electric energy metering of low-voltage users, which can generate various electric energy data.

物理层:是计算机网络模型中最低的一层,为传输数据所需要的物理链路创建、维持、拆除,而提供具有机械的、电子的、功能的和规范的特性。Physical layer: It is the lowest layer in the computer network model and provides mechanical, electrical, functional and normative characteristics for the creation, maintenance, and removal of physical links required to transmit data.

香农定理:给出了信道信息传送速率的上限(比特每秒)和信道信噪比及带宽的关系。Shannon's theorem: It gives the upper limit of the channel information transmission rate (bits per second) and the relationship between the channel signal-to-noise ratio and the bandwidth.

物理层安全一直专注于多跳中继网络,用于对抗外来窃听者,目前的多跳中继网络防止窃听者窃取信息采取的提高多跳中继网络的安全性的技术有:Physical layer security has always been focused on multi-hop relay networks to fight against foreign eavesdroppers. The current multi-hop relay networks prevent eavesdroppers from stealing information to improve the security of multi-hop relay networks:

一是提出了联合中继和干扰选择方案以提高多跳中继网络的安全性,但其仅选择一个节点作为中继,没有充分利用所有节点。First, a joint relay and interference selection scheme is proposed to improve the security of a multi-hop relay network, but it only selects one node as a relay and does not fully utilize all nodes.

二是采用两跳单中继网络的安全资源分配问题,该问题是在窃听者存在的情况下考虑应用和不应用协作干扰技术,在传输设计中强制使用暴露于窃听者的物联网通信的安全增强算法。The second is the problem of security resource allocation using a two-hop single-relay network. This problem is to consider the application and non-application of cooperative interference technology in the presence of eavesdroppers, and to enforce the security of IoT communication exposed to eavesdroppers in the transmission design. Enhanced algorithm.

三是研究了提高物联网中重要数据安全性的问题,窃听者可以将他们的观察结合起来,极其解码信号。在存在蜂窝干扰的情况下,在中继辅助物联网系统中,合法接收机处的均方误差(MSE)处于较低值并且窃听者处的MSE较大时,预编码矩阵被优化。The third is to study the problem of improving the security of important data in the Internet of Things, where eavesdroppers can combine their observations and extremely decode signals. In the presence of cellular interference, in relay-assisted IoT systems, the precoding matrix is optimized when the mean square error (MSE) at the legitimate receiver is at a low value and the MSE at the eavesdropper is large.

尽管多跳中继网络的物理层安全已经被广泛研究,但是当中继网络面临干扰时,所产生的物理层安全问题仍然是一个重大挑战。在目前的对于多跳中继网络的物理层安全研究提出了一种联合功率控制和波束形成算法,以最小化总传输功率,同时保持每个接收机处的信号与干扰加噪声比(SINR)高于预期阈值,并通过迭代分布式算法用于联合设计发射预编码矩阵和接收滤波器矩阵,用于通过窃听器在MIMO干扰信道上进行安全通信。Although the physical layer security of multi-hop relay networks has been extensively studied, the resulting physical layer security issues are still a major challenge when the relay network faces interference. In the current research on physical layer security for multi-hop relay networks, a joint power control and beamforming algorithm is proposed to minimize the total transmit power while maintaining the signal-to-interference-plus-noise ratio (SINR) at each receiver. above the expected threshold, and is used to jointly design transmit precoding matrices and receive filter matrices by an iterative distributed algorithm for secure communication over MIMO interference channels via eavesdroppers.

上述描述的关于多跳中继网络的数据传输安全性的研究均是在理论上研究的,并没有考虑实际中采用电力线实现多跳中继网络的数据传输。The research on the data transmission security of the multi-hop relay network described above is all theoretical research, and does not consider the use of power lines to realize the data transmission of the multi-hop relay network in practice.

因此,本申请实施例提供了一种基于电力线通信的多跳数据安全传输方法、装置及设备,用于解决了现有技术中多跳宽带电力线通信系统下进行数据传输的安全性低,电力线通信系统中的通信数据易被偷窃的技术问题。Therefore, the embodiments of the present application provide a multi-hop data security transmission method, device and device based on power line communication, which are used to solve the problem of low security of data transmission in the multi-hop broadband power line communication system in the prior art, and power line communication The technical problem that the communication data in the system is easy to be stolen.

实施例一:Example 1:

图1为本发明实施例所述的基于电力线通信的多跳数据安全传输方法的步骤流程图。FIG. 1 is a flow chart of steps of a method for secure multi-hop data transmission based on power line communication according to an embodiment of the present invention.

如图1所示,本发明实施例提供了一种基于电力线通信的多跳数据安全传输方法,应用于台区的移动终端和电能表之间的通信数据传输,包括以下步骤:As shown in FIG. 1 , an embodiment of the present invention provides a multi-hop data security transmission method based on power line communication, which is applied to communication data transmission between a mobile terminal in a station area and an electric energy meter, including the following steps:

S1.获取多跳宽带电力线上各个通信信道的信道状态信息和通信参数,依据各个通信参数构建与每个通信信道一一对应的信道传递函数,各个通信参数结合MK模型对各个信道传递函数构建实际信道模型;S1. Obtain the channel state information and communication parameters of each communication channel on the multi-hop broadband power line, construct a channel transfer function corresponding to each communication channel according to each communication parameter, and construct the actual transfer function of each channel with each communication parameter combined with the MK model channel model;

S2.依据实际信道模型建立电力线通信系统模型;S2. Establish a power line communication system model based on the actual channel model;

S3.将联合收发矩阵输入电力线通信系统模型中得到目标函数;S3. Input the joint transceiver matrix into the power line communication system model to obtain the objective function;

S4.对目标函数采用迭代分布式算法进行优化求解,得到电力线通信系统模型上的多跳数据安全传输的安全速率。S4. Use an iterative distributed algorithm to optimize and solve the objective function, and obtain the safe rate of multi-hop data safe transmission on the power line communication system model.

需要说明的是,在电力系统中,台区是指(一台)变压器的供电范围或区域。移动终端可以为PC、电脑、手机、掌上电脑等。It should be noted that in the power system, the station area refers to the power supply range or area of a (one) transformer. The mobile terminal may be a PC, a computer, a mobile phone, a handheld computer, and the like.

在本发明的实施例的所述步骤S1中,首先获取多跳宽带电力线上通信信道(BPLC)的信道状态信息和通信参数,并根据通信参数构建与各电力线对应的信道传递函数,也就是说,要使用多跳宽带电力线的几个差分通道就构建几个信道传递函数。BPLC通信信道具有很强频率选择性衰减性特性,通过MK模型在多跳宽带电力线通信信道上实地的测量数据中获取MK模型的相关参数,并建立的BPLC信道MK模型,该MK模型所用的信号频率范围为500kHz~20MHz。In the step S1 of the embodiment of the present invention, the channel state information and communication parameters of the communication channel (BPLC) on the multi-hop broadband power line are first obtained, and the channel transfer function corresponding to each power line is constructed according to the communication parameters, that is to say , to use several differential channels of a multi-hop broadband power line to construct several channel transfer functions. The BPLC communication channel has strong frequency selective attenuation characteristics. The relevant parameters of the MK model are obtained from the field measurement data on the multi-hop broadband power line communication channel through the MK model, and the MK model of the BPLC channel is established. The signal used in the MK model The frequency range is 500kHz to 20MHz.

需要说明的是,MK模型已在曼弗雷德·齐默尔曼和克劳斯·多斯特发表的论文《电力线信道高频段多径信号传输模型》(A Multi-Path Signal Propagation Model forthe Power Line Channel in the High Frequency Range)中记载,在本实施例中,不在对MK模型的构建和工作原理进行阐述。在本实施例中,对现进行多跳宽带电力线通信信道的5条路径的BPLC通信信道仿真,取通信信道衰减参数α0=0,α1=1.5×10-9s/m,k=1,εr=3.8,c0=3.0×108m/s,信道参数见下表1:It should be noted that the MK model has been published in the paper "A Multi-Path Signal Propagation Model for the Power Line Channel High-band Multipath Signal Propagation Model" published by Manfred Zimmermann and Klaus Dost. Line Channel in the High Frequency Range), in this embodiment, the construction and working principle of the MK model are not described. In this embodiment, the simulation of the BPLC communication channel of 5 paths of the multi-hop broadband power line communication channel is carried out, and the communication channel attenuation parameters α 0 =0, α 1 =1.5×10 −9 s/m, k=1 , ε r =3.8, c 0 =3.0×10 8 m/s, the channel parameters are shown in Table 1 below:

表1为5条路径的通信信道MK模型参数表Table 1 is the parameter table of the communication channel MK model of 5 paths

Figure BDA0002341978280000081
Figure BDA0002341978280000081

图2为本发明实施例所述的基于电力线通信的多跳数据安全传输方法的5条路径的通信信道MK模型幅频特性曲线图。FIG. 2 is an amplitude-frequency characteristic curve diagram of a five-path communication channel MK model of the multi-hop data secure transmission method based on power line communication according to an embodiment of the present invention.

如图2所示,从MK模型幅频特性曲线图可知,得到多跳宽带电力线上各个通信信道的频率衰落特性,即随着频率的增加,衰减增加;同时在信号频率的部分频率范围内存在严重的频率选择性衰落,至此,可以获得通信信道的信道特征,构建实际信道模型。As shown in Figure 2, from the MK model amplitude-frequency characteristic curve, it can be seen that the frequency fading characteristics of each communication channel on the multi-hop broadband power line are obtained, that is, as the frequency increases, the attenuation increases; Severe frequency selective fading, so far, the channel characteristics of the communication channel can be obtained, and the actual channel model can be constructed.

图3为本发明实施例所述的基于电力线通信的多跳数据安全传输方法的数据传输的框架图。FIG. 3 is a frame diagram of data transmission of the multi-hop data security transmission method based on power line communication according to an embodiment of the present invention.

如图3所示,在本发明的实施例中,电力线通信的数据传输是通过信号源发送数据信号,通过编码器对数据信号进行编码,得到编码后的数据传输信号,采用电力线的主信道将数据传输信号传送至解码器中解码,合法用户获得电力线上传输的数据信号。若窃听用户窃取电力线中传输的数据信号,窃听用户通过窃听信道窃取数据传输信号。具体地,由于多跳宽带电力线的通信信道中有窃听用户的存在,故构建的实际信道模型为窃听信道模型。As shown in FIG. 3 , in the embodiment of the present invention, the data transmission of power line communication is to send data signals through a signal source, encode the data signals by an encoder, and obtain an encoded data transmission signal. The data transmission signal is sent to the decoder for decoding, and the legitimate user obtains the data signal transmitted on the power line. If the eavesdropping user steals the data signal transmitted in the power line, the eavesdropping user steals the data transmission signal through the eavesdropping channel. Specifically, since there are eavesdropping users in the communication channel of the multi-hop broadband power line, the actual channel model constructed is the eavesdropping channel model.

图4为本发明实施例所述的基于电力线通信的多跳数据安全传输方法的传输数据多跳宽带电力线通信系统的框架图,图5为本发明实施例所述的基于电力线通信的多跳数据安全传输方法的多跳宽带电力线通信系统的框架图。FIG. 4 is a frame diagram of a multi-hop broadband power line communication system for transmitting data based on a method for secure multi-hop data transmission based on power line communication according to an embodiment of the present invention, and FIG. 5 is a multi-hop data transmission based on power line communication according to an embodiment of the present invention. A block diagram of a multi-hop broadband power line communication system with a secure transmission method.

如图4和图5所示,在本发明实施例的所述步骤S2中,因实际信道模型需要通过多跳宽带电力线通信系统的传输数据是采用K个发射端尝试在M个中继节点的帮助下将数据传输到相应的接收端,由于电力线的差分通道最多为4,故K的取值最大为4。电力线通信系统模型包括发射端、中继和接收端,发射端、中继、接收端和对应的发射端-接收端对的集合表示为{Sk}、{Rm}、{Dk}and{(Sk,Dk)},其中k=1,.....,K;m=1,.....,M。窃听用户用E表示。此外,发射端{Sk},中继{Rm},接收端{Dk}和窃听用户均设置有Tk、Qm、Nk和Ne个通信信道。假设所有通信节点之间的通信通道都经历缓慢变化的实际信道模型,并且所有的接收通信节点都接收到均值为零和方差为σ2的加性高斯白噪声(AWGN),并用Hkm、Gmk和Gme表示Sk-Rm、Rm-Dk和Rm-E链路的信道矩阵。As shown in FIG. 4 and FIG. 5 , in the step S2 of the embodiment of the present invention, because the actual channel model needs to transmit data through the multi-hop broadband power line communication system, K transmitters are used to try to transmit data at M relay nodes. With the help of the data transmission to the corresponding receiving end, since the differential channel of the power line is at most 4, the maximum value of K is 4. The power line communication system model includes a transmitter, a relay, and a receiver. The transmitter, relay, receiver, and the corresponding transmitter-receiver pairs are represented as {S k }, {R m }, {D k }and {( Sk , Dk)}, where k =1,...,K; m=1,...,M. Eavesdropping users are represented by E. In addition, the transmitting end {S k }, the relay {R m }, the receiving end {D k } and the eavesdropping user are all set with T k , Q m , N k and Ne communication channels. It is assumed that the communication channel between all communication nodes experiences a slowly varying actual channel model, and that all receiving communication nodes receive additive white Gaussian noise (AWGN) with mean zero and variance σ 2 , and use H km , G mk and Gme denote the channel matrices of the Sk - Rm , Rm - Dk and Rm -E links.

需要说明的是,若窃听用户试图从电力线中窃取秘密数据,根据电力线的路径损耗和传输功率的限制,发射端和接收端之间的直接连接可以忽略不计。因窃听用户从电力线中窃取数据需要靠近接收端并远离发射端,当窃听用户很远时,窃听用户很难听到来发射端的信号,因此需要对中继到窃听用户之间的链路进行通信安全防护,忽略从发射端到窃听用户之间的链路。当其中一个发射端将信号发送到相应的接收端而其他发射端同步发送信号时,系统中存在干扰信道。It should be noted that if the eavesdropping user tries to steal secret data from the power line, the direct connection between the transmitter and the receiver can be ignored according to the path loss of the power line and the limitation of transmission power. Because the eavesdropping user steals data from the power line, it needs to be close to the receiving end and far away from the transmitting end. When the eavesdropping user is far away, it is difficult for the eavesdropping user to hear the signal coming from the transmitting end. Therefore, it is necessary to protect the communication between the relay and the eavesdropping user. , ignoring the link from the transmitter to the eavesdropping user. When one of the transmitters sends a signal to the corresponding receiver and the other transmitters send signals synchronously, there is an interference channel in the system.

在本发明实施例的中,在电力线通信系统模型引入联合收发矩阵获得实现多跳宽带电力线通信物理层安全的目标函数,对目标函数采用迭代分布式算法进行优化求解,得到电力线通信系统模型上多跳数据安全传输的安全速率。In the embodiment of the present invention, a joint transceiver matrix is introduced into the power line communication system model to obtain an objective function for realizing the physical layer security of multi-hop broadband power line communication, and an iterative distributed algorithm is used to optimize and solve the objective function, and the multi-hop multi-hop power line communication system model is obtained. Safe rate for safe transfer of hop data.

需要说明的是,联合收发矩阵包括发射预编码矩阵、中继编码矩阵和接收滤波矩阵。在实现在窃听用户存在下的多跳宽带电力线通信中,确保台区的移动终端与电能表通信的安全,在发射端和中继处受发射功率的限制,采用迭代分布式算法对发射预编码矩阵、中继编码矩阵、接收滤波矩阵进行优化,将窃听用户的均方误差大于合法用户的均方误差,从而计算得到电力线通信系统模型上多跳数据安全传输的安全速率。在存在窃听用户的情况下,通过迭代分布算法优化的发射预编码矩阵、中继编码矩阵、接收滤波矩阵以及目标函数得到电力线通信多跳数据安全传输的安全速率,使得电力线在安全速率下进行数据传输,保证安全通信。It should be noted that the joint transceiving matrix includes a transmit precoding matrix, a relay coding matrix and a receive filtering matrix. In the realization of multi-hop broadband power line communication in the presence of eavesdropping users, to ensure the safety of the communication between the mobile terminal in the station area and the electric energy meter, at the transmitter and relay, limited by the transmit power, an iterative distributed algorithm is used to precode the transmit Matrix, relay coding matrix, and receiving filter matrix are optimized, and the mean square error of eavesdropping users is greater than that of legitimate users, so as to calculate the safe rate of multi-hop data transmission on the power line communication system model. In the presence of eavesdropping users, the transmission precoding matrix, relay coding matrix, reception filtering matrix and objective function optimized by the iterative distribution algorithm are used to obtain the safe rate of multi-hop data transmission in power line communication, so that the power line can transmit data at a safe rate. transmission to ensure secure communication.

本发明提供的一种基于电力线通信的多跳数据安全传输方法包括获取多跳宽带电力线上各个通信信道的信道状态信息和通信参数,依据各个通信参数构建与每个通信信道一一对应的信道传递函数,各个通信参数结合MK模型对各个信道传递函数构建实际信道模型;依据实际信道模型建立电力线通信系统模型;将联合收发矩阵输入电力线通信系统模型中得到目标函数;对目标函数采用迭代分布式算法进行优化求解,得到电力线通信系统模型上多跳数据安全传输的安全速率。该基于电力线通信的多跳数据安全传输方法通过迭代分布算法优化的联合收发矩阵和目标函数,得到电力线通信多跳数据安全传输的安全速率,使得电力线在安全速率下进行数据传输,保证安全通信,预防窃听用户窃取数据。解决了现有技术中多跳宽带电力线通信系统下进行数据传输的安全性低,电力线通信系统中的通信数据易被偷窃的技术问题。The method for secure multi-hop data transmission based on power line communication provided by the present invention includes acquiring channel state information and communication parameters of each communication channel on a multi-hop broadband power line, and constructing a channel transmission corresponding to each communication channel one-to-one according to each communication parameter. function, each communication parameter is combined with the MK model to construct the actual channel model for each channel transfer function; the power line communication system model is established based on the actual channel model; the joint transceiver matrix is input into the power line communication system model to obtain the objective function; the iterative distributed algorithm is used for the objective function The optimization solution is carried out to obtain the safe rate of multi-hop data safe transmission on the power line communication system model. The multi-hop data security transmission method based on power line communication obtains the security rate of multi-hop data security transmission of power line communication through the joint transceiver matrix and objective function optimized by iterative distribution algorithm, so that the power line can perform data transmission at a safe rate and ensure secure communication. Prevent eavesdropping users from stealing data. The technical problems in the prior art that the security of data transmission in the multi-hop broadband power line communication system is low and the communication data in the power line communication system is easy to be stolen are solved.

在本发明的一个实施例中,通信参数包括各个通信信道的路径数量、路径的传输距离、信号频率和通信节点;In an embodiment of the present invention, the communication parameters include the number of paths of each communication channel, the transmission distance of the paths, the signal frequency and the communication nodes;

其中,通信节点能用于窃听用户窃取通信信道上的传输数据。Among them, the communication node can be used to eavesdrop on the user to steal the transmission data on the communication channel.

在本发明的一个实施例中,根据如下公式作为多跳宽带电力线的实际信道模型:In an embodiment of the present invention, the actual channel model of the multi-hop broadband power line is based on the following formula:

Figure BDA0002341978280000101
Figure BDA0002341978280000101

Figure BDA0002341978280000111
Figure BDA0002341978280000111

其中,i为路径的编号,gi为每条路径的加权系数且数值为不大于1的自然数,A(f,di)为通信信道的衰减系数,α0、α1和k均是衰减参数,k为0.5~1,di为第i条路径的传输距离,τi为路径i上的时延

Figure BDA0002341978280000112
c0为光速,εr为多跳宽带电力线的介电常数。Among them, i is the number of the path, gi is the weighting coefficient of each path and the value is a natural number not greater than 1, A(f, d i ) is the attenuation coefficient of the communication channel, α 0 , α 1 and k are all attenuations parameter, k is 0.5~1, d i is the transmission distance of the i-th path, τ i is the delay on path i
Figure BDA0002341978280000112
c 0 is the speed of light, and ε r is the permittivity of multi-hop broadband power lines.

需要说明的是,通信信道的衰减系数的大小是由通信通道的路径长度和频率决定。It should be noted that the size of the attenuation coefficient of the communication channel is determined by the path length and frequency of the communication channel.

在本发明的一个实施例中,所述目标函数包括各发射功率的约束、通信通道数的约束以及对窃听用户均方误差的约束,在满足发射端和中断端的传输功率约束,如下公式是所述目标函数的公式(13)为:In an embodiment of the present invention, the objective function includes constraints on each transmission power, the number of communication channels, and the constraint on the mean square error of the eavesdropping user. When the transmission power constraints of the transmitting end and the interrupting end are satisfied, the following formula is as follows: The formula (13) of the stated objective function is:

Figure BDA0002341978280000113
Figure BDA0002341978280000113

s.t.∶MSEe,k≥εk st: MSE e,k ≥ε k

Figure BDA0002341978280000114
Figure BDA0002341978280000114

Figure BDA0002341978280000115
Figure BDA0002341978280000115

其中,K为不小于1的自然数,{Uk}为所述发射预编码矩阵,{Vm}为所述中继编码矩阵,{Wk}为所述接收滤波矩阵,{We,k}为所述窃听用户的接收滤波矩阵,MSEk为接收端对所述多跳宽带电力线上传输数据的均方误差,MSEe,k为所述窃听用户对传输数据的均方误差,

Figure BDA0002341978280000116
为发射端的发射功率,
Figure BDA0002341978280000117
为中断端的发射功率,Psk为发射端的最大发射功率,Prm为中断端的最大发射功率,s.t.为subject to的缩写,εk为MSEe,k的最小值。具体地,{Uk}、{Vm}、{Wk}为联合收发矩阵需要优化求解的目的矩阵,{We,k}是窃听用户根据自身条件设计的适合于它自己的最优滤波矩阵。其中,s.t.的意思是公式(13)中的
Figure BDA0002341978280000118
受MSEe,k≥εk
Figure BDA0002341978280000119
Figure BDA00023419782800001110
这三个公式的约束。Wherein, K is a natural number not less than 1, {U k } is the transmit precoding matrix, {V m } is the relay coding matrix, {W k } is the receiving filter matrix, {W e,k } is the reception filter matrix of the eavesdropping user, MSE k is the mean square error of the receiving end to the data transmitted on the multi-hop broadband power line, MSE e, k is the mean square error of the eavesdropping user to the transmitted data,
Figure BDA0002341978280000116
is the transmit power of the transmitter,
Figure BDA0002341978280000117
is the transmitting power of the interrupted end, P sk is the maximum transmitting power of the transmitting end, P rm is the maximum transmitting power of the interrupting end, st is the abbreviation of subject to, ε k is the minimum value of MSE e, k . Specifically, {U k }, {V m }, {W k } are the purpose matrices that need to be optimized and solved for the joint transceiver matrix, and {W e, k } is the optimal filter designed by the eavesdropping user according to his own conditions and suitable for himself. matrix. Among them, st means in formula (13)
Figure BDA0002341978280000118
Subject to MSE e,k ≥ε k ,
Figure BDA0002341978280000119
and
Figure BDA00023419782800001110
constraints of these three formulas.

需要说明的是,在多跳宽带电力线进行传输数据过程中,是通过两个时隙来完成发射端和相应接收端之间的通信。在第一时隙中,发射端Sk将数据sk发送给中继Rm,然后中继Rm利用其接收通信通道接收输入信号,并在第二时隙中将转发信号yrm发送到相应的接收端Dk,窃听用户则在此时窃取秘密数据。在中继Rm、接收端Dk和窃听用户的接收信号可以表示如下:It should be noted that, in the process of data transmission on the multi-hop broadband power line, the communication between the transmitter and the corresponding receiver is completed through two time slots. In the first time slot, the transmitting end Sk sends the data sk to the relay R m , and then the relay R m receives the input signal using its receiving communication channel, and in the second time slot sends the forwarding signal y rm to The corresponding receiving end D k , the eavesdropping user steals the secret data at this time. The received signals at the relay R m , the receiving end D k and the eavesdropping user can be expressed as follows:

Figure BDA0002341978280000121
Figure BDA0002341978280000121

Figure BDA0002341978280000122
Figure BDA0002341978280000122

Figure BDA0002341978280000123
Figure BDA0002341978280000123

其中,

Figure BDA0002341978280000124
是中继Rm处的接收信号;
Figure BDA0002341978280000125
是接收端Dk处的接收信号;ye∈CNe×1是窃听用户的接收信号;
Figure BDA0002341978280000126
是发射端Sk与中继Rm之间的通信信道系数矩阵;
Figure BDA0002341978280000127
是中继Rm与接收端Dk之间的通信信道系数矩阵;
Figure BDA0002341978280000128
是中继Rm与窃听用户之间的通信信道系数矩阵;
Figure BDA0002341978280000129
是在发射端Sk的发射信号Sk
Figure BDA00023419782800001210
Figure BDA00023419782800001211
是在中继Rm、接收端Dk和窃听用户的加性高斯白噪声,其均值为零方差分别为
Figure BDA00023419782800001212
Figure BDA00023419782800001213
in,
Figure BDA0002341978280000124
is the received signal at the relay R m ;
Figure BDA0002341978280000125
is the received signal at the receiving end D k ; y e ∈ C Ne×1 is the received signal of the eavesdropping user;
Figure BDA0002341978280000126
is the communication channel coefficient matrix between the transmitter Sk and the relay Rm ;
Figure BDA0002341978280000127
is the communication channel coefficient matrix between the relay Rm and the receiver Dk;
Figure BDA0002341978280000128
is the communication channel coefficient matrix between the relay R m and the eavesdropping user;
Figure BDA0002341978280000129
is the transmitted signal Sk at the transmitting end Sk ;
Figure BDA00023419782800001210
and
Figure BDA00023419782800001211
is the additive white Gaussian noise at the relay R m , the receiving end D k and the eavesdropping user, whose mean is zero variance, respectively
Figure BDA00023419782800001212
and
Figure BDA00023419782800001213

为了最小化接收端的总体均方误差MSE实现安全通信,在发射端和中继的发射功率约束条件下,联合设计发射预编码矩阵、中继编码矩阵、接收滤波矩阵进行优化求解出目的矩阵。具体地,在发送数据sk之前,使用发送预编码矩阵Uk对发射端Sk发送的数据sk进行编码。同样,使用中继编码矩阵Vm对中继Rm发送的数据yrm进行编码。则在中继Rm,接收端Dk和窃听用户的接收信号可以重新表示为:In order to minimize the overall mean square error MSE of the receiver to realize secure communication, under the constraints of the transmit power of the transmitter and the relay, the transmit precoding matrix, the relay coding matrix and the receive filter matrix are jointly designed to optimize and solve the destination matrix. Specifically, before sending the data sk , the data sk sent by the transmitting end Sk is encoded by using the sending precoding matrix U k . Likewise, the data y rm sent by the relay R m is encoded using the relay coding matrix V m . Then in the relay R m , the received signals of the receiver D k and the eavesdropping user can be re-expressed as:

Figure BDA00023419782800001214
Figure BDA00023419782800001214

Figure BDA00023419782800001215
Figure BDA00023419782800001215

Figure BDA00023419782800001216
Figure BDA00023419782800001216

使用线性接收滤波矩阵Wk去处理接收端Dk的接收信号,同时,窃听用户也会用滤波矩阵We,k去处理窃听用户自己的接收信号。于是,接收端Dk和窃听用户对数据sk的测量值可以分别表示为:The linear receiving filter matrix W k is used to process the received signal of the receiving end D k , and at the same time, the eavesdropping user will also use the filtering matrix We, k to process the eavesdropping user's own received signal. Therefore, the measurement values of the data sk by the receiver D k and the eavesdropping user can be expressed as:

Figure BDA00023419782800001217
Figure BDA00023419782800001217

Figure BDA0002341978280000131
Figure BDA0002341978280000131

其中,Wk和We,k分别是Nk×Tk、Ne×Tk的接收滤波矩阵。假定发射端Sk发射的数据sk信号的协方差矩阵为

Figure BDA0002341978280000132
故从公式(7)可以得到在接收端Dk对数据sk信号的均方误差MSEk为:Wherein, W k and We,k are the receiving filter matrices of N k ×T k and N e ×T k respectively. Assume that the covariance matrix of the data sk signal transmitted by the transmitter Sk is
Figure BDA0002341978280000132
Therefore, from formula (7), it can be obtained that the mean square error MSE k of the data sk signal at the receiving end D k is:

Figure BDA0002341978280000133
Figure BDA0002341978280000133

同样地,可以得到窃听用户对数据sk信号的均方误差MSEe,k为:Similarly, the mean square error MSE e of the eavesdropping user on the data s k signal can be obtained, where k is:

Figure BDA0002341978280000134
Figure BDA0002341978280000134

在发射端和中继的发射功率限制可以表示为:The transmit power limit at the transmitter and relay can be expressed as:

Figure BDA0002341978280000135
Figure BDA0002341978280000135

Figure BDA0002341978280000136
Figure BDA0002341978280000136

其中Psk和Prm表示在发射端Sk和中继Rm的最大发射功率。Among them, P sk and P rm represent the maximum transmit power at the transmitting end Sk and the relay R m .

在窃听用户存在的情况下,来自发射端的信号可能泄漏给窃听者。考虑到最坏的情况,假设窃听者可以计算线性接收矩阵We,k来最小化其自身的均方误差MSEe,k,并且它知道所有的信道状态信息。故需要设计最优的发射预编码矩阵{Uk}、中继编码矩阵{Vm}和接收滤波矩阵{Wk}来最小化所有接收端的总均方误差MSE,并使MSEe,k保持在给定的阈值εk(k=1,.....,K)以上,同时满足发射端和中继的传输功率约束。In the presence of eavesdropping users, the signal from the transmitter may leak to the eavesdropper. Considering the worst case, it is assumed that the eavesdropper can compute the linear receive matrix We,k to minimize its own mean square error MSE ,k , and that it knows all the channel state information. Therefore, it is necessary to design the optimal transmit precoding matrix {U k }, relay coding matrix {V m } and receive filtering matrix {W k } to minimize the total mean square error MSE of all receivers, and keep MSE e, k Above a given threshold ε k (k=1, . . . , K), the transmission power constraints of the transmitter and the relay are satisfied at the same time.

依据目标函数的特征,联合设计发射预编码矩阵、中继编码矩阵、接收滤波矩阵,以减小所有合法接收者的总均方误差MSE并使窃听用户的均方误差MSEe,k在一个给定的阈值εk(k=1,.....,K)以上,确保多跳宽带电力线通信的物理层安全,保证台区的移动终端与电能表之间的数据安全传输。According to the characteristics of the objective function, the transmit precoding matrix, relay coding matrix, and reception filtering matrix are jointly designed to reduce the total mean square error MSE of all legal receivers and make the mean square error MSE e,k of eavesdropping users within a given value. The predetermined threshold εk ( k =1, ....., K) ensures the physical layer security of multi-hop broadband power line communication, and ensures the safe transmission of data between the mobile terminal in the station area and the electric energy meter.

图6为本发明实施例所述的基于电力线通信的多跳数据安全传输方法目标函数进行优化求解的步骤流程图。6 is a flow chart of steps for optimizing and solving the objective function of the method for secure multi-hop data transmission based on power line communication according to an embodiment of the present invention.

如图6所示,在本发明的一个实施例中,根据所述迭代分布式算法对所述目标函数进行优化求解的步骤包括:As shown in FIG. 6, in an embodiment of the present invention, the step of optimizing and solving the objective function according to the iterative distributed algorithm includes:

S41.对所述发射预编码矩阵和所述中继编码矩阵的矩阵变量设置初始值,并采用所述迭代分布式算法计算出所述接收滤波矩阵的最优线性矩阵;S41. Set initial values for the matrix variables of the transmit precoding matrix and the relay coding matrix, and use the iterative distributed algorithm to calculate the optimal linear matrix of the reception filter matrix;

S42.根据所述目标函数,求解得到所述窃听用户的优化接收滤波矩阵;S42. according to the objective function, solve and obtain the optimized reception filter matrix of the eavesdropping user;

S43.基于所述最优线性矩阵、所述优化接收滤波矩阵和在所述步骤S41迭代得到的所述中继编码矩阵,再采用所述迭代分布式算法计算得到优化后的发射预编码矩阵;S43. Based on the optimal linear matrix, the optimized reception filter matrix, and the relay coding matrix obtained iteratively in the step S41, calculate the optimized transmit precoding matrix by using the iterative distributed algorithm;

S44,基于所述最优线性矩阵、所述优化接收滤波矩阵和所述优化后的发射预编码矩阵,采用所述迭代分布式算法计算得到优化后的中继编码矩阵。S44. Based on the optimal linear matrix, the optimized reception filter matrix, and the optimized transmit precoding matrix, calculate and obtain the optimized relay coding matrix by using the iterative distributed algorithm.

因公式(13)存在多个矩阵变量,采用迭代分布式算法求解得到发射预编码矩阵、中继编码矩阵和接收滤波矩阵的最优目的矩阵。该迭代分布式算法将通过之前迭代获得的两个矩阵变量计算另外一个矩阵变量,并依次循环。目标函数可以用总均方误差TMSE表示,公式如下:Since there are multiple matrix variables in formula (13), an iterative distributed algorithm is used to obtain the optimal destination matrix of the transmit precoding matrix, the relay coding matrix and the receive filtering matrix. This iterative distributed algorithm will calculate another matrix variable from the two matrix variables obtained in the previous iteration, and loop in turn. The objective function can be represented by the total mean square error TMSE, the formula is as follows:

Figure BDA0002341978280000141
Figure BDA0002341978280000141

需要说明的是,采用迭代分布式算法对发射预编码矩阵、中继编码矩阵和接收滤波矩阵进行第一次迭代计算中,先设置{Uk}和{Vm}的初始值,然后计算{Wk}的最优解。然后,在接下来的迭代中,我们利用上一次迭代获得的{Uk}和{Vm}来计算最优的{Wk}。It should be noted that, in the first iterative calculation of the transmit precoding matrix, the relay coding matrix and the receive filter matrix using an iterative distributed algorithm, the initial values of {U k } and {V m } are set first, and then { The optimal solution of W k }. Then, in the next iteration, we use the {U k } and {V m } obtained in the previous iteration to calculate the optimal {W k }.

从目标函数的公式(13)中可以看出,{Wk}和{We,k}与发射端和中继的传输功率约束无关。通过线性MMSE接收机,我们可以得到使接收端总均方误差MSE最小化的最优线性接收矩阵{Wk},{We,k}的公式为:It can be seen from Equation (13) of the objective function that {W k } and {W e, k } are independent of the transmit power constraints of the transmitter and relay. Through the linear MMSE receiver, we can obtain the optimal linear receiving matrix {W k }, {W e, k } which minimizes the total mean square error MSE at the receiver. The formula is:

Figure BDA0002341978280000142
Figure BDA0002341978280000142

同理,{We,k}的公式为:Similarly, the formula of {W e, k } is:

Figure BDA0002341978280000151
Figure BDA0002341978280000151

对发射预编码矩阵{Uk}进行求解,具体地,根据公式(15)和(16)获得的接收滤波矩阵{Wk}和{We,k}后,可以根据{Wk}、{We,k}和上一次迭代获得的{Vm}采用迭代分布式算法求解得到这次迭代的发射预编码矩阵{Uk}。为了更进一步的分析,公式(14)的TMSE可以具体表示为:After solving the transmit precoding matrix {U k }, specifically, after obtaining the receive filtering matrices {W k } and {W e,k } according to formulas (15) and (16), it can be obtained according to {W k }, { We e, k } and {V m } obtained in the previous iteration are solved by an iterative distributed algorithm to obtain the transmit precoding matrix {U k } of this iteration. For further analysis, the TMSE of formula (14) can be specifically expressed as:

Figure BDA0002341978280000152
Figure BDA0002341978280000152

定义

Figure BDA0002341978280000153
公式(17)可以简化为:definition
Figure BDA0002341978280000153
Equation (17) can be simplified to:

Figure BDA0002341978280000154
Figure BDA0002341978280000154

定义

Figure BDA0002341978280000155
对公式(18)进行简化为:definition
Figure BDA0002341978280000155
Equation (18) is simplified to:

Figure BDA0002341978280000156
Figure BDA0002341978280000156

其中

Figure BDA0002341978280000157
且γ与矩阵变量{Uk}无关,因此可以将它看做一个常量。定义
Figure BDA0002341978280000158
于是公式(19)可以进一步表示为:in
Figure BDA0002341978280000157
And γ has nothing to do with the matrix variable {U k }, so it can be regarded as a constant. definition
Figure BDA0002341978280000158
So formula (19) can be further expressed as:

Figure BDA0002341978280000159
Figure BDA0002341978280000159

为了简化上述求解过程,如下引入的转换公式,公式为:In order to simplify the above solution process, the conversion formula introduced as follows is as follows:

tr(AHB)=(vec(A))Hvec(B),tr(A H B) = (vec(A)) H vec(B),

Figure BDA00023419782800001510
Figure BDA00023419782800001510

Figure BDA00023419782800001511
Figure BDA00023419782800001511

定义

Figure BDA00023419782800001512
Figure BDA00023419782800001513
其中
Figure BDA00023419782800001514
公式(20)可以替换为:definition
Figure BDA00023419782800001512
and
Figure BDA00023419782800001513
in
Figure BDA00023419782800001514
Equation (20) can be replaced by:

TMSE=uHωu-ψu-uHψH+γ (21)TMSE=u H ωu-ψu-u H ψ H +γ (21)

其中

Figure BDA00023419782800001516
Figure BDA00023419782800001515
in
Figure BDA00023419782800001516
Figure BDA00023419782800001515

同理,窃听用户的均方误差MSEe,k可以表示为:Similarly, the mean square error MSE e,k of the eavesdropping user can be expressed as:

Figure BDA0002341978280000161
Figure BDA0002341978280000161

其中,

Figure BDA0002341978280000162
Figure BDA0002341978280000163
Figure BDA0002341978280000164
Figure BDA0002341978280000165
in,
Figure BDA0002341978280000162
Figure BDA0002341978280000163
Figure BDA0002341978280000164
and
Figure BDA0002341978280000165

由于

Figure BDA0002341978280000166
在发射端的功率限制情况下,公式(11)可以表示为:because
Figure BDA0002341978280000166
In the case of power limitation at the transmitter, formula (11) can be expressed as:

Figure BDA0002341978280000167
Figure BDA0002341978280000167

公式(23)可以简化为:Equation (23) can be simplified to:

uHρu≤Psk,k=1,…,K (24)u H ρu≤P sk ,k=1,…,K (24)

其中

Figure BDA0002341978280000168
in
Figure BDA0002341978280000168

从公式(21)、(22)和(24),得到发射预编码矩阵{Uk}的优化公式可以表示为:From formulas (21), (22) and (24), the optimized formula to obtain the transmit precoding matrix {U k } can be expressed as:

Figure BDA0002341978280000169
Figure BDA0002341978280000169

发射预编码矩阵{Uk}的优化公式(25)是一个二次约束二次规划问题,和目标函数公式(13)的问题相比,优化公式(25)可以通过MATLAB工具箱的CVX求得。The optimization formula (25) of the transmit precoding matrix {U k } is a quadratic constrained quadratic programming problem. Compared with the objective function formula (13), the optimization formula (25) can be obtained through the CVX of the MATLAB toolbox. .

对于中继编码矩阵{Vm}的求解优化公式,具体地,上述已经获得优化后的由于{Wk}、{We,k}和{Uk}都已经求得,接收端的总均方误差TMSE可以表示为:For the solution optimization formula of the relay coding matrix {V m }, specifically, since {W k }, {W e, k } and {U k } have been obtained after the optimization above, the total mean square of the receiving end has been obtained. The error TMSE can be expressed as:

Figure BDA00023419782800001610
Figure BDA00023419782800001610

其中,

Figure BDA00023419782800001611
in,
Figure BDA00023419782800001611

定义,V=bd(V1,V2,…,VM),

Figure BDA00023419782800001612
Figure BDA00023419782800001613
于是对公式(26)的接收端的总均方误差TMSE简化为:Definition, V=bd(V 1 ,V 2 ,...,V M ),
Figure BDA00023419782800001612
Figure BDA00023419782800001613
So the total mean square error TMSE at the receiving end of formula (26) is simplified to:

Figure BDA00023419782800001614
Figure BDA00023419782800001614

Figure BDA0002341978280000171
Figure BDA0002341978280000171

定义v=vec(V),于是可以进一步对公式(27)简化为:Define v=vec(V), then formula (27) can be further simplified as:

TMSE=vHΩv-Ov-vHOH+vHμv+β (28)TMSE=v H Ωv-Ov-v H O H +v H μv+β (28)

其中,

Figure BDA0002341978280000172
in,
Figure BDA0002341978280000172

同理,窃听用户的均方误差MSEe,k可以表示为:Similarly, the mean square error MSE e,k of the eavesdropping user can be expressed as:

Figure BDA0002341978280000173
Figure BDA0002341978280000173

其中,

Figure BDA0002341978280000174
in,
Figure BDA0002341978280000174

Figure BDA0002341978280000175
Figure BDA0002341978280000175

由于

Figure BDA0002341978280000176
Figure BDA0002341978280000177
其中,
Figure BDA0002341978280000178
Figure BDA0002341978280000179
在中继的功率限制可以表示为:because
Figure BDA0002341978280000176
and
Figure BDA0002341978280000177
in,
Figure BDA0002341978280000178
Figure BDA0002341978280000179
The power limit at the relay can be expressed as:

vHλv≤Prm,m=1,…,M (30)v H λv≤P rm ,m=1,...,M (30)

其中,

Figure BDA00023419782800001710
in,
Figure BDA00023419782800001710

从公式(28)、(29)和(30),中继编码矩阵{Vm}的优化公式可以表示为:From equations (28), (29) and (30), the optimized formula of the relay coding matrix {V m } can be expressed as:

Figure BDA00023419782800001711
Figure BDA00023419782800001711

其中,中继编码矩阵{Vm}的优化公式(31)是一个二次约束二次规划问题,与目的函数的公式(13)问题相比,优化公式(31)可以通过MATLAB工具箱的CVX求得。Among them, the optimization formula (31) of the relay coding matrix {V m } is a quadratic constrained quadratic programming problem. Compared with the formula (13) problem of the objective function, the optimization formula (31) can be obtained through the CVX of the MATLAB toolbox. beg.

图7为本发明实施例所述的基于电力线通信的多跳数据安全传输方法迭代分布式算法计算的步骤框架图。FIG. 7 is a framework diagram of steps for iterative distributed algorithm calculation of the method for secure multi-hop data transmission based on power line communication according to an embodiment of the present invention.

在本发明的一个实施例中,根据所述迭代分布式算法计算步骤包括:In an embodiment of the present invention, the computing step according to the iterative distributed algorithm includes:

S01.初始化,设置迭代计数器n=0,接收端的均方误差TMSE(n)=0,所述发射预编码矩阵和所述中继编码矩阵的矩阵变量设置初始值为

Figure BDA0002341978280000181
Figure BDA0002341978280000182
S01. Initialize, set the iteration counter n=0, the mean square error TMSE (n) =0 of the receiving end, the matrix variables of the transmit precoding matrix and the relay coding matrix are set to initial value
Figure BDA0002341978280000181
and
Figure BDA0002341978280000182

S02.根据所述目标函数获得的所述发射预编码矩阵

Figure BDA0002341978280000183
和所述中继编码矩阵
Figure BDA0002341978280000184
计算得到所述窃听用户的接收滤波矩阵
Figure BDA0002341978280000185
和所述接收滤波矩阵
Figure BDA0002341978280000186
S02. the transmit precoding matrix obtained according to the objective function
Figure BDA0002341978280000183
and the relay coding matrix
Figure BDA0002341978280000184
Calculate the receiving filter matrix of the eavesdropping user
Figure BDA0002341978280000185
and the receive filter matrix
Figure BDA0002341978280000186

S03.根据所述步骤S02中迭代获得的

Figure BDA0002341978280000187
Figure BDA0002341978280000188
Figure BDA0002341978280000189
对所述目标函数进行优化,得到更新后的发射预编码矩阵
Figure BDA00023419782800001810
S03. Iteratively obtained according to the step S02
Figure BDA0002341978280000187
and
Figure BDA0002341978280000188
and
Figure BDA0002341978280000189
Optimizing the objective function to obtain an updated transmit precoding matrix
Figure BDA00023419782800001810

S04.根据获得的

Figure BDA00023419782800001811
Figure BDA00023419782800001812
对所述目标函数进行优化,更新得到
Figure BDA00023419782800001813
并计算所述接收端的均方误差TMSE(n+1);S04. According to the obtained
Figure BDA00023419782800001811
and
Figure BDA00023419782800001812
The objective function is optimized and updated to get
Figure BDA00023419782800001813
And calculate the mean square error TMSE (n+1) of the described receiving end;

S05.若TMSE(n+1)-TMSE(n)≤ξ,结束所述迭代分布式算法计算;若TMSE(n+1)-TMSE(n)>ξ,n=n+1,执行所述步骤S02;S05. If TMSE (n+1) - TMSE (n) ≤ ξ, end the iterative distributed algorithm calculation; if TMSE (n+1) - TMSE (n) >ξ, n=n+1, execute the above Step S02;

其中,ξ为给定的前后两次迭代的数值差。Among them, ξ is the numerical difference between the given two iterations before and after.

需要说明的是,根据所述迭代分布式算法对发射预编码矩阵{Uk}、中继编码矩阵{Vm}和接收滤波矩阵{Wk}的迭代过程,其中n表示第n次迭代。It should be noted that the iterative process of the transmit precoding matrix {U k }, the relay coding matrix {V m } and the receive filtering matrix {W k } is performed according to the iterative distributed algorithm, where n represents the nth iteration.

在本发明的一个实施例中,根据所述最优线性矩阵、所述优化后的中继编码矩阵和所述优化后的发射预编码矩阵求解所述窃听用户和合法用户接收端的通信速率,根据以下公式求解得出所述合法用户接收端的通过所述多跳宽带电力线传输数据的安全速率,且安全速率大于0;安全速率的公式为:In an embodiment of the present invention, the communication rate of the eavesdropping user and the receiving end of the legitimate user is calculated according to the optimal linear matrix, the optimized relay coding matrix and the optimized transmit precoding matrix, and according to The following formula is solved to obtain the safe rate of data transmission through the multi-hop broadband power line at the receiving end of the legitimate user, and the safe rate is greater than 0; the formula of the safe rate is:

RateDk=max(0,comDk)-max(0,comE),k=1,......kRateD k =max(0, comD k )-max(0, comE), k=1, ...... k

其中,comDk为所述合法用户接收端的通信速率,comE为所述窃听用户的通信速率。Wherein, comD k is the communication rate of the receiving end of the legitimate user, and comE is the communication rate of the eavesdropping user.

需要说明的是,根据香农理论可知,只有当安全速率大于0时才能实现安全通信。在接收端Dk和窃听用户的通信速率可以表示为:It should be noted that, according to Shannon's theory, secure communication can be achieved only when the secure rate is greater than 0. The communication rate between Dk at the receiving end and the eavesdropping user can be expressed as:

Figure BDA00023419782800001814
Figure BDA00023419782800001814

Figure BDA00023419782800001815
Figure BDA00023419782800001815

上述是对基于分布式总体均方误差MSE最小化的台区移动终端与电能表间基于电力线通信的多跳数据安全传输方法,根据上述理论原理,最终可实现多跳宽带电力线通信系统的物理层安全。The above is a multi-hop data security transmission method based on power line communication between the mobile terminal in the station area and the electric energy meter based on the distributed overall mean square error MSE minimization. According to the above theoretical principles, the physical layer of the multi-hop broadband power line communication system can finally be realized. Safety.

图8为本发明实施例所述的基于电力线通信的多跳数据安全传输方法安全速率和通信速率随信噪比的变化趋势图。FIG. 8 is a change trend diagram of the security rate and the communication rate with the signal-to-noise ratio of the multi-hop data security transmission method based on the power line communication according to the embodiment of the present invention.

如图8所示,所有的通信节点的通道数为3,与传统方法相比,从图8可以得知,所提出的算法可以能保证安全速率随着信噪比SNR增加而增加,三个链路的通信速率是接近的,安全速率的情况也是相似的,三个合法用户之间几乎没有差异。从图8可知实现的安全速率低于通信速率,是由于采用迭代分布式算法计算的目的矩阵会为了实现数据传输的安全性而牺牲部分通信速率。As shown in Fig. 8, the number of channels of all communication nodes is 3. Compared with the traditional method, it can be seen from Fig. 8 that the proposed algorithm can ensure that the safety rate increases with the increase of the signal-to-noise ratio (SNR), and the three The communication rates of the links are close, the situation of the safe rate is similar, and there is little difference between the three legitimate users. It can be seen from Figure 8 that the realized security rate is lower than the communication rate, because the purpose matrix calculated by the iterative distributed algorithm will sacrifice part of the communication rate in order to realize the security of data transmission.

图9为本发明实施例所述的基于电力线通信的多跳数据安全传输方法迭代分布算法的收敛性图。FIG. 9 is a convergence diagram of the iterative distribution algorithm of the multi-hop data secure transmission method based on power line communication according to an embodiment of the present invention.

根据K=3、4、5,M=3和PSk=Prm=20dB,所有通信节点的通道数为3。如图9所示可以得出,TMSE随着迭代次数增加逐渐减小,直至收敛。具体地,TMSE总是在2~4次迭代范围内收敛,另外,随着合法收发对的数目增加,该算法的收敛速度减小,且TMSE增加,这是由于更多的若合法收发对增加了系统复杂度和每个合法收发对之间的干扰,导致需要更多次的迭代来达到收敛,同时增加了TMSE。According to K=3, 4, 5, M=3 and P Sk =P rm =20dB, the number of channels of all communication nodes is 3. As shown in Figure 9, it can be concluded that TMSE gradually decreases with the increase of the number of iterations until convergence. Specifically, TMSE always converges within the range of 2 to 4 iterations. In addition, as the number of legal transceiver pairs increases, the convergence speed of the algorithm decreases, and TMSE increases. This is because more legitimate transceiver pairs increase. This reduces the system complexity and the interference between each legal transceiver pair, resulting in more iterations to achieve convergence and an increase in TMSE.

实施例二:Embodiment 2:

图10为本发明实施例所述的基于电力线通信的多跳数据安全传输装置的框架图。FIG. 10 is a frame diagram of a multi-hop data security transmission device based on power line communication according to an embodiment of the present invention.

如图10所示,本发明实施例提供了一种基于电力线通信的多跳数据安全传输装置,应用于台区的移动终端和电能表之间的通信数据传输,包括:As shown in FIG. 10 , an embodiment of the present invention provides a multi-hop data security transmission device based on power line communication, which is applied to communication data transmission between a mobile terminal in a station area and an electric energy meter, including:

实际信道模型单元101,用于根据获取多跳宽带电力线上各个通信信道的信道状态信息和通信参数,依据各个通信参数构建与每个通信信道一一对应的信道传递函数,各个通信参数结合MK模型对各个信道传递函数构建实际信道模型;The actual channel model unit 101 is used for obtaining channel state information and communication parameters of each communication channel on the multi-hop broadband power line, and constructing a channel transfer function corresponding to each communication channel according to each communication parameter, and each communication parameter is combined with the MK model Build the actual channel model for each channel transfer function;

电力线通信系统模型单元102,用于依据实际信道模型建立电力线通信系统模型;The power line communication system model unit 102 is used for establishing a power line communication system model according to the actual channel model;

建立目标函数单元103,用于将联合收发矩阵输入电力线通信系统模型中得到目标函数;establishing an objective function unit 103 for inputting the joint transceiver matrix into the power line communication system model to obtain an objective function;

计算单元104,用于根据目标函数采用迭代分布式算法进行优化求解,得到电力线通信系统模型上多跳数据安全传输的安全速率。The computing unit 104 is configured to use an iterative distributed algorithm to optimize and solve the problem according to the objective function, so as to obtain the safe rate of multi-hop data safe transmission on the power line communication system model.

需要说明的是,通信参数、MK模型、实际信道模型、电力线通信系统模型、联合收发矩阵、目标函数和对安全速率的求解已在实施例一一详细阐述,在本实施例中不在一一阐述It should be noted that the communication parameters, the MK model, the actual channel model, the power line communication system model, the joint transceiver matrix, the objective function and the solution to the safe rate have been described in detail in the embodiments, and will not be described in this embodiment.

本发明提供的一种基于电力线通信的多跳数据安全传输装置通过实际信道模型单元构建实际信道模型,采用建立目标函数单元将联合收发矩阵输入电力线通信系统模型中得到目标函数,再通过计算单元依据目标函数采用迭代分布式算法优化,求解得到多跳数据安全传输的安全速率,使得电力线在安全速率下进行数据传输,保证安全通信,预防窃听用户窃取数据。解决了现有技术中多跳宽带电力线通信系统下进行数据传输的安全性低,电力线通信系统中的通信数据易被偷窃的技术问题。A multi-hop data security transmission device based on power line communication provided by the present invention constructs an actual channel model through an actual channel model unit, uses an objective function establishment unit to input the joint transceiver matrix into the power line communication system model to obtain an objective function, and then uses the calculation unit to obtain an objective function based on The objective function is optimized by an iterative distributed algorithm, and the secure rate of multi-hop data secure transmission is obtained by solving, so that the power line can transmit data at a secure rate, ensure secure communication, and prevent eavesdropping users from stealing data. The technical problems in the prior art that the security of data transmission in the multi-hop broadband power line communication system is low and the communication data in the power line communication system is easy to be stolen are solved.

实施例三:Embodiment three:

本发明实施例提供了一种设备,包括处理器以及存储器;An embodiment of the present invention provides a device, including a processor and a memory;

所述存储器,用于存储程序代码,并将所述程序代码传输给所述处理器;the memory for storing program codes and transmitting the program codes to the processor;

所述处理器,用于根据程序代码中的指令执行上述所述的基于电力线通信的多跳数据安全传输方法。The processor is configured to execute the above-mentioned multi-hop data security transmission method based on power line communication according to the instructions in the program code.

需要说明的是,处理器用于根据所程序代码中的指令执行上述的一种基于电力线通信的多跳数据安全传输方法实施例中的步骤,例如图1所示的步骤S1至S4。或者,处理器执行计算机程序时实现上述各装置实施例中各模块/单元的功能,例如图10所示单元101至104的功能。It should be noted that the processor is configured to execute the steps in the above-mentioned embodiment of the method for secure multi-hop data transmission based on power line communication according to the instructions in the program code, such as steps S1 to S4 shown in FIG. 1 . Alternatively, when the processor executes the computer program, the functions of the modules/units in the foregoing device embodiments, for example, the functions of the units 101 to 104 shown in FIG. 10 , are implemented.

示例性的,计算机程序可以被分割成一个或多个模块/单元,一个或者多个模块/单元被存储在存储器中,并由处理器执行,以完成本申请。一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述计算机程序在终端设备中的执行过程。Exemplarily, a computer program may be divided into one or more modules/units, and the one or more modules/units are stored in a memory and executed by a processor to complete the present application. One or more modules/units may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer program in the terminal device.

终端设备可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。终端设备可包括,但不仅限于,处理器、存储器。本领域技术人员可以理解,并不构成对终端设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如终端设备还可以包括输入输出设备、网络接入设备、总线等。The terminal device may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server. The terminal device may include, but is not limited to, a processor and a memory. Those skilled in the art can understand that it does not constitute a limitation on the terminal device, and may include more or less components than the one shown, or combine some components, or different components, for example, the terminal device may also include input and output devices, Network access equipment, bus, etc.

所称处理器可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf processors Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.

存储器可以是终端设备的内部存储单元,例如终端设备的硬盘或内存。存储器也可以是终端设备的外部存储设备,例如终端设备上配备的插接式硬盘,智能存储卡(SmartMedia Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,存储器还可以既包括终端设备的内部存储单元也包括外部存储设备。存储器用于存储计算机程序以及终端设备所需的其他程序和数据。存储器还可以用于暂时地存储已经输出或者将要输出的数据。The memory may be an internal storage unit of the terminal device, such as a hard disk or memory of the terminal device. The memory may also be an external storage device of the terminal device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash memory card (Flash Card) and the like equipped on the terminal device. Further, the memory may also include both an internal storage unit of the terminal device and an external storage device. The memory is used to store computer programs and other programs and data required by the terminal device. The memory may also be used to temporarily store data that has been or will be output.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system, device and unit described above may refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions for causing a device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .

以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: The technical solutions described in the embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (9)

1.一种基于电力线通信的多跳数据安全传输方法,应用于台区的移动终端和电能表之间的通信数据传输,其特征在于,包括以下步骤:1. a multi-hop data security transmission method based on power line communication, applied to the communication data transmission between the mobile terminal and the electric energy meter in the station area, is characterized in that, comprises the following steps: S1.获取多跳宽带电力线上各个通信信道的信道状态信息和通信参数,依据各个所述通信参数构建与每个所述通信信道一一对应的信道传递函数,各个所述通信参数结合MK模型对各个所述信道传递函数构建实际信道模型;S1. Obtain the channel state information and communication parameters of each communication channel on the multi-hop broadband power line, and construct a channel transfer function corresponding to each of the communication channels according to each of the communication parameters. Each of the communication parameters is combined with the MK model. each of the channel transfer functions constructs an actual channel model; S2.依据所述实际信道模型建立电力线通信系统模型;S2. Establish a power line communication system model according to the actual channel model; S3.将联合收发矩阵输入所述电力线通信系统模型中得到目标函数;S3. Input the joint transceiver matrix into the power line communication system model to obtain the objective function; S4.对所述目标函数采用迭代分布式算法进行优化求解,得到所述电力线通信系统模型上多跳数据安全传输的安全速率;S4. adopting an iterative distributed algorithm to optimize and solve the objective function to obtain a safe rate of multi-hop data safe transmission on the power line communication system model; 所述联合收发矩阵包括发射预编码矩阵、中继编码矩阵和接收滤波矩阵;所述目标函数包括各发射功率的约束、通信通道数的约束以及对窃听用户均方误差的约束,在满足发射端和中断端的传输功率约束,所述目标函数为:The joint transceiver matrix includes a transmission precoding matrix, a relay coding matrix and a reception filtering matrix; the objective function includes the constraints of each transmission power, the number of communication channels, and the constraint on the mean square error of the eavesdropping user. and the transmission power constraint of the interrupt side, the objective function is:
Figure FDA0003046282210000011
Figure FDA0003046282210000011
s.t.:MSEe,k≥εk st: MSE e, k ≥ ε k
Figure FDA0003046282210000012
Figure FDA0003046282210000012
Figure FDA0003046282210000013
Figure FDA0003046282210000013
其中,K为不小于1的自然数,{Uk}为所述发射预编码矩阵,{Vm}为所述中继编码矩阵,{Wk}为所述接收滤波矩阵,{We,k}为所述窃听用户的接收滤波矩阵,MSEk为接收端对所述多跳宽带电力线上传输数据的均方误差,MSEe,k为所述窃听用户对传输数据的均方误差,
Figure FDA0003046282210000014
为发射端的发射功率,
Figure FDA0003046282210000015
为中断端的发射功率,Psk为发射端的最大发射功率,Prm为中断端的最大发射功率,εk为MSEe,k的最小值。
Wherein, K is a natural number not less than 1, {U k } is the transmit precoding matrix, {V m } is the relay coding matrix, {W k } is the receiving filter matrix, {W e,k } is the reception filter matrix of the eavesdropping user, MSE k is the mean square error of the receiving end to the data transmitted on the multi-hop broadband power line, MSE e, k is the mean square error of the eavesdropping user to the transmitted data,
Figure FDA0003046282210000014
is the transmit power of the transmitter,
Figure FDA0003046282210000015
is the transmitting power of the interrupted end, P sk is the maximum transmitting power of the transmitting end, P rm is the maximum transmitting power of the interrupting end, ε k is the minimum value of MSE e,k .
2.根据权利要求1所述的基于电力线通信的多跳数据安全传输方法,其特征在于,所述通信参数包括各个所述通信信道的路径数量、路径的传输距离、信号频率和通信节点;其中,所述通信节点能用于窃听用户窃取所述通信信道上的传输数据。2. The method for secure multi-hop data transmission based on power line communication according to claim 1, wherein the communication parameters include the number of paths of each of the communication channels, the transmission distance of the paths, the signal frequency and the communication node; wherein , the communication node can be used to eavesdrop on the user to steal the transmission data on the communication channel. 3.根据权利要求2所述的基于电力线通信的多跳数据安全传输方法,其特征在于,根据如下公式作为多跳宽带电力线的所述实际信道模型:3. the multi-hop data security transmission method based on power line communication according to claim 2, is characterized in that, according to following formula as the described actual channel model of multi-hop broadband power line:
Figure FDA0003046282210000021
Figure FDA0003046282210000021
Figure FDA0003046282210000022
Figure FDA0003046282210000022
其中,i为路径的编号,gi为每条路径的加权系数且数值为不大于1的自然数,A(f,di)为所述通信信道的衰减系数,α0、α1和k均是衰减参数,k为0.5~1,di为第i条路径的传输距离,τi为路径i上的时延
Figure FDA0003046282210000023
c0为光速,εr为所述多跳宽带电力线的介电常数。
Among them, i is the number of the path, gi is the weighting coefficient of each path and the value is a natural number not greater than 1, A(f, d i ) is the attenuation coefficient of the communication channel, α 0 , α 1 and k are all is the attenuation parameter, k is 0.5 to 1, d i is the transmission distance of the i-th path, and τ i is the delay on path i
Figure FDA0003046282210000023
c 0 is the speed of light, and ε r is the dielectric constant of the multi-hop broadband power line.
4.根据权利要求2所述的基于电力线通信的多跳数据安全传输方法,其特征在于,所述电力线通信系统模型包括发射端、中继和接收端,基于加性高斯白噪声对所有的用于接收数据的所述通信节点的均值为零和方差σ2进行处理,得到所述发射端、所述中继和所述接收端它们之间链路的信道矩阵。4. The multi-hop data security transmission method based on power line communication according to claim 2, wherein the power line communication system model comprises a transmitter, a relay and a receiver, and based on additive white Gaussian noise, the The mean value of the communication node receiving the data is zero and the variance σ 2 is processed to obtain the channel matrix of the link between the transmitting end, the relay and the receiving end. 5.根据权利要求1所述的基于电力线通信的多跳数据安全传输方法,其特征在于,根据所述迭代分布式算法对所述目标函数进行优化求解的步骤包括:5. The multi-hop data security transmission method based on power line communication according to claim 1, wherein the step of optimizing and solving the objective function according to the iterative distributed algorithm comprises: S41.对所述发射预编码矩阵和所述中继编码矩阵的矩阵变量设置初始值,并采用所述迭代分布式算法计算出所述接收滤波矩阵的最优线性矩阵;S41. Set initial values for the matrix variables of the transmit precoding matrix and the relay coding matrix, and use the iterative distributed algorithm to calculate the optimal linear matrix of the reception filter matrix; S42.根据所述目标函数,求解得到所述窃听用户的优化接收滤波矩阵;S42. according to the objective function, solve and obtain the optimized reception filter matrix of the eavesdropping user; S43.基于所述最优线性矩阵、所述优化接收滤波矩阵和在所述步骤S41迭代得到的所述中继编码矩阵,再采用所述迭代分布式算法计算得到优化后的发射预编码矩阵;S43. Based on the optimal linear matrix, the optimized reception filter matrix, and the relay coding matrix obtained iteratively in the step S41, calculate the optimized transmit precoding matrix by using the iterative distributed algorithm; S44,基于所述最优线性矩阵、所述优化接收滤波矩阵和所述优化后的发射预编码矩阵,采用所述迭代分布式算法计算得到优化后的中继编码矩阵。S44. Based on the optimal linear matrix, the optimized reception filter matrix, and the optimized transmit precoding matrix, calculate and obtain the optimized relay coding matrix by using the iterative distributed algorithm. 6.根据权利要求5所述的基于电力线通信的多跳数据安全传输方法,其特征在于,根据所述迭代分布式算法计算步骤包括:6. The multi-hop data security transmission method based on power line communication according to claim 5, wherein the calculation step according to the iterative distributed algorithm comprises: S01.初始化,设置迭代计数器n=0,接收端的均方误差TMSE(n)=0,所述发射预编码矩阵和所述中继编码矩阵的矩阵变量设置初始值为
Figure FDA0003046282210000024
Figure FDA0003046282210000025
S01. Initialize, set the iteration counter n=0, the mean square error TMSE (n) =0 of the receiving end, the matrix variables of the transmit precoding matrix and the relay coding matrix are set to initial value
Figure FDA0003046282210000024
and
Figure FDA0003046282210000025
S02.根据所述目标函数获得的所述发射预编码矩阵
Figure FDA0003046282210000026
和所述中继编码矩阵
Figure FDA0003046282210000027
计算得到所述窃听用户的接收滤波矩阵
Figure FDA0003046282210000028
和所述接收滤波矩阵
Figure FDA0003046282210000029
S02. the transmit precoding matrix obtained according to the objective function
Figure FDA0003046282210000026
and the relay coding matrix
Figure FDA0003046282210000027
Calculate the receiving filter matrix of the eavesdropping user
Figure FDA0003046282210000028
and the receive filter matrix
Figure FDA0003046282210000029
S03.根据所述步骤S02中迭代获得的
Figure FDA00030462822100000210
Figure FDA00030462822100000211
Figure FDA00030462822100000212
对所述目标函数进行优化,得到更新后的发射预编码矩阵
Figure FDA0003046282210000031
S03. Iteratively obtained according to the step S02
Figure FDA00030462822100000210
and
Figure FDA00030462822100000211
and
Figure FDA00030462822100000212
Optimizing the objective function to obtain an updated transmit precoding matrix
Figure FDA0003046282210000031
S04.根据获得的
Figure FDA0003046282210000032
Figure FDA0003046282210000033
对所述目标函数进行优化,更新得到
Figure FDA0003046282210000034
并计算所述接收端的均方误差TMSE(n+1)
S04. According to the obtained
Figure FDA0003046282210000032
and
Figure FDA0003046282210000033
The objective function is optimized and updated to get
Figure FDA0003046282210000034
And calculate the mean square error TMSE (n+1) of the described receiving end;
S05.若TMSE(n+1)-TMSE(n)≤ξ,结束所述迭代分布式算法计算;若TMSE(n+1)-TMSE(n)>ξ,n=n+1,执行所述步骤S02;S05. If TMSE (n+1) - TMSE (n) ≤ ξ, end the iterative distributed algorithm calculation; if TMSE (n+1) - TMSE (n) >ξ, n=n+1, execute the above Step S02; 其中,ξ为给定的前后两次迭代的数值差。Among them, ξ is the numerical difference between the given two iterations before and after.
7.根据权利要求5所述的基于电力线通信的多跳数据安全传输方法,其特征在于,根据所述最优线性矩阵、所述优化后的中继编码矩阵和所述优化后的发射预编码矩阵求解所述窃听用户和合法用户接收端的通信速率,根据以下公式求解得出所述合法用户接收端的通过所述多跳宽带电力线传输数据的安全速率,且安全速率大于0;安全速率的公式为:7. The multi-hop data security transmission method based on power line communication according to claim 5, wherein, according to the optimal linear matrix, the optimized relay coding matrix and the optimized transmit precoding Matrix solves the communication rate of the eavesdropping user and the legitimate user receiving end, and obtains the security rate of the legitimate user receiving end through the multi-hop broadband power line to transmit data according to the following formula, and the security rate is greater than 0; the formula of the security rate is : RateDk=max(0,comDk)-max(0,comE),k=1,......kRateD k =max(0, comD k )-max(0, comE), k=1, ...... k 其中,comDk为所述合法用户接收端的通信速率,comE为所述窃听用户的通信速率。Wherein, comD k is the communication rate of the receiving end of the legitimate user, and comE is the communication rate of the eavesdropping user. 8.一种基于电力线通信的多跳数据安全传输装置,应用于台区的移动终端和电能表之间的通信数据传输,其特征在于,包括:8. A multi-hop data security transmission device based on power line communication, applied to the communication data transmission between the mobile terminal and the electric energy meter in the station area, is characterized in that, comprising: 实际信道模型单元,用于根据获取多跳宽带电力线上各个通信信道的信道状态信息和通信参数,依据各个所述通信参数构建与每个所述通信信道一一对应的信道传递函数,各个所述通信参数结合MK模型对各个所述信道传递函数构建实际信道模型;The actual channel model unit is used to construct a channel transfer function corresponding to each of the communication channels according to the channel state information and communication parameters of each communication channel on the multi-hop broadband power line, and each of the communication channels. The communication parameters are combined with the MK model to construct an actual channel model for each of the channel transfer functions; 电力线通信系统模型单元,用于依据所述实际信道模型建立电力线通信系统模型;a power line communication system model unit, configured to establish a power line communication system model according to the actual channel model; 建立目标函数单元,用于将联合收发矩阵输入所述电力线通信系统模型中得到目标函数;establishing an objective function unit for inputting the joint transceiver matrix into the power line communication system model to obtain an objective function; 计算单元,用于根据所述目标函数采用迭代分布式算法进行优化求解,得到所述电力线通信系统模型上多跳数据安全传输的安全速率;a computing unit, configured to use an iterative distributed algorithm to optimize and solve according to the objective function, and obtain a safe rate of multi-hop data safe transmission on the power line communication system model; 所述联合收发矩阵包括发射预编码矩阵、中继编码矩阵和接收滤波矩阵;所述目标函数包括各发射功率的约束、通信通道数的约束以及对窃听用户均方误差的约束,在满足发射端和中断端的传输功率约束,所述目标函数为:The joint transceiver matrix includes a transmission precoding matrix, a relay coding matrix and a reception filtering matrix; the objective function includes the constraints of each transmission power, the number of communication channels, and the constraint on the mean square error of the eavesdropping user. and the transmission power constraint of the interrupt side, the objective function is:
Figure FDA0003046282210000041
Figure FDA0003046282210000041
s.t.:MSEe,k≥εk st: MSE e, k ≥ ε k
Figure FDA0003046282210000042
Figure FDA0003046282210000042
Figure FDA0003046282210000043
Figure FDA0003046282210000043
其中,K为不小于1的自然数,{Uk}为所述发射预编码矩阵,{Vm}为所述中继编码矩阵,{Wk}为所述接收滤波矩阵,{We,k}为所述窃听用户的接收滤波矩阵,MSEk为接收端对所述多跳宽带电力线上传输数据的均方误差,MSEe,k为所述窃听用户对传输数据的均方误差,
Figure FDA0003046282210000044
为发射端的发射功率,
Figure FDA0003046282210000045
为中断端的发射功率,Psk为发射端的最大发射功率,Prm为中断端的最大发射功率,εk为MSEe,k的最小值。
Wherein, K is a natural number not less than 1, {U k } is the transmit precoding matrix, {V m } is the relay coding matrix, {W k } is the receiving filter matrix, {W e,k } is the reception filter matrix of the eavesdropping user, MSE k is the mean square error of the receiving end to the data transmitted on the multi-hop broadband power line, MSE e, k is the mean square error of the eavesdropping user to the transmitted data,
Figure FDA0003046282210000044
is the transmit power of the transmitter,
Figure FDA0003046282210000045
is the transmitting power of the interrupted end, P sk is the maximum transmitting power of the transmitting end, P rm is the maximum transmitting power of the interrupting end, ε k is the minimum value of MSE e,k .
9.一种基于电力线通信的多跳数据安全传输设备,其特征在于,包括处理器以及存储器;9. A multi-hop data security transmission device based on power line communication, characterized in that it comprises a processor and a memory; 所述存储器,用于存储程序代码,并将所述程序代码传输给所述处理器;the memory for storing program codes and transmitting the program codes to the processor; 所述处理器,用于根据所述程序代码中的指令执行权利要求1-7任一项所述的基于电力线通信的多跳数据安全传输方法。The processor is configured to execute the multi-hop data secure transmission method based on power line communication according to any one of claims 1-7 according to the instructions in the program code.
CN201911380136.9A 2019-12-27 2019-12-27 Method, device and device for secure multi-hop data transmission based on power line communication Active CN111049552B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911380136.9A CN111049552B (en) 2019-12-27 2019-12-27 Method, device and device for secure multi-hop data transmission based on power line communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911380136.9A CN111049552B (en) 2019-12-27 2019-12-27 Method, device and device for secure multi-hop data transmission based on power line communication

Publications (2)

Publication Number Publication Date
CN111049552A CN111049552A (en) 2020-04-21
CN111049552B true CN111049552B (en) 2021-06-29

Family

ID=70239346

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911380136.9A Active CN111049552B (en) 2019-12-27 2019-12-27 Method, device and device for secure multi-hop data transmission based on power line communication

Country Status (1)

Country Link
CN (1) CN111049552B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112714065B (en) * 2021-01-13 2022-02-25 广州技象科技有限公司 Multi-stage jump transmission method and device for electricity consumption data
CN114285438B (en) * 2021-12-19 2023-08-22 广东电力通信科技有限公司 Dual-mode communication configuration method for 230M and power line carrier terminal
CN114722906A (en) * 2022-03-09 2022-07-08 国网湖南省电力有限公司 Low-voltage distribution network HPLC communication channel feature classification method and device
CN115733835B (en) * 2023-01-10 2023-04-28 南京科讯次元信息科技有限公司 Unidirectional oversized file transmission data processing system
CN116346276B (en) * 2023-03-27 2026-03-06 广州羊城通有限公司 A method, apparatus, and equipment for preventing physical layer data theft during data transmission.
CN118157798A (en) * 2024-04-10 2024-06-07 广东电网有限责任公司阳江供电局 A modeling method for low-voltage power line power frequency communication channel

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103560843A (en) * 2013-11-08 2014-02-05 成都立鑫新技术科技有限公司 Power line information monitoring method and monitoring device thereof
CN107888251A (en) * 2017-08-25 2018-04-06 国网山东省电力公司莱芜供电公司 The physical layer communication method and apparatus of multiple-input and multiple-output electric line communication system
CN108551357A (en) * 2018-04-19 2018-09-18 南方电网科学研究院有限责任公司 Encoding and decoding method and device for a power line communication system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102437867B (en) * 2011-10-19 2014-01-15 上海炜呈智能电力科技有限责任公司 Power line communication equipment based on channel cognitive technology
US9495865B2 (en) * 2014-11-24 2016-11-15 At&T Intellectual Property I, L.P. Power-line communications
CN109525984B (en) * 2018-10-16 2022-03-01 西安电子科技大学 A method for improving the security rate of an untrusted relay energy-carrying communication system
CN110572872B (en) * 2019-09-05 2022-05-17 华北电力大学(保定) Secrecy Capacity Calculation Method and Optimization Method for Dual-Media Untrusted Relay System

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103560843A (en) * 2013-11-08 2014-02-05 成都立鑫新技术科技有限公司 Power line information monitoring method and monitoring device thereof
CN107888251A (en) * 2017-08-25 2018-04-06 国网山东省电力公司莱芜供电公司 The physical layer communication method and apparatus of multiple-input and multiple-output electric line communication system
CN108551357A (en) * 2018-04-19 2018-09-18 南方电网科学研究院有限责任公司 Encoding and decoding method and device for a power line communication system

Also Published As

Publication number Publication date
CN111049552A (en) 2020-04-21

Similar Documents

Publication Publication Date Title
CN111049552B (en) Method, device and device for secure multi-hop data transmission based on power line communication
CN104683282B (en) A kind of interference rejection combining method and device for supporting transmitting diversity
CN107276716B (en) Method and apparatus for decoding data signal
CN108234072B (en) Method and apparatus for sub-block decoding of a data signal
TW201806421A (en) Method of power allocation and base station using the same
Pittolo et al. Physical layer security in PLC networks: Achievable secrecy rate and channel effects
CN109150855B (en) Robust wireless communication safety transmission method for optimizing power resources
CN108781100A (en) A kind of transmission diversity method, equipment and system
CN106953671A (en) Signal multiple access method and device in mobile communication
Nouri et al. Information theoretical performance analysis and optimisation of cooperative underwater acoustic communication systems
CN105577316B (en) The method of precoding and base station
CN107070520B (en) D2D communication interference alignment method based on cascade precoding and ESINR (orthogonal inverse Fourier transform) criterion
CN109039412B (en) Physical layer safe transmission method based on random beam forming
CN118590889A (en) A reliable transmission method based on rate division multiple access network in joint eavesdropping scenario
Oechtering et al. Optimal transmit strategies in multi-antenna bidirectional relaying
CN108365916B (en) Method and apparatus for sub-block decoding data signal
CN105636188A (en) Power allocation method of cognitive decode-and-forward relay system
CN105337701A (en) Method and device for link adaptation for downlink multi-user MIMO system
CN107888251B (en) Physical layer communication method of multiple input multiple output power line communication system
CN111404588B (en) A physical layer security transmission method for full-duplex cognitive eavesdropping network
CN108809378A (en) Wireless take based on the input of limited character set signal can MIMO method for precoding
Tian et al. Relay-aided interference alignment for the X channel with limited CSI
CN104184689B (en) The blind interference alignment method of SISO systems
CN114390658B (en) Power distribution method and base station in non-orthogonal multiple access system
CN112787733B (en) A bidirectional relay scheme adaptive selection method, system, storage medium and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Room 501-503, annex building, Huaye building, No.1-3 Chuimao new street, Xihua Road, Yuexiu District, Guangzhou City, Guangdong Province 510000

Applicant after: China Southern Power Grid Power Technology Co.,Ltd.

Address before: Room 501-503, annex building, Huaye building, No.1-3 Chuimao new street, Xihua Road, Yuexiu District, Guangzhou City, Guangdong Province 510000

Applicant before: GUANGDONG ELECTRIC POWER SCIENCE RESEARCH INSTITUTE ENERGY TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant