CN102761906B - Method for transmitting video packets in wireless local area network - Google Patents

Method for transmitting video packets in wireless local area network Download PDF

Info

Publication number
CN102761906B
CN102761906B CN201210253240.3A CN201210253240A CN102761906B CN 102761906 B CN102761906 B CN 102761906B CN 201210253240 A CN201210253240 A CN 201210253240A CN 102761906 B CN102761906 B CN 102761906B
Authority
CN
China
Prior art keywords
video
video packets
frame
distortion metrics
queue
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
Application number
CN201210253240.3A
Other languages
Chinese (zh)
Other versions
CN102761906A (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.)
Jiaxing Bohao Home Textile Co ltd
Original Assignee
Xian Jiaotong University
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 Xian Jiaotong University filed Critical Xian Jiaotong University
Priority to CN201210253240.3A priority Critical patent/CN102761906B/en
Publication of CN102761906A publication Critical patent/CN102761906A/en
Application granted granted Critical
Publication of CN102761906B publication Critical patent/CN102761906B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method for transmitting video packets in a wireless local area network. The method comprises the following steps: adjusting transmission order of the video packets, which are not transmitted, in a current queue according to a distortion measurement of video packets, a current queue information and a network state; distributing a maximum and a minimum of a contention window for the video packets of each frame according to the distortion measurement of a video frame; and then estimating the transmission time for each video packet and discarding the possible overtime video packet. By adopting the method provided by the invention, more important video packets in video data can be protected, so that the transmission quality is improved.

Description

