CN117478934A - Video stream data transmission method and system - Google Patents
Video stream data transmission method and system Download PDFInfo
- Publication number
- CN117478934A CN117478934A CN202311800706.1A CN202311800706A CN117478934A CN 117478934 A CN117478934 A CN 117478934A CN 202311800706 A CN202311800706 A CN 202311800706A CN 117478934 A CN117478934 A CN 117478934A
- Authority
- CN
- China
- Prior art keywords
- video stream
- stream data
- transmission
- bandwidth
- data
- 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
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 327
- 238000000034 method Methods 0.000 title claims abstract description 68
- 238000007906 compression Methods 0.000 claims abstract description 67
- 230000006835 compression Effects 0.000 claims abstract description 67
- 230000008569 process Effects 0.000 claims description 19
- 238000004422 calculation algorithm Methods 0.000 claims description 18
- 238000004364 calculation method Methods 0.000 claims description 17
- 238000004590 computer program Methods 0.000 claims description 12
- 230000015556 catabolic process Effects 0.000 claims description 6
- 238000006731 degradation reaction Methods 0.000 claims description 6
- 238000013144 data compression Methods 0.000 claims description 4
- 238000005457 optimization Methods 0.000 claims description 4
- 238000004891 communication Methods 0.000 description 8
- 230000008859 change Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 3
- 238000003491 array Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000002787 reinforcement Effects 0.000 description 2
- 238000010187 selection method Methods 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000003795 chemical substances by application Substances 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 238000009432 framing Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000003068 static effect Effects 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/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/238—Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
- H04N21/2385—Channel allocation; Bandwidth allocation
-
- 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/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2343—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
-
- 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/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2343—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
- H04N21/234363—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by altering the spatial resolution, e.g. for clients with a lower screen resolution
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/06—Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/16—Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
- H04W28/18—Negotiating wireless communication parameters
- H04W28/20—Negotiating bandwidth
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Multimedia (AREA)
- Quality & Reliability (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention provides a video stream data transmission method and a system, wherein the method comprises the steps of determining the residual transmission space of a wireless transmission network based on the data characteristics of video stream data; transmitting video stream data to a waiting area of a wireless transmission network based on the residual transmission space and a preset transmission strategy; optimizing the bandwidth weight, and distributing corresponding transmission bandwidth for each video stream data based on the optimized bandwidth weight; determining a transmission state grade based on the transmission bandwidth of the video stream data and the available bandwidth of the receiver, and performing self-adaptive compression on the video stream data based on the transmission state grade; the invention optimizes the bandwidth of the video stream data, can improve the transmission speed and efficiency of the video stream data, and simultaneously carries out self-adaptive compression on the video stream data so as to achieve the purpose of minimizing transmission delay and further shorten the data transmission delay.
Description
Technical Field
The invention belongs to the technical field of video stream transmission, and particularly relates to a video stream data transmission method and system.
Background
Video streaming refers to the transmission of video data that can be handled as a steady and continuous stream through a network because streaming, client browsers or plug-ins can display multimedia data before the entire file is transmitted.
In the existing video stream data transmission process, the problem of unreasonable bandwidth allocation exists, so that when a plurality of video stream data share the same transmission path, the situation of congestion exists easily, the transmission speed and the efficiency of the video stream data are affected, meanwhile, in the prior art, the process of video stream data transmission is affected due to the problems of overlarge video stream data, low available bandwidth and large bandwidth fluctuation range, transmission delay is increased, and transmission efficiency is affected.
Disclosure of Invention
In order to solve the technical problems, the invention provides a video stream data transmission method and a video stream data transmission system, which are used for solving the technical problems in the prior art.
In one aspect, the present invention provides the following technical solutions, and a video stream data transmission method includes:
acquiring video stream data to be transmitted sent by a sender, and determining the residual transmission space of a wireless transmission network based on the data characteristics of the video stream data;
Transmitting the video stream data to a waiting area of the wireless transmission network based on the residual transmission space and a preset transmission strategy;
pre-distributing bandwidth weight for each video stream data and optimizing the bandwidth weight to obtain optimized bandwidth weight, and distributing corresponding transmission bandwidth for each video stream data based on the optimized bandwidth weight;
determining a transmission state grade based on the transmission bandwidth of the video stream data and the available bandwidth of a receiver, and adaptively compressing the video stream data based on the transmission state grade to obtain compressed video stream data;
the definition of the compressed video stream data is updated according to the residual receiving capacity of the receiver, and the updated compressed video stream data in the waiting area is transmitted to the receiver based on the transmission bandwidth of the video stream data;
wherein the step of determining a remaining transmission space of the wireless transmission network based on the data characteristics of the video stream data comprises:
determining the remaining transmission space of the wireless transmission network based on the data characteristics of the video stream data by using a first preset formulaThe first preset formula is as follows:
;
In the method, in the process of the invention,for the number of data packets still being transmitted, +.>Is a scale factor->For the transmission delay of the sender to the wireless transmission network, < >>Is the average inter-arrival time.
Compared with the prior art, the invention has the beneficial effects that: firstly, acquiring video stream data to be transmitted sent by a sender, and determining the residual transmission space of a wireless transmission network based on the data characteristics of the video stream data; then transmitting the video stream data to a standby area of the wireless transmission network based on the residual transmission space and a preset transmission strategy; then, bandwidth weight is pre-allocated to each video stream data, and the bandwidth weight is optimized to obtain optimized bandwidth weight, and corresponding transmission bandwidth is allocated to each video stream data based on the optimized bandwidth weight; then, determining a transmission state grade based on the transmission bandwidth of the video stream data and the available bandwidth of a receiver, and carrying out self-adaptive compression on the video stream data based on the transmission state grade to obtain compressed video stream data; and finally, carrying out definition update on the compressed video stream data according to the residual receiving capacity of the receiver, and transmitting the updated compressed video stream data in the waiting area to the receiver based on the transmission bandwidth of the video stream data.
Preferably, the step of transmitting the video stream data to the waiting area of the wireless transmission network based on the remaining transmission space and a preset transmission policy includes:
calculating the space occupied by the transmission of the video stream data:
;
In the method, in the process of the invention,for the length of the last video frame in the video stream data, < >>For delta coefficient>For the frame rate of the video stream data, +.>A transmission delay from a sender to a wireless transmission network;
judging the space occupied by the transmission of the video stream dataWhether or not to be smaller than the remaining transmission space of the wireless transmission network;
If the transmission of the video stream data takes up spaceLess than the remaining transmission space of the wireless transmission network +.>Judging the queuing delay difference value->Whether or not it is smaller than the judgment threshold->If the queuing delay is +.>Less than the judgment threshold->Lifting upThe video quality of the video stream data, if the queuing delay difference value->Not less than the judgment threshold->Maintaining the video quality of the video stream data to transmit the video stream data to a standby area of the wireless transmission network;
if the transmission of the video stream data takes up spaceNot less than the remaining transmission space of the wireless transmission network->And reducing the video quality of the video stream data to transmit the video stream data to a standby area of the wireless transmission network.
Preferably, the step of pre-allocating a bandwidth weight to each piece of video stream data and optimizing the bandwidth weight to obtain an optimized bandwidth weight, and allocating a corresponding transmission bandwidth to each piece of video stream data based on the optimized bandwidth weight includes:
pre-distributing corresponding bandwidth weight for each video stream data, and carrying out bit rate decision on the video stream data through a first preset algorithm to obtain first characteristic information;
calculating second characteristic information of each video stream data:
;
In the method, in the process of the invention,、/>indicate->Person, th->Perceptual quality of the individual video stream data, +.>Is->Time of rebuffering of individual video stream data, +.>For the first penalty factor, +.>Is a second penalty coefficient;
optimizing the bandwidth weight according to the first characteristic information and the second characteristic information through a second preset algorithm to obtain an optimized bandwidth weight;
and allocating corresponding transmission bandwidth for each video stream data by using a congestion control algorithm.
Preferably, the step of determining a transmission status level based on the transmission bandwidth of the video stream data and the available bandwidth of the receiving party, and adaptively compressing the video stream data based on the transmission status level to obtain compressed video stream data includes:
Determining a number of transmission links of the wireless transmission networkAnd based on the number of transmission links +.>Calculating available bandwidth of the receiver>:
,/>;
In the method, in the process of the invention,is->Transmission start time of each transmission link, +.>Is->Transmission termination time of the individual transmission links +.>Is->Total transmission capacity of the individual transmission links;
transmission bandwidth based on the video stream dataAvailable bandwidth to the receiver->Calculating bandwidth difference +.>:
;
If it isCompressing the video stream data with a first compression rate as a fixed compression amount, if +.>Compressing the video stream data with a second compression rate as a fixed compression amount, ifCompressing the video stream data with a third compression rate as a fixed compression amount, ifCompressing the video stream data with a fourth compression rate as a fixed compression amount, ifCompressing the video stream data with a fifth compression rate as a fixed compression amount, wherein,is the bandwidth mean.
Preferably, the step of updating the definition of the compressed video stream data according to the remaining receiving capacity of the receiving party, and transmitting the updated compressed video stream data in the waiting area to the receiving party based on the transmission bandwidth of the video stream data includes:
Storing the compressed video stream data of the maximum definition level into a first video group, and storing the rest of the compressed video stream data into a second video group;
pre-transmitting the compressed video stream data in the second video group and updating the residual receiving capacity of the receiverAnd computing power->To obtain a first remaining capacity +.>And first computing power->;
Judging the first remaining acceptable capacityAnd whether the compressed video stream data is larger than a capacity threshold value or not is judged, a judgment result is generated, the compressed video stream data is updated in definition based on the judgment result, and the updated compressed video stream data in the to-be-stored area is transmitted to the receiver based on the transmission bandwidth of the video stream data.
Preferably, the determination of the first remaining acceptable capacityWhether the compressed video stream data is larger than a capacity threshold value or not and generating a judging result, carrying out definition update on the compressed video stream data based on the judging result, and transmitting the updated compressed video stream data in a to-be-stored area to the receiver based on the transmission bandwidth of the video stream data, wherein the step of transmitting the updated compressed video stream data in the to-be-stored area to the receiver comprises the following steps:
if the first remaining acceptable capacityIf the capacity threshold value is larger than the capacity threshold value, selecting first changed compressed video stream data from the second video group, performing iterative upgrade processing on the first changed compressed video stream data, and iteratively updating a first residual receiving capacity- >And first computing power->;
Judging whether the first changed compressed video stream data reaches the maximum definition level, if so, moving the first changed compressed video stream data into the first video group until the first residual receiving capacityNot greater than the capacity threshold;
if the first remaining acceptable capacityJudging the first computing capacity after iterative updating if the first computing capacity is not greater than the capacity threshold value>Whether greater than a calculated threshold;
if the first computing power is updated iterativelyIf the calculation threshold value is not greater than the calculation threshold value, selecting second changed compressed video stream data from the second video group, performing iterative degradation processing on the second changed compressed video stream data, and repeating iterative updating of the first calculation capability->Until the first computing power +.>Greater than a calculated threshold;
and after the compressed video stream data in the second video group is updated, transmitting the updated compressed video stream data in the to-be-stored area to the receiver based on the transmission bandwidth of the video stream data.
In a second aspect, the present invention provides a video streaming data transmission system, which includes:
the data acquisition module is used for acquiring video stream data to be transmitted sent by a sender, and determining the residual transmission space of the wireless transmission network based on the data characteristics of the video stream data;
The transmission space determining module is used for transmitting the video stream data to a waiting area of the wireless transmission network based on the residual transmission space and a preset transmission strategy;
the bandwidth optimization module is used for pre-distributing bandwidth weights for each video stream data and optimizing the bandwidth weights to obtain optimized bandwidth weights, and distributing corresponding transmission bandwidths for each video stream data based on the optimized bandwidth weights;
the data compression module is used for determining a transmission state grade based on the transmission bandwidth of the video stream data and the available bandwidth of a receiver, and carrying out self-adaptive compression on the video stream data based on the transmission state grade so as to obtain compressed video stream data;
and the data transmission module is used for carrying out definition update on the compressed video stream data according to the residual receiving capacity of the receiver and transmitting the updated compressed video stream data in the waiting area to the receiver based on the transmission bandwidth of the video stream data.
In a third aspect, the present invention provides a computer, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the video stream data transmission method as described above when executing the computer program.
In a fourth aspect, the present invention provides a storage medium having a computer program stored thereon, which when executed by a processor implements a video stream data transmission method as described above.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a video stream data transmission method according to a first embodiment of the present invention;
fig. 2 is a detailed flowchart of step S2 in the video stream data transmission method according to the first embodiment of the present invention;
fig. 3 is a detailed flowchart of step S3 in the video stream data transmission method according to the first embodiment of the present invention;
fig. 4 is a detailed flowchart of step S4 in the video stream data transmission method according to the first embodiment of the present invention;
fig. 5 is a detailed flowchart of step S5 in the video stream data transmission method according to the first embodiment of the present invention;
Fig. 6 is a detailed flowchart of step S53 in the video stream data transmission method according to the first embodiment of the present invention;
fig. 7 is a block diagram of a video stream data transmission system according to a second embodiment of the present invention;
fig. 8 is a schematic hardware structure of a computer according to another embodiment of the invention.
Embodiments of the present invention will be further described below with reference to the accompanying drawings.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are exemplary and intended to illustrate embodiments of the invention and should not be construed as limiting the invention.
In the description of the embodiments of the present invention, it should be understood that the terms "length," "width," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like indicate orientations or positional relationships based on the orientation or positional relationships shown in the drawings, merely to facilitate description of the embodiments of the present invention and simplify description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the embodiments of the present invention, the meaning of "plurality" is two or more, unless explicitly defined otherwise.
In the embodiments of the present invention, unless explicitly specified and limited otherwise, the terms "mounted," "connected," "secured" and the like are to be construed broadly and include, for example, either permanently connected, removably connected, or integrally formed; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communicated with the inside of two elements or the interaction relationship of the two elements. The specific meaning of the above terms in the embodiments of the present invention will be understood by those of ordinary skill in the art according to specific circumstances.
Example 1
In a first embodiment of the present invention, as shown in fig. 1, a video stream data transmission method includes:
S1, acquiring video stream data to be transmitted sent by a sender, and determining the residual transmission space of a wireless transmission network based on the data characteristics of the video stream data;
specifically, the video stream data to be transmitted is a series of video data, which can be specifically disassembled into a series of video frame data groups with inter-frame sequence after a complete video framing process, the wireless transmission network is specifically a wireless local area network, and the residual transmission space is the difference value of the total transmission space of the wireless transmission network minus the transmission space occupied by the video stream data still being transmitted;
the step S1 specifically includes:
determining the remaining transmission space of the wireless transmission network based on the data characteristics of the video stream data by using a first preset formulaThe first preset formula is as follows:
;
in the method, in the process of the invention,for the number of data packets still being transmitted, +.>Is a scale factor->For the transmission delay of the sender to the wireless transmission network, < >>Is the average inter-arrival time;
in particular, hereThe number of bytes occupied for each packet, therefore +.>For the total transmission space of the wireless transmission network, +.>The transmission space is occupied for video stream data still being transmitted.
S2, transmitting the video stream data to a standby area of the wireless transmission network based on the residual transmission space and a preset transmission strategy;
As shown in fig. 2, the step S2 specifically includes:
s21, calculating the transmission occupied space of the video stream data:
;
In the method, in the process of the invention,for the length of the last video frame in the video stream data, < >>For delta coefficient>For the frame rate of the video stream data, +.>A transmission delay from a sender to a wireless transmission network;
wherein,the value is 0.2.
S22, judging the space occupied by the transmission of the video stream dataWhether or not it is smaller than the remaining transmission space of the wireless transmission network +.>。
S23, if the transmission space of the video stream data is occupiedLess than the remaining transmission space of the wireless transmission network +.>Judging the queuing delay difference value->Whether or not it is smaller than the judgment threshold->If the queuing delay is +.>Less than the judgment threshold->Improving the video quality of the video stream data, and if the queuing delay difference value is + ->Not less than the judgment threshold->Maintaining the video quality of the video stream data to transmit the video stream data to a standby area of the wireless transmission network;
specifically, when the video stream data is transmitted in the spaceLess than the remaining transmission space of the wireless transmission network +.>When the video stream data is transmitted, the transmission space enough for transmitting the video stream data exists in the wireless transmission network, but the situation of data arrangement exists at the moment, so that a queuing delay exists, and the queuing delay difference value +. >I.e. the difference between the queuing delay of the currently transmitted video stream data and the queuing delay of the next transmitted video stream data in the queuing sequence, thus when the queuing delay difference + ->Less than the judgment threshold->When the queuing delay is within the normal range, the video quality of the video stream data can be improved, and when the queuing delay is different +.>Not less than the judgment threshold->When the queuing delay is in a fluctuation state, the video quality of the video stream data needs to be maintained, so that the queuing delay is more stable, and the data transmission is facilitated.
S24, if the transmission space of the video stream data is occupiedNot less than noRemaining transmission space of a line transmission networkReducing the video quality of the video stream data to transmit the video stream data to a standby area of the wireless transmission network;
specifically, if the transmission space of the video stream data is occupiedNot less than the remaining transmission space of the wireless transmission network->It means that the transmission space of the wireless transmission network is insufficient to transmit the video stream data, or the remaining space is just enough to transmit, so that the transmission space occupied by the video stream data is reduced by reducing the video quality of the video stream data, so as to avoid the video stream data from occupying the whole transmission space until the transmission space occupied by the video stream data is- >Less than the remaining transmission space of the wireless transmission network +.>。
S3, pre-distributing bandwidth weight for each video stream data and optimizing the bandwidth weight to obtain optimized bandwidth weight, and distributing corresponding transmission bandwidth for each video stream data based on the optimized bandwidth weight;
as shown in fig. 3, the step S3 includes:
s31, pre-distributing corresponding bandwidth weight for each video stream data, and carrying out bit rate decision on the video stream data through a first preset algorithm to obtain first characteristic information;
specifically, the bandwidth weight pre-allocated here may allocate a corresponding bandwidth weight to each video stream data through the congestion control protocol, and then make a bit rate decision on the video stream data through an ABS algorithm deployed on the wireless transmission network, so as to obtain an observed value of the video stream data, that is, the first feature information.
S32, calculating second characteristic information of each video stream data:
;
In the method, in the process of the invention,、/>indicate->Person, th->Perceptual quality of the individual video stream data, +.>Is->Time of rebuffering of individual video stream data, +.>For the first penalty factor, +.>Is a second penalty coefficient;
specifically, the second characteristic information indicates fairness of video stream data, which is used to indicate the order of each video stream data and the video characteristic information.
S33, optimizing the bandwidth weight through a second preset algorithm according to the first characteristic information and the second characteristic information to obtain an optimized bandwidth weight;
specifically, the second preset algorithm is specifically a multi-agent deep reinforcement learning algorithm (DRL algorithm), and the bandwidth weight can be optimized according to the first characteristic information and the second characteristic information by the deep reinforcement learning algorithm, so that a new optimized bandwidth weight can be obtained.
S34, distributing corresponding transmission bandwidths for each video stream data by using a congestion control algorithm;
specifically, after the optimized bandwidth weight is obtained, a corresponding transmission bandwidth can be allocated to each video stream data according to the congestion control algorithm.
S4, determining a transmission state grade based on the transmission bandwidth of the video stream data and the available bandwidth of a receiver, and performing self-adaptive compression on the video stream data based on the transmission state grade to obtain compressed video stream data;
as shown in fig. 4, the step S4 includes:
s41, determining the number of transmission links of the wireless transmission networkAnd based on the number of transmission links +.>Calculating available bandwidth of the receiver >:
,/>;
In the method, in the process of the invention,is->Transmission start time of each transmission link, +.>Is->Transmission termination time of the individual transmission links +.>Is->Total transmission capacity of the individual transmission links;
specifically, in the actual video stream data transmission process, the video stream data is transmitted in a chained manner through a plurality of transmission links, so that the available bandwidth of the receiverCan pass->Total transmission amount of each transmission link and +.>The ratio of the total time required for each transmission link to complete transmission is determined.
S42, based on the transmission bandwidth of the video stream dataAvailable bandwidth to the receiver->Calculating bandwidth differences:
。
S43, ifThe video is compressed by a first compression rate as a fixed compression amountCompressing the stream data, if->Compressing the video stream data with a second compression rate as a fixed compression amount, if +.>Compressing the video stream data with a third compression rate as a fixed compression amount, ifCompressing the video stream data with a fourth compression rate as a fixed compression amount, ifCompressing the video stream data with a fifth compression rate as a fixed compression amount, wherein,is the bandwidth mean value;
in particular, when ifAt this time, the transmission network is in a full load state, so the video stream data is compressed by adopting a first compression rate which is the maximum compression rate in the video stream data, if- >At this time, the transmission network is in a heavy load state, so the second compression rate is a fixed compression amount for compressing the video stream data, where the second compression rate is 1.2 times the average value of the compression rates, ifAt this time, when the transmission network is in the medium load state, the video stream data is compressed by using the third compression rate as a fixed compression amount, wherein the third compression amount is 0.6 times of the average value of the compression amounts, if ∈ ->At this time, when the transmission network is in a light load state, compressing the video stream data by using a fourth compression rate as a fixed compression amount, wherein the fourth compression amount is 0.2 times of the average value of the compression amounts, and if ∈ ->At this time, when the transmission network is in an idle state, compressing the video stream data by using a fifth compression rate as a fixed compression amount, where the fifth compression amount is an arbitrary compression rate;
the compression here is specifically directed to the resolution and the mesh size of the video stream data.
S5, carrying out definition update on the compressed video stream data according to the residual receiving capacity of the receiver, and transmitting the updated compressed video stream data in the to-be-stored area to the receiver based on the transmission bandwidth of the video stream data;
as shown in fig. 5, the step S5 includes:
S51, storing the compressed video stream data with the maximum definition level into a first video group, and storing the rest compressed video stream data into a second video group;
specifically, the first video group stores compressed video stream data of a maximum definition level, and the second video group stores compressed video stream data of a non-maximum definition level.
S52, pre-transmitting the compressed video stream data in the second video group and updating the residual receiving capacity of the receiverAnd computing power->To obtain a first remaining capacity +.>And first computing power->;
Specifically, a first remaining acceptable capacityFor the remaining capacity of the recipient, and a first computing capacity +.>For the computing power of the receiver, after the pre-transmission of the data in the second video group, the remaining receiving capacity of the receiver +.>And computing power->Will change correspondingly, so that after pre-transmission of compressed video stream data in said second video group, the remaining accept capacity is required>And computing power->Updating to obtain the first residual acceptable capacity->And first computing power->。
S53, judging the first residual receiving capacityWhether the compressed video stream data is larger than a capacity threshold value or not, generating a judging result, carrying out definition update on the compressed video stream data based on the judging result, and transmitting the updated compressed video stream data in a to-be-stored area to the receiver based on the transmission bandwidth of the video stream data;
As shown in fig. 6, the step S53 includes:
s531, if the first remaining acceptable capacityIf the capacity threshold value is larger than the capacity threshold value, selecting first changed compressed video stream data from the second video group, performing iterative upgrade processing on the first changed compressed video stream data, and iteratively updating a first residual receiving capacity->And first computing power->;
Specifically, the capacity threshold here is 0, when the first remaining acceptable capacityAfter being greater than 0, this means that the receiver can continue to accept the video stream data, so that the first modified compressed video stream data can be selected from the second video group, and the first modified compressed video stream data selection method is as follows:
;
in the method, in the process of the invention,compressed video stream data for the first change, +.>For the second video group, +.>Is->Priority of the individual compressed video stream data, +.>Is->Data retention of compressed video streamMemory degree (memory degree) (memory degree)>Indicate->The bit rate level of the individual compressed video stream data is +.>,/>Indicate->The bit rate level of the individual compressed video stream data is +.>;
Specifically, after the first modified compressed video stream data is determined, the first modified compressed video stream data is updated while the first remaining acceptable capacity is updated And first computing power->The first remaining capacity after updating is +.>The updated first computing power isWherein->To convert the bit rate level of the first modified compressed video stream data into +.>Cost of grade->Conversion of bit rate level of compressed video stream data for first change to +>The cost of the stage is that,bit rate level representing first change compressed video stream data is +.>,/>Bit rate level representing first change compressed video stream data is +.>。
S532, judging whether the first changed compressed video stream data reaches the maximum definition level, if so, moving the first changed compressed video stream data into the first video group until the first residual receiving capacity is reachedNot greater than the capacity threshold;
specifically, when the first modified compressed video stream data reaches the maximum sharpness level, the first modified compressed video stream data is removed from the second video group and moved into the first video group until a first residual acceptable capacityNot greater than 0.
S533, if the first remaining acceptable capacityIf the first calculation capacity is not greater than the capacity threshold value, judging the first calculation capacity after iterative updating Whether or not it is greater than the meterCalculating a threshold value;
specifically, the calculation threshold here is 0;
s534, if the first computing power is updated iterativelyIf the calculation threshold value is not greater than the calculation threshold value, selecting second changed compressed video stream data from the second video group, performing iterative degradation processing on the second changed compressed video stream data, and repeating iterative updating of the first calculation capability->Until the first computing power +.>Greater than a calculated threshold;
specifically, after the second modified compressed video stream data is determined, iterative degradation processing may be performed on the second modified compressed video stream data, where the second modified compressed video stream data selection method includes:
;
wherein,indicate->The bit rate level of the individual compressed video stream data is +.>;
Then, the second modified compressed video stream data is subjected to iterative degradation processing, and the first computing power is calculatedUpdating is carried out, and the first computing capacity after updating is +.>At the same time, there is also a need for a first remaining capacity +.>Updating the first remaining capacity after updating to +.>After that, the first computing power is continued to be judged +.>If it is less than 0, repeating step S534 until the first computing power +.>Is greater than a calculation threshold, wherein ∈ >To convert the bit rate level of the second modified compressed video stream data into +.>The cost of the stage is that,conversion of bit rate level of compressed video stream data for second change to +>Cost of grade->Bit rate level representing second-change compressed video stream data is +.>,/>Bit rate level representing second-change compressed video stream data is +.>;
And S535, after the compressed video stream data in the second video group is updated, transmitting the updated compressed video stream data in the waiting area to the receiver based on the transmission bandwidth of the video stream data.
The first embodiment of the invention provides a video stream data transmission method, which includes the steps of firstly, acquiring video stream data to be transmitted sent by a sender, and determining the residual transmission space of a wireless transmission network based on the data characteristics of the video stream data; then transmitting the video stream data to a standby area of the wireless transmission network based on the residual transmission space and a preset transmission strategy; then, bandwidth weight is pre-allocated to each video stream data, and the bandwidth weight is optimized to obtain optimized bandwidth weight, and corresponding transmission bandwidth is allocated to each video stream data based on the optimized bandwidth weight; then, determining a transmission state grade based on the transmission bandwidth of the video stream data and the available bandwidth of a receiver, and carrying out self-adaptive compression on the video stream data based on the transmission state grade to obtain compressed video stream data; and finally, carrying out definition update on the compressed video stream data according to the residual receiving capacity of the receiver, and transmitting the updated compressed video stream data in the waiting area to the receiver based on the transmission bandwidth of the video stream data.
Example two
As shown in fig. 7, in a second embodiment of the present invention, there is provided a video streaming data transmission system, the system including:
the data acquisition module 1 is used for acquiring video stream data to be transmitted sent by a sender, and determining the residual transmission space of the wireless transmission network based on the data characteristics of the video stream data;
a transmission space determining module 2, configured to transmit the video stream data to a waiting area of the wireless transmission network based on the remaining transmission space and a preset transmission policy;
a bandwidth optimization module 3, configured to pre-allocate a bandwidth weight to each piece of video stream data and optimize the bandwidth weight to obtain an optimized bandwidth weight, and allocate a corresponding transmission bandwidth to each piece of video stream data based on the optimized bandwidth weight;
a data compression module 4, configured to determine a transmission status level based on a transmission bandwidth of the video stream data and an available bandwidth of a receiver, and adaptively compress the video stream data based on the transmission status level, so as to obtain compressed video stream data;
and the data transmission module 5 is used for carrying out definition update on the compressed video stream data according to the residual receiving capacity of the receiver and transmitting the updated compressed video stream data in the waiting area to the receiver based on the transmission bandwidth of the video stream data.
The data acquisition module 1 is specifically configured to:
determining the remaining transmission space of the wireless transmission network based on the data characteristics of the video stream data by using a first preset formulaThe first preset formula is as follows:
;
in the method, in the process of the invention,for the number of data packets still being transmitted, +.>Is a scale factor->For the transmission delay of the sender to the wireless transmission network, < >>Is flatInter-arrival times.
The transmission space determination module 2 includes:
a space calculation sub-module for calculating the space occupied by the transmission of the video stream data:
;
In the method, in the process of the invention,for the length of the last video frame in the video stream data, < >>For delta coefficient>For the frame rate of the video stream data, +.>A transmission delay from a sender to a wireless transmission network;
a first judging sub-module for judging the space occupied by the transmission of the video stream dataWhether or not it is smaller than the remaining transmission space of the wireless transmission network +.>;
A first quality adjustment sub-module for adjusting the transmission space of the video stream dataLess than the remaining transmission space of the wireless transmission network +.>Judging the queuing delay difference value->Whether or not it is smaller than the judgment threshold->If the queuing delay is differentLess than the judgment threshold->Improving the video quality of the video stream data, and if the queuing delay difference value is + - >Not less than the judgment threshold->Maintaining the video quality of the video stream data to transmit the video stream data to a standby area of the wireless transmission network;
a second quality adjustment sub-module for adjusting the transmission space of the video stream dataNot less than the remaining transmission space of the wireless transmission network->And reducing the video quality of the video stream data to transmit the video stream data to a standby area of the wireless transmission network.
The bandwidth optimization module 3 includes:
the pre-allocation sub-module is used for pre-allocating corresponding bandwidth weight for each video stream data, and carrying out bit rate decision on the video stream data through a first preset algorithm so as to obtain first characteristic information;
a feature information sub-module for calculating second feature information of each video stream data:
;
In the method, in the process of the invention,、/>indicate->Person, th->Perceptual quality of the individual video stream data, +.>Is->Time of rebuffering of individual video stream data, +.>For the first penalty factor, +.>Is a second penalty coefficient;
the optimizing sub-module is used for optimizing the bandwidth weight through a second preset algorithm according to the first characteristic information and the second characteristic information so as to obtain an optimized bandwidth weight;
And the allocation submodule is used for allocating corresponding transmission bandwidths for each video stream data by using a congestion control algorithm.
The data compression module 4 includes:
a bandwidth determination sub-module for determining the number of transmission links of the wireless transmission networkAnd based on the number of transmission links +.>Calculating available bandwidth of the receiver>:
,/>;
In the method, in the process of the invention,is->Transmission start time of each transmission link, +.>Is->Transmission termination time of the individual transmission links +.>Is->Total transmission capacity of the individual transmission links;
a difference submodule for transmitting bandwidth based on the video stream dataAvailable bandwidth to the receiver->Calculating bandwidth difference +.>:
;
Compression sub-module for ifCompressing the video stream data with a first compression rate as a fixed compression amount, if +.>Compressing the video stream data with a second compression rate as a fixed compression amount, if +.>Compressing the video stream data with a third compression rate as a fixed compression amount, if +.>Compressing the video stream data with a fourth compression rate as a fixed compression amount, if +.>Compressing the video stream data with a fifth compression rate as a fixed compression amount, wherein +_ >Is the bandwidth mean.
The data transmission module 5 includes:
the video group sub-module is used for storing the compressed video stream data with the maximum definition level into the first video group and storing the rest compressed video stream data into the second video group;
an iteration sub-module, configured to pre-transmit the compressed video stream data in the second video group, and update the remaining receiving capacity of the receiving partyAnd computing power->To obtain a first remaining capacity +.>And first computing power->;
A second judging sub-module for judging the first remaining acceptable capacityAnd whether the compressed video stream data is larger than a capacity threshold value or not is judged, a judgment result is generated, the compressed video stream data is updated in definition based on the judgment result, and the updated compressed video stream data in the to-be-stored area is transmitted to the receiver based on the transmission bandwidth of the video stream data.
The second judging submodule includes:
an upgrade unit for providing a first remaining acceptable capacityIf the capacity threshold value is larger than the capacity threshold value, selecting first changed compressed video stream data from the second video group, performing iterative upgrade processing on the first changed compressed video stream data, and iteratively updating a first residual receiving capacity- >And first computing power->;
A first judging unit for judging whether the first changed compressed video stream data reaches the maximum definition level, if so, moving the first changed compressed video stream data into the first video group until the first residual receiving capacityNot greater than the capacity threshold;
a second judging unit for judging if the first remaining acceptable capacityJudging the first computing capacity after iterative updating if the first computing capacity is not greater than the capacity threshold value>Whether greater than a calculated threshold;
a demotion unit for performing the first computing power after iterative updateIf the calculation threshold value is not greater than the calculation threshold value, selecting second changed compressed video stream data from the second video group, performing iterative degradation processing on the second changed compressed video stream data, and repeating iterative updating of the first calculation capability->Until the first computing power +.>Greater than a calculated threshold;
and the transmission unit is used for transmitting the updated compressed video stream data in the waiting area to the receiver based on the transmission bandwidth of the video stream data after the compressed video stream data in the second video group is updated.
In other embodiments of the present invention, a computer is provided in the following embodiments, and the computer includes a memory 102, a processor 101, and a computer program stored in the memory 102 and executable on the processor 101, where the processor 101 implements the video stream data transmission method as described above when executing the computer program.
In particular, the processor 101 may include a Central Processing Unit (CPU), or an application specific integrated circuit (Application Specific Integrated Circuit, abbreviated as ASIC), or may be configured to implement one or more integrated circuits of embodiments of the present application.
Memory 102 may include, among other things, mass storage for data or instructions. By way of example, and not limitation, memory 102 may comprise a Hard Disk Drive (HDD), floppy Disk Drive, solid state Drive (Solid State Drive, SSD), flash memory, optical Disk, magneto-optical Disk, tape, or universal serial bus (Universal Serial Bus, USB) Drive, or a combination of two or more of the foregoing. Memory 102 may include removable or non-removable (or fixed) media, where appropriate. The memory 102 may be internal or external to the data processing apparatus, where appropriate. In a particular embodiment, the memory 102 is a Non-Volatile (Non-Volatile) memory. In a particular embodiment, the Memory 102 includes Read-Only Memory (ROM) and random access Memory (Random Access Memory, RAM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (Programmable Read-Only Memory, abbreviated PROM), an erasable PROM (Erasable Programmable Read-Only Memory, abbreviated EPROM), an electrically erasable PROM (Electrically Erasable Programmable Read-Only Memory, abbreviated EEPROM), an electrically rewritable ROM (Electrically Alterable Read-Only Memory, abbreviated EAROM), or a FLASH Memory (FLASH), or a combination of two or more of these. The RAM may be Static Random-Access Memory (SRAM) or dynamic Random-Access Memory (Dynamic Random Access Memory DRAM), where the DRAM may be a fast page mode dynamic Random-Access Memory (Fast Page Mode Dynamic Random Access Memory FPMDRAM), extended data output dynamic Random-Access Memory (Extended Date Out Dynamic Random Access Memory EDODRAM), synchronous dynamic Random-Access Memory (Synchronous Dynamic Random-Access Memory SDRAM), or the like, as appropriate.
Memory 102 may be used to store or cache various data files that need to be processed and/or communicated, as well as possible computer program instructions for execution by processor 101.
The processor 101 implements the video stream data transmission method described above by reading and executing computer program instructions stored in the memory 102.
In some of these embodiments, the computer may also include a communication interface 103 and a bus 100. As shown in fig. 8, the processor 101, the memory 102, and the communication interface 103 are connected to each other via the bus 100 and perform communication with each other.
The communication interface 103 is used to implement communication between modules, devices, units, and/or units in the embodiments of the present application. The communication interface 103 may also enable communication with other components such as: and the external equipment, the image/data acquisition equipment, the database, the external storage, the image/data processing workstation and the like are used for data communication.
Bus 100 includes hardware, software, or both, coupling components of a computer device to each other. Bus 100 includes, but is not limited to, at least one of: data Bus (Data Bus), address Bus (Address Bus), control Bus (Control Bus), expansion Bus (Expansion Bus), local Bus (Local Bus). By way of example, and not limitation, bus 100 may include a graphics acceleration interface (Accelerated Graphics Port), abbreviated AGP, or other graphics Bus, an enhanced industry standard architecture (Extended Industry Standard Architecture, abbreviated EISA) Bus, a Front Side Bus (FSB), a HyperTransport (HT) interconnect, an industry standard architecture (Industry Standard Architecture, ISA) Bus, a wireless bandwidth (InfiniBand) interconnect, a Low Pin Count (LPC) Bus, a memory Bus, a micro channel architecture (Micro Channel Architecture, abbreviated MCa) Bus, a peripheral component interconnect (Peripheral Component Interconnect, abbreviated PCI) Bus, a PCI-Express (PCI-X) Bus, a serial advanced technology attachment (Serial Advanced Technology Attachment, abbreviated SATA) Bus, a video electronics standards association local (Video Electronics Standards Association Local Bus, abbreviated VLB) Bus, or other suitable Bus, or a combination of two or more of the foregoing. Bus 100 may include one or more buses, where appropriate. Although embodiments of the present application describe and illustrate a particular bus, the present application contemplates any suitable bus or interconnect.
The computer can execute the video stream data transmission method based on the obtained video stream data transmission system, thereby realizing the behavior recognition of the target.
In still other embodiments of the present invention, in combination with the above video stream data transmission method, embodiments of the present invention provide a storage medium having a computer program stored thereon, the computer program implementing the above video stream data transmission method when executed by a processor.
Those of skill in the art will appreciate that the logic and/or steps represented in the flow diagrams or otherwise described herein, e.g., a ordered listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It is to be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
The technical features of the above-described embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above-described embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples merely represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.
Claims (9)
1. A video stream data transmission method, comprising:
acquiring video stream data to be transmitted sent by a sender, and determining the residual transmission space of a wireless transmission network based on the data characteristics of the video stream data;
transmitting the video stream data to a waiting area of the wireless transmission network based on the residual transmission space and a preset transmission strategy;
Pre-distributing bandwidth weight for each video stream data and optimizing the bandwidth weight to obtain optimized bandwidth weight, and distributing corresponding transmission bandwidth for each video stream data based on the optimized bandwidth weight;
determining a transmission state grade based on the transmission bandwidth of the video stream data and the available bandwidth of a receiver, and adaptively compressing the video stream data based on the transmission state grade to obtain compressed video stream data;
the definition of the compressed video stream data is updated according to the residual receiving capacity of the receiver, and the updated compressed video stream data in the waiting area is transmitted to the receiver based on the transmission bandwidth of the video stream data;
wherein the step of determining a remaining transmission space of the wireless transmission network based on the data characteristics of the video stream data comprises:
determining the remaining transmission space of the wireless transmission network based on the data characteristics of the video stream data by using a first preset formulaThe first preset formula is as follows:
;
in the method, in the process of the invention,for the number of data packets still being transmitted, +.>Is a scale factor->For the transmission delay of the sender to the wireless transmission network, < > >Is the average inter-arrival time.
2. The video stream data transmission method according to claim 1, wherein the step of transmitting the video stream data to a standby area of the wireless transmission network based on the remaining transmission space and a preset transmission policy comprises:
calculating the space occupied by the transmission of the video stream data:
;
In the method, in the process of the invention,for the length of the last video frame in the video stream data, < >>For delta coefficient>For the frame rate of the video stream data, +.>A transmission delay from a sender to a wireless transmission network;
judging the space occupied by the transmission of the video stream dataWhether or not it is smaller than the remaining transmission space of the wireless transmission network +.>;
If the transmission of the video stream data takes up spaceLess than the remaining transmission space of the wireless transmission network +.>Judging the queuing delay difference value->Whether or not it is smaller than the judgment threshold->If the queuing delay is +.>Less than the judgment threshold->Improving the video quality of the video stream data, and if the queuing delay difference value is + ->Not less than the judgment threshold->Maintaining the video quality of the video stream data to transmit the video stream data to a standby area of the wireless transmission network;
if the transmission of the video stream data takes up space Not less than the remaining transmission space of the wireless transmission network->And reducing the video quality of the video stream data to transmit the video stream data to a standby area of the wireless transmission network.
3. The video stream data transmission method according to claim 1, wherein the step of pre-allocating a bandwidth weight to each of the video stream data and optimizing the bandwidth weight to obtain an optimized bandwidth weight, and allocating a corresponding transmission bandwidth to each of the video stream data based on the optimized bandwidth weight comprises:
pre-distributing corresponding bandwidth weight for each video stream data, and carrying out bit rate decision on the video stream data through a first preset algorithm to obtain first characteristic information;
calculating second characteristic information of each video stream data:
;
In the method, in the process of the invention,、/>indicate->Person, th->Perceptual quality of the individual video stream data, +.>Is->Time of rebuffering of individual video stream data, +.>For the first penalty factor, +.>Is a second penalty coefficient;
optimizing the bandwidth weight according to the first characteristic information and the second characteristic information through a second preset algorithm to obtain an optimized bandwidth weight;
And allocating corresponding transmission bandwidth for each video stream data by using a congestion control algorithm.
4. The video stream data transmission method according to claim 1, wherein the step of determining a transmission status level based on a transmission bandwidth of the video stream data and an available bandwidth of a receiving side, adaptively compressing the video stream data based on the transmission status level, to obtain compressed video stream data comprises:
determining a number of transmission links of the wireless transmission networkAnd based on the number of transmission links +.>Calculating available bandwidth of the receiver>:
,/>;
In the method, in the process of the invention,is->Transmission start time of each transmission link, +.>Is->Transmission termination for individual transmission linksTime (F)>Is->Total transmission capacity of the individual transmission links;
transmission bandwidth based on the video stream dataAvailable bandwidth to the receiver->Calculating bandwidth difference +.>:
;
If it isCompressing the video stream data with a first compression rate as a fixed compression amount, ifCompressing the video stream data with a second compression rate as a fixed compression amount, ifCompressing the video stream data with a third compression rate as a fixed compression amount, ifCompressing the video stream data with a fourth compression rate as a fixed compression amount, if Compressing the video stream data with a fifth compression rate as a fixed compression amount, wherein,is the bandwidth mean.
5. The video stream data transmission method according to claim 1, wherein the step of performing sharpness update on the compressed video stream data according to the remaining reception capacity of the receiving side, and transmitting the updated compressed video stream data in the waiting area to the receiving side based on the transmission bandwidth of the video stream data comprises:
storing the compressed video stream data of the maximum definition level into a first video group, and storing the rest of the compressed video stream data into a second video group;
pre-transmitting the compressed video stream data in the second video group and updating the residual receiving capacity of the receiverAnd computing power->To obtain a first remaining capacity +.>And first computing power->;
Judging the first remaining acceptable capacityAnd whether the compressed video stream data is larger than a capacity threshold value or not is judged, a judgment result is generated, the compressed video stream data is updated in definition based on the judgment result, and the updated compressed video stream data in the to-be-stored area is transmitted to the receiver based on the transmission bandwidth of the video stream data.
6. The video stream data transmission method according to claim 5, wherein the determination of the first remaining acceptable capacityWhether the compressed video stream data is larger than a capacity threshold value or not and generating a judging result, carrying out definition update on the compressed video stream data based on the judging result, and transmitting the updated compressed video stream data in a to-be-stored area to the receiver based on the transmission bandwidth of the video stream data, wherein the step of transmitting the updated compressed video stream data in the to-be-stored area to the receiver comprises the following steps:
if the first remaining acceptable capacityIf the capacity threshold value is larger than the capacity threshold value, selecting first changed compressed video stream data from the second video group, performing iterative upgrade processing on the first changed compressed video stream data, and iteratively updating a first residual receiving capacity->And first computing power->;
Judging whether the first changed compressed video stream data reaches the maximum definition level, if so, moving the first changed compressed video stream data into the first video group until the first residual receiving capacityNot greater than the capacity threshold;
if the first remaining acceptable capacityJudging the first computing capacity after iterative updating if the first computing capacity is not greater than the capacity threshold value>Whether greater than a calculated threshold;
If the first computing power is updated iterativelyIf the calculation threshold value is not greater than the calculation threshold value, selecting second changed compressed video stream data from the second video group, performing iterative degradation processing on the second changed compressed video stream data, and repeating iterative updating of the first calculation capability->Until the first computing power +.>Greater than a calculated threshold;
and after the compressed video stream data in the second video group is updated, transmitting the updated compressed video stream data in the to-be-stored area to the receiver based on the transmission bandwidth of the video stream data.
7. A video stream data transmission system, the system comprising:
the data acquisition module is used for acquiring video stream data to be transmitted sent by a sender, and determining the residual transmission space of the wireless transmission network based on the data characteristics of the video stream data;
the transmission space determining module is used for transmitting the video stream data to a waiting area of the wireless transmission network based on the residual transmission space and a preset transmission strategy;
the bandwidth optimization module is used for pre-distributing bandwidth weights for each video stream data and optimizing the bandwidth weights to obtain optimized bandwidth weights, and distributing corresponding transmission bandwidths for each video stream data based on the optimized bandwidth weights;
The data compression module is used for determining a transmission state grade based on the transmission bandwidth of the video stream data and the available bandwidth of a receiver, and carrying out self-adaptive compression on the video stream data based on the transmission state grade so as to obtain compressed video stream data;
and the data transmission module is used for carrying out definition update on the compressed video stream data according to the residual receiving capacity of the receiver and transmitting the updated compressed video stream data in the waiting area to the receiver based on the transmission bandwidth of the video stream data.
8. A computer comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the video stream data transmission method according to any one of claims 1 to 6 when executing the computer program.
9. A storage medium having stored thereon a computer program which, when executed by a processor, implements the video stream data transmission method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311800706.1A CN117478934B (en) | 2023-12-26 | 2023-12-26 | Video stream data transmission method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311800706.1A CN117478934B (en) | 2023-12-26 | 2023-12-26 | Video stream data transmission method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117478934A true CN117478934A (en) | 2024-01-30 |
CN117478934B CN117478934B (en) | 2024-04-16 |
Family
ID=89625933
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311800706.1A Active CN117478934B (en) | 2023-12-26 | 2023-12-26 | Video stream data transmission method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117478934B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030152032A1 (en) * | 2002-02-14 | 2003-08-14 | Kddi Corporation | Video information transmission system, and apparatus and program used for video information transmission system |
CN102149005A (en) * | 2011-04-29 | 2011-08-10 | 四川长虹电器股份有限公司 | Self-adaptive method for controlling network video quality |
KR20150035140A (en) * | 2013-09-27 | 2015-04-06 | 최덕환 | Method And Computer Device For Adaptive Video Streaming |
WO2015200484A1 (en) * | 2014-06-24 | 2015-12-30 | Thomson Licensing | Streaming and downloading of video content according to available bandwidth |
CN110536176A (en) * | 2019-07-31 | 2019-12-03 | 深圳银澎云计算有限公司 | A kind of video resolution method of adjustment, electronic equipment and storage medium |
CN114827662A (en) * | 2022-03-18 | 2022-07-29 | 百果园技术(新加坡)有限公司 | Video resolution self-adaptive adjusting method, device, equipment and storage medium |
EP4131892A1 (en) * | 2021-08-03 | 2023-02-08 | Quintetto S.r.l. | A communication system for enabling multimedia streaming between devices |
-
2023
- 2023-12-26 CN CN202311800706.1A patent/CN117478934B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030152032A1 (en) * | 2002-02-14 | 2003-08-14 | Kddi Corporation | Video information transmission system, and apparatus and program used for video information transmission system |
CN102149005A (en) * | 2011-04-29 | 2011-08-10 | 四川长虹电器股份有限公司 | Self-adaptive method for controlling network video quality |
KR20150035140A (en) * | 2013-09-27 | 2015-04-06 | 최덕환 | Method And Computer Device For Adaptive Video Streaming |
WO2015200484A1 (en) * | 2014-06-24 | 2015-12-30 | Thomson Licensing | Streaming and downloading of video content according to available bandwidth |
CN110536176A (en) * | 2019-07-31 | 2019-12-03 | 深圳银澎云计算有限公司 | A kind of video resolution method of adjustment, electronic equipment and storage medium |
EP4131892A1 (en) * | 2021-08-03 | 2023-02-08 | Quintetto S.r.l. | A communication system for enabling multimedia streaming between devices |
CN114827662A (en) * | 2022-03-18 | 2022-07-29 | 百果园技术(新加坡)有限公司 | Video resolution self-adaptive adjusting method, device, equipment and storage medium |
Non-Patent Citations (1)
Title |
---|
陈瑞;焦良葆;: "基于延迟预测的自适应媒体播放算法", 计算机工程, no. 24, 20 December 2009 (2009-12-20) * |
Also Published As
Publication number | Publication date |
---|---|
CN117478934B (en) | 2024-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110581808B (en) | Congestion control method and system based on deep reinforcement learning | |
US8761012B2 (en) | Packet relay apparatus and method of relaying packet | |
US8391351B2 (en) | Wireless communication apparatus and transmission control method | |
CN112953848B (en) | Traffic supervision method, system and equipment based on strict priority | |
CN1349702A (en) | Adaptive header compression for packet communications | |
WO2006065021A1 (en) | Packet scheduling method for real-time traffic transmission in mobile telecommunication system | |
EP2871847A1 (en) | Apparatus and method for image processing | |
CN107113323B (en) | Data storage method, device and system | |
CN107819853B (en) | A kind of data transmission method and device | |
CN117597920A (en) | Video coding method, device, equipment and storage medium | |
CN101707789B (en) | Method and system for controlling flow | |
CN117478934B (en) | Video stream data transmission method and system | |
US20040213276A1 (en) | Apparatus for scheduling packets and method of doing the same | |
CN113938431A (en) | Burst data packet transmission method and device and electronic equipment | |
CN116131997B (en) | Method, device, chip, terminal and storage medium for wireless communication | |
CN112055382A (en) | Service access method based on refined differentiation | |
CN109996210B (en) | Congestion window control method, device and equipment for Internet of vehicles | |
CN111124298A (en) | Mist computing network content cache replacement method based on value function | |
CN111601343A (en) | Frame aggregation method, terminal device and computer storage medium | |
CN112511702A (en) | Video color ring back tone pushing method, server, electronic equipment and storage medium | |
CN106657097A (en) | Data transmission method and apparatus | |
CN113422838A (en) | Method and device for realizing data synchronization, electronic equipment and storage medium | |
US11984985B2 (en) | Method of performing wireless communication, wireless transmission device and wireless reception device performing the same | |
KR102407235B1 (en) | Storage method and apparatus considering the number of transmissions in a caching system with limited cache memory | |
CN118250489B (en) | Video code stream self-adaptive regulation system and method for camera based on artificial intelligence |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |