CN102761906A - 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
CN102761906A
CN102761906A CN2012102532403A CN201210253240A CN102761906A CN 102761906 A CN102761906 A CN 102761906A CN 2012102532403 A CN2012102532403 A CN 2012102532403A CN 201210253240 A CN201210253240 A CN 201210253240A CN 102761906 A CN102761906 A CN 102761906A
Authority
CN
China
Prior art keywords
video
video packets
frame
distortion metrics
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.)
Granted
Application number
CN2012102532403A
Other languages
Chinese (zh)
Other versions
CN102761906B (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

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
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.
Background technology
WLAN (Wireless Local Area network; WLAN) adopt distributed coordination function (Distributed Coordination Function usually; DCF) agreement; According to the DCF agreement, each node in the network is avoided (Carrier Sense Multiple Access with Collision Avoidance, the competitive access wireless channel of mode CSMA/CA) with the access/conflict of carrier sense multiple spot.The flow process of competitive access wireless channel roughly comprises: when node has data to send, at first carry out channel and intercept, if channel idle, (Distributed Interframe Space DIFS) sends data after time then to wait for the distributed frame spacing; If channel busy then 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 to intercept channel afterwards; Whenever listen to channel idle one time, then the value of backoff counter subtracts one, if listen to channel busy then keep the value of backoff counter constant; After time, the value of backoff counter continues to reduce up to the idle and lasting once more DIFS of channel.When the value of backoff counter is kept to 0, show this node competition success, begin to send data.If the transmission data failure then restarts backoff counter, and enlarge competition window, up to max-window value CW Max
When 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 the wireless channel simultaneously.Thereby reduced the quality of video transmission.
Summary of the invention
The object of the present invention is to provide the transmission method of video packets in a kind of WLAN, in order to improve the quality of video transmission.
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 of the video packets adjustment formation;
3) start before the backoff counter, competition window maximum and minimum value are set according to the distortion metrics of each frame of video in the picture group;
4) before the transmission data, estimate the transmission delay of each video packets, overtime video packets is abandoned.
The distortion metrics of frame of video adopts following method to calculate in the said step 1):
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 to be added 1 by reference number of times, is direct reference number of times and indirect reference number of times sum by reference number of times.
Said step 2) concrete grammar is:
Add an additional delay for each video packets in the formation; 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 for the corresponding video packets of reference frame, give the corresponding video packets of non-reference frame add on the occasion of additional delay, establish T I, inBe that i video packets gets into the time of formation in the formation, order
Figure BDA00001914686000021
ε iThe additional delay of i video packets is selected in formation in the expression formation
Figure BDA00001914686000022
The video packets transmission that value is minimum.
The computing formula of said additional delay is following:
ϵ i = L ‾ μL ln d 1 × d 2 × · · · d L d i L
, d in the formula iThe distortion metrics of i video packets in the expression formation, the value of i is 1,2 ... L, L represent current queue length, The mean value of expression queue length can obtain through the arithmetic average of front several times queue length, and μ representes the transmission rate of video packets, and the arithmetic average that can pass through the transmission rate of front plurality of video bag obtains.
The concrete grammar of said step 3) is:
Calculate picture group (Group of Picture; GOP) distortion metrics of each frame of video in; Distortion metrics according to frame of video is distributed competition window maximum and minimum value; Distribute less competition window for the high frame of video of distortion metrics, distribute bigger competition window to the frame of video that distortion metrics is low;
The Optimization Model of said 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 ,
CW wherein J, minBe the minimum value of j frame competition window, Φ W, minBe majorized function, optimization aim is to minimize Φ W, min, N is a group of pictures length, d jBe the distortion metrics of j frame of video in the picture group, C 00, C 01, C 02Be one group of given constant, C 00, C 01, C 02Span be 0 to 1023, find the solution the contention window minimum that this Optimization Model obtains each frame of video through the method for using linear programming;
The peaked Optimization 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 ,
CW wherein J, maxBe the maximum of j frame competition window, Φ W, maxBe majorized function, optimization aim is to minimize Φ W, max, N is a group of pictures length, d jBe the distortion metrics of j frame of video in the picture group, C 10, C 11, C 12Be one group of given constant, C 10, C 11, C 12Span be 0 to 1023, find the solution the competition window maximum that this Optimization Model obtains each frame through the method for using linear programming.
Can know by technique scheme; The transmission method of video packets is through considering the distortion metrics of video packets in the WLAN according to the invention; And consider the transmission sequence of current queuing message and network state adjustment video packets, and set the maximum and the minimum value of competition window, realize preferential transmission important video packets; And reduce the probability that conflicts, thereby improve the quality of video transmission.
Description of drawings
Fig. 1 is the emulation experiment design sketch of the embodiment of the invention, and Fig. 1 a is the average packet loss ratio comparison diagram, Fig. 1 b average video quality comparison diagram.
Embodiment
Below in conjunction with accompanying drawing and embodiment the present invention is described further.
Step 1: the distortion metrics of calculating frame of video and video packets;
Wherein, in the video transmission process, different video packets has different significance levels.The present invention weighs the importance of video packets with distortion metrics, and a video packets distortion factor is big more, and is then important more.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 the number of times that frame of video is used as reference frame are also high more.Here comprised direct reference and indirect reference by the number of times of reference.For example, suppose that A, B, C are three frame of video, C is a non-reference frame, and C is with B frame as a reference, and B is with A frame as a reference.The B number of times of frame as a reference is 1, and A as a reference the number of times of frame be 2 (once directly reference and indirect reference).The distortion metrics that the present invention defines non-reference frame is 1, and the distortion metrics of reference frame equals to be added one by reference number of times.The distortion metrics of video packets equals the distortion metrics of non-reference frame or the reference frame corresponding with video packets.
It is 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 adjustment video packets in formation.
If T I, inBe that i video packets gets into the time of formation in the formation, add an additional delay for i video packets, computing formula is following:
ϵ i = L ‾ μL ln d 1 × d 2 × · · · × d L d i L
D in the formula iThe distortion metrics of i video packets in the expression formation, the value of i is 1,2 ... L,
ε iThe additional delay of i video packets in the expression formation,
L representes current queue length,
The mean value of
Figure BDA00001914686000052
expression queue length; Can use the arithmetic average of front several times queue length to obtain, each calculating used identical number of times.
μ representes the transmission rate of video packets, can use the arithmetic average of the transmission rate of front plurality of video bag to obtain.Each calculating used identical number.
Let
Figure BDA00001914686000053
in the queue select
Figure BDA00001914686000054
minimum value of video packet transmission.
Step 3: distribute competition window maximum CW for each frame according to the distortion metrics of frame of video J, maxWith minimum value CW J, min
If d jBe picture group of video sequence (Group of Picture, GOP) in the distortion metrics of j frame, CW J, minBe the minimum value of j frame competition window, target function is to minimize
Figure BDA00001914686000055
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, preferred value is: C 00=90, C 01=15, C 02=127; Set up following Optimization 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 find the solution top majorized function through the method for linear programming (Linear Programming), obtain optimum CW J, min
Can be directed against CW equally J, maxSet up Optimization 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, preferred value is: C 10=720, C 11=63, C 12=1023;
Method through linear programming (Linear Programming) is found the solution top majorized function, obtains optimum CW J, max
Step 4: estimate the transmission time of each video packets, with possibly overtime video packets abandoning.
The formula of the estimated value in calculating transmission time is following:
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
Figure BDA00001914686000065
is the transmission time of estimating; is the mean value of backoff counter time out in the inferior backoff procedure of front M (M=10), and each calculating used identical number of times.t -k, pauseBe the measured value of backoff counter time out in the k time backoff procedure in front of video packets of current estimation, aSlotTime and DIFS are the system time constants of DCF agreement, S DataBe the 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 surpassed a time-delay thresholding, just directly abandon this video packets, begin to handle next video packets.
We use software to carry out the emulation experiment of algorithm, and experimental result is as shown in Figure 1.4 kinds of methods have been compared in experiment.Be respectively:
CL-ARCH: document Ksentini A; Naimi M and Gueroui A.Toward an improvement of is video transmission over IEEE802.11e through a cross-layer architecture [J] .Communications Magazine H.264; IEEE; 2006,44 (1): the method among the 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 among the 189-205..
DATF: document Du J and Chen CW.A deadline-aware transmission framework for is video over IEEE802.11e EDCA wireless networks [C] .Huangshan H.264/AVC; China:SPIE, the method among the 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 method embodiment can be accomplished through the relevant hardware of program command.Aforesaid program can be stored in the computer read/write memory medium.This program the step that comprises above-mentioned each method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
What should explain at last is: above embodiment is only in order to explaining technical scheme of the present invention, but not to its restriction; Although the present invention has been carried out detailed explanation with reference to previous embodiment; Those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that previous embodiment is put down in writing, perhaps to wherein part or all technical characteristic are equal to replacement; And these are revised or replacement, do not make the scope of the essence disengaging embodiment of the invention technical scheme of relevant art scheme.