The transmission method of video packets in a kind of WLAN (wireless local area network)
Technical field
The present invention relates to wireless communication technology, relate in particular to the transmission method of video packets in a kind of WLAN (wireless local area network).
Background technology
WLAN (wireless local area network) (Wireless Local Area network, WLAN) conventionally adopt distributed coordination function (Distributed Coordination Function, DCF) agreement, according to DCF agreement, each node in network is avoided the competitive access wireless channel of mode of (Carrier Sense Multiple Access with Collision Avoidance, CSMA/CA) with the access/conflict of carrier sense multiple spot.The flow process of competitive access wireless channel roughly comprises: in the time that node has data to send, first carry out channel and intercept, if channel idle waits for that distributed frame spacing (Distributed Interframe Space, DIFS) sends data after the time; If channel busy, starts backoff counter, the initial value of backoff counter is a value of getting at random on interval [0, CW], and CW is called as competition window, and the value of CW is dynamically to change, the min-window value CW of in-system define minwith max-window value CW maxbetween.Continue afterwards to intercept channel, often listen to channel idle one time, the value of backoff counter subtracts one, if listen to channel busy, keeps the value of backoff counter constant, also continue after the DIFS time until channel is again idle, the value of backoff counter continues to reduce.In the time that the value of backoff counter is kept to 0, show that this node competes successfully, start to send data.If transmission data failure, restarts backoff counter, and expand competition window, until max-window value CW max
While adopting wlan network transmission of video bag, prior art can not take into full account the difference of importance of video packets, and reduces the probability of competition conflict on wireless channel simultaneously.Thereby reduce the quality of transmission of video.
Summary of the invention
The object of the present invention is to provide the transmission method of video packets in a kind of WLAN (wireless local area network), in order to improve the quality of transmission of video.
For achieving the above object, the present invention has adopted following technical scheme:
1) calculate the distortion metrics of video packets, the distortion metrics of video packets equals the distortion metrics of the frame of video corresponding with video packets;
2) according to the transmission sequence of video packets in the distortion metrics adjustment queue of video packets;
3) before starting backoff counter, according to the distortion metrics of each frame of video in picture group, competition window maximum and minimum value are set;
4) send before data, estimate the transmission delay of each video packets, overtime video packets is abandoned.
In described step 1), the distortion metrics of frame of video adopts following methods to calculate:
Frame of video is divided into non-reference frame and reference frame, and the distortion metrics of definition non-reference frame is 1, and the distortion metrics of reference frame equals referenced number of times and adds 1, and referenced number of times is direct reference number of times and indirect reference number of times sum.
Described step 2) concrete grammar be:
Add an additional delay to the each video packets in queue, the video packets that non-reference frame is corresponding is unessential video packets, the video packets that reference frame is corresponding is important video packets, add the additional delay of negative value to the video packets that reference frame is corresponding, give video packets corresponding to non-reference frame add on the occasion of additional delay, establish T i, inthat in queue, i video packets enters the time of queue, order ε irepresent the additional delay of i video packets in queue, in queue, select be worth minimum video packets transmission.
The computing formula of described additional delay is as follows:
ϵ i = L ‾ μL ln d 1 × d 2 × · · · d L d i L
, d in formula ithe distortion metrics that represents i video packets in queue, the value of i is 1,2 ... L, L represents current queue length, represent the mean value of queue length, can be by the arithmetic average acquisition of several times queue length above, μ represents the transmission rate of video packets, can be by the arithmetic average acquisition of the transmission rate of several video packets above.
The concrete grammar of described step 3) is:
Calculate picture group (Group of Picture, GOP) distortion metrics of each frame of video in, distribute competition window maximum and minimum value according to the distortion metrics of frame of video, distribute less competition window to the frame of video that distortion metrics is high, distribute larger competition window to the frame of video that distortion metrics is low;
The Optimized model of described contention window minimum is
Φ w , min = Σ j = 1 N d j · CW j , min 1 N Σ j = 1 N CW j , min = C 00 C 01 ≤ CW j , min ≤ C 02 ,
Wherein CW j, minthe minimum value of j frame competition window, Φ w, minbe majorized function, optimization aim is to minimize Φ w, min, N is group of pictures length, d jthe distortion metrics of j frame of video in picture group, C 00, C 01, C 02one group of given constant, C 00, C 01, C 02span be 0 to 1023, obtain the contention window minimum of each frame of video by using the method for linear programming to solve this Optimized model;
The peaked Optimized model of competition window is
Φ w , max = Σ j = 1 N d j · CW j , max 1 N Σ j = 1 N CW j , max = C 10 C 11 ≤ CW j , max ≤ C 12 ,
Wherein CW j, maxthe maximum of j frame competition window, Φ w, maxbe majorized function, optimization aim is to minimize Φ w, max, N is group of pictures length, d jthe distortion metrics of j frame of video in picture group, C 10, C 11, C 12one group of given constant, C 10, C 11, C 12span be 0 to 1023, obtain the competition window maximum of each frame by using the method for linear programming to solve this Optimized model.
As shown from the above technical solution, in WLAN (wireless local area network) of the present invention, the transmission method of video packets is by considering the distortion metrics of video packets, and consider the transmission sequence of current queuing message and network state adjustment video packets, and set maximum and the minimum value of competition window, realize the preferential transmission to important video packets, and reduce the probability conflicting, thereby improve the quality of transmission of video.
Brief description of the drawings
Fig. 1 is the emulation experiment design sketch of the embodiment of the present invention, and Fig. 1 a is average packet loss ratio comparison diagram, Fig. 1 b average video quality comparison diagram.
Embodiment
Below in conjunction with drawings and Examples, the invention will be further described.
Step 1: the distortion metrics of calculating frame of video and video packets;
Wherein, in transmission of video process, different video packets has different significance levels.The present invention weighs the importance of video packets by distortion metrics, a video packets distortion factor is larger, more important.For example, video data stream can be divided into reference frame video packets and non-reference frame video packets, and the importance of reference frame video packets is greater than the importance of non-reference frame video packets, and more its importance of number of times that frame of video is used as reference frame is also higher.Here referenced number of times comprises direct reference and indirect reference.For example, suppose that A, B, C are three frame of video, C is non-reference frame, C with B as with reference to frame, B with A as with reference to frame.B is as being 1 with reference to the number of times of frame, and A is as with reference to the number of times of frame being once directly reference and an indirect reference of 2().The distortion metrics that the present invention defines non-reference frame is 1, and the distortion metrics of reference frame equals referenced number of times and adds one.The distortion metrics of video packets equals the distortion metrics of non-reference frame or the reference frame corresponding with video packets.
Be understandable that, also can adopt other modes to obtain the distortion metrics of frame of video and video packets.
Step 2: the transmission sequence of adjusting video packets in queue.
If T i, inbe that in queue, i video packets enters the time of queue, add an additional delay to i video packets, computing formula is as follows:
ϵ i = L ‾ μL ln d 1 × d 2 × · · · × d L d i L
D in formula ithe distortion metrics that represents i video packets in queue, the value of i is 1,2 ... L,
ε irepresent the additional delay of i video packets in queue,
L represents current queue length,
represent the mean value of queue length, can, with the arithmetic average acquisition of several times queue length above, calculate at every turn and use identical number of times.
μ represents the transmission rate of video packets, can use the arithmetic average of the transmission rate of several video packets above to obtain.Each calculating used identical number.
If in queue, select be worth minimum video packets transmission.
Step 3: distribute competition window maximum CW to each frame according to the distortion metrics of frame of video j, maxwith minimum value CW j, min.
If d jthe distortion metrics of j frame in picture group of video sequence (Group of Picture, GOP), CW j, minbe the minimum value of j frame competition window, target function is to minimize
Given following restrictive condition
1 N Σ j = 1 N CW j , min = C 00
C 01≤CW j,min≤C 02
C 00, C 01, C 02be given constant, preferably value is: C 00=90, C 01=15, C 02=127; Set up following Optimized model,
min imize Φ w , min = Σ j = 1 N d j · CW j , min subjectto 1 N Σ j = 1 N CW j , min = C 00 C 01 ≤ CW j , min ≤ C 02
Can solve majorized function above by the method for linear programming (Linear Programming), obtain optimum CW j, min.
Equally can be for CW j, maxset up Optimized model
min imize Φ w , min = Σ j = 1 N d j · CW j , min subjectto 1 N Σ j = 1 N CW j , min = C 10 C 11 ≤ CW j , min ≤ C 12
C 10, C 11, C 12be given constant, preferably value is: C 10=720, C 11=63, C 12=1023;
Method by linear programming (Linear Programming) solves majorized function above, obtains optimum CW j, max.
Step 4: estimate the transmission time of each video packets, will may overtime video packets abandon.
The formula of the estimated value in calculating transmission time is as follows:
E ^ = aSLotTime · CW 2 + T ‾ pause + T 0
T 0 = DIFS + S data + S header v + δ
T ‾ pause = 1 M Σ k = 1 M t - k , pause
Wherein the transmission time of estimating, be the mean value of backoff counter time out in the inferior backoff procedure of M (M=10) above, each calculating used identical number of times.T -k, pausebe the measured value of backoff counter time out in the k time backoff procedure above of video packets of current estimation, aSlotTime and DIFS are the system time constants of DCF agreement, S datathe size of a video packets, S headerbe the size in a video packets packet header, v is the transmission rate of wireless channel, and δ is the propagation delay of wireless channel, and CW is the size of current competition window.
If the transmission time of estimating has exceeded a time delay thresholding, just this video packets is directly abandoned, start to process next video packets.
We use software to carry out the emulation experiment of algorithm, and experimental result as shown in Figure 1.4 kinds of methods have been compared in experiment.Respectively:
CL-ARCH: document Ksentini A, H.264 video transmission over IEEE802.11e through a cross-layer architecture[J of Naimi M and Gueroui A.Toward an improvement of] .Communications Magazine, IEEE, 2006,44 (1): the method in 107-114..
ACLM: document Chilamkurti N, Zeadally S, Soni R, et al.Wireless multimedia delivery over 802.11e with cross-layer optimization techniques[J] .Multimedia Tools and Applications, 2010,47 (1): the method in 189-205..
DATF: H.264/AVC video over IEEE802.11e EDCA wireless networks[C of document Du J and Chen CW.A deadline-aware transmission framework for] .Huangshan, China:SPIE, the method in 2010:pp77441J-77410..
DQoS: the inventive method.
Fig. 1 a is the comparison of average packet loss ratio, and the present invention has obtained minimum average packet loss ratio; Fig. 1 b is the comparison of average video quality, and the present invention has obtained the highest video quality.
One of ordinary skill in the art will appreciate that: all or part of step that realizes above-mentioned each embodiment of the method can complete by the relevant hardware of program command.Aforesaid program can be stored in computer read/write memory medium.This program, in the time carrying out, is carried out the step that comprises above-mentioned each embodiment of the method; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CDs.
Finally it should be noted that: above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to previous embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record previous embodiment is modified, or some or all of technical characterictic is wherein equal to replacement; And these amendments or replacement do not make the essence of appropriate technical solution depart from the scope of embodiment of the present invention technical scheme.

