CN105681931B - A kind of video data package transmission method and system based on wireless network - Google Patents
A kind of video data package transmission method and system based on wireless network Download PDFInfo
- Publication number
- CN105681931B CN105681931B CN201610018292.0A CN201610018292A CN105681931B CN 105681931 B CN105681931 B CN 105681931B CN 201610018292 A CN201610018292 A CN 201610018292A CN 105681931 B CN105681931 B CN 105681931B
- Authority
- CN
- China
- Prior art keywords
- frame
- weight
- data packet
- video
- video frame
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 50
- 238000000034 method Methods 0.000 title claims abstract description 29
- 238000000605 extraction Methods 0.000 claims description 6
- 239000000284 extract Substances 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 11
- 230000007246 mechanism Effects 0.000 description 9
- 238000013507 mapping Methods 0.000 description 6
- 238000012544 monitoring process Methods 0.000 description 6
- 230000008901 benefit Effects 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 230000003068 static effect Effects 0.000 description 3
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000009776 industrial production Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 238000004220 aggregation Methods 0.000 description 1
- 230000002776 aggregation Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000000428 dust Substances 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 238000000275 quality assurance Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/647—Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
- H04N21/64784—Data processing by the network
- H04N21/64792—Controlling the complexity of the content stream, e.g. by dropping packets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/643—Communication protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/647—Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
- H04N21/64784—Data processing by the network
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention relates to a kind of video data package transmission method and system based on wireless network.This method comprises: source node extracts the metadata of current video frame;Source node obtains the weight of data packet in current video frame according to the metadata and the type of the video requency frame data packet;Forward node or destination node according to the weight of the data packet of current video frame and the length of each priority query by each data packet dispatching into different priority queries, to carry out the transmission of video data packet;Wherein, the metadata includes the position of video frame structure, video frame type and video frame in GOP;Each video frame is divided into frame head data packet and content frame data packet.This invention ensures that the higher data packet of weight has bigger probability by high-priority queue transmission, and the probability of the lower data packet competition high-priority queue of weight is then relatively small, improves channel utilization, improves the quality of transmission of video.
Description
Technical field
The present invention relates to wireless network technical field of video transmission more particularly to a kind of video datas based on wireless network
Package transmission method and system.
Background technique
More stringent requirements are proposed to industrial production monitoring for the futurity industry of network digital.Video monitoring is with its information
The friendly of rich and user become wherein most important also most common monitoring means.However, in many extreme environments
Industrial production, such as oil field, mine etc., it tends to be difficult to or even wired video monitoring system can not be disposed.In such a scenario,
Transmission of video and monitoring system based on wireless multi-hop network have advantageous application advantage.
However there are many challenges for deployment wireless multi-hop Video transmission system under extreme conditions.The especially biography of long range
The deployed environments such as defeated, high temperature or low temperature environment, serious dust storm all may cause extreme influence to the transmission performance of wireless network.
At the same time, the performance requirement of wireless multi-hop video delivery network is but very high, is usually all in large-scale monitoring area
Large-scale network is disposed, the transmission of video of low latency and high reliability is realized under uncertain link-quality.Therefore, such as
What guarantees that video transmission quality in the wireless network is that Industrial CCTV is successfully crucial.
Research for Wireless LAN transmission of video is very more, have largely about the algorithm of service quality, agreement and
Standard is successively suggested.For example, EDCA video dispatching mechanism is defined in IEEE 802.11e wireless transmission protocol, by different power
The data packet of weight is placed in different priority queries (as shown in Figure 2).Four priority teams are defined in IEEE 802.11e
Column, i.e. AC (0), AC (1), AC (2), AC (3), each queue when competing wireless channel with different access parameters, including
Congestion window, packet interval continuously transmit duration etc., thereby result in different channel access priorities.In the EDCA of default
In, AC (0) (AC_BK in corresponding diagram 2) is used for transmission background data, and AC (1) (AC_BE in corresponding diagram 2) is used for transmission most
Big to make great efforts (best efforts) business, AC (2) (AC_VI in corresponding diagram 2) and AC (3) (AC_VO in corresponding diagram 2) are respectively
For exporting video data and voice data.Four queues are AC (3) > AC (2) > AC according to the sequence of priority from high to low
(1)>AC(0).Specifically, sound and video data are endowed higher priority, are transmitted by the queue of higher priority.
On the other hand, the development of technical field of video coding occur H.264, the classification coding techniques such as MPEGE-4,
Video data is encoded as the video frame of different weights.Therefore, hierarchical coding takes together with IEEE 802.11e for transmission of video
The cross layer design of business quality assurance is laid a good foundation: the high video frame of weight is put into the queue of high priority to improve bandwidth not
Video transmission quality in sufficient situation.
In the video spatial scalables coding techniques such as H.264, video frame by basic picture frame group (Group of Pictures,
GOP it) forms, each picture frame group is made of three kinds of different frame types: I frame (intra coded frame), P frame
(predictive coded frame), B frame (bi-predictive coded frame), wherein each GOP is by one
I frame starts, and is followed by a certain number of P frames and B frame being alternately present.In general, the structure of a picture frame can be denoted as G
(N, M), wherein N is frame number total in the GOP, and M is the frame number (being equal to the distance between two P frames) between I frame and P frame.Such as
Shown in Fig. 1, G (12,3) indicates that one group of gop structure is " IBBPBBPBBPBB ".
Different types of frame weight decoded for video is different.I frame is the first frame of one group of GOP, and compression
Most light frame contains all information for decoding the frame, therefore independent of any other data frame in identical GOP.P frame is deposited
Store up the difference between present frame and previous I frame or P frame, it is therefore desirable to which the information of its leading I frame or P frame could global solution
Code.B frame is the maximum frame of compression ratio in GOP, and the I frame and P frame that encoding and decoding depend on front and back are as reference data.It will be apparent that
For decoding video sighting distance, the weight of I frame is higher than P frame, and P vertical frame dimension is in B frame.
There are many limitations for the existing video frame priority scheduling mechanism including EDCA, for example only distinguish video counts
According to from non-video data, only distinguish different video frame types, do not consider queue length etc., these factors are all caused in bandwidth
Under wireless network with limited environment, the QoS of transmission of video cannot get effective guarantee.
Traditional video data dispatch map mechanism includes two class of static mappings mechanism and dynamic mapping mechanism.Static mappings
The data frame of a certain type is fixedly put into some queue by mechanism, and in dynamic mapping mechanism, then consider the frame of data frame
The data frame of type and the congestion window of queue, queue length etc., each type all there is probability to be placed into any one
Queue (as shown in Figure 3).
But existing method of transmitting video data does not consider the weight difference of the frame of same type different location, does not consider same yet
The difference of different frame head data packets and content frame data packet in one video frame.Therefore channel resource does not obtain maximizing benefit
With the video quality of output cannot be guaranteed best.
Summary of the invention
The technical problems to be solved by the present invention are: the existing method of transmitting video data channel benefit based on wireless network
With the problem that rate is low, video quality is poor.
In order to solve the above technical problems, one aspect of the present invention is proposed and a kind of is transmitted based on wireless network video data packet
Method, this method comprises:
The metadata of source node extraction current video frame;
Source node obtains data packet in current video frame according to the metadata and the type of the video requency frame data packet
Weight;
Forward node or destination node will according to the weight of the data packet of current video frame and the length of each priority query
Each data packet dispatching is into different priority queries, to carry out the transmission of video data packet;
Wherein, the metadata includes the position of video frame structure, video frame type and video frame in GOP;Each view
Frequency frame is divided into frame head data packet and content frame data packet.
Optionally, the source node obtains current video frame according to the metadata and the type of the video requency frame data packet
The weight of middle data packet includes:
According to the first weight of the position acquisition video frame of video frame structure, video frame type and video frame in GOP;
The frame head data packet of video frame and the weight of content frame data packet are determined according to the first weight of video frame;
Wherein, the weight of the frame head data packet of video frame is the first Weight weight increment of the video frame;Video frame
The weight of content frame data packet is the first weight of the video frame.
Optionally, the position acquisition video frame according to video frame structure, video frame type and video frame in GOP
First weight includes:
First weight of I frame is 1;
The of P frame is obtained according to the number of frames influenced in the before and after frames of P frame by present frame and the number of frames for influencing present frame
One weight;
The of B frame is obtained according to the number of frames influenced in the before and after frames of B frame by present frame and the number of frames for influencing present frame
One weight.
Optionally, the number of frames of the number of frames and influence present frame that are influenced in the before and after frames according to P frame by present frame
Obtain the first weight of P frame, comprising:
The first weight of P frame is obtained according to formula one:
Formula one
Wherein, f0For the number of frames influenced by present frame, f1For the number of frames for influencing present frame, α ∈ (0,1) is to adjust f0
And f1Influence coefficient the factor, f0>=1, f1≥1;G (x) is a monotonically increasing function.
Optionally, the number of frames of the number of frames and influence present frame that are influenced in the before and after frames according to B frame by present frame
Obtain the first weight of B frame, comprising:
The first weight of B frame is obtained according to formula two:
Formula two
Wherein, f0For the number of frames influenced by present frame, f1For the number of frames for influencing present frame, α ∈ (0,1), f0>=1, f1
≥1;G (x) is monotonically increasing function.
Optionally, monotonically increasing function g (x) is defined as follows:
G (x)=a (log (x)+b)+b0,
Wherein, b0For a base line value,Log (N) and the maximum value and minimum value for being respectively;
For p-th of P frame in GOP, f0=N+M-1-M*p, f1=p, for after the P frame, before next P frame
Any B frame, f0=1, f1=min { p+2, N/M };For the B frame between I frame and first P frame, f1=2;For any
B frame between I frame and first P frame, p=0;N and M is the integer greater than 0.
Optionally, the weight of the data packet according to video frame and the length of each priority query are by each data packet tune
It spends into different priority queries and includes:
According to the weight of the data packet of video frame according to each priority query of the sequential search of priority from high to low, according to
The current queue size of the weight of video frame, the maximum queue length of each priority query and each priority query is by current video
Frame calls in corresponding priority query.
Optionally, described according to the weight of video frame, the maximum queue length of each priority query and each priority query
Current queue size current video frame called in into corresponding priority query include:
The data packet of current video frame is called in into the priority team if the data packet of current video frame meets the following conditions
Column;
W*threshold (i) > qlen (i),
Wherein, w is the weight of the data packet of current video frame, and threshold (i) is maximum queue length, and qlen (i) is
Current queue size.
Another aspect of the present invention proposes a kind of video data packet transmission system based on wireless network, which includes:
Metadata extraction unit, for extracting the metadata of current video frame;
Data packet Weight Acquisition unit, it is current for being obtained according to the metadata and the type of the video requency frame data packet
The weight of data packet in video frame;
Priority Queuing unit, for according to the weight of the data packet of current video frame and the length of each priority query
It spends each data packet dispatching into different priority queries, to carry out the transmission of video data packet;
Wherein, the metadata includes the position of video frame structure, video frame type and video frame in GOP;Each view
Frequency frame is divided into frame head data packet and content frame data packet.
Optionally, the data packet Weight Acquisition unit includes that the first Weight Acquisition module and data packet weight determine mould
Block;
The first Weight Acquisition module is for the position according to video frame structure, video frame type and video frame in GOP
Set the first weight for obtaining video frame;
The data packet weight determination module is used to determine the frame head data packet of video frame according to the first weight of video frame
With the weight of content frame data packet;
Wherein, the weight of the frame head data packet of video frame is the first Weight weight increment of the video frame;Video frame
The weight of content frame data packet is the first weight of the video frame.
Video data package transmission method and system provided by the invention based on wireless network, is determining video data packet
The type of video frame, the position of video frame are considered when weight, and frame head data packet and content frame data are distinguished to same video frame
Packet, the video data package transmission method and system ensure that there is the higher data packet of weight bigger probability to pass through high priority
Queue is sent, and the probability of the lower data packet competition high-priority queue of weight is then relatively small, improves channel utilization,
Improve the quality of transmission of video.
Detailed description of the invention
The features and advantages of the present invention will be more clearly understood by referring to the accompanying drawings, and attached drawing is schematically without that should manage
Solution is carries out any restrictions to the present invention, in the accompanying drawings:
Fig. 1 shows the schematic diagram of one group of picture frame group in existing hierarchical coding;
Fig. 2 shows the schematic diagrames of priority query in existing EDCA;
Fig. 3 shows the difference schematic diagram of static mappings mechanism and dynamic mapping mechanism;
Fig. 4 shows the schematic diagram of the video data package transmission method based on wireless network of one embodiment of the invention;
Fig. 5 shows the working principle of the video data package transmission method based on wireless network of one embodiment of the invention
Figure;
Fig. 6 shows the cross layer design of the video data package transmission method based on wireless network of one embodiment of the invention
Display diagram;
Fig. 7 shows the structural representation of the video data packet transmission system based on wireless network of one embodiment of the invention
Figure.
Specific embodiment
Below in conjunction with attached drawing, embodiments of the present invention is described in detail.
In wireless multi-hop network, the node for generating video data is commonly known as source node, and receives video data
Node is referred to as aggregation node or destination node, other nodes are then used as the effect of forward node.
Fig. 4 is the schematic diagram of the video data package transmission method based on wireless network of one embodiment of the invention.Such as Fig. 4
Shown, being somebody's turn to do the video data package transmission method based on wireless network includes:
S41: the metadata of source node extraction current video frame;
S42: source node obtains data in current video frame according to the metadata and the type of the video requency frame data packet
The weight of packet;
S43: forward node or destination node are according to the weight of the data packet of current video frame and the length of each priority query
It spends each data packet dispatching into different priority queries, to carry out the transmission of video data packet;
Wherein, the metadata includes the position of video frame structure, video frame type and video frame in GOP;Each view
Frequency frame is divided into frame head data packet and content frame data packet.
The video data package transmission method based on wireless network of the present embodiment, is examined in the weight for determining video data packet
Consider the type of video frame, the position of video frame, and frame head data packet and content frame data packet, the video are distinguished to same video frame
Data pack transmission method and system ensure that there is the higher data packet of weight bigger probability to send by high-priority queue,
And the probability of the lower data packet competition high-priority queue of weight is then relatively small, improves channel utilization, improves view
Keep pouring in defeated quality.
In a kind of optional embodiment, the source node is according to the class of the metadata and the video requency frame data packet
The weight of data packet includes: in type acquisition current video frame
According to the first weight of the position acquisition video frame of video frame structure, video frame type and video frame in GOP;
The frame head data packet of video frame and the weight of content frame data packet are determined according to the first weight of video frame;
Wherein, the weight of the frame head data packet of video frame is the first Weight weight increment of the video frame;Video frame
The weight of content frame data packet is the first weight of the video frame.
Further, the position acquisition video frame according to video frame structure, video frame type and video frame in GOP
The first weight include:
First weight of I frame is 1;
The of P frame is obtained according to the number of frames influenced in the before and after frames of P frame by present frame and the number of frames for influencing present frame
One weight;
The of B frame is obtained according to the number of frames influenced in the before and after frames of B frame by present frame and the number of frames for influencing present frame
One weight.
Optionally, the number of frames of the number of frames and influence present frame that are influenced in the before and after frames according to P frame by present frame
Obtain the first weight of P frame, comprising:
The first weight of P frame is obtained according to formula one:
Formula one
Wherein, f0For the number of frames influenced by present frame, f1For the number of frames for influencing present frame, α ∈ (0,1) is to adjust f0
And f1Influence coefficient the factor, f0>=1, f1≥1;G (x) is a monotonically increasing function.
The weight coefficient that the weight definition of data packet is 0 to 1.I frame has highest importance, and data packet weight is also most
Height is denoted as w=1.
Optionally, the number of frames of the number of frames and influence present frame that are influenced in the before and after frames according to B frame by present frame
Obtain the first weight of B frame, comprising:
The first weight of B frame is obtained according to formula two:
Formula two
Wherein, f0For the number of frames influenced by present frame, f1For the number of frames for influencing present frame, α ∈ (0,1), f0>=1, f1
≥1;G (x) is monotonically increasing function.
Wherein, α ∈ (0,1) is to adjust f0And f1Influence coefficient the factor, f0>=1 (all P frames and B frame all at least can
Influence its own), f1>=1 (each frame all can at least be influenced by I frame), g (x) is a monotonically increasing function, so that a certain frame
If relied on by more multiframe while dependent on fewer frame, weight is higher.It more intuitively says, is usually got in GOP
Early frame, weight are higher.In other words, the data frame of same type, weight additionally depend on gop structure and its appearance position.
In order to reduce the computation complexity of data packet importance, monotonically increasing function g (x) is defined as follows:
G (x)=a (log (x)+b)+b0,
For the data packet in P frame or B frame, importance is
W=a (logf0+f1logα+b)+b0)
Herein, b0For a base line value, for promoting the importance weight of the data packet in B frame, so that it has an opportunity
Into the queue of higher priority.A, b, b0Three coefficients make w ∈ [b jointly0, 1], wherein a, the value of b are defined as follows:
Wherein log (N) andRespectivelyMaximum value and minimum value;
For p-th of P frame in GOP, f0=N+M-1-M*p, f1=p;For after the P frame (but it is next i.e. p+1
Before a P frame) any B frame, f0=1, f1=min { p+2, N/M };For the B frame between I frame and first P frame, f1=
2, i.e. these B frames only rely upon I frame and first P frame.Or equivalently, the B for any between I frame and first P frame
For frame, p=0 can be regarded;N and M is the integer greater than 0.
In the present embodiment, it is intended to which under the conditions of optimizing bandwidth finite element network, the video quality of optimization receiving end output is such as schemed
Four priority queries shown in 2 will all be used for video data transmission.
The weight of the data packet according to video frame and the length of each priority query are by each data packet dispatching into not
With priority query include:
According to the weight of the data packet of video frame according to each priority query of the sequential search of priority from high to low, according to
The current queue size of the weight of video frame, the maximum queue length of each priority query and each priority query is by current video
Frame calls in corresponding priority query.
Specifically, described according to the weight of video frame, the maximum queue length of each priority query and each priority query
Current queue size current video frame called in into corresponding priority query include:
The data packet of current video frame is called in into the priority team if the data packet of current video frame meets the following conditions
Column;
W*threshold (i) > qlen (i),
Wherein, w is the weight of the data packet of current video frame, and threshold (i) is maximum queue length, and qlen (i) is
Current queue size.
In practical applications, each AC queue is examined successively first, in accordance with the sequence of priority from high to low.Once hair
Some existing AC queue has sufficient spatial cache, then stops checking and the data packet is put into this AC.Specifically, for each
A AC queue AC (i), defining its maximum queue length is threshold (i), and current queue size is qlen (i).Assuming that certain is waited for
The weight for sending data packet is w, for queue AC (i), if met
W*threshold (i) > qlen (i),
The data packet is then placed in queue AC (i);Otherwise, the state for continuing checking next priority query, until looking for
Until the AC queue for meeting above-mentioned condition.If some data packet is unable to satisfy AC (3), AC (2) and AC (1)
Condition is stated, then directly puts it to AC (0) without verify.
Fig. 5 shows the working principle of the video data package transmission method based on wireless network of one embodiment of the invention
Figure;Fig. 6 shows the cross layer design display diagram based on wireless network video data package transmission method of one embodiment of the invention.
For above-mentioned video data package transmission method, the weight calculation of data packet is completed in source node, and is written into the ToS word of data packet
Section, remains unchanged in repeating process.Forward node reads corresponding weight from the tos field of data packet, according to working as prosthomere
The queue length and channel status of point determine that the data packet is sent by what channel.
Fig. 7 shows the structural representation of the video data packet transmission system based on wireless network of one embodiment of the invention
Figure.As shown in fig. 7, the video data packet transmission system based on wireless network includes:
Metadata extraction unit 71, for extracting the metadata of current video frame;
Data packet Weight Acquisition unit 72, for being worked as according to the metadata and the acquisition of the type of the video requency frame data packet
The weight of data packet in preceding video frame;
Priority Queuing unit 73, for according to the weight of the data packet of current video frame and each priority query
Length by each data packet dispatching into different priority queries, to carry out the transmission of video data packet;
Wherein, the metadata includes the position of video frame structure, video frame type and video frame in GOP;Each view
Frequency frame is divided into frame head data packet and content frame data packet.
The data packet Weight Acquisition unit includes the first Weight Acquisition module and data packet weight determination module;
The first Weight Acquisition module is for the position according to video frame structure, video frame type and video frame in GOP
Set the first weight for obtaining video frame;
The data packet weight determination module is used to determine the frame head data packet of video frame according to the first weight of video frame
With the weight of content frame data packet;
Wherein, the weight of the frame head data packet of video frame is the first Weight weight increment of the video frame;Video frame
The weight of content frame data packet is the first weight of the video frame.
Video data packet transmission system described in the present embodiment based on wireless network can be used for executing above method reality
Example is applied, principle is similar with technical effect, and details are not described herein again.
Video data package transmission method and system provided by the invention based on wireless network, is determining video data packet
The type of video frame, the position of video frame are considered when weight, and frame head data packet and content frame data are distinguished to same video frame
Packet, the video data package transmission method and system ensure that there is the higher data packet of weight bigger probability to pass through high priority
Queue is sent, and the probability of the lower data packet competition high-priority queue of weight is then relatively small, improves channel utilization,
Improve the quality of transmission of video.
Although the embodiments of the invention are described in conjunction with the attached drawings, but those skilled in the art can not depart from this hair
Various modifications and variations are made in the case where bright spirit and scope, such modifications and variations are each fallen within by appended claims
Within limited range.
Claims (2)
1. a kind of video data package transmission method based on wireless network characterized by comprising
The metadata of source node extraction current video frame;
Source node obtains the weight of data packet in current video frame according to the metadata and the type of the video requency frame data packet;
Forward node or destination node will be each according to the weight of the data packet of current video frame and the length of each priority query
Data packet dispatching is into different priority queries, to carry out the transmission of video data packet;
Wherein, the metadata includes the position of video frame structure, video frame type and video frame in GOP;Each video frame
It is divided into frame head data packet and content frame data packet;
The source node obtains data packet in current video frame according to the metadata and the type of the video requency frame data packet
Weight includes:
According to the first weight of the position acquisition video frame of video frame structure, video frame type and video frame in GOP;
The frame head data packet of video frame and the weight of content frame data packet are determined according to the first weight of video frame;
Wherein, the weight of the frame head data packet of video frame is the first Weight weight increment of the video frame;In the frame of video frame
The weight for holding data packet is the first weight of the video frame;
First weight packet of the position acquisition video frame according to video frame structure, video frame type and video frame in GOP
It includes:
First weight of I frame is 1;
The first power of P frame is obtained according to the number of frames influenced in the before and after frames of P frame by present frame and the number of frames for influencing present frame
Weight;
The first power of B frame is obtained according to the number of frames influenced in the before and after frames of B frame by present frame and the number of frames for influencing present frame
Weight;
The number of frames that is influenced in the before and after frames according to P frame by present frame and the number of frames for influencing present frame obtain the of P frame
One weight, comprising:
The first weight of P frame is obtained according to formula one:
Wherein, f0For the number of frames influenced by present frame, f1For the number of frames for influencing present frame, α ∈ (0,1) is to adjust f0And f1
Influence coefficient the factor, f0>=1, f1≥1;G (x) is a monotonically increasing function;
The number of frames that is influenced in the before and after frames according to B frame by present frame and the number of frames for influencing present frame obtain the of B frame
One weight, comprising:
The first weight of B frame is obtained according to formula two:
Wherein, f0For the number of frames influenced by present frame, f1For the number of frames for influencing present frame, α ∈ (0,1), f0>=1, f1≥1;g
It (x) is monotonically increasing function;
Monotonically increasing function g (x) is defined as follows:
G (x)=a (log (x)+b)+b0,
Wherein, b0For a base line value,Log (N) andRespectivelyMaximum value and minimum value;
For p-th of P frame in GOP, f0=N+M-1-M*p, f1=p, for appointing after the P frame, before next P frame
Meaning B frame, f0=1, f1=min { p+2, N/M };For the B frame between I frame and first P frame, f1=2;For any in I frame
B frame between first P frame, p=0;N and M is the integer greater than 0;
The weight of the data packet according to video frame and the length of each priority query are by each data packet dispatching into different
Priority query includes:
According to the weight of the data packet of video frame according to each priority query of the sequential search of priority from high to low, according to video
The current queue size of the weight of frame, the maximum queue length of each priority query and each priority query is by current video frame tune
Enter corresponding priority query;
The current queue according to the weight of video frame, the maximum queue length of each priority query and each priority query is long
Current video frame is called in corresponding priority query and includes: by degree
The data packet of current video frame is called in into the priority query if the data packet of current video frame meets the following conditions;
W*threshold (i) > qlen (i),
Wherein, w is the weight of the data packet of current video frame, and threshold (i) is maximum queue length, and qlen (i) is current
Queue length.
2. a kind of video data packet transmission system based on wireless network characterized by comprising
Metadata extraction unit, for extracting the metadata of current video frame;
Data packet Weight Acquisition unit, for obtaining current video according to the metadata and the type of the video requency frame data packet
The weight of data packet in frame;
Priority Queuing unit, for being incited somebody to action according to the weight of data packet and the length of each priority query of current video frame
Each data packet dispatching is into different priority queries, to carry out the transmission of video data packet;
Wherein, the metadata includes the position of video frame structure, video frame type and video frame in GOP;Each video frame
It is divided into frame head data packet and content frame data packet;
The data packet Weight Acquisition unit includes the first Weight Acquisition module and data packet weight determination module;
The first Weight Acquisition module according to the position of video frame structure, video frame type and video frame in GOP for obtaining
Take the first weight of video frame;
The data packet weight determination module is used to determine the frame head data packet and frame of video frame according to the first weight of video frame
The weight of content-data packet;
Wherein, the weight of the frame head data packet of video frame is the first Weight weight increment of the video frame;In the frame of video frame
The weight for holding data packet is the first weight of the video frame;
First weight packet of the position acquisition video frame according to video frame structure, video frame type and video frame in GOP
It includes:
First weight of I frame is 1;
The first power of P frame is obtained according to the number of frames influenced in the before and after frames of P frame by present frame and the number of frames for influencing present frame
Weight;
The first power of B frame is obtained according to the number of frames influenced in the before and after frames of B frame by present frame and the number of frames for influencing present frame
Weight;
The number of frames that is influenced in the before and after frames according to P frame by present frame and the number of frames for influencing present frame obtain the of P frame
One weight, comprising:
The first weight of P frame is obtained according to formula one:
Wherein, f0For the number of frames influenced by present frame, f1For the number of frames for influencing present frame, α ∈ (0,1) is to adjust f0And f1
Influence coefficient the factor, f0>=1, f1≥1;G (x) is a monotonically increasing function;
The number of frames that is influenced in the before and after frames according to B frame by present frame and the number of frames for influencing present frame obtain the of B frame
One weight, comprising:
The first weight of B frame is obtained according to formula two:
Wherein, f0For the number of frames influenced by present frame, f1For the number of frames for influencing present frame, α ∈ (0,1), f0>=1, f1≥1;g
It (x) is monotonically increasing function;
Monotonically increasing function g (x) is defined as follows:
G (x)=a (log (x)+b)+b0,
Wherein, b0For a base line value,Log (N) andRespectivelyMaximum value and minimum value;
For p-th of P frame in GOP, f0=N+M-1-M*p, f1=p, for appointing after the P frame, before next P frame
Meaning B frame, f0=1, f1=min { p+2, N/M };For the B frame between I frame and first P frame, f1=2;For any in I frame
B frame between first P frame, p=0;N and M is the integer greater than 0;
The weight of the data packet according to video frame and the length of each priority query are by each data packet dispatching into different
Priority query includes:
According to the weight of the data packet of video frame according to each priority query of the sequential search of priority from high to low, according to video
The current queue size of the weight of frame, the maximum queue length of each priority query and each priority query is by current video frame tune
Enter corresponding priority query;
The current queue according to the weight of video frame, the maximum queue length of each priority query and each priority query is long
Current video frame is called in corresponding priority query and includes: by degree
The data packet of current video frame is called in into the priority query if the data packet of current video frame meets the following conditions;
W*threshold (i) > qlen (i),
Wherein, w is the weight of the data packet of current video frame, and threshold (i) is maximum queue length, and qlen (i) is current
Queue length.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610018292.0A CN105681931B (en) | 2016-01-12 | 2016-01-12 | A kind of video data package transmission method and system based on wireless network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610018292.0A CN105681931B (en) | 2016-01-12 | 2016-01-12 | A kind of video data package transmission method and system based on wireless network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105681931A CN105681931A (en) | 2016-06-15 |
CN105681931B true CN105681931B (en) | 2018-12-28 |
Family
ID=56300063
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610018292.0A Active CN105681931B (en) | 2016-01-12 | 2016-01-12 | A kind of video data package transmission method and system based on wireless network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105681931B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109151612B (en) * | 2017-06-27 | 2020-10-16 | 华为技术有限公司 | Video transmission method, device and system |
CN112583739A (en) * | 2019-09-30 | 2021-03-30 | 华为技术有限公司 | Scheduling method and device |
EP4266646A4 (en) * | 2021-01-18 | 2023-12-27 | Huawei Technologies Co., Ltd. | Scheduling transmission method and apparatus |
CN113225608A (en) * | 2021-03-16 | 2021-08-06 | 浙江大华技术股份有限公司 | Video transmission method, device, equipment and storage medium based on wireless network |
CN115473818B (en) * | 2021-06-10 | 2024-03-26 | 维沃移动通信有限公司 | Method and device for acquiring flow characteristic analysis result and network side equipment |
CN114390006B (en) * | 2022-02-18 | 2024-04-05 | 百果园技术(新加坡)有限公司 | Data packet transmission method, device, equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102104538A (en) * | 2010-12-08 | 2011-06-22 | 浙江工业大学 | Mapping parameter dynamic adaptive wireless streaming media transmission control method |
CN102130886A (en) * | 2010-01-18 | 2011-07-20 | 中国电信股份有限公司 | Network video streaming media system, transmission processing method, transmitting end and receiving end |
CN102281436A (en) * | 2011-03-15 | 2011-12-14 | 福建星网锐捷网络有限公司 | Wireless video transmission method and device, and network equipment |
CN102685468A (en) * | 2012-04-28 | 2012-09-19 | 华为技术有限公司 | Method and device for transmitting video packets |
CN103248965A (en) * | 2013-03-05 | 2013-08-14 | 上海交通大学 | Method for video transmission queue scheduling based on approximate time delay |
CN103260090A (en) * | 2013-04-26 | 2013-08-21 | 电子科技大学 | Video-frequency band scheduling and transmission method used for peer to peer (P2P) three-dimensional streaming medium system |
CN104618337A (en) * | 2014-12-31 | 2015-05-13 | 浙江理工大学 | TCP/UDP (Transmission Control Protocol and User Datagram Protocol) mixed protocol based streaming media wireless self-adaptive transmission method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9537779B2 (en) * | 2013-10-11 | 2017-01-03 | Huawei Technologies Co., Ltd. | System and method for real-time traffic delivery |
-
2016
- 2016-01-12 CN CN201610018292.0A patent/CN105681931B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102130886A (en) * | 2010-01-18 | 2011-07-20 | 中国电信股份有限公司 | Network video streaming media system, transmission processing method, transmitting end and receiving end |
CN102104538A (en) * | 2010-12-08 | 2011-06-22 | 浙江工业大学 | Mapping parameter dynamic adaptive wireless streaming media transmission control method |
CN102281436A (en) * | 2011-03-15 | 2011-12-14 | 福建星网锐捷网络有限公司 | Wireless video transmission method and device, and network equipment |
CN102685468A (en) * | 2012-04-28 | 2012-09-19 | 华为技术有限公司 | Method and device for transmitting video packets |
CN103248965A (en) * | 2013-03-05 | 2013-08-14 | 上海交通大学 | Method for video transmission queue scheduling based on approximate time delay |
CN103260090A (en) * | 2013-04-26 | 2013-08-21 | 电子科技大学 | Video-frequency band scheduling and transmission method used for peer to peer (P2P) three-dimensional streaming medium system |
CN104618337A (en) * | 2014-12-31 | 2015-05-13 | 浙江理工大学 | TCP/UDP (Transmission Control Protocol and User Datagram Protocol) mixed protocol based streaming media wireless self-adaptive transmission method |
Also Published As
Publication number | Publication date |
---|---|
CN105681931A (en) | 2016-06-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105681931B (en) | A kind of video data package transmission method and system based on wireless network | |
KR101480598B1 (en) | Techniques for initiating communication in a wireless network | |
Lin et al. | An adaptive cross-layer mapping algorithm for MPEG-4 video transmission over IEEE 802.11 e WLAN | |
CN103248965B (en) | A kind of transmission of video array dispatching method based on approximate time delay | |
CN102104538B (en) | Mapping parameter dynamic adaptive wireless streaming media transmission control method | |
CN113141590B (en) | Industrial Internet of things-oriented wireless communication scheduling method and device | |
CN102075984B (en) | System and method for optimizing video service transmission of wireless local area network | |
CN103209494B (en) | A kind of real-time video traffic resource allocation methods based on importance labelling | |
CN102740367B (en) | Method and device for transmitting data streams | |
Yao et al. | IPB-frame adaptive mapping mechanism for video transmission over IEEE 802.11 e WLANs | |
CN109728927A (en) | Time delay optimization method, business scheduling method and storage medium | |
CN106993190A (en) | Software-hardware synergism coding method and system | |
US10554368B2 (en) | Wireless data-acknowledgement communication using frame aggregation | |
Liu et al. | Adaptive EDCA algorithm using video prediction for multimedia IEEE 802.11 e WLAN | |
EP2477366A1 (en) | Data transmission method, apparatus and system | |
Abbas et al. | Design and implementation of a video surveillance system for linear wireless multimedia sensor networks | |
JP2015050591A (en) | Information processor, information processing method, and program | |
US7693085B2 (en) | Traffic specifications for polling requests of periodic sources | |
Fan | Bandwidth allocation in UWB WPANs with ECMA-368 MAC | |
CN104811720A (en) | Video IPB frame transmission mapping mechanism realization method based on Mesh network | |
Lee et al. | The study of dynamic video frame mapping scheme for multimedia streaming over IEEE 802.11 e WLAN | |
Ke et al. | Frame-based mapping mechanism for energy-efficient MPEG-4 video transmission over IEEE 802.11 e networks with better quality of delivery | |
WO2023045228A1 (en) | Resource unit allocation method and apparatus, storage medium, and electronic apparatus | |
Huang et al. | An MSI-based scheduler for IEEE 802.11 e HCCA | |
CN116709569B (en) | Wi-Fi QoS guarantee method based on video prediction |
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 |