CN104735721B - Method based on compressed sensing technology image signal transmission in multi-hop wireless network - Google Patents
Method based on compressed sensing technology image signal transmission in multi-hop wireless network Download PDFInfo
- Publication number
- CN104735721B CN104735721B CN201310724064.1A CN201310724064A CN104735721B CN 104735721 B CN104735721 B CN 104735721B CN 201310724064 A CN201310724064 A CN 201310724064A CN 104735721 B CN104735721 B CN 104735721B
- Authority
- CN
- China
- Prior art keywords
- node
- link
- transmission
- description
- packets
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 17
- 238000005516 engineering process Methods 0.000 title claims abstract description 13
- 230000008054 signal transmission Effects 0.000 title abstract description 9
- 230000005540 biological transmission Effects 0.000 claims abstract description 123
- 230000008901 benefit Effects 0.000 claims abstract description 26
- 238000005070 sampling Methods 0.000 claims description 42
- 239000011159 matrix material Substances 0.000 claims description 33
- 235000008694 Humulus lupulus Nutrition 0.000 claims description 6
- 238000004806 packaging method and process Methods 0.000 claims description 5
- 230000008859 change Effects 0.000 claims description 3
- 230000009467 reduction Effects 0.000 claims description 3
- 238000004364 calculation method Methods 0.000 claims description 2
- 238000005457 optimization Methods 0.000 claims 1
- 230000000694 effects Effects 0.000 abstract description 10
- 238000004422 calculation algorithm Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 2
- 238000002474 experimental method Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000052 comparative effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/06—Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
- H04W28/065—Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/02—Communication route or path selection, e.g. power-based or shortest path routing
- H04W40/12—Communication route or path selection, e.g. power-based or shortest path routing based on transmission quality or channel quality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/12—Wireless traffic scheduling
- H04W72/1221—Wireless traffic scheduling based on age of data to be sent
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域technical field
本发明涉及的是一种无线通信技术领域的方法,尤其是一种以网络输出最优为目的的图像数据编码打包、数据包路由调度的算法,具体涉及在多跳无线网络中基于压缩感知技术传输图像信号的方法。The present invention relates to a method in the technical field of wireless communication, in particular to an algorithm for encoding and packaging image data and routing and scheduling data packets for the purpose of optimizing network output, and specifically relates to compressive sensing technology based on multi-hop wireless networks A method of transmitting image signals.
背景技术Background technique
随着无线网络技术的发展、移动设备的普及,人们对的移动数据服务的需求日益增长。因而大数据、实时性的移动数据传输越来越多的受到关注。这个话题不仅在学术上得到了广泛的研究,在工业应用领域的应用也颇受重视。有效地利用现有资源为用户提供实时性更好、容量更大的移动数据服务是一个亟待解决的重要课题。With the development of wireless network technology and the popularization of mobile devices, people's demand for mobile data services is increasing day by day. Therefore, big data and real-time mobile data transmission are attracting more and more attention. This topic has been extensively studied not only academically, but also in the field of industrial applications. Effectively using existing resources to provide users with mobile data services with better real-time performance and larger capacity is an important issue that needs to be solved urgently.
一方面,随着数据量的增加、网络负荷的加重,数据包的路由调度问题将会变得越来越复杂。相对于文字信号而言,图像信号(如图片、视频等)的数据量更大、实时性要求更高,而图像信号恰恰是提升用户体验不可或缺的一部分,对传输图像信号的传输需求将会日益增加。另一方面,之前的发明大多只考虑了信源端编码、接收端解码的问题,或者只考虑了数据包在网络中的路由调度问题。一套编码解码和路由调度互相适配的算法,在编码和传输中优化图像信号的传输性能,可以改善网络传输效果、提高网络传输能力。On the one hand, as the amount of data increases and the network load increases, the problem of routing and scheduling data packets will become more and more complicated. Compared with text signals, image signals (such as pictures, videos, etc.) have larger data volumes and higher real-time requirements, and image signals are just an indispensable part of improving user experience. The transmission requirements for transmitting image signals will increase will increase day by day. On the other hand, most of the previous inventions only considered the problem of encoding at the source end and decoding at the receiving end, or only considered the problem of routing and scheduling data packets in the network. A set of mutually adaptive algorithms for encoding, decoding and routing scheduling optimizes the transmission performance of image signals during encoding and transmission, which can improve network transmission effects and network transmission capabilities.
发明内容Contents of the invention
针对现有技术中的缺陷,本发明的目的是提供一种方法来解决在多跳无线网络中的传输图像信号的问题。本发明综合考虑了图像信号传输中的编码解码和路由调度问题,并具有很强的可实现性,能被广泛地运用到现在的无线网络传输中。本发明能帮助我们提高网络传输能力,有效改善图像信号传输实时性和传输效果。Aiming at the defects in the prior art, the purpose of the present invention is to provide a method to solve the problem of image signal transmission in a multi-hop wireless network. The invention comprehensively considers the problems of coding, decoding and routing scheduling in image signal transmission, has strong realizability, and can be widely used in current wireless network transmission. The invention can help us improve the network transmission capacity, and effectively improve the real-time and transmission effect of image signal transmission.
根据本发明提供的在多跳无线网络中基于压缩感知技术传输图像信号的方法,包括如下步骤:According to the method for transmitting an image signal based on compressed sensing technology in a multi-hop wireless network provided by the present invention, the method includes the following steps:
第一步,编码器利用压缩感知方式将原信号打包成若干个信息量相当、重要性相同的描述包;In the first step, the encoder uses compressed sensing to package the original signal into several description packages with the same amount of information and the same importance;
第二步,计算每条传输链路的传输效益;The second step is to calculate the transmission benefit of each transmission link;
第三步,根据传输链路的传输效益确定需要建立的链路连接;The third step is to determine the link connection to be established according to the transmission benefit of the transmission link;
第四步,按调度方案建立传输链路并开始传输描述包。The fourth step is to establish the transmission link according to the scheduling scheme and start transmitting the description package.
优选地,所述步骤1,具体为:Preferably, the step 1 is specifically:
首先,编码器对大小为N'×N'的原图像信号F进行M(M<N)次采样,得到采样值ym,其中,N=N'×N',F=[Fi,j](i,j≤N'),Fi,j为原始图像对应点上的值;采样的实质是测量原图像信号F=[Fi,j]在采样矩阵φ'm(m=1,2,...,M)上的投影First, the encoder performs M (M<N) sampling on the original image signal F of size N'×N' to obtain the sampled value y m , where N=N'×N', F=[F i,j ](i,j≤N'), F i,j is the value on the corresponding point of the original image; the essence of sampling is to measure the original image signal F=[F i,j ] in the sampling matrix φ' m (m=1, 2,...,M) projection on
ym=F,φ'm y m = F, φ' m
其中,m=1,2,...,M表示了采样次数,原图像信号F=[Fi,j]和采样矩阵的大小都为N'×N';Among them, m=1,2,...,M represents the sampling times, the original image signal F=[F i,j ] and the sampling matrix The size of each is N'×N';
将二维图像信号F=[Fi,j]按列对叠成一维列向量x=[x1,…xN],(n=1,2,...,N),其中N=N'×N';并且将二维采样矩阵φ'm按列转置并堆叠为一维行向量φm,则有Stack the two-dimensional image signal F=[F i,j ] into one-dimensional column vector x=[x 1 ,…x N ],(n=1,2,…,N), where N=N '×N'; and the two-dimensional sampling matrix φ' m is transposed by column and stacked into a one-dimensional row vector φ m , then we have
ym=F,φ'm=φmx;y m = F, φ' m = φ m x;
y=Φxy=Φx
其中,采样矩阵Φ是一个服从±1等概同分布(i.i.d.)的随机矩阵;Among them, the sampling matrix Φ is a random matrix that obeys the same approximate distribution (i.i.d.) of ±1;
然后,编码器将采样值ym及其对应的采样矩阵φ'm的信息打包成为一个描述包;Then, the encoder packs the information of the sampling value y m and its corresponding sampling matrix φ' m into a description package;
采样矩阵Φ的信息是发送端和接收端共享的,即采样矩阵Φ是预存在发送端的解码器和接收端的解码器中的,编码器在打包描述包的时候只需要在描述包中指出采样矩阵φ'm对应的采样次数m即可。The information of the sampling matrix Φ is shared between the sending end and the receiving end, that is, the sampling matrix Φ is pre-stored in the decoder of the sending end and the decoder of the receiving end, and the encoder only needs to indicate the sampling matrix in the description package when packaging the description package The number of samples m corresponding to φ' m is sufficient.
优选地,所述步骤二,具体为:Preferably, the second step is specifically:
(1)计算链路的传输需求因子(1) Calculate the transmission demand factor of the link
设某一时刻t,对于包含发送节点Nt和接收节点Nr的链路l,发送节点Nt缓存中的描述包集合为接收节点Nr缓存中的描述包集合为假设每个节点最多只能转发同一个接收到的描述包一次;那么,节点缓存中将会有两种不同的描述包:一种是节点接收到的并且已经转发过的描述包,称为灰包;另一种是节点接收到的但尚未转发过的描述包,称为白包;记发送节点Nt缓存中的灰包、白包的集合分别为则有Assuming a certain time t, for a link l including sending node N t and receiving node N r , the set of description packets in the cache of sending node N t is The set of description packets in the cache of the receiving node N r is Assuming that each node can only forward the same received description packet at most once; then, there will be two different description packets in the node cache: one is the description packet received by the node and has been forwarded, called gray package; the other is the description package received by the node but not yet forwarded, which is called a white package; note that the collections of the gray package and the white package in the cache of the sending node N t are respectively then there is
若建立链路l,则可供传输的数据包是那些属于集合而不属于集合的描述包的集合;链路l可供传输的数据包的集合UP为If link l is established, the packets available for transmission are those belonging to the set not part of the set The set of description packets; the set UP of data packets available for transmission on the link l is
考虑到链路传输容量,则每个传输时隙中链路l可以传输的数据包个数p为Considering the transmission capacity of the link, the number p of data packets that link l can transmit in each transmission time slot is
p=min(|UP|,q(l))p=min(| UP |,q(l))
其中,q(l)=q(Nt,Nr)表示一个传输时隙中链路l可以传输的描述包个数,|UP|表示集合UP中包含的描述包的个数;Among them, q(l)=q(N t , N r ) represents the number of description packets that link l can transmit in a transmission time slot, and | UP | represents the number of description packets contained in the set UP ;
若建立链路l,在接收节点处复原图像的均方根误差的减少量ΔRMS为If link l is established, the reduction ΔRMS of the root mean square error of the restored image at the receiving node is
其中,函数fRMS(·)即为压缩感知复原图像的均方根误差RMS与用于复原的采样值个数的关系;Wherein, the function f RMS ( ) is the relationship between the root mean square error RMS of the compressed sensing restored image and the number of sampling values used for restoration;
定义该时刻t链路l的传输需求因子TDF(l)为Define the transmission demand factor TDF(l) of link l at this moment t as
链路的传输需求因子衡量了链路即将传输的数据包的重要性;The transmission demand factor of the link measures the importance of the data packets that the link will transmit;
(2)计算链路的传输供应因子;(2) Calculate the transmission supply factor of the link;
(3)计算链路的传输收益、传输成本(3) Calculate the transmission revenue and transmission cost of the link
定义链路l的传输收益Revenue(l)为链路传输需求因子Revenue(l)与传输供应因子TSF(l)之积;Define the transmission revenue Revenue(l) of link l as the product of link transmission demand factor Revenue(l) and transmission supply factor TSF(l);
Revenue(l)=TDF(l)·TSF(l)Revenue(l)=TDF(l)·TSF(l)
定义链路l的传输成本Cost(l)为l的干扰集合中链路的传输收益,即Define the transmission cost Cost(l) of link l as the transmission revenue of the link in the interference set of l, namely
其中,链路l的干扰集合Sint(l)为因链路l带来的干扰而无法正常工作的链路集合,即Among them, the interference set S int (l) of link l is the set of links that cannot work normally due to the interference brought by link l, namely
Sint(l)={lint|lint≠l,Dis(Nt(lint),Nr(l))<r,Dis(Nr(lint),Nt(l))<r}S int (l)={l int |l int ≠l,Dis(N t (l int ),N r (l))<r,Dis(N r (l int ),N t (l))<r }
其中,Nt(l)为链路l的发送节点,Nr(l)为链路l的接收节点,Dis(Na,Nb)为两节点Na、Nb之间的地理距离或信道质量,r为节点的干扰半径或信道质量的阈值,lint表示对于链路l会造成干扰的链路;Among them, N t (l) is the sending node of link l, N r (l) is the receiving node of link l, Dis(N a , N b ) is the geographical distance or Channel quality, r is the interference radius of the node or the threshold of channel quality, l int represents the link that will cause interference to link l;
(4)得到链路的传输效益(4) Obtain the transmission benefit of the link
链路l的传输效益Utility(l)定义为The transmission benefit Utility(l) of link l is defined as
优选地,所述计算链路的传输供应因子,具体为:Preferably, the calculation of the transmission supply factor of the link is specifically:
首先计算各中继节点的节点权重,具体为:First calculate the node weight of each relay node, specifically:
(a)每个中继节点的节点性能值Q初始化为0,节点权重值W初始化为0,节点到接收端节点的跳数H初始化为正无穷;接收端节点的Q为正无穷,W为正无穷,H为0;(a) The node performance value Q of each relay node is initialized to 0, the node weight value W is initialized to 0, and the hop number H from the node to the receiving node is initialized to positive infinity; the Q of the receiving node is positive infinity, and W is Positive infinity, H is 0;
(b)依次遍历除接收端节点以外的所有节点Ni,若有与节点Ni直接相连的节点Nj满足(b) Traverse all nodes N i in turn except the receiving node, if there is a node N j directly connected to node N i that satisfies
则but
Q(Ni)←min(q(Ni,Nj),Q(Nj))Q(N i )←min(q(N i ,N j ),Q(N j ))
H(Ni)←1+H(Nj)H(N i )←1+H(N j )
即当Ni以Nj为传输下一跳,并且节点Ni得到更优的节点权重值时,则更新节点Ni的节点性能值Q、节点权重值W和节点到接收端节点的跳数H;其中,q(l)=q(Ni,Nj)表示以Ni为发送节点、Nj为接收节点的链路l在一个传输时隙中可以传输的描述包个数,W(Ni)表示节点Ni的权重值,Q(Ni)表示节点Ni的性能值,H(Ni)表示节点Ni到接收端节点的跳数;That is, when N i uses N j as the next hop for transmission, and node N i obtains a better node weight value, then update node N i 's node performance value Q, node weight value W and the number of hops from the node to the receiving end node H; among them, q(l)=q(N i , N j ) represents the number of description packets that can be transmitted in a transmission time slot for a link l with N i as the sending node and N j as the receiving node, W( N i ) represents the weight value of node N i , Q(N i ) represents the performance value of node N i , H(N i ) represents the number of hops from node N i to the receiving end node;
(c)重复(b)直至所有节点的节点性能值Q、节点权重值W和节点到接收端节点的跳数H在一次遍历中不再变化;得到各节点的节点权重值W;(c) Repeat (b) until the node performance value Q of all nodes, the node weight value W and the hop number H from the node to the receiving node do not change in one traversal; get the node weight value W of each node;
节点权重衡量了每个中继节点向接收端传输数据的能力;The node weight measures the ability of each relay node to transmit data to the receiving end;
对于接收节点为Nr的链路l,链路l传输供应因子TSF(l)定义为For a link l with N r receiving nodes, the transmission supply factor TSF(l) of link l is defined as
TSF(l)=W(Nr)TSF(l)=W(N r )
其中,W(Nr)表示节点Nr的权重值。Wherein, W(N r ) represents the weight value of node N r .
优选地,所述第三步,具体为:Preferably, the third step is specifically:
(1)开始时,传输效益为正的链路都被划分为可能会被建立的链路,加入到将会被建立的链路的集合UEstLink中;(1) At the beginning, links with positive transmission benefits are divided into links that may be established and added to the set of links to be established U EstLink ;
(2)找出传输效益最大的链路lmax,然后从UEstLink除去对链路lmax产生干扰的其他链路Sint(lmax);并且将链路lmax的传输效益归零,即Utility(lmax)=0;(2) Find the link l max with the largest transmission benefit, and then remove other links S int (l max ) that interfere with the link l max from U EstLink ; and reset the transmission benefit of the link l max to zero, that is Utility(l max )=0;
(3)重复(2)直到UEstLink中的链路互不干扰,即则UEstLink为该时隙调度方案要建立的链路集合。(3) Repeat (2) until the links in U EstLink do not interfere with each other, that is Then U EstLink is a set of links to be established in the time slot scheduling scheme.
优选地,在所述第四步中,接收端根据实际情况对已收到的描述包进行解码。Preferably, in the fourth step, the receiving end decodes the received description packet according to the actual situation.
min TV(F)min TV(F)
s.t.yr=ΦrVF sty r =Φ r V F
其中,列向量VF是二维图像信号F按列堆叠而成的,TV(F)表示VF对应的二维原始图像F的总变差。Wherein, the column vector V F is formed by stacking the two-dimensional image signal F in columns, and TV(F) represents the total variation of the two-dimensional original image F corresponding to V F .
与现有技术相比,本发明具有如下的有益效果:Compared with the prior art, the present invention has the following beneficial effects:
(1)本发明利用压缩感知的复原技术,接收端可以随时根据已收到的描述包进行解码,而无需等待缺失的某些描述包或者请求发送端重传,减少等待或重传操作带来的时间延迟。(1) The present invention utilizes compressed sensing restoration technology, and the receiving end can decode the received description packets at any time without waiting for some missing description packets or requesting the sending end to retransmit, reducing the delay caused by waiting or retransmission operations. time delay.
(2)本发明对传输实时性强、大数据的图像信号具有很强的可实现性和针对性。(2) The present invention has strong realizability and pertinence for transmitting image signals with strong real-time performance and big data.
(3)本发明的路由调度算法中,传输能力高的链路会优先占用信道。这样能在避免信道冲突的前提下,使得整个网络有较高的输出。(3) In the routing scheduling algorithm of the present invention, the link with high transmission capacity will occupy the channel first. In this way, on the premise of avoiding channel conflicts, the entire network can have a higher output.
(4)本发明综合考虑了图像信号传输中的编码解码和路由调度问题。该传输方法中,图像信号的编码解码和数据包的路由调度互相适配,在编码和传输互相配合以优化图像信号的传输性能,可以更好地改善网络传输效果、提高网络传输能力。(4) The present invention comprehensively considers the problems of encoding, decoding and routing scheduling in image signal transmission. In this transmission method, the encoding and decoding of the image signal and the routing and scheduling of the data packet are adapted to each other, and the encoding and transmission cooperate with each other to optimize the transmission performance of the image signal, which can better improve the network transmission effect and improve the network transmission capacity.
(5)本发明能保证良好的数据实时性,和高效的路由调度,并在链路建立传输时,不会有信道冲突,同时得到相对优良的网络输出表现。(5) The present invention can ensure good data real-time performance and efficient routing scheduling, and when the link is established and transmitted, there will be no channel conflicts, and relatively good network output performance can be obtained at the same time.
附图说明Description of drawings
通过阅读参照以下附图对非限制性实施例所作的详细描述,本发明的其它特征、目的和优点将会变得更明显:Other characteristics, objects and advantages of the present invention will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:
图1为网络场景1和网络场景2的复原图均方根误差(RMS)随时间变化的曲线的对比效果示意图。Figure 1 is a schematic diagram of the comparison effect of the curves of the root mean square error (RMS) of the restoration images of the network scene 1 and the network scene 2 as a function of time.
图2为网络场景1和网络场景2的接收端节点缓存中数据包数量随时间变化的曲线的对比效果示意图。FIG. 2 is a schematic diagram of the comparison effect of the curves of the number of data packets in the cache of the receiving end node in the network scenario 1 and the network scenario 2 as a function of time.
具体实施方式Detailed ways
下面结合具体实施例对本发明进行详细说明。以下实施例将有助于本领域的技术人员进一步理解本发明,但不以任何形式限制本发明。应当指出的是,对本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进。这些都属于本发明的保护范围。The present invention will be described in detail below in conjunction with specific embodiments. The following examples will help those skilled in the art to further understand the present invention, but do not limit the present invention in any form. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present invention. These all belong to the protection scope of the present invention.
本发明提供了一种在多跳无线网络中基于压缩感知技术传输图像信号的方法,本发明的传输方法包括了互相匹配的数据打包、数据传输、数据复原的环节,可以高效地完成在无线网络中传输实时性、大数据的图像信号的问题。本发明的步骤如下:首先发送端根据压缩感知对图像数据进行打包,然后每个节点先计算出自己的节点权重,然后根据链路两端节点缓存中的数据包状态、以及链路中接收节点的节点权重,计算链路的传输效益,并根据链路传输效益以链路为单位进行路由调度。The present invention provides a method for transmitting image signals based on compressed sensing technology in a multi-hop wireless network. The transmission method of the present invention includes the links of data packaging, data transmission, and data restoration that match each other, and can efficiently complete the image signal transmission in a wireless network. The problem of transmitting real-time and big data image signals in the medium. The steps of the present invention are as follows: first, the sending end packs the image data according to compressed sensing, then each node first calculates its own node weight, and then according to the state of the data packet in the cache of the nodes at both ends of the link and the receiving node in the link The node weight of the link is calculated to calculate the transmission benefit of the link, and the routing scheduling is carried out in units of links according to the link transmission benefit.
本发明讨论的网络系统模型是一个拥有一个发送端、一个对应的接收端、以及多个中继传输节点的单播网络。由于发送端与接收端在通信范围之外,因此从发送端出发的信号需要通过中继节点转发才能到达接收端。The network system model discussed in the present invention is a unicast network with a sending end, a corresponding receiving end, and multiple relay transmission nodes. Since the sending end and the receiving end are outside the communication range, the signal from the sending end needs to be forwarded by the relay node to reach the receiving end.
本发明包括以下步骤:The present invention comprises the following steps:
第一步,编码器负责利用压缩感知技术将原信号打包成若干个信息量相当、重要性相同的描述包。In the first step, the encoder is responsible for packaging the original signal into several description packages with the same amount of information and the same importance by using compressed sensing technology.
首先,编码器将会对大小为N'×N'的原图像信号F进行M(M<N)次采样,得到采样值ym,其中,N=N'×N',F=[Fi,j](i,j≤N'),Fi,j为原始图像对应点上的值。采样的实质是测量原图像信号F=[Fi,j]在采样矩阵φ'm(m=1,2,...,M)上的投影First, the encoder will sample the original image signal F of size N'×N' for M (M<N) times to obtain the sampled value y m , where N=N'×N', F=[F i ,j ](i,j≤N'), F i,j is the value on the corresponding point of the original image. The essence of sampling is to measure the projection of the original image signal F=[F i,j ] on the sampling matrix φ' m (m=1,2,...,M)
ym=F,φ'm y m = F, φ' m
其中,m=1,2,...,M表示了采样次数,原图像信号F=[Fi,j]和采样矩阵的大小都为N'×N'。Among them, m=1,2,...,M represents the sampling times, the original image signal F=[F i,j ] and the sampling matrix The size of each is N'×N'.
将二维图像信号F=[Fi,j]按列对叠成一维列向量x=[x1,…xN],(n=1,2,...,N),其中N=N'×N'。并且将二维采样矩阵φ'm按列转置并堆叠为一维行向量φm,则有Stack the two-dimensional image signal F=[F i,j ] into one-dimensional column vector x=[x 1 ,…x N ],(n=1,2,…,N), where N=N '×N'. And the two-dimensional sampling matrix φ' m is transposed by column and stacked into a one-dimensional row vector φ m , then we have
ym=F,φ'm=φmx。y m =F, φ' m =φ m x.
y=Φxy=Φx
其中,采样矩阵Φ是一个服从±1等概同分布(i.i.d.)的随机矩阵。Among them, the sampling matrix Φ is a random matrix that obeys ±1 equal probability distribution (i.i.d.).
然后,编码器将采样值ym及其对应的采样矩阵φ'm的信息打包成为一个描述包。Then, the encoder packs the information of the sampling value y m and its corresponding sampling matrix φ' m into a description package.
采样矩阵Φ的信息是发送端和接收端共享的,即采样矩阵Φ是预存在发送端的解码器和接收端的解码器中的。因此,编码器在打包描述包的时候,无需将采样矩阵的具体内容加入到描述包中,只需要在描述包中指出采样矩阵φ'm对应的采样次数m即可。因此,描述包就是包含采样值与采样次数的数据包。The information of the sampling matrix Φ is shared by the sending end and the receiving end, that is, the sampling matrix Φ is pre-stored in the decoder of the sending end and the decoder of the receiving end. Therefore, when the encoder packs the description package, it does not need to add the specific content of the sampling matrix to the description package, but only needs to indicate the sampling number m corresponding to the sampling matrix φ' m in the description package. Therefore, the description packet is the data packet that contains the sample value and the number of samples.
第二步,对每条传输链路,计算其传输效益。算法具体步骤如下:In the second step, for each transmission link, calculate its transmission benefit. The specific steps of the algorithm are as follows:
(1)计算链路的传输需求因子。(1) Calculate the transmission demand factor of the link.
设某一时刻t,对于包含发送节点Nt和接收节点Nr的链路l,发送节点Nt缓存中的描述包集合为接收节点Nr缓存中的描述包集合为假设每个节点最多只能转发同一个接收到的描述包一次。那么,节点缓存中将会有两种不同的描述包:一种是节点接收到的并且已经转发过的描述包,称为灰包;另一种是节点接收到的但尚未转发过的描述包,称为白包。记发送节点Nt缓存中的灰包、白包的集合分别为则有Assuming a certain time t, for a link l including sending node N t and receiving node N r , the set of description packets in the cache of sending node N t is The set of description packets in the cache of the receiving node N r is Assume that each node can only forward the same received description packet at most once. Then, there will be two different description packets in the node cache: one is the description packet received by the node and has been forwarded, called the gray packet; the other is the description packet received by the node but not yet forwarded , known as the white bag. Note that the sets of gray packets and white packets in the cache of sending node N t are then there is
若建立链路l,可供传输的数据包应该是不存在于接收节点缓存中的,发送节点中的白包;即那些属于集合而不属于集合的描述包的集合。链路l可供传输的数据包的集合UP为If link l is established, the data packets available for transmission should not exist in the cache of the receiving node, and the white packets in the sending node; that is, those belonging to the set not part of the collection A collection of description packages. The set UP of data packets available for transmission on link l is
考虑到链路传输容量,则每个传输时隙中链路l可以传输的数据包个数p为Considering the transmission capacity of the link, the number p of data packets that link l can transmit in each transmission time slot is
p=min(|UP|,q(l))p=min(| UP |,q(l))
其中,q(l)=q(Nt,Nr)表示一个传输时隙中链路l可以传输的描述包个数,|UP|表示集合UP中包含的描述包的个数。Among them, q(l)=q(N t , N r ) represents the number of description packets that link l can transmit in a transmission time slot, and | UP | represents the number of description packets contained in the set UP .
若建立链路l,在接收节点处复原图像的均方根误差的减少量ΔRMS为If link l is established, the reduction ΔRMS of the root mean square error of the restored image at the receiving node is
其中,函数fRMS(·)即为压缩感知复原图像的均方根误差RMS与用于复原的采样值个数的关系。Among them, the function f RMS (·) is the relationship between the root mean square error RMS of compressed sensing restored image and the number of sampling values used for restoration.
定义该时刻t链路l的传输需求因子TDF(l)为Define the transmission demand factor TDF(l) of link l at this moment t as
链路的传输需求因子衡量了链路即将传输的数据包的重要性。The transmission demand factor of a link measures the importance of the packets about to be transmitted by the link.
(2)计算链路的传输供应因子。(2) Calculate the transmission supply factor of the link.
首先计算各中继节点的节点权重,计算算法为First calculate the node weight of each relay node, the calculation algorithm is
(a)每个中继节点的节点性能值Q初始化为0,节点权重值W初始化为0,节点到接收端节点的跳数H初始化为正无穷。接收端节点的Q为正无穷,W为正无穷,H为0。(a) The node performance value Q of each relay node is initialized to 0, the node weight value W is initialized to 0, and the hop number H from the node to the receiving node is initialized to positive infinity. The Q of the receiving end node is positive infinity, W is positive infinity, and H is 0.
(b)依次遍历除接收端节点以外的所有节点Ni,若有与节点Ni直接相连的节点Nj满足(b) Traverse all nodes N i in turn except the receiving node, if there is a node N j directly connected to node N i that satisfies
则but
Q(Ni)←min(q(Ni,Nj),Q(Nj))Q(N i )←min(q(N i ,N j ),Q(N j ))
H(Ni)←1+H(Nj)H(N i )←1+H(N j )
即当Ni以Nj为传输下一跳,并且节点Ni得到更优的节点权重值时,则更新节点Ni的节点性能值Q、节点权重值W和节点到接收端节点的跳数H。其中,q(l)=q(Ni,Nj)表示以Ni为发送节点、Nj为接收节点的链路l在一个传输时隙中可以传输的描述包个数,W(Ni)表示节点Ni的权重值,Q(Ni)表示节点Ni的性能值,H(Ni)表示节点Ni到接收端节点的跳数。That is, when N i uses N j as the next hop for transmission, and node N i obtains a better node weight value, then update node N i 's node performance value Q, node weight value W and the number of hops from the node to the receiving end node H. Among them, q(l)=q(N i , N j ) represents the number of description packets that can be transmitted in a transmission time slot for a link l with N i as the sending node and N j as the receiving node, W(N i ) represents the weight value of node N i , Q(N i ) represents the performance value of node N i , and H(N i ) represents the number of hops from node N i to the receiving end node.
(c)重复(b)直至所有节点的节点性能值Q、节点权重值W和节点到接收端节点的跳数H在一次遍历中不再变化。得到各节点的节点权重值W。(c) Repeat (b) until the node performance value Q of all nodes, the node weight value W and the hop number H from the node to the receiving node do not change in one traversal. Get the node weight value W of each node.
节点权重衡量了每个中继节点向接收端传输数据的能力。The node weight measures the ability of each relay node to transmit data to the receiver.
对于接收节点为Nr的链路l,其传输供应因子TSF(l)定义为For a link l with N r receiving nodes, its transmission supply factor TSF(l) is defined as
TSF(l)=W(Nr)TSF(l)=W(N r )
其中,W(Nr)表示节点Nr的权重值。Wherein, W(N r ) represents the weight value of node N r .
(3)计算链路的传输收益、传输成本。(3) Calculate the transmission revenue and transmission cost of the link.
定义链路l的传输收益Revenue(l)为链路传输需求因子Revenue(l)与传输供应因子TSF(l)之积。The transmission revenue Revenue(l) of link l is defined as the product of link transmission demand factor Revenue(l) and transmission supply factor TSF(l).
Revenue(l)=TDF(l)·TSF(l)Revenue(l)=TDF(l)·TSF(l)
定义链路l的传输成本Cost(l)为l的干扰集合中链路的传输收益,即Define the transmission cost Cost(l) of link l as the transmission revenue of the link in the interference set of l, namely
其中链路l的干扰集合Sint(l)为因链路l带来的干扰而无法正常工作的链路集合,即The interference set S int (l) of link l is the set of links that cannot work normally due to the interference brought by link l, namely
Sint(l)={lint|lint≠l,Dis(Nt(lint),Nr(l))<r,Dis(Nr(lint),Nt(l))<r}S int (l)={l int |l int ≠l,Dis(N t (l int ),N r (l))<r,Dis(N r (l int ),N t (l))<r }
其中,Nt(l)为链路l的发送节点,Nr(l)为链路l的接收节点,Dis(Na,Nb)为两节点Na、Nb之间的地理距离或信道质量,r为节点的干扰半径或信道质量的阈值,lint表示对于链路l会造成干扰的链路。Among them, N t (l) is the sending node of link l, N r (l) is the receiving node of link l, Dis(N a , N b ) is the geographical distance or Channel quality, r is the interference radius of the node or the threshold of channel quality, l int indicates the link that will cause interference to link l.
(4)得到链路的传输效益。(4) Get the transmission benefit of the link.
链路l的传输效益Utility(l)定义为The transmission benefit Utility(l) of link l is defined as
第三步,根据链路的传输效益决定需要建立的链路连接。具体的算法如下:The third step is to determine the link connection to be established according to the transmission efficiency of the link. The specific algorithm is as follows:
(1)将会被建立的链路的集合为UEstLink。开始时,传输效益为正的链路都被划分(1) The set of links to be established is U EstLink . Initially, all links with positive transfer benefits are divided into
为可能会被建立的链路,加入到集合UEstLink中。Links that may be established are added to the set U EstLink .
(2)找出传输效益最大的链路lmax,然后从UEstLink除去对链路lmax产生干扰的其他链路Sint(lmax)。并且将链路lmax的传输效益归零,即Utility(lmax)=0。由于与lmax互相干扰的链路已经在本阶段被除去,因此lmax在后续的迭代中不受到影响。(2) Find out the link l max with the largest transmission benefit, and then remove other links S int (l max ) that interfere with the link l max from U EstLink . And the transmission benefit of the link l max is reset to zero, that is, Utility(l max )=0. Since the link interfering with l max has been removed at this stage, l max will not be affected in subsequent iterations.
(3)重复(2)直到UEstLink中的链路互不干扰,即则UEstLink为该时隙调度方案要建立的链路集合。(3) Repeat (2) until the links in U EstLink do not interfere with each other, that is Then U EstLink is a set of links to be established in the time slot scheduling scheme.
以上算法遍历所有链路后,屏蔽掉了所有干扰的可能,系统达到一个可以稳定传输的状态。这个稳定传输状态是指,每个干扰范围内,在不产生干扰的前提下,信道都被传输效用值局部最优的链路占用。After the above algorithm traverses all the links, all possible interferences are shielded, and the system reaches a stable transmission state. This stable transmission state means that within each interference range, the channel is occupied by a link with a locally optimal transmission utility value under the premise of no interference.
第四步,按调度方案建立传输链路并开始传输描述包,接收端可以根据实际情况对已收到的描述包进行解码。In the fourth step, the transmission link is established according to the scheduling scheme and the description packet is started to be transmitted. The receiving end can decode the received description packet according to the actual situation.
min TV(F)min TV(F)
s.t.yr=ΦrVF sty r =Φ r V F
其中,列向量VF是二维图像信号F按列堆叠而成的。Wherein, the column vector V F is formed by stacking the two-dimensional image signals F in columns.
在实验中,无线网络分布在一个80*80的正方形区域中,正方形相对的两边的中点分别是一个发送端节点和接收端节点;另外,18个中继节点随机分布在正方形区域中。无线通信的干扰半径与通信半径都是r=30米,即30米半径范围内的两个节点可以受到彼此发送的无线信号的作用。通信范围内的两个节点之间通信链路的信噪比满足高斯分布。同时我们知道,在传输节点的干扰半径内,除了接收节点外的其他节点不能接收数据;在接收节点的干扰半径内,除了传输节点外的其他节点不能发送数据。且任意节点只能同时接收一个节点给它的数据,且不能同时接收和发送数据。根据这些关系,我们可以建立起该网络场景中链路之间的干扰关系矩阵。In the experiment, the wireless network is distributed in a square area of 80*80, and the midpoints on the opposite sides of the square are a sending node and a receiving node respectively; in addition, 18 relay nodes are randomly distributed in the square area. Both the interference radius and the communication radius of wireless communication are r=30 meters, that is, two nodes within a radius of 30 meters can be affected by wireless signals sent by each other. The signal-to-noise ratio of a communication link between two nodes within the communication range satisfies a Gaussian distribution. At the same time, we know that within the interference radius of the transmitting node, other nodes except the receiving node cannot receive data; within the interference radius of the receiving node, other nodes except the transmitting node cannot send data. And any node can only receive data from one node at the same time, and cannot receive and send data at the same time. According to these relationships, we can establish the interference relationship matrix between links in this network scenario.
具体实现步骤包括下列几步:The specific implementation steps include the following steps:
第一步,根据网络拓扑关系计算各中继节点的节点权重值W,接收端节点的节点权重值W设为100(这个100并没有特殊的数字要求,只是需要接收端节点的节点权重值相对于其他节点的节点权重值足够大)。The first step is to calculate the node weight value W of each relay node according to the network topology relationship, and set the node weight value W of the receiving end node to 100 (there is no special numerical requirement for this 100, but the node weight value of the receiving end node needs to be relatively The node weight value of other nodes is sufficiently large).
第二步,按照我们介绍的算法,计算各链路的传输需求因子、链路的传输收益、传输成本以及传输效益。The second step is to calculate the transmission demand factor of each link, the transmission revenue, transmission cost and transmission benefit of each link according to the algorithm we introduced.
第三步,根据链路的传输效益决定需要建立的链路连接,建立通信链路,更新各节点缓存中的数据包状态。The third step is to determine the link connection that needs to be established according to the transmission efficiency of the link, establish a communication link, and update the status of the data packet in the cache of each node.
第四步,记录如下数据:The fourth step is to record the following data:
(1)接收端节点在各个时隙接收到的数据包数量。(1) The number of data packets received by the receiving end node in each time slot.
(2)在每个时隙中,接收端节点根据已接收的数据包进行信号复原的复原图相对于原图的均方差值。(2) In each time slot, the mean square error value of the restoration graph of the signal restoration performed by the receiving node according to the received data packets relative to the original graph.
在两个不同的网络场景中,通过记录以上数据,比较对比实验得到的结果,我们得到了图1、图2。其中,对比实验内容是在同一无线网络中利用基于传统离散余弦变换的传输方法传输同一图像信号。In two different network scenarios, by recording the above data and comparing the experimental results, we obtained Figure 1 and Figure 2. Among them, the content of the comparative experiment is to transmit the same image signal in the same wireless network using the transmission method based on the traditional discrete cosine transform.
图1中,(a)为网络场景1复原效果,(b)为网络场景2复原效果。图2中,(a)为网络场景1复原效果,(b)为网络场景2复原效果。In Figure 1, (a) is the restoration effect of network scene 1, and (b) is the restoration effect of network scene 2. In Figure 2, (a) is the restoration effect of network scene 1, and (b) is the restoration effect of network scene 2.
以上对本发明的具体实施例进行了描述。需要理解的是,本发明并不局限于上述特定实施方式,本领域技术人员可以在权利要求的范围内做出各种变形或修改,这并不影响本发明的实质内容。Specific embodiments of the present invention have been described above. It should be understood that the present invention is not limited to the specific embodiments described above, and those skilled in the art may make various changes or modifications within the scope of the claims, which do not affect the essence of the present invention.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310724064.1A CN104735721B (en) | 2013-12-24 | 2013-12-24 | Method based on compressed sensing technology image signal transmission in multi-hop wireless network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310724064.1A CN104735721B (en) | 2013-12-24 | 2013-12-24 | Method based on compressed sensing technology image signal transmission in multi-hop wireless network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104735721A CN104735721A (en) | 2015-06-24 |
CN104735721B true CN104735721B (en) | 2018-07-03 |
Family
ID=53459056
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310724064.1A Expired - Fee Related CN104735721B (en) | 2013-12-24 | 2013-12-24 | Method based on compressed sensing technology image signal transmission in multi-hop wireless network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104735721B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105516291A (en) * | 2015-12-02 | 2016-04-20 | 上海电机学院 | Index coding based vehicle-mounted network data broadcasting protocol |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1889709A (en) * | 2005-06-27 | 2007-01-03 | 凹凸科技(中国)有限公司 | Method for extending message volume |
CN101138206A (en) * | 2005-03-08 | 2008-03-05 | 艾利森电话股份有限公司 | Method and arrangement for advanced routing metrics in multihop networks |
CN101588504A (en) * | 2009-05-21 | 2009-11-25 | 中兴通讯股份有限公司 | Sending and receiving devices of video communication system, and sending and receiving method thereof |
CN101931814A (en) * | 2010-09-03 | 2010-12-29 | 北京工业大学 | Image Decoding Method Based on Compressed Sensing |
CN102164282A (en) * | 2011-04-29 | 2011-08-24 | 中南民族大学 | Coefficient-random-permutation-based compressive sensing method and system for image coding |
-
2013
- 2013-12-24 CN CN201310724064.1A patent/CN104735721B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101138206A (en) * | 2005-03-08 | 2008-03-05 | 艾利森电话股份有限公司 | Method and arrangement for advanced routing metrics in multihop networks |
CN1889709A (en) * | 2005-06-27 | 2007-01-03 | 凹凸科技(中国)有限公司 | Method for extending message volume |
CN101588504A (en) * | 2009-05-21 | 2009-11-25 | 中兴通讯股份有限公司 | Sending and receiving devices of video communication system, and sending and receiving method thereof |
CN101931814A (en) * | 2010-09-03 | 2010-12-29 | 北京工业大学 | Image Decoding Method Based on Compressed Sensing |
CN102164282A (en) * | 2011-04-29 | 2011-08-24 | 中南民族大学 | Coefficient-random-permutation-based compressive sensing method and system for image coding |
Non-Patent Citations (2)
Title |
---|
Energy and Latency Analysis for In-network Computation with Compressive Sensing in Wireless Sensor Networks;H.Zheng;《IEEE INFOCOM》;20120330;全文 * |
基于压缩感知的图像编码即重构算法研究;李凯;《万方》;20130402;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN104735721A (en) | 2015-06-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103118413B (en) | A kind of IPv6 industrial wireless sensor network method for routing based on deterministic schedule | |
KR20080027043A (en) | Method and apparatus for transmitting transport stream packets | |
Yin et al. | A reliable data transmission scheme based on compressed sensing and network coding for multi-hop-relay wireless sensor networks | |
CN101494879B (en) | Medium Control Method Supporting Cooperative Communication in Wireless Local Area Network | |
CN105072034A (en) | Powerline communications (PLC) network routing method and system | |
Tan et al. | LAMOR: Lifetime-aware multipath optimized routing algorithm for video transmission over ad hoc networks | |
CN108990130A (en) | Distributed compressed sensing QoS routing method based on cluster | |
CN104735721B (en) | Method based on compressed sensing technology image signal transmission in multi-hop wireless network | |
CN102148664B (en) | Inter-multicast network coding control method applied to multi-source multi-destination network | |
CN101729566B (en) | Underwater sound network multiple access method based on CSMA/CA | |
CN103957085B (en) | Media access control method for wireless mesh network based on network coding | |
CN103441826B (en) | A kind of method and apparatus reducing radio communication packet loss | |
CN103107875B (en) | Broadcast retransmission system based on network coding and method thereof | |
Duan et al. | An adaptive RTS/CTS mechanism in IEEE 802.15. 4 for multi-hop networks | |
Ju et al. | Easipc: A packet compression mechanism for embedded WSN | |
CN103561282A (en) | Streaming media file data transmission method and device | |
Taj et al. | The impact of MAC protocols in energy consumption of transferring multimedia contents using Castalia simulator | |
Djukic et al. | WLC12-4: Reliable and Energy Efficient Transport Layer for Sensor Networks | |
CN102143087B (en) | Resource-oriented service composition selection method | |
CN104935409B (en) | A kind of hybrid network coding method | |
CN103391315B (en) | A kind of P2P network file method of data synchronization | |
Pham et al. | An algorithm for the selection of effective error correction coding in wireless networks based on a lookup table structure | |
Karnani et al. | Improved BER and PER by Reducing Communication Traffic in Wireless Communication using a Modified Network Coding Technique | |
CN108156087A (en) | A kind of sub-clustering, assignment of traffic, coding negotiation and data forwarding method and device | |
Li et al. | An opportunistic routing for wireless mobile sensor networks based on received signal strength indication |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180703 Termination date: 20201224 |