Claims (3)

1. a transmission method for video packets in WLAN (wireless local area network), is characterized in that, comprises the following steps:
1) calculate the distortion metrics of video packets, the distortion metrics of video packets equals the distortion metrics of the frame of video corresponding with video packets;
2) according to the transmission sequence of video packets in the distortion metrics adjustment queue of video packets;
3) before starting backoff counter, according to the distortion metrics of each frame of video in picture group, competition window maximum and minimum value are set;
4) send before data, estimate the transmission delay of each video packets, overtime video packets is abandoned;
Described step 1) in frame of video distortion metrics adopt following methods calculate:
Frame of video is divided into non-reference frame and reference frame, and the distortion metrics of definition non-reference frame is 1, and the distortion metrics of reference frame equals referenced number of times and adds 1, and referenced number of times is direct reference number of times and indirect reference number of times sum;
Described step 2) concrete grammar be:
Add an additional delay to the each video packets in queue, add the additional delay of negative value to the video packets that reference frame is corresponding, give video packets that non-reference frame is corresponding add on the occasion of additional delay, establish T i, inthat in queue, i video packets enters the time of queue, order ε irepresent the additional delay of i video packets in queue, in queue, select be worth minimum video packets transmission.
2. the transmission method of video packets in a kind of WLAN (wireless local area network) according to claim 1, is characterized in that:
The computing formula of described additional delay is as follows:
ϵ i = L ‾ μL ln d 1 × d 2 × · · · d L d i L
, d in formula ithe distortion metrics that represents i video packets in queue, the value of i is 1,2 ... L, L represents current queue length, and L represents the mean value of queue length, and μ represents the transmission rate of video packets.
3. the transmission method of video packets in a kind of WLAN (wireless local area network) according to claim 1, is characterized in that:
Described step 3) concrete grammar be:
Calculate the distortion metrics of each frame of video in picture group, distribute competition window maximum and minimum value according to the distortion metrics of frame of video;
The Optimized model of described contention window minimum is
Φ w , min = Σ j = 1 N d j · CW j , min 1 N Σ j = 1 N CW j , min = C 00 C 01 ≤ CW j , min ≤ C 02 ,
Wherein CW j, minthe minimum value of j frame competition window, Φ w, minbe majorized function, optimization aim is to minimize Φ w, min, N is group of pictures length, d jthe distortion metrics of j frame of video in picture group, C 00, C 01, C 02one group of given constant, C 00, C 01, C 02span be 0 to 1023, obtain the contention window minimum of each frame of video by using the method for linear programming to solve this Optimized model;
The peaked Optimized model of competition window is
Φ w , max = Σ j = 1 N d j · CW j , max 1 N Σ j = 1 N CW j , max = C 10 C 11 ≤ CW j , max ≤ C 12 ,
Wherein CW j, maxthe maximum of j frame competition window, Φ w, maxbe majorized function, optimization aim is to minimize Φ w, max, N is group of pictures length, d jthe distortion metrics of j frame of video in picture group, C 10, C 11, C 12one group of given constant, C 10, C 11, C 12span be 0 to 1023, obtain the competition window maximum of each frame by using the method for linear programming to solve this Optimized model.
CN201210253240.3A 2012-07-20 2012-07-20 Method for transmitting video packets in wireless local area network Expired - Fee Related CN102761906B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210253240.3A CN102761906B (en) 2012-07-20 2012-07-20 Method for transmitting video packets in wireless local area network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210253240.3A CN102761906B (en) 2012-07-20 2012-07-20 Method for transmitting video packets in wireless local area network