Claims (5)

1. the transmission method of video packets in the WLAN is characterized in that, may further comprise the 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 of the video packets adjustment formation;
3) start before the backoff counter, competition window maximum and minimum value are set according to the distortion metrics of each frame of video in the picture group;
4) before the transmission data, estimate the transmission delay of each video packets, overtime video packets is abandoned.
2. according to the transmission method of video packets in the said a kind of WLAN of claim 1, it is characterized in that:
The distortion metrics of frame of video adopts following method to calculate in the said step 1):
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 to be added 1 by reference number of times, is direct reference number of times and indirect reference number of times sum by reference number of times.
3. according to the transmission method of video packets in the said a kind of WLAN of claim 2, it is characterized in that:
Said step 2) concrete grammar is:
Add an additional delay for each video packets in the formation, add the additional delay of negative value for the corresponding video packets of reference frame, give the corresponding video packets of non-reference frame add on the occasion of additional delay, establish T I, inBe that i video packets gets into the time of formation in the formation, order
Figure FDA00001914685900011
ε iThe additional delay of i video packets is selected in formation in the expression formation
Figure FDA00001914685900012
The video packets transmission that value is minimum.
4. according to the transmission method of video packets in the said a kind of WLAN of claim 3, it is characterized in that:
The computing formula of said additional delay is following:
ϵ i = L ‾ μL ln d 1 × d 2 × · · · × d L d i L
, d in the formula iThe distortion metrics of i video packets in the expression formation, the value of i is 1,2 ... L, L represent current queue length,
Figure FDA00001914685900022
The mean value of expression queue length, μ representes the transmission rate of video packets.
5. according to the transmission method of video packets in the said a kind of WLAN of claim 2, it is characterized in that:
The concrete grammar of said step 3) is:
Calculate the distortion metrics of each frame of video in the picture group, distribute competition window maximum and minimum value according to the distortion metrics of frame of video;
The Optimization Model of said 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 ,
CW wherein J, minBe the minimum value of j frame competition window, Φ W, minBe majorized function, optimization aim is to minimize Φ W, min, N is a group of pictures length, d jBe the distortion metrics of j frame of video in the picture group, C 00, C 01, C 02Be one group of given constant, C 00, C 01, C 02Span be 0 to 1023, find the solution the contention window minimum that this Optimization Model obtains each frame of video through the method for using linear programming;
The peaked Optimization 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 ,
CW wherein J, maxBe the maximum of j frame competition window, Φ W, maxBe majorized function, optimization aim is to minimize Φ W, max, N is a group of pictures length, d jBe the distortion metrics of j frame of video in the picture group, C 10, C 11, C 12Be one group of given constant, C 10, C 11, C 12Span be 0 to 1023, find the solution the competition window maximum that this Optimization Model obtains each frame through the method for using linear programming.
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 true CN102761906A (en) 2012-10-31
CN102761906B 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 (3)

