CN109729396A - Video slicing data transmission method and device - Google Patents
Video slicing data transmission method and device Download PDFInfo
- Publication number
- CN109729396A CN109729396A CN201711047001.1A CN201711047001A CN109729396A CN 109729396 A CN109729396 A CN 109729396A CN 201711047001 A CN201711047001 A CN 201711047001A CN 109729396 A CN109729396 A CN 109729396A
- Authority
- CN
- China
- Prior art keywords
- network
- information
- service unit
- playing device
- congestion information
- 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
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the present application provides a kind of video slicing data transmission method and device, service unit obtains the network information that analysis system on network performance evaluation is sent, the network information includes the network quality data of the X network equipment, and the X network equipment is the network equipment in service unit and playing device network link;Service unit determines that congestion information, congestion information are used to indicate the network quality of the network link between service unit and playing device according to the network information;Service unit sends congestion information, the code rate of video slicing of the congestion information for determining downloading to playing device.The application determines the network quality of the network link of service unit and playing device by obtaining the network of network qualitative data of the network equipment on network link between service unit and playing device.Playing device includes the code rate that the video slicing of downloading is determined according to network quality, thus the utilization bandwidth of maximal efficiency, while avoiding the Caton in video display process, sluggish problem.
Description
Technical field
This application involves Internet data transmission technical field more particularly to a kind of video slicing data transmission methods and dress
It sets.
Background technique
Currently, Online Video, which plays, generally uses the downloading mode based on video clip.For example, passing through internet to user
In the downloading mode for providing video (over the pop, OTT), service unit is by the version of the different code rates of same video program
Cutting is the fragment of 10s length, is packaged to each fragment.When playing device needs to play out video, dress is played
It sets to service unit and video playing request occurs, include the code rate for the video slicing that request plays in the video playing request.
Client is when determining the code rate of video slicing of request broadcasting, according to current bandwidth, smooth in guarantee broadcasting
Simultaneously, it is ensured that the maximum bandwidth that can bear the code rate of the video slicing of downloading for current bandwidth is used with maximizing to improve
Family experience.Service unit can be requested according to the video playing of playing device, returned to playing device and requested phase with video playing
The video slicing of the code rate of adaptation.
It while to guarantee to play smooth, i.e., is maximum that current bandwidth can bear by the code rate of the video slicing of downloading
Bandwidth, in one implementation, for playing device when sending video playing request to service unit, playing device passes through monitoring
Each index of transport network layer, such as packet loss, time delay, downloading throughput etc., to judge transport layer network road end to end
Whether diameter occurs network congestion, and assesses congestion severity.Playing device is sentenced according to Congestion Level SPCC and downloading throughput, synthesis
Surely the code rate for the video slicing that will be downloaded guarantees that the downloading of fragment smoothness plays.
Due to information end to end may by the interference of many factors, such as packet loss caused by radio channel error, or
Delay variation caused by person's radio signal attenuation, base station switch etc..Also, when the data such as time delay or packet loss change
Congestion, playing device reduces fragment code rate again and has existed obvious lag at this time.Therefore, by each of detection transport network layer
Index come judge transport layer end to end network path whether occur network congestion accuracy it is not high, be easy to cause the mistake of congestion
The problems such as sentencing, more even will cause video playing Caton.
Summary of the invention
The embodiment of the present application provides a kind of video slicing data transmission method and device, available playing device and service
The congestion information of the network equipment in plant network link.Playing device determines the code of the video slicing of downloading according to congestion information
Rate, thus the problem of reducing the erroneous judgement and video playing Caton of congestion.
The embodiment of the present application is achieved in that
In a first aspect, the application specific embodiment provides a kind of video slicing data transmission method, method includes:
Service unit obtains the network information that analysis system on network performance evaluation is sent, and the network information includes the X network equipment
Network quality data, X are the positive integer greater than 1, and the X network equipment is the network in service unit and playing device network link
Equipment;
The service unit determines that congestion information, congestion information indicate service unit and playing device according to the network information
Between network link network quality;
The service unit sends congestion information, the code of video slicing of the congestion information for determining downloading to the playing device
Rate.
The application passes through the network quality data for obtaining the network equipment on network link between service unit and playing device
To determine the network quality of network link between service unit and playing device.Playing device includes under being determined according to network quality
The code rate of the video slicing of load avoids the Caton in video display process, sluggish problem.
In a possible design, service unit determines congestion information according to the network information, specifically includes:
The service unit determines the first network qualitative data in the network quality data of the X network equipment, the first net
Network qualitative data is the network quality data of the maximum network equipment of value of bandwidth availability ratio in the X network equipment;
Service unit according in the first network qualitative data bandwidth availability ratio and packet loss determine congestion information.
In a possible design, the calculation method of congestion information, comprising:
C=m × B+n(L·100)
Wherein, C is congestion information, and B is the bandwidth availability ratio in first network qualitative data, and L is first network mass number
Packet loss in, m, n are parameter preset.
In a possible design, before service unit obtains the network information that analysis system on network performance evaluation is sent, method
Further include:
Service unit sends the network information to analysis system on network performance evaluation and subscribes to message, and the network information subscribes to message for ordering
Read the network information.
In a possible design, service unit obtains the network information that analysis system on network performance evaluation is sent, comprising:
Service unit obtains analysis system on network performance evaluation to be believed according to the network that the instruction that the network information subscribes to message is sent
Breath.
In a possible design, method further include:
Service unit sends the network information and subscribe to analysis system on network performance evaluation cancels message, and network information subscription disappears
Breath, which is used to indicate analysis system on network performance evaluation, to be cancelled to the service unit transmission network information.
In a possible design, the network information subscribe to message in further include the network information sending cycle, the network
The sending cycle of information is used to indicate analysis system on network performance evaluation and sends net to service unit according to the sending cycle of the network information
Network information.
Second aspect, the application specific embodiment provide a kind of video slicing data transmission method, and method includes:
Playing device receives the congestion information that service unit is sent, and congestion information is for indicating service unit and playing device
Network link between network quality;
The code rate for the video slicing that the playing device will be downloaded according to congestion information determination.
In a possible design, playing device determines the code rate of the video slicing of downloading according to congestion information, specifically
Include:
Playing device determines the limit bit rate of the video slicing of downloading according to the highest code rate of congestion information and video;
Playing device determines that the code rate of the video slicing of downloading, the code rate of the video slicing of downloading are less than according to limit bit rate
Limit bit rate.
In a possible design, the calculation method of limit bit rate are as follows:
Bl=f (Bmax×(1-e-k·c))
Wherein Bl is limit bit rate, and C is congestion information, and Bmax is the highest code rate of the video, and k is predetermined coefficient, function F
() expression takes immediate video code rate.
The third aspect, the application specific embodiment provide a kind of service unit, comprising:
Acquiring unit, for obtaining the network information of analysis system on network performance evaluation transmission, the network information includes that X network is set
Standby network quality data, X are the positive integer greater than 1, and the X network equipment is in service unit and playing device network link
The network equipment;
Processing unit, for determining that congestion information, congestion information indicate service unit and play according to the network information
The network quality of network link between device;
Transmission unit, for sending congestion information to playing device, video slicing of the congestion information for determining downloading
Code rate.
In a possible design, processing unit is specifically included for determining congestion information according to the network information:
Processing unit, the first network qualitative data in network quality data for determining the X network equipment, first
Network quality data is the network quality data of the maximum network equipment of value of bandwidth availability ratio in the X network equipment;
Processing unit, for according in first network qualitative data bandwidth availability ratio and packet loss determine congestion information.
In a possible design, the calculation method of congestion information, comprising:
C=m × B+n(L·100)
Wherein, C is congestion information, and B is the bandwidth availability ratio in first network qualitative data, and L is first network mass number
Packet loss in, m, n are parameter preset.
In the possible design, acquiring unit, for obtaining the network equipment of analysis system on network performance evaluation transmission
Before the network information, further includes:
Transmission unit subscribes to news network information subscribing message use for sending the network information to analysis system on network performance evaluation
In the subscription network information.
In the possible design, acquiring unit, for obtaining the network equipment of analysis system on network performance evaluation transmission
The network information, comprising:
Acquiring unit is sent out for obtaining analysis system on network performance evaluation according to the instruction that the network equipment information subscribes to message
The network information of the network equipment sent.
In a possible design, further includes:
Transmission unit cancels message for sending the network information to analysis system on network performance evaluation and subscribing to, which orders
Read cancel message be used to indicate analysis system on network performance evaluation cancel to service unit send the network information.
In a possible design, the network information subscribe to message in further include the network information sending cycle, the network
The sending cycle of information is used to indicate analysis system on network performance evaluation and sends network to service unit according to network information sending cycle
Information.
Fourth aspect, the application specific embodiment provide a kind of playing device, comprising:
Receiving unit, for receiving the congestion information of service unit transmission, congestion information indicates service unit and plays to fill
Network quality between the network link set;
Processing unit, the code rate of the video slicing for that will be downloaded according to congestion information determination.
In a possible design, processing unit, video slicing for that will be downloaded according to congestion information determination
Code rate specifically includes:
Processing unit, the code rate of the video slicing for determining downloading according to the highest code rate of congestion information and video
Limit;
Processing unit, the code rate of the video slicing for determining downloading according to limit bit rate, the code of the video slicing of downloading
Rate is less than limit bit rate.
In a possible design, the calculation method of limit bit rate are as follows:
Bl=f (Bmax×(1-e-k·c))
Wherein Bl is limit bit rate, and C is congestion information, and Bmax is the highest code rate of the video, and k is predetermined coefficient, function F
() expression takes immediate video code rate.
5th aspect, the application specific embodiment provide a kind of service unit, comprising: processor and memory, wherein deposit
The operational order that processor is able to carry out is stored in reservoir, processor reads the operational order in memory for realizing first
The method of aspect any one.
6th aspect, the application specific embodiment provide a kind of playing device, comprising: processor and memory, wherein deposit
The operational order that processor is able to carry out is stored in reservoir, processor reads the operational order in memory for realizing second
The method of aspect any one.
The 7th aspect of the application provides a kind of computer program product comprising instruction, when it runs on computers
When, so that computer executes method described in above-mentioned first aspect.
The application eighth aspect provides a kind of computer program product comprising instruction, when it runs on computers
When, so that computer executes method described in above-mentioned second aspect.
The 9th aspect of the application provides a kind of computer readable storage medium, in the computer readable storage medium
It is stored with instruction, when run on a computer, so that computer executes method described in above-mentioned first aspect.
The tenth aspect of the application provides a kind of computer readable storage medium, in the computer readable storage medium
It is stored with instruction, when run on a computer, so that computer executes method described in above-mentioned second aspect.
Detailed description of the invention
Fig. 1 is a kind of video slicing download system that the application specific embodiment provides;
Fig. 2 is a kind of video slicing data transmission method that the application specific embodiment provides;
Fig. 3 is a kind of service unit that the application specific embodiment provides;
Fig. 4 is a kind of playing device that the application specific embodiment provides;
Schematic diagram shown in fig. 5 for another service unit provided by the embodiments of the present application;
Schematic diagram shown in fig. 6 for another playing device provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application is described.
Fig. 1 is a kind of video slicing download system that the application specific embodiment provides.As shown in Figure 1, including internetworking
It can analysis system 101, service unit 102 and playing device 103.Wherein, the service unit 102 and playing device 103 pass through mutual
Networking is attached.It further include multiple network equipments 104, multiple net on playing device 103 and 102 network link of service unit
Network equipment 104 can be router and/or the network switch.The quantity of multiple network equipments is according to service unit and playing device
Between router and/or the network switch quantity determine.When playing device 103 requests video playing to service unit 102
When, the network equipment 104 establishes connection according to the IP address and service unit 102 of service unit 102.
Playing device 103 includes for sending video playing request to service unit 102, and video playing request includes needing
The code rate of the video information, video slicing information, playing device IP address and video slicing to be played.Service unit 102 is used for
The video playing request that playing device 103 is sent is received, and requests to return accordingly to playing device 102 according to the video playing
Video slicing.The service unit 102 is while receiving the video playing request that playing device 103 is sent, also to the internetworking
Energy analysis system sends the network information and subscribes to message, and it includes service unit IP address, playing device which, which subscribes to message,
IP address and report content.
Analysis system on network performance evaluation 101 is connect with multiple network equipments 104 and service unit 102 respectively.Network performance point
Analysis system 101 receives after the network information subscribes to message, determines between service unit IP address and playing device IP address and includes
The network equipment 104, and obtain the network matter for the network equipment 104 for including between service unit IP address and playing device IP address
Measure data.Wherein, when the network link between service unit IP address and playing device IP address includes the X network equipment,
Analysis system on network performance evaluation obtains the network quality data of the X network equipment respectively.Analysis system on network performance evaluation is according to each net of X
The network quality data of network equipment determines the network information.
Analysis system on network performance evaluation 101 sends the network information to service unit 102, and the network information includes that X network is set
Standby network quality data.Service unit 102 determines congestion information according to the network information, and by the congestion information to playing device
103 send.Playing device 103 is according to congestion information, application layer data acceptance rate, Current buffer time and transport layer statistical information
In any one or more determining downloadings video slicings code rate.Wherein, playing device includes obtaining application layer data to connect
Yield, Current buffer time and transport layer statistical information.
In the application specific embodiment, the net in service unit 102 and playing device 103 is obtained by service unit 102
Network information, and congestion information is determined according to the network information, to make playing device 103 and determine according to congestion information the view of downloading
Frequency division piece.It avoids true according to application layer data acceptance rate, Current buffer time and transport layer statistical information etc. in the prior art
It fixs and plays Caton, even obvious sluggish problem caused by the code rate of the video slicing of load.
Optionally, in the above-described embodiments, service unit 102 can be passed with analysis system on network performance evaluation 101 by file
Defeated agreement (File Transfer Protocol, FTP) or Simple Network Management Protocol (Simple Network
Management Protocol, SNMP) carry out data transmission.Certainly, service unit 102 and analysis system on network performance evaluation 101 are gone back
It can be carried out data transmission by other agreements, the application is to the biography between service unit 102 and analysis system on network performance evaluation 101
Defeated agreement is without limiting.
Fig. 2 is a kind of video slicing data transmission method that the application specific embodiment provides.Method shown in Fig. 2
In, service unit is obtained in service unit and playing device according to the IP address of playing device by analysis system on network performance evaluation
Network link on congestion information.To make playing device include the code for determining the video slicing of downloading according to congestion information
Rate, avoids the code rate for determining the video slicing of downloading according only to transport layer information in the prior art, and transport layer information by
The interference of many factors leads to inaccuracy.Meanwhile transport layer not can accurately reflect it is whole between service unit and playing device
The case where a network link.This method comprises:
S201, service unit obtain the network information that analysis system on network performance evaluation is sent.
When on the network link in service unit and playing device including the X network equipment, service unit obtains network
The network information that performance analysis system is sent includes the network quality data of the X network equipment.
Optionally, service unit further includes the video playing request for receiving playing device and sending before obtaining the network information.
Specifically, playing device sends video playing to service unit when user passes through playing device displaying video programs
Request.Video playing request may include video information, video slicing information, playing device IP address and the video that request plays
Fragment code rate.
On the one hand, when service unit receives the video playing request that playing device is sent, service unit will be filled according to playing
The video playing for setting transmission requests to return to video slicing corresponding with video playing request to playing device.
Service unit requests to return to corresponding video slicing packet to playing device according to the video playing that playing device is sent
It includes, determines video slicing corresponding with the request, and the corresponding video slicing is sent to playing device.It should be with request
Corresponding video slicing is opposite with the video information in video playing request, the code rate of video slicing information and video slicing
It answers.
On the other hand, service unit will determine that sending the network information to analysis system on network performance evaluation subscribes to message.
Service unit is requested according to the video playing, is sent the network information to analysis system on network performance evaluation and is subscribed to message, net
Network information subscribing message is used to subscribe to the network information of the network equipment.Analysis system on network performance evaluation disappears according to network information subscription
It ceases to service unit and sends the network information.
The network information that service unit is sent to analysis system on network performance evaluation subscribes to message and includes service unit IP address, broadcasts
Put device IP address and Web content.The Web content includes the ginseng that at least one is used to describe network equipment current network performance
Number.In one example, Web content includes bandwidth availability ratio, the bandwidth upper limit and packet loss.Certainly, include in the Web content
Information can arbitrarily be arranged according to demand, the application does not limit the detailed programs of Web content.
In one example, table 1 is that a kind of network information that the application specific embodiment provides subscribes to message.In the example
In, which includes port bandwidth, port bandwidth utilization rate and port packet loss.
Table 1
The network equipment and analysis system on network performance evaluation use Simple Network Management Protocol (Simple Network
Management Protocol, SNMP) or File Transfer Protocol (File Transfer Protocol, FTP) communication.Wherein,
It further include probe in the network equipment, which can obtain the network information of the network equipment upper port where it.Network performance
Analysis system obtains the network information of network equipment upper port by probe.
Analysis system on network performance evaluation subscribes to message according to the network information and determines the network information.Specifically, network performance analysis
System according to the network information subscribe to message in include service unit IP address and playing device IP address determine service unit and
The network equipment in the network link of playing device.The analysis system on network performance evaluation is in the net for determining service unit and playing device
After the network equipment in network link, network equipment network corresponding with Web content is obtained by the probe of the network equipment
Qualitative data.Analysis system on network performance evaluation determines the network information according to the network quality data of each network equipment.
In above-described embodiment of the application, the network quality data that analysis system on network performance evaluation obtains the network equipment is existing
There is technology, the application is to above content without specifically limiting.
In one example, table 2 is that a kind of network information exemplified is embodied in the application.As shown in table 2.
Table 2
Analysis system on network performance evaluation also sends the network information to service unit after determining the network information.Network
Performance analysis system includes the network quality data of the X network equipment to the network information that service unit is sent, and X is less than or equal to
The quantity of the network equipment between service unit and playing device network link.
Optionally, it further includes subscribing in message which subscribes to the network information that analysis system on network performance evaluation is sent
Period.The analysis system on network performance evaluation is according to the subscription period from multiple networks in playing device and service unit network link
Equipment obtains network quality data, and sends the network information including the network quality data to service unit.
Optionally, it further includes service in message which subscribes to the network information that analysis system on network performance evaluation is sent
The port of device receiving device information report.The analysis system on network performance evaluation is by the port by the network information to service unit
It sends.
It optionally, further include that determination is before service unit sends network information subscription message to analysis system on network performance evaluation
It is no to send network information subscription message to analysis system on network performance evaluation.
Service unit includes maintenance network information subscription list, and network information subscription list is for indicating that service unit is current
The network information subscribed to.In one example, network information subscription list can be as shown in table 3, including is currently ordering
The device identification for the playing device read.
Table 3
Service unit judges the network when determining whether that analysis system on network performance evaluation sends network information subscription message
In information subscribing list whether include the playing device device identification.When in network information subscription list include the playing device
Device identification when, service unit to analysis system on network performance evaluation send include the playing device IP address the network information order
Message is read, service unit terminates for the operation of video playing request.When not including that this is broadcast in network information subscription list
When putting the device identification of device, service unit, which sends the network including the playing device IP address to analysis system on network performance evaluation, to be believed
Breath subscribes to message.
Optionally, each playing device in network information subscription list respectively include one it is corresponding with playing device
Timer, the timer include first time threshold.When network equipment information subscription list is added in the device identification of playing device
When, which starts timing, and when reaching the time of the timer, service unit will broadcasting dress corresponding with the timer
The device identification set is deleted from network information subscription list.
In one example, table 4 is that a kind of network information including timer that the application specific implementation exemplifies is subscribed to
List includes device identification and remaining time corresponding with device identification as shown in table 4.
Table 4
When the time of video playing is longer, the network link of service unit and playing device may change, thus
Cause the network equipment that may change.The application network information subscription list deletes the IP address of playing device by timing,
After video playing request to make service unit receive playing device, network letter is sent to analysis system on network performance evaluation again
Breath subscribes to message.Reaching, which makes analysis system on network performance evaluation subscribe to message according to the new network information, determines that service unit and broadcasting fill
Set the network equipment in network link.The network equipment for including in the network link of playing device and service unit is avoided to occur
After variation, the network information and playing device and service unit for including in the network information that analysis system on network performance evaluation obtains are practical
The inconsistent problem of network link.
S202, service unit determine congestion information according to the network information.
Service unit obtains the network quality number that the network information that analysis system on network performance evaluation is sent includes the X network equipment
According to.Since the network quality between playing device and service unit depends on the worst network equipment of network quality, at this
In the specific embodiment of application, determine that congestion information can be the network that network quality is worst in determining X network quality data
The congestion information of equipment.
Optionally, service unit determines that the first network information in the X network information, first network information are X networks
The maximum network information of the value of bandwidth availability ratio in information.Service unit is according to the bandwidth availability ratio for including in first network information
Congestion information is determined with packet loss.
Optionally, service unit determines that congestion is believed according to the bandwidth availability ratio and packet loss that include in first network information
Breath, comprising:
C=m × B+n(L·100)
Wherein, C is congestion information, and B is the bandwidth availability ratio for including in first network qualitative data, and L is first network matter
The packet loss for including in amount data, m, n are parameter preset.
Certainly, the congestion information of the worst network equipment of one network quality of above-mentioned determination and a determining network equipment
Congestion information method be only one of the application specific embodiment citing.
S203, service unit send congestion information to playing device.
Service unit is after determining congestion information according to the network information, also according to the playing device for including in the network information
IP address, by the congestion information to the playing device send.
Optionally, congestion information is sent and can be filled congestion information to broadcasting by HTTP to playing device by service unit
Set transmission.
S204, playing device include the code rate that the video slicing of downloading is determined according to congestion information.
For playing device before the code rate for the video slicing that determination will download, playing device further includes receiving service unit hair
The congestion information sent, to include the code rate for the video slicing that will be downloaded according to congestion information determination.
Optionally, playing device can also determine the video of downloading according to congestion information and the other information of acquisition simultaneously
The code rate of fragment.
In the example for directly determining the code rate of the video slicing of downloading according to congestion information in playing device, downloading is determined
The limit bit rate of video slicing, to determine the code rate of the video slicing of downloading according to limit bit rate.
The calculation of the limit bit rate are as follows:
Bl=f (Bmax×(1-e-k·c))
Wherein Bl is limit bit rate, and C is congestion information, and Bmax is the highest code rate of the video, and k is predetermined coefficient, function F
() expression takes immediate video code rate.
Optionally, playing device further includes the first congestion threshold.Playing device can be combined with limit bit rate and first and gather around
Fill in the code rate that threshold value determines the video slicing of downloading.
In one example, when congestion information increases to the first congestion threshold, the code rate of the video slicing of downloading is lowered,
To avoid video playing Caton.When congestion information drops to the first congestion threshold or less, the video point that will be downloaded is raised
The code rate of piece, to promote video quality.
In the example of the code rate for the video slicing that playing device will be downloaded according to congestion information and other information determination,
Playing device is according to any one in congestion information, application layer data acceptance rate, Current buffer time and transport layer statistical information
The code rate of the video slicing of a or multiple determining downloadings, wherein the transport layer statistical information includes port bandwidth, port bandwidth benefit
With at least one of rate, port packet loss.
When playing device needs to download the video playing request of new video slicing, include in video playing request
Code rate is that playing device includes being determined according to congestion information.Playing device is set to obtain the code rate being adapted with current network
Video slicing.To improve the code rate of video slicing as far as possible while guaranteeing video playing smoothness.
Fig. 3 is a kind of service unit for providing of the application specific embodiment, wherein service unit shown in Fig. 3 can be with
The step of executing service unit in the method for Fig. 2.As shown in figure 3, including acquiring unit 301, processing unit 302 and generating unit
303。
Acquiring unit 301, for obtaining the network information of analysis system on network performance evaluation transmission, the network information includes X net
The network quality data of network equipment, X are the positive integer greater than 1, and the X network equipment is service unit and playing device network link
In the network equipment;Processing unit 302, for determining that congestion information, congestion information indicate service dress according to the network information
Set the network quality of the network link between playing device;Transmission unit 303 is gathered around for sending congestion information to playing device
Fill in the code rate of video slicing of the information for determining downloading.
Optionally, processing unit 302 are specifically included for determining congestion information according to the network information: processing unit 302,
The first network qualitative data in network quality data for determining the X network equipment, first network qualitative data are X nets
The network quality data of the maximum network equipment of the value of bandwidth availability ratio in network equipment;Processing unit 302, for according to the first net
Bandwidth availability ratio and packet loss in network information determine congestion information.
Optionally, processing unit 302, congestion information, comprising:
C=m × B+n(L·100)
Wherein, C is congestion information, and B is the bandwidth availability ratio in first network qualitative data, and L is first network mass number
Packet loss in, m, n are parameter preset.
Optionally, acquiring unit 302, the network information of the network equipment for obtaining analysis system on network performance evaluation transmission
Before, further includes: transmission unit 303 subscribes to message for sending the network information to analysis system on network performance evaluation, and the network information is subscribed to
Message is for subscribing to the network information.
Acquiring unit 302, for obtaining the network information of analysis system on network performance evaluation transmission, comprising: acquiring unit obtains
The network information that analysis system on network performance evaluation is sent according to the instruction that the network information subscribes to message.
Optionally, message, net are cancelled for sending the network information to analysis system on network performance evaluation and subscribing in transmission unit 303
Network information subscribing cancellation message is used to indicate analysis system on network performance evaluation and cancels to the service unit transmission network information.
It optionally, further include the sending cycle of the network information, the sending cycle of the network information in network information subscription message
It is used to indicate analysis system on network performance evaluation and the network information is sent to service unit according to the sending cycle of the network information.
Fig. 4 is a kind of playing device that the application specific embodiment provides, wherein playing device can also be performed in Fig. 2
Step performed by playing device.Playing device includes receiving unit 401 and processing unit 402.
Receiving unit 401, for receive service unit transmission congestion information, congestion information for indicate service unit with
Network quality between the network link of playing device;Processing unit 402, under being determined according to the network quality between network link
The code rate of the video slicing of load.
Optionally, processing unit 402, the code rate of the video slicing for determining downloading according to congestion information, specifically include:
Processing unit 402, the limit bit rate of the video slicing for determining downloading according to the highest code rate of congestion information and video;Processing
The code rate of unit 402, the code rate of the video slicing for determining downloading according to limit bit rate, the video slicing of downloading is less than code rate
The upper limit.
Optionally, the calculation of limit bit rate are as follows:
Bl=f (Bmax×(1-e-k·c))
Wherein Bl is limit bit rate, and C is congestion information, and Bmax is the highest code rate of the video, and k is predetermined coefficient, function F
() expression takes immediate video code rate.
Schematic diagram shown in fig. 5 for another service unit provided by the embodiments of the present application.Fig. 5 is the corresponding clothes of Fig. 2
It is engaged in the embodiment of device, content identical with Fig. 2 refers to the corresponding embodiment of Fig. 2 in Fig. 5.Referring to Fig. 5, the device packet
Include processor 51 and memory 52, wherein the operational order that processor 51 is able to carry out, processor 51 are stored in memory 52
The operational order in memory 52 is read for realizing above-mentioned method shown in Fig. 2.
Schematic diagram shown in fig. 6 for another playing device provided by the embodiments of the present application.Fig. 6, which is that Fig. 2 is corresponding, to be broadcast
The embodiment of device is put, content identical with Fig. 2 refers to the corresponding embodiment of Fig. 2 in Fig. 6.Referring to Fig. 6, the device packet
Include processor 61 and memory 62, wherein the operational order that processor 61 is able to carry out, processor 61 are stored in memory 62
The operational order in memory 62 is read for realizing above-mentioned method shown in Fig. 2.
It should be noted that it is the alternative embodiment that the application is introduced, art technology that the application, which provides embodiment,
Personnel on this basis, can be designed that more embodiments completely, therefore not repeat here.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
Scope of the present application.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the division of unit,
Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be with
In conjunction with or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed
Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING of device or unit or
Communication connection can be electrical property, mechanical or other forms.
Unit may or may not be physically separated as illustrated by the separation member, shown as a unit
Component may or may not be physical unit, it can and it is in one place, or may be distributed over multiple networks
On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
If function is realized in the form of SFU software functional unit and when sold or used as an independent product, can store
In a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially in other words to existing
Having the part for the part or the technical solution that technology contributes can be embodied in the form of software products, the computer
Software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be personal meter
Calculation machine, server or network equipment etc.) or processor (processor) execute each embodiment method of the application whole
Or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. 15 is various can store
The medium of program code.
More than, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, and it is any to be familiar with
Those skilled in the art within the technical scope of the present application, can easily think of the change or the replacement, and should all cover
Within the protection scope of the application.Therefore, the protection scope of the application should be subject to the protection scope in claims.
Claims (20)
1. a kind of video slicing data transmission method, which is characterized in that the described method includes:
Service unit obtains the network information that analysis system on network performance evaluation is sent, and the network information includes the X network equipment
Network quality data, the X are the positive integer greater than 1, and the X network equipment is service unit and playing device network link
In the network equipment;
The service unit determines congestion information according to the network information, and the congestion information is for indicating service unit and broadcasting
Put the network quality of the network link between device;
The service unit sends the congestion information to the playing device, and the congestion information is for determining the video of downloading
The code rate of fragment.
2. the method according to claim 1, wherein the service unit determines congestion according to the network information
Information specifically includes:
The service unit determines the first network qualitative data in the X network quality data, the first network quality
Data are the network quality datas of the maximum network equipment of value of bandwidth availability ratio in the X network equipment;
The service unit according in the first network qualitative data bandwidth availability ratio and packet loss determine congestion information.
3. according to the method described in claim 2, it is characterized in that, the calculation method of the congestion information, comprising:
C=m × B+n(L·100)
Wherein, C is congestion information, and B is the bandwidth availability ratio in first network qualitative data, and L is in first network qualitative data
Packet loss, m, n are parameter preset.
4. being sent the method according to claim 1, wherein the service unit obtains analysis system on network performance evaluation
The network information before, the method also includes:
The service unit sends the network information to analysis system on network performance evaluation and subscribes to message, and the network information is subscribed to message and used
In the subscription network information.
5. according to the method described in claim 4, it is characterized in that, the service unit obtains analysis system on network performance evaluation transmission
The network information, comprising:
The service unit obtains the network that analysis system on network performance evaluation is sent according to the instruction that the network information subscribes to message
Information.
6. according to the method described in claim 4, it is characterized in that, it further includes the network information that the network information, which is subscribed in message,
Sending cycle, the sending cycle of the network information is used to indicate analysis system on network performance evaluation according to the hair of the network information
The period is sent to send the network information to service unit.
7. a kind of video slicing data transmission method, which is characterized in that the described method includes:
Playing device receive service unit send congestion information, the congestion information for indicate the service unit with it is described
Network quality between the network link of playing device;
The code rate for the video slicing that the playing device will be downloaded according to the congestion information determination.
8. being downloaded the method according to the description of claim 7 is characterized in that the playing device is determined according to the congestion information
Video slicing code rate, specifically include:
The playing device determines the limit bit rate of the video slicing of downloading according to the highest code rate of congestion information and video;
Playing device determines the code rate of the video slicing of downloading, the code rate of the video slicing of the downloading according to the limit bit rate
Less than the limit bit rate.
9. the method according to the description of claim 7 is characterized in that the calculation method of the limit bit rate are as follows:
Bl=f (Bmax×(1-e-k·c))
Wherein Bl is limit bit rate, and C is congestion information, and Bmax is the highest code rate of the video, and k is predetermined coefficient, function F () table
Show and takes immediate video code rate.
10. a kind of service unit characterized by comprising
Acquiring unit, for obtaining the network information of analysis system on network performance evaluation transmission, the network information includes that X network is set
Standby network quality data, the X are the positive integer greater than 1, and the X network equipment is service unit and playing device network
The network equipment in link;
Processing unit, for determining that congestion information, the congestion information indicate service unit and play according to the network information
The network quality of network link between device;
Transmission unit, for sending the congestion information to the playing device, the congestion information is for determining the view of downloading
The code rate of frequency division piece.
11. device according to claim 10, which is characterized in that the processing unit, for according to the network information
It determines congestion information, specifically includes:
Processing unit, the first network qualitative data in network quality data for determining the X network equipment, described
One network quality data is the network quality data of the maximum network equipment of value of bandwidth availability ratio in the X network equipment;
Processing unit, for according in the first network qualitative data bandwidth availability ratio and packet loss determine congestion information.
12. device according to claim 11, which is characterized in that the calculation method of the congestion information, comprising:
C=m × B+n(L·100)
Wherein, C is congestion information, and B is the bandwidth availability ratio in first network qualitative data, and L is losing in first network information
Packet rate, m, n are parameter preset.
13. device according to claim 10, which is characterized in that the acquiring unit, for obtaining network performance analysis
Before the network information that system is sent, further includes:
Transmission unit subscribes to message for sending the network information to analysis system on network performance evaluation, and the network information subscribes to message
For subscribing to the network information.
14. device according to claim 13, which is characterized in that the acquiring unit, for obtaining network performance analysis
The network information that system is sent, comprising:
The acquiring unit, for obtaining instruction transmission of the analysis system on network performance evaluation according to network information subscription message
The network information.
15. device according to claim 13, which is characterized in that it further includes network letter that the network information, which is subscribed in message,
The sending cycle of breath, the sending cycle of the network information are used to indicate analysis system on network performance evaluation according to the network information
Sending cycle sends the network information to service unit.
16. a kind of playing device characterized by comprising
Receiving unit, for receiving the congestion information of service unit transmission, the congestion information is for indicating the service unit
With the network quality between the network link of the playing device;
Processing unit, the code rate of the video slicing for determining downloading according to the congestion information.
17. device according to claim 16, which is characterized in that the processing unit, for according to the congestion information
The code rate for the video slicing that determination will download, specifically includes:
Processing unit, the limit bit rate of the video slicing for determining downloading according to the highest code rate of congestion information and video;
Processing unit, the code rate of the video slicing for determining downloading according to the limit bit rate, the video slicing of the downloading
Code rate be less than the limit bit rate.
18. according to the method for claim 17, which is characterized in that the calculation of the limit bit rate are as follows:
Bl=f (Bmax×(1-e-k·c))
Wherein Bl is limit bit rate, and C is congestion information, and Bmax is the highest code rate of the video, and k is predetermined coefficient, function f () table
Show and takes immediate video code rate.
19. a kind of service unit characterized by comprising processor and memory, wherein be stored with processor in memory
The operational order being able to carry out, processor read the operational order in memory for realizing claim 1 to 6 any one institute
The method stated.
20. a kind of playing device characterized by comprising processor and memory, wherein be stored with processor in memory
The operational order being able to carry out, processor read the operational order in memory for realizing claim 7 to 9 any one institute
The method stated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711047001.1A CN109729396B (en) | 2017-10-31 | 2017-10-31 | Video slicing data transmission method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711047001.1A CN109729396B (en) | 2017-10-31 | 2017-10-31 | Video slicing data transmission method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109729396A true CN109729396A (en) | 2019-05-07 |
CN109729396B CN109729396B (en) | 2022-03-11 |
Family
ID=66293588
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711047001.1A Active CN109729396B (en) | 2017-10-31 | 2017-10-31 | Video slicing data transmission method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109729396B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112969202A (en) * | 2021-03-15 | 2021-06-15 | 北京东土军悦科技有限公司 | Network parameter adjusting method and device, electronic equipment and storage medium |
CN113300967A (en) * | 2021-02-05 | 2021-08-24 | 阿里巴巴集团控股有限公司 | RDMA (remote direct memory Access) network transmission method and device and RDMA network communication system |
CN113726759A (en) * | 2021-08-25 | 2021-11-30 | 烽火通信科技股份有限公司 | Code rate self-adaption method, device, equipment and readable storage medium |
CN114040230A (en) * | 2021-11-08 | 2022-02-11 | 北京达佳互联信息技术有限公司 | Video code rate determining method and device, electronic equipment and storage medium thereof |
WO2022252953A1 (en) * | 2021-05-31 | 2022-12-08 | 华为技术有限公司 | Video transmission method and apparatus, device, system, and computer storage medium |
CN114584833B (en) * | 2020-11-18 | 2024-05-17 | 花瓣云科技有限公司 | Audio and video processing method and device and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102202061A (en) * | 2010-05-24 | 2011-09-28 | 微软公司 | Client-server session parallelization |
US20140026169A1 (en) * | 2012-07-20 | 2014-01-23 | Nokia Siemens Networks Oy | Content Optimization Based On Real Time Network Dynamics |
CN106792263A (en) * | 2016-12-09 | 2017-05-31 | 东方网力科技股份有限公司 | A kind of method of transmitting video data, apparatus and system |
CN106792262A (en) * | 2016-12-05 | 2017-05-31 | 乐视控股(北京)有限公司 | Method of transmitting video data and device |
CN107276910A (en) * | 2017-06-07 | 2017-10-20 | 上海迪爱斯通信设备有限公司 | The real-time adjusting apparatus of video code rate and system, video server |
-
2017
- 2017-10-31 CN CN201711047001.1A patent/CN109729396B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102202061A (en) * | 2010-05-24 | 2011-09-28 | 微软公司 | Client-server session parallelization |
US20140026169A1 (en) * | 2012-07-20 | 2014-01-23 | Nokia Siemens Networks Oy | Content Optimization Based On Real Time Network Dynamics |
CN106792262A (en) * | 2016-12-05 | 2017-05-31 | 乐视控股(北京)有限公司 | Method of transmitting video data and device |
CN106792263A (en) * | 2016-12-09 | 2017-05-31 | 东方网力科技股份有限公司 | A kind of method of transmitting video data, apparatus and system |
CN107276910A (en) * | 2017-06-07 | 2017-10-20 | 上海迪爱斯通信设备有限公司 | The real-time adjusting apparatus of video code rate and system, video server |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114584833B (en) * | 2020-11-18 | 2024-05-17 | 花瓣云科技有限公司 | Audio and video processing method and device and storage medium |
CN113300967A (en) * | 2021-02-05 | 2021-08-24 | 阿里巴巴集团控股有限公司 | RDMA (remote direct memory Access) network transmission method and device and RDMA network communication system |
CN113300967B (en) * | 2021-02-05 | 2024-03-12 | 阿里巴巴集团控股有限公司 | RDMA network transmission method, RDMA network transmission device and RDMA network communication system |
CN112969202A (en) * | 2021-03-15 | 2021-06-15 | 北京东土军悦科技有限公司 | Network parameter adjusting method and device, electronic equipment and storage medium |
CN112969202B (en) * | 2021-03-15 | 2023-03-07 | 北京东土军悦科技有限公司 | Network parameter adjusting method and device, electronic equipment and storage medium |
WO2022252953A1 (en) * | 2021-05-31 | 2022-12-08 | 华为技术有限公司 | Video transmission method and apparatus, device, system, and computer storage medium |
CN113726759A (en) * | 2021-08-25 | 2021-11-30 | 烽火通信科技股份有限公司 | Code rate self-adaption method, device, equipment and readable storage medium |
CN114040230A (en) * | 2021-11-08 | 2022-02-11 | 北京达佳互联信息技术有限公司 | Video code rate determining method and device, electronic equipment and storage medium thereof |
CN114040230B (en) * | 2021-11-08 | 2024-03-29 | 北京达佳互联信息技术有限公司 | Video code rate determining method and device, electronic equipment and storage medium thereof |
Also Published As
Publication number | Publication date |
---|---|
CN109729396B (en) | 2022-03-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109729396A (en) | Video slicing data transmission method and device | |
US9838892B2 (en) | Apparatus, mobile terminal, and method to estimate quality of experience of application | |
US20240098010A1 (en) | Method and system for using a downloadable agent for a communication system, device, or link | |
CN106331739B (en) | Live broadcasting method, equipment, server, system and live state monitoring method | |
CN107277160A (en) | A kind of content delivery network node switching method and device | |
US10771833B2 (en) | System and method for improving streaming video via better buffer management | |
CN110121100A (en) | Method for down loading, device, terminal and the computer readable storage medium of media file | |
CN110138608B (en) | Method and server for managing network service quality | |
CN110087141A (en) | Method of transmitting video data, device, client and server | |
CN109787827B (en) | CDN network monitoring method and device | |
CN109495505A (en) | Stream media protocol conversion method, device, system and computer-readable medium | |
US9491220B2 (en) | Systems and methods for adapting mobile multimedia content delivery service | |
KR102428093B1 (en) | Data processing methods, servers and data collection devices | |
US9326161B2 (en) | Application-driven control of wireless networking settings | |
Havey et al. | Receiver driven rate adaptation for wireless multimedia applications | |
CN110198332A (en) | Dispatching method, device and the storage medium of content delivery network node | |
CN109688483A (en) | A kind of method, apparatus and electronic equipment obtaining video | |
EP3926922B1 (en) | Over-the-top media service testing and qoe issues isolation | |
CN110213671A (en) | A kind of short-sighted frequency of hot spot determines method and apparatus | |
CN106713456A (en) | Network bandwidth statistics method and device | |
EP2773053A1 (en) | Hybrid cable-wireless system | |
KR100553553B1 (en) | System and Method for Managing and Providing Sequential Quality of Service Information | |
CN107800735A (en) | Data acquisition implementation method and device, collecting method, apparatus and system | |
CN108449230B (en) | Network performance detection system, method and related device | |
TWI472239B (en) | Method and apparatus for estimating the performance of a broadband network |
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 |