Publications (2)

Publication Number Publication Date
CN102761906A CN102761906A (en) 2012-10-31
CN102761906B true CN102761906B (en) 2014-09-03

Family

ID=47056194

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210253240.3A Expired - Fee Related CN102761906B (en) 2012-07-20 2012-07-20 Method for transmitting video packets in wireless local area network

Country Status (1)

Country Link
CN (1) CN102761906B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217671A (en) * 2008-01-09 2008-07-09 武汉大学 A method of flexible macro-block sequencing mode in self-adapting selection H.264 video standard
CN102131083A (en) * 2010-01-18 2011-07-20 西安电子科技大学 Method and device for transmitting scalable videos based on priorities

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7031287B1 (en) * 2000-07-14 2006-04-18 At&T Corp. Centralized contention and reservation request for QoS-driven wireless LANs

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217671A (en) * 2008-01-09 2008-07-09 武汉大学 A method of flexible macro-block sequencing mode in self-adapting selection H.264 video standard
CN102131083A (en) * 2010-01-18 2011-07-20 西安电子科技大学 Method and device for transmitting scalable videos based on priorities

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
A PRIORITY-BASED EDF SCHEDULING ALGORITHM FOR H.264 VIDEO TRANSMISSION OVER WIMAX NETWORK;qinli wang;《 Multimedia and Expo (ICME), 2011 IEEE International Conference on 》;20110715;第1-2.1节,第2.4节 *
haidong wang.Priority and delay aware packet management framework for real-time video transport over 802.11e WLANs.《Multimedia Tools and Applications》.2012, *
qinli wang.A PRIORITY-BASED EDF SCHEDULING ALGORITHM FOR H.264 VIDEO TRANSMISSION OVER WIMAX NETWORK.《 Multimedia and Expo (ICME), 2011 IEEE International Conference on 》.2011,