* 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
US20100080188A1 (en) * 2000-07-14 2010-04-01 Jin-Meng Ho Centralized contention and reservation request for qos-driven wireless lans
CN102131083A (en) * 2010-01-18 2011-07-20 西安电子科技大学 Method and device for transmitting scalable videos based on priorities

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100080188A1 (en) * 2000-07-14 2010-04-01 Jin-Meng Ho Centralized contention and reservation request for qos-driven wireless lans
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 (2)

* Cited by examiner, † Cited by third party
Title
HAIDONG WANG: "Priority and delay aware packet management framework for real-time video transport over 802.11e WLANs", 《MULTIMEDIA TOOLS AND APPLICATIONS》 *
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 》 *

Also Published As

Publication number Publication date
CN102761906B (en) 2014-09-03

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
CN110336603B (en) Dynamic time slot allocation method suitable for inter-satellite network
US20160295612A1 (en) Information sending method and apparatus
CN102421151A (en) Minimum contention window adaptive adjustment method based on WLAN (Wireless Local Area Network) contention station number
CN102685468B (en) Method and device for transmitting video packets
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
Hu et al. A comprehensive analytical model for IEEE 802.11 e QoS differentiation schemes under unsaturated traffic loads
CN104581980A (en) Wireless network collision-avoiding channel access control method based on distance partitions
Vassis et al. Delay performance analysis and evaluation of IEEE 802.11 e EDCA in finite load conditions
Hu et al. Performance analysis of the TXOP burst transmission scheme in single-hop ad hoc networks with unbalanced stations
Cheng et al. A novel collision avoidance algorithm for IEEE 802.11 wireless LANs
CN102761906B (en) Method for transmitting video packets in wireless local area network
Prakash et al. Throughput analysis of IEEE 802.11 e EDCA under non saturation condition
Alonso-Zárate et al. Performance analysis of a cluster-based MAC protocol for wireless ad hoc networks
El Housseini et al. Adaptive contention-window MAC algorithms for QoS-enabled wireless LANs
Sanguankotchakorn et al. Adaptive channel access mechanism for real time traffic over IEEE 802.11 e Wi-Fi network
Hwang et al. Performance assessment of IEEE 802.11 e EDCF using three-dimension Markov chain model
Si et al. IEEE 802.11 DCF PSM model and a novel downlink access scheme
Kishida et al. Frame collision reduction method employing adaptive transmission control for IEEE802. 11 wireless LAN system
Dapeng et al. Medium access control access delay analysis of IEEE 802.11 e wireless LAN
Yazid et al. Modelling and performance analysis of video and voice streams in the IEEE 802.11 e-EDCA WLANs with TXOP bursting under fading channel
Lin et al. Adaptive Techniques in Wireless Networks
Oh et al. A novel call admission control scheme for the IEEE 802.11 e EDCA

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

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
TR01 Transfer of patent right
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.

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: 20140903

Termination date: 20210720