Also Published As

Publication number Publication date
CN102761906A (en) 2012-10-31

Similar Documents

Publication Publication Date Title
Li et al. A new backoff algorithm for IEEE 802.11 distributed coordination function
US20060045059A1 (en) Method for wireless transmission of data in infrastructure mode wireless network environment
Stanica et al. Enhancements of IEEE 802.11 p protocol for access control on a VANET control channel
CN107666489B (en) Method for full duplex media access control protocol based on two-stage competition
US9750057B2 (en) Contention control mechanism
US20120082139A1 (en) Distributed medium access scheduling with implicit ordering
US20180220454A1 (en) Channel access method, station and system
JP2007189690A (en) System and method for access control in wireless network
CN102421151A (en) Minimum contention window adaptive adjustment method based on WLAN (Wireless Local Area Network) contention station number
Weng et al. The performance evaluation of IEEE 802.11 DCF using Markov chain model for wireless LANs
Wang et al. Delay analysis of the IEEE 802.11 DCF
Sthapit et al. Station grouping strategy for minimizing association delay in IEEE 802.11 ah
KR20180030024A (en) Compensate for excessive transmission opportunity time
CN102685468A (en) Method and device for transmitting video packets
CN104581980A (en) Wireless network collision-avoiding channel access control method based on distance partitions
CN102761906B (en) Method for transmitting video packets in wireless local area network
Cheng et al. A novel collision avoidance algorithm for IEEE 802.11 wireless LANs
El Housseini et al. Adaptive contention-window MAC algorithms for QoS-enabled wireless LANs
Chen An effective medium contention method to improve the performance of IEEE 802.11
Pan et al. Throughput analysis of IEEE 802.11 e EDCA under heterogeneous traffic
Lin et al. An exponential-linear backoff algorithm for contention-based wireless networks
Kishida et al. Frame collision reduction method employing adaptive transmission control for IEEE802. 11 wireless LAN system
Weng et al. Performance study of IEEE 802.11 DCF with optimal contention window
singh Bedi Analysis of a adaptive Backoff algorithm to improve the utilization of the network
Lee et al. Study on bandwidth control for multiple transmission rates in IEEE 802.11 e EDCAF

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20171220

Address after: 511430 1402 room 1402, No. 383 office building, North 383 Panyu Avenue, Panyu District South Village, Panyu District, Guangdong

Patentee after: Guangzhou Zhirongjie Intellectual Property Service Co.,Ltd.

Address before: 710049 Xianning West Road, Shaanxi, China, No. 28, No.

Patentee before: Xi'an Jiaotong University

TR01 Transfer of patent right

Effective date of registration: 20181204

Address after: 277500 East Head of Houcanggou Village, Nanshahe Town, Tengzhou City, Zaozhuang City, Shandong Province

Patentee after: SHANDONG HENGDA BRAND PACKAGING CO.,LTD.

Address before: 511430 1402 office building, 383 office building, Panyu Avenue North, Panyu District Town, Guangzhou, Guangdong, Panyu, China

Patentee before: Guangzhou Zhirongjie Intellectual Property Service Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20191113

Address after: No.30, Ninghong Road, Tianning Town, Jiashan County, Jiaxing City, Zhejiang Province

Patentee after: Jiaxing Bohao Home Textile Co.,Ltd.

Address before: 277500 East Head of Houcanggou Village, Nanshahe Town, Tengzhou City, Zaozhuang City, Shandong Province

Patentee before: SHANDONG HENGDA BRAND PACKAGING CO.,LTD.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140903

Termination date: 20210720

CF01 Termination of patent right due to non-payment of annual fee