CN104639953A - Code rate self-adaption method of audio and video distribution links and audio and video distribution device - Google Patents

Code rate self-adaption method of audio and video distribution links and audio and video distribution device Download PDF

Info

Publication number
CN104639953A
CN104639953A CN201310573425.7A CN201310573425A CN104639953A CN 104639953 A CN104639953 A CN 104639953A CN 201310573425 A CN201310573425 A CN 201310573425A CN 104639953 A CN104639953 A CN 104639953A
Authority
CN
China
Prior art keywords
code check
distribution link
distribution
link
expectation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310573425.7A
Other languages
Chinese (zh)
Other versions
CN104639953B (en
Inventor
成建敏
王大飞
王亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TD Tech Ltd
TD Tech Chengdu Co Ltd
Original Assignee
TD Tech Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TD Tech Ltd filed Critical TD Tech Ltd
Priority to CN201310573425.7A priority Critical patent/CN104639953B/en
Publication of CN104639953A publication Critical patent/CN104639953A/en
Application granted granted Critical
Publication of CN104639953B publication Critical patent/CN104639953B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing 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/23805Controlling the feeding rate to the network, e.g. by controlling the video pump
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
    • H04N21/26216Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints involving the channel capacity, e.g. network bandwidth
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/2662Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention provides a code rate self-adaption method of audio and video distribution links and an audio and video distribution device. The method includes: if a load parameter of the device is larger than a preset overload threshold, taking the minimum value in expecting code rates in the distribution links as target code rates of the distribution links; if the load parameter of the device is smaller or equal to the overload threshold and larger than a preset secure threshold, classifying the code rates according to the expecting code rates of the distributing links and determining the target code rates of the distributing links; if the load parameter of the device is smaller than or equal to the secure threshold and larger than a preset light threshold, combining the code rates according to the expecting code rates of the distribution links to determine the target code rates of the distribution links; if the load parameter of the device is smaller than or equal to the light threshold, determining the target code rates of the distribution links according to the maximum number of the distribution links and the total number of the distribution links. By the method and the device, reliability in audio and video distribution can be improved.

Description

The code check adaptive approach of audio frequency and video distribution link and audio frequency and video discharge device
Technical field
The present invention relates to the communication technology, particularly relate to code check adaptive approach and the audio frequency and video discharge device of a kind of audio frequency and video distribution link.
Background technology
Along with the development of digital audio/video technology and communication network technology, in some video scene, need by the audio frequency and video such as server or dispatcher discharge device, give different receiving equipments by same audio, video data by wireless network transmissions.
At present, in audio frequency and video distributing network, original audio, video data former state is directly transmitted to each receiving equipment by audio frequency and video discharge device, by the impact of audio frequency and video distributing network performance and equipment performance, and the poor reliability of above-mentioned existing audio frequency and video distribution method.
Summary of the invention
First aspect of the present invention is to provide the code check adaptive approach of a kind of audio frequency and video distribution link, in order to solve defect of the prior art, improves the reliability of audio frequency and video distribution.
Another aspect of the present invention is to provide a kind of audio frequency and video discharge device, in order to solve defect of the prior art, improves the reliability of audio frequency and video distribution.
First aspect of the present invention is to provide the code check adaptive approach of a kind of audio frequency and video distribution link, comprising:
The expectation code check of the load parameter of acquisition equipment and each distribution link;
If the load parameter of described equipment is greater than default overload threshold, then using the minimum value in the expectation code check of each distribution link described as the target bit rate of each distribution link;
If the load parameter of described equipment is less than or equal to described overload threshold and be greater than default Secure Threshold, then carries out code check classification according to the expectation code check of each distribution link described, determine the target bit rate of each distribution link;
If the load parameter of described equipment is less than or equal to described Secure Threshold and be greater than default light thresholding, then carries out code check merging according to the expectation code check of each distribution link described, determine the target bit rate of each distribution link;
If the load parameter of described equipment is less than or equal to described light thresholding, then according to the maximum distribution number of links of described equipment and total number of described distribution link, determine the target bit rate of each distribution link.
Method as above, wherein, described in described basis, the expectation code check of each distribution link carries out code check classification, determines that the target bit rate of each distribution link comprises:
In the described maximum that each distributes the expectation code check of link in the scope of minimum value, divide the code check grade of predetermined number, for each distribution link, to be less than or equal to the target bit rate of maximum as described distribution link of the code check grade of the expectation code check of described distribution link, wherein, total number of described code check grade is less than or equal to the maximum distribution number of links of described equipment.
Method as above, wherein, described in described basis, the expectation code check of each distribution link carries out code check merging, determines that the target bit rate of each distribution link comprises:
Sort according to the expectation code check of order from large to small to each distribution link described, from the expectation code check of sequence second, current expectation code check and the minimum adjacent expectation code check of difference are merged into one and expects code check, using the minimum value in described current expectation code check and the minimum adjacent expectation code check of described difference as the expectation code check after merging, until expect that total number of code check equals the maximum distribution number of links of described equipment, distribute the target bit rate of link using the expectation code check after merging and the expectation code check that do not carry out union operation as described each;
Or, calculate the mean value of the maxima and minima of the expectation code check of each distribution link described, as the target bit rate of each distribution link;
Or, interpolation calculation or weighted calculation are carried out to the expectation code check of each distribution link described, obtain candidate's code check of predetermined number, for each distribution link, to be less than or equal to the target bit rate of maximum as described distribution link of candidate's code check of the expectation code check of described distribution link.
Method as above, wherein, total number of the described maximum distribution number of links according to described equipment and described distribution link, determine that the target bit rate of each distribution link comprises:
If total number of described distribution link is less than or equal to the maximum distribution number of links of described equipment, then using the expectation code check of each distribution link described as target bit rate;
If total number of described distribution link is greater than the maximum distribution number of links of described equipment, calculate the difference of total number of described distribution link and the maximum distribution number of links of described equipment, as capability defect number, and calculate described each distribution expectation code check of link and difference of audio frequency and video initial data code check, as distribution link value of poor quality, to described distribution link value of poor quality according to order sequence from big to small, select the distribution link value of poor quality that is preceding and capability defect number same number that sorts, using the average expectation code check of the distribution link that each distribution link value of poor quality of selecting the is corresponding distribution link corresponding with the distribution link value of poor quality that is not selected or expect the target bit rate of the minimum value of code check as distribution link corresponding to the described distribution link value of poor quality selected and distribution link corresponding to the described distribution link value of poor quality do not selected, and using the expectation code check of each not merged distribution link as target bit rate.
Another aspect of the present invention is to provide a kind of audio frequency and video discharge device, comprising:
Acquiring unit, for obtaining the expectation code check of the load parameter of equipment and each distribution link;
Control unit, for when the load parameter of described equipment is greater than default overload threshold, using the minimum value in the expectation code check of each distribution link described as the target bit rate of each distribution link; When the load parameter of described equipment is less than or equal to described overload threshold and is greater than default Secure Threshold, the expectation code check according to each distribution link described carries out code check classification, determines the target bit rate of each distribution link; When the load parameter of described equipment is less than or equal to described Secure Threshold and is greater than default light thresholding, the expectation code check according to each distribution link described carries out code check merging, determines the target bit rate of each distribution link; When the load parameter of described equipment is less than or equal to described light thresholding, according to the maximum distribution number of links of described equipment and total number of described distribution link, determine the target bit rate of each distribution link.
Equipment as above, wherein, described control unit is specifically for being less than or equal to described overload threshold at the load parameter of described equipment and being greater than default Secure Threshold, in the described maximum that each distributes the expectation code check of link in the scope of minimum value, divide the code check grade of predetermined number, for each distribution link, to be less than or equal to the target bit rate of maximum as described distribution link of the code check grade of the expectation code check of described distribution link, wherein, total number of described code check grade is less than or equal to the maximum distribution number of links of described equipment.
Equipment as above, wherein, described control unit is specifically for being less than or equal to described Secure Threshold at the load parameter of described equipment and being greater than default light thresholding, sort according to the expectation code check of order from large to small to each distribution link described, from the expectation code check of sequence second, current expectation code check and the minimum adjacent expectation code check of difference are merged into one and expects code check, using the minimum value in described current expectation code check and the minimum adjacent expectation code check of described difference as the expectation code check after merging, until expect that total number of code check equals the maximum distribution number of links of described equipment, using the expectation code check after merging and the target bit rate of expectation code check as each distribution link described not carrying out union operation,
Or, described control unit is specifically for being less than or equal to described Secure Threshold at the load parameter of described equipment and being greater than default light thresholding, calculate the mean value of the maxima and minima of the expectation code check of each distribution link described, as the target bit rate of each distribution link;
Or, described control unit is specifically for being less than or equal to described Secure Threshold at the load parameter of described equipment and being greater than default light thresholding, interpolation calculation or weighted calculation are carried out to the expectation code check of each distribution link described, obtain candidate's code check of predetermined number, for each distribution link, to be less than or equal to the target bit rate of maximum as described distribution link of candidate's code check of the expectation code check of described distribution link.
Equipment as above, wherein, described control unit is specifically for when the load parameter of described equipment is less than or equal to described light thresholding, when total number of described distribution link is less than or equal to the maximum distribution number of links of described equipment, using the expectation code check of each distribution link described as target bit rate, when total number of described distribution link is greater than the maximum distribution number of links of described equipment, calculate the difference of total number of described distribution link and the maximum distribution number of links of described equipment, as capability defect number, and calculate described each distribution expectation code check of link and difference of audio frequency and video initial data code check, as distribution link value of poor quality, to described distribution link value of poor quality according to order sequence from big to small, select the distribution link value of poor quality that is preceding and capability defect number same number that sorts, using the average expectation code check of the distribution link that each distribution link value of poor quality of selecting the is corresponding distribution link corresponding with the distribution link value of poor quality that is not selected or expect the target bit rate of the minimum value of code check as distribution link corresponding to the described distribution link value of poor quality selected and distribution link corresponding to the described distribution link value of poor quality do not selected, and using the expectation code check of each not merged distribution link as target bit rate.
From foregoing invention content, in the process of carrying out audio frequency and video distribution, by arranging multiple thresholding, interval according to the different thresholding at the load parameter place of equipment, adopt the expectation code check of different strategies to distribution link to process, determine the target bit rate distributing link, thus when determining the target bit rate distributing link, consider the situation of machine utilization and distribution link, therefore, it is possible to improve the reliability of audio frequency and video distribution.
Accompanying drawing explanation
Fig. 1 is the flow chart of the code check adaptive approach of the audio frequency and video distribution link of the embodiment of the present invention one;
Fig. 2 is the flow chart of the code check adaptive approach of the audio frequency and video distribution link of the embodiment of the present invention two;
Fig. 3 is the structural representation of the audio frequency and video discharge device of the embodiment of the present invention three.
Embodiment
Fig. 1 is the flow chart of the code check adaptive approach of the audio frequency and video distribution link of the embodiment of the present invention one.As shown in Figure 1, the method comprises following process.
Step 101: obtain the load parameter of equipment and the expectation code check of each distribution link.
Step 102: if the load parameter of described equipment is greater than default overload threshold, then using the minimum value in the expectation code check of each distribution link described as the target bit rate of each distribution link.
Step 103: if the load parameter of described equipment is less than or equal to described overload threshold and be greater than default Secure Threshold, then carry out code check classification according to the expectation code check of each distribution link described, determine the target bit rate of each distribution link.
Step 104: if the load parameter of described equipment is less than or equal to described Secure Threshold and be greater than default light thresholding, then carry out code check merging according to the expectation code check of each distribution link described, determine the target bit rate of each distribution link.
Step 105: if the load parameter of described equipment is less than or equal to described light thresholding, then according to the maximum distribution number of links of described equipment and total number of described distribution link, determine the target bit rate of each distribution link.
In the embodiment of the present invention one, in the process of carrying out audio frequency and video distribution, by arranging multiple thresholding, interval according to the different thresholding at the load parameter place of equipment, adopt the expectation code check of different strategies to distribution link to process, determine the target bit rate distributing link, thus when determining the target bit rate distributing link, consider the situation of machine utilization and distribution link, therefore, it is possible to improve the reliability of audio frequency and video distribution.
Fig. 2 is the flow chart of the code check adaptive approach of the audio frequency and video distribution link of the embodiment of the present invention two.As shown in Figure 2, the method comprises following process.
Step 201: overload threshold, Secure Threshold and light thresholding are set on audio frequency and video discharge device.
In this step, audio frequency and video discharge device is arranged overload threshold, Secure Threshold and light thresholding.Wherein, the size of overload threshold, Secure Threshold and light thresholding is followed successively by: the light thresholding of overload threshold > Secure Threshold >, and the concrete numerical value of overload threshold, Secure Threshold and light thresholding can be arranged flexibly according to practical application scene.The present invention does not limit concrete method to set up, such as, can transfer configuration file arrange by audio frequency and video discharge device, manual type also can be adopted to arrange audio frequency and video discharge device.
Step 202: audio frequency and video discharge device obtains the load parameter of equipment.
In this step, audio frequency and video discharge device obtains the load parameter of the equipment of self.Wherein, the load parameter of equipment is the parameter of characterization device load condition, such as, can adopt and characterize central processing unit (Central Processing Unit, be called for short CPU) parameter of load condition or characterize the parameter of EMS memory occupation situation, but be not limited to above two kinds.
Step 203: audio frequency and video discharge device obtains the expectation code check of each distribution link.
In this step, audio frequency and video discharge device, by the performance of each distribution link of monitoring, obtains the expectation code check of each distribution link.
In the embodiment of the present invention two, audio frequency and video discharge device can also obtain the maximum distribution number of links of this equipment self.The maximum distribution number of links of audio frequency and video discharge device represents the maximum processing capability of the encoding and decoding that this video distribution apparatus can process simultaneously.The embodiment of the present invention obtains the maximum distribution number of links of self method to audio frequency and video discharge device does not limit, such as, audio frequency and video discharge device can by reading the maximum distribution number of links of configuration file acquisition self, or, also can by carrying out the hardware device of self monitoring the maximum distribution number of links obtaining self.
Step 204: audio frequency and video discharge device compares the load parameter of equipment and overload threshold, Secure Threshold and light thresholding.
In this step, audio frequency and video discharge device compares the load parameter of equipment and overload threshold, Secure Threshold and light thresholding, determines the load parameter of equipment and the magnitude relationship of overload threshold, Secure Threshold and light thresholding.If the load parameter of equipment is greater than default overload threshold, perform step 205; If the load parameter of equipment is less than or equal to described overload threshold and be greater than default Secure Threshold, perform step 206; If the load parameter of equipment is less than or equal to described Secure Threshold and be greater than default light thresholding, perform step 207; If the load parameter of equipment is less than or equal to described light thresholding, perform step 208.
Step 205: audio frequency and video discharge device is using the minimum value in the expectation code check of each distribution link described as the target bit rate of each distribution link.
Step 206: audio frequency and video discharge device carries out code check classification according to the expectation code check of each distribution link described, determines the target bit rate of each distribution link.
In this step, audio frequency and video discharge device carries out code check classification according to the expectation code check of each distribution link described, determine the target bit rate of each distribution link, specifically can adopt with the following method: audio frequency and video discharge device in the maximum of expectation code check of each distribution link described in the scope of minimum value, divide the code check grade of predetermined number, for each distribution link, to be less than or equal to the target bit rate of maximum as described distribution link of the code check grade of the expectation code check of described distribution link, wherein, total number of described code check grade is less than or equal to the maximum distribution number of links of described equipment.
Step 207: audio frequency and video discharge device carries out code check merging according to the expectation code check of each distribution link described, determines the target bit rate of each distribution link.
In this step, audio frequency and video discharge device carries out code check merging according to the expectation code check of each distribution link described, determines the target bit rate of each distribution link.The embodiment of the present invention does not limit the concrete grammar that code check merges, and any code check merging method is all applicable.In a kind of specific implementation, can adopt with the following method: sort according to the expectation code check of order from large to small to each distribution link described, from the expectation code check of sequence second, current expectation code check and the minimum adjacent expectation code check of difference are merged into one and expects code check, using the minimum value in described current expectation code check and the minimum adjacent expectation code check of described difference as the expectation code check after merging, until expect that total number of code check equals the maximum distribution number of links of described equipment, using the expectation code check after merging and the target bit rate of expectation code check as each distribution link described not carrying out union operation.Or, in another kind of specific implementation, can adopt with the following method: the mean value calculating the maxima and minima of the expectation code check of each distribution link described, as the target bit rate of each distribution link.Or, in another specific implementation, can adopt with the following method: interpolation calculation or weighted calculation are carried out to the expectation code check of each distribution link described, obtain candidate's code check of predetermined number, for each distribution link, to be less than or equal to the target bit rate of maximum as described distribution link of candidate's code check of the expectation code check of described distribution link.
Step 208: audio frequency and video discharge device, according to total number of the maximum distribution number of links of described equipment and described distribution link, determines the target bit rate of each distribution link.
In this step, audio frequency and video discharge device, according to total number of the maximum distribution number of links of described equipment and described distribution link, determines the target bit rate of each distribution link.This step specifically comprises following process: first, compares the size of distribution total number of link and the maximum distribution number of links of described equipment.If total number of described distribution link is less than or equal to the maximum distribution number of links of described equipment, perform the first processing mode; If total number of described distribution link is greater than the maximum distribution number of links of described equipment, perform the second processing mode.The first processing mode: using the expectation code check of each distribution link described as target bit rate.The first processing mode performs when total number of described distribution link is less than or equal to the maximum distribution number of links of described equipment.The second processing mode: first, computing capability defect counts and distribution link value of poor quality.Particularly, the difference of total number of described distribution link and the maximum distribution number of links of described equipment is calculated, as capability defect number; Calculate described each distribution expectation code check of link and difference of audio frequency and video initial data code check, as distribution link value of poor quality.Then, to described distribution link value of poor quality according to order sequence from big to small, select the distribution link value of poor quality that is preceding and capability defect number same number that sorts, using the average expectation code check of the distribution link that each distribution link value of poor quality of selecting the is corresponding distribution link corresponding with the distribution link value of poor quality that is not selected or expect the target bit rate of the minimum value of code check as distribution link corresponding to the described distribution link value of poor quality selected and distribution link corresponding to the described distribution link value of poor quality do not selected, and using the expectation code check of each not merged distribution link as target bit rate.The second processing mode performs when total number of described distribution link is greater than the maximum distribution number of links of described equipment.
In the embodiment of the present invention two, in the process of carrying out audio frequency and video distribution, by arranging multiple thresholding, interval according to the different thresholding at the load parameter place of equipment, the expectation code check of different strategies to distribution link is adopted to process, determine the target bit rate distributing link, wherein combine factor such as distribution the expectation code check of link, the maximum distribution number of links of equipment etc. in various strategy, thus when determining the target bit rate distributing link, consider the situation of machine utilization and distribution link, therefore, it is possible to improve the reliability of audio frequency and video distribution.
Fig. 3 is the structural representation of the audio frequency and video discharge device of the embodiment of the present invention three.As shown in Figure 3, this equipment at least comprises: acquiring unit 31 and control unit 32.
Wherein, acquiring unit 31 is for obtaining the expectation code check of the load parameter of equipment and each distribution link.
Control unit 32, for when the load parameter of described equipment is greater than default overload threshold, distributes the target bit rate of the minimum value in the expectation code check of link as each distribution link using described each; When the load parameter of described equipment is less than or equal to described overload threshold and is greater than default Secure Threshold, the expectation code check according to each distribution link described carries out code check classification, determines the target bit rate of each distribution link; When the load parameter of described equipment is less than or equal to described Secure Threshold and is greater than default light thresholding, the expectation code check according to each distribution link described carries out code check merging, determines the target bit rate of each distribution link; When the load parameter of described equipment is less than or equal to described light thresholding, according to the maximum distribution number of links of described equipment and total number of described distribution link, determine the target bit rate of each distribution link.
On the basis of technique scheme, further, described control unit 32 is specifically for being less than or equal to described overload threshold at the load parameter of described equipment and being greater than default Secure Threshold, in the described maximum that each distributes the expectation code check of link in the scope of minimum value, divide the code check grade of predetermined number, for each distribution link, to be less than or equal to the target bit rate of maximum as described distribution link of the code check grade of the expectation code check of described distribution link, wherein, total number of described code check grade is less than or equal to the maximum distribution number of links of described equipment.
On the basis of technique scheme, further, described control unit 32 is specifically for being less than or equal to described Secure Threshold at the load parameter of described equipment and being greater than default light thresholding, sort according to the expectation code check of order from large to small to each distribution link described, from the expectation code check of sequence second, current expectation code check and the minimum adjacent expectation code check of difference are merged into one and expects code check, using the minimum value in described current expectation code check and the minimum adjacent expectation code check of described difference as the expectation code check after merging, until expect that total number of code check equals the maximum distribution number of links of described equipment, using the expectation code check after merging and the target bit rate of expectation code check as each distribution link described not carrying out union operation.
Or, described control unit 32 is specifically for being less than or equal to described Secure Threshold at the load parameter of described equipment and being greater than default light thresholding, calculate the mean value of the maxima and minima of the expectation code check of each distribution link described, as the target bit rate of each distribution link.
Or, described control unit 32 is specifically for being less than or equal to described Secure Threshold at the load parameter of described equipment and being greater than default light thresholding, interpolation calculation or weighted calculation are carried out to the expectation code check of each distribution link described, obtain candidate's code check of predetermined number, for each distribution link, to be less than or equal to the target bit rate of maximum as described distribution link of candidate's code check of the expectation code check of described distribution link.
On the basis of technique scheme, further, described control unit 32 is specifically for when the load parameter of described equipment is less than or equal to described light thresholding, when total number of described distribution link is less than or equal to the maximum distribution number of links of described equipment, using the expectation code check of each distribution link described as target bit rate, when total number of described distribution link is greater than the maximum distribution number of links of described equipment, calculate the difference of total number of described distribution link and the maximum distribution number of links of described equipment, as capability defect number, and calculate described each distribution expectation code check of link and difference of audio frequency and video initial data code check, as distribution link value of poor quality, to described distribution link value of poor quality according to order sequence from big to small, select the distribution link value of poor quality that is preceding and capability defect number same number that sorts, using the average expectation code check of the distribution link that each distribution link value of poor quality of selecting the is corresponding distribution link corresponding with the distribution link value of poor quality that is not selected or expect the target bit rate of the minimum value of code check as distribution link corresponding to the described distribution link value of poor quality selected and distribution link corresponding to the described distribution link value of poor quality do not selected, and using the expectation code check of each not merged distribution link as target bit rate.
The equipment of the embodiment of the present invention three may be used for the code check adaptive approach performing the embodiment of the present invention one and the distribution of the audio frequency and video described in the embodiment of the present invention two link, its specific implementation process and technique effect with reference to the embodiment of the present invention one and the embodiment of the present invention two, can repeat no more herein.
One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each embodiment of the method can have been come by the hardware that program command is relevant.Aforesaid program can be stored in a computer read/write memory medium.This program, when performing, performs the step comprising above-mentioned each embodiment of the method; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (8)

1. a code check adaptive approach for audio frequency and video distribution link, is characterized in that, comprising:
The expectation code check of the load parameter of acquisition equipment and each distribution link;
If the load parameter of described equipment is greater than default overload threshold, then using the minimum value in the expectation code check of each distribution link described as the target bit rate of each distribution link;
If the load parameter of described equipment is less than or equal to described overload threshold and be greater than default Secure Threshold, then carries out code check classification according to the expectation code check of each distribution link described, determine the target bit rate of each distribution link;
If the load parameter of described equipment is less than or equal to described Secure Threshold and be greater than default light thresholding, then carries out code check merging according to the expectation code check of each distribution link described, determine the target bit rate of each distribution link;
If the load parameter of described equipment is less than or equal to described light thresholding, then according to the maximum distribution number of links of described equipment and total number of described distribution link, determine the target bit rate of each distribution link.
2. method according to claim 1, is characterized in that,
Described in described basis, the expectation code check of each distribution link carries out code check classification, determines that the target bit rate of each distribution link comprises:
In the described maximum that each distributes the expectation code check of link in the scope of minimum value, divide the code check grade of predetermined number, for each distribution link, to be less than or equal to the target bit rate of maximum as described distribution link of the code check grade of the expectation code check of described distribution link, wherein, total number of described code check grade is less than or equal to the maximum distribution number of links of described equipment.
3. method according to claim 1, is characterized in that,
Described in described basis, the expectation code check of each distribution link carries out code check merging, determines that the target bit rate of each distribution link comprises:
Sort according to the expectation code check of order from large to small to each distribution link described, from the expectation code check of sequence second, current expectation code check and the minimum adjacent expectation code check of difference are merged into one and expects code check, using the minimum value in described current expectation code check and the minimum adjacent expectation code check of described difference as the expectation code check after merging, until expect that total number of code check equals the maximum distribution number of links of described equipment, distribute the target bit rate of link using the expectation code check after merging and the expectation code check that do not carry out union operation as described each;
Or, calculate the mean value of the maxima and minima of the expectation code check of each distribution link described, as the target bit rate of each distribution link;
Or, interpolation calculation or weighted calculation are carried out to the expectation code check of each distribution link described, obtain candidate's code check of predetermined number, for each distribution link, to be less than or equal to the target bit rate of maximum as described distribution link of candidate's code check of the expectation code check of described distribution link.
4. method according to claim 1, is characterized in that,
Total number of the described maximum distribution number of links according to described equipment and described distribution link, determine that the target bit rate of each distribution link comprises:
If total number of described distribution link is less than or equal to the maximum distribution number of links of described equipment, then using the expectation code check of each distribution link described as target bit rate;
If total number of described distribution link is greater than the maximum distribution number of links of described equipment, calculate the difference of total number of described distribution link and the maximum distribution number of links of described equipment, as capability defect number, and calculate described each distribution expectation code check of link and difference of audio frequency and video initial data code check, as distribution link value of poor quality, to described distribution link value of poor quality according to order sequence from big to small, select the distribution link value of poor quality that is preceding and capability defect number same number that sorts, using the average expectation code check of the distribution link that each distribution link value of poor quality of selecting the is corresponding distribution link corresponding with the distribution link value of poor quality that is not selected or expect the target bit rate of the minimum value of code check as distribution link corresponding to the described distribution link value of poor quality selected and distribution link corresponding to the described distribution link value of poor quality do not selected, and using the expectation code check of each not merged distribution link as target bit rate.
5. an audio frequency and video discharge device, is characterized in that, comprising:
Acquiring unit, for obtaining the expectation code check of the load parameter of equipment and each distribution link;
Control unit, for when the load parameter of described equipment is greater than default overload threshold, using the minimum value in the expectation code check of each distribution link described as the target bit rate of each distribution link; When the load parameter of described equipment is less than or equal to described overload threshold and is greater than default Secure Threshold, the expectation code check according to each distribution link described carries out code check classification, determines the target bit rate of each distribution link; When the load parameter of described equipment is less than or equal to described Secure Threshold and is greater than default light thresholding, the expectation code check according to each distribution link described carries out code check merging, determines the target bit rate of each distribution link; When the load parameter of described equipment is less than or equal to described light thresholding, according to the maximum distribution number of links of described equipment and total number of described distribution link, determine the target bit rate of each distribution link.
6. equipment according to claim 5, is characterized in that,
Described control unit is specifically for being less than or equal to described overload threshold at the load parameter of described equipment and being greater than default Secure Threshold, in the described maximum that each distributes the expectation code check of link in the scope of minimum value, divide the code check grade of predetermined number, for each distribution link, to be less than or equal to the target bit rate of maximum as described distribution link of the code check grade of the expectation code check of described distribution link, wherein, total number of described code check grade is less than or equal to the maximum distribution number of links of described equipment.
7. equipment according to claim 5, is characterized in that,
Described control unit is specifically for being less than or equal to described Secure Threshold at the load parameter of described equipment and being greater than default light thresholding, sort according to the expectation code check of order from large to small to each distribution link described, from the expectation code check of sequence second, current expectation code check and the minimum adjacent expectation code check of difference are merged into one and expects code check, using the minimum value in described current expectation code check and the minimum adjacent expectation code check of described difference as the expectation code check after merging, until expect that total number of code check equals the maximum distribution number of links of described equipment, using the expectation code check after merging and the target bit rate of expectation code check as each distribution link described not carrying out union operation,
Or, described control unit is specifically for being less than or equal to described Secure Threshold at the load parameter of described equipment and being greater than default light thresholding, calculate the mean value of the maxima and minima of the expectation code check of each distribution link described, as the target bit rate of each distribution link;
Or, described control unit is specifically for being less than or equal to described Secure Threshold at the load parameter of described equipment and being greater than default light thresholding, interpolation calculation or weighted calculation are carried out to the expectation code check of each distribution link described, obtain candidate's code check of predetermined number, for each distribution link, to be less than or equal to the target bit rate of maximum as described distribution link of candidate's code check of the expectation code check of described distribution link.
8. equipment according to claim 5, is characterized in that,
Described control unit is specifically for when the load parameter of described equipment is less than or equal to described light thresholding, when total number of described distribution link is less than or equal to the maximum distribution number of links of described equipment, using the expectation code check of each distribution link described as target bit rate, when total number of described distribution link is greater than the maximum distribution number of links of described equipment, calculate the difference of total number of described distribution link and the maximum distribution number of links of described equipment, as capability defect number, and calculate described each distribution expectation code check of link and difference of audio frequency and video initial data code check, as distribution link value of poor quality, to described distribution link value of poor quality according to order sequence from big to small, select the distribution link value of poor quality that is preceding and capability defect number same number that sorts, using the average expectation code check of the distribution link that each distribution link value of poor quality of selecting the is corresponding distribution link corresponding with the distribution link value of poor quality that is not selected or expect the target bit rate of the minimum value of code check as distribution link corresponding to the described distribution link value of poor quality selected and distribution link corresponding to the described distribution link value of poor quality do not selected, and using the expectation code check of each not merged distribution link as target bit rate.
CN201310573425.7A 2013-11-15 2013-11-15 Audio frequency and video distribute the code check adaptive approach and audio frequency and video discharge device of link Active CN104639953B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310573425.7A CN104639953B (en) 2013-11-15 2013-11-15 Audio frequency and video distribute the code check adaptive approach and audio frequency and video discharge device of link

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310573425.7A CN104639953B (en) 2013-11-15 2013-11-15 Audio frequency and video distribute the code check adaptive approach and audio frequency and video discharge device of link

Publications (2)

Publication Number Publication Date
CN104639953A true CN104639953A (en) 2015-05-20
CN104639953B CN104639953B (en) 2017-11-03

Family

ID=53218188

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310573425.7A Active CN104639953B (en) 2013-11-15 2013-11-15 Audio frequency and video distribute the code check adaptive approach and audio frequency and video discharge device of link

Country Status (1)

Country Link
CN (1) CN104639953B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101282141A (en) * 2007-04-05 2008-10-08 华为技术有限公司 Method, apparatus and system for transmitting and receiving data
US20090199247A1 (en) * 2008-01-31 2009-08-06 Kabushiki Kaisha Toshiba Video content distribution system and video content distribution reservation method
US20100316066A1 (en) * 2009-06-16 2010-12-16 Qualcomm Incorporated Managing video adaptation algorithms
CN102355577A (en) * 2011-09-23 2012-02-15 上海交通大学 Method for smoothing network transmission bit-rate of multi-view video streams
CN103024460A (en) * 2012-12-11 2013-04-03 广东威创视讯科技股份有限公司 Multi-code stream self-adapting method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101282141A (en) * 2007-04-05 2008-10-08 华为技术有限公司 Method, apparatus and system for transmitting and receiving data
US20090199247A1 (en) * 2008-01-31 2009-08-06 Kabushiki Kaisha Toshiba Video content distribution system and video content distribution reservation method
US20100316066A1 (en) * 2009-06-16 2010-12-16 Qualcomm Incorporated Managing video adaptation algorithms
CN102355577A (en) * 2011-09-23 2012-02-15 上海交通大学 Method for smoothing network transmission bit-rate of multi-view video streams
CN103024460A (en) * 2012-12-11 2013-04-03 广东威创视讯科技股份有限公司 Multi-code stream self-adapting method and system

Also Published As

Publication number Publication date
CN104639953B (en) 2017-11-03

Similar Documents

Publication Publication Date Title
CN102611823B (en) Method and equipment capable of selecting compression algorithm based on picture content
US20210042578A1 (en) Feature engineering orchestration method and apparatus
CN107147514B (en) Power communication network optimization resource configuration method and system
WO2015172374A1 (en) System, method and apparatuses for identifying load volatility of a power customer and a tangible computer readable medium
CN116402117B (en) Image classification convolutional neural network pruning method and core particle device data distribution method
CN111966289A (en) Partition optimization method and system based on Kafka cluster
CN104679590A (en) Map optimization method and device in distributive calculating system
CN107155093A (en) A kind of video previewing method, device and equipment
CN102148747A (en) Media stream transmission method and device
CN112202623A (en) Data processing method and device
CN110913225B (en) Image encoding method, image encoding device, electronic device, and computer-readable storage medium
CN104320855A (en) Resource scheduling method and device
CN115098039A (en) Flow control method and device for SSD command, storage medium and SSD device
CN108134746A (en) The processing method and processing device of rail traffic data
CN113423113B (en) Wireless parameter optimization processing method and device and server
CN102196512B (en) Terminal access method, equipment and system
CN112367384B (en) Kafka cluster-based dynamic speed limiting method and device and computer equipment
CN107330061B (en) File deletion method and device based on distributed storage
CN102546652B (en) System and method for server load balancing
CN104639953A (en) Code rate self-adaption method of audio and video distribution links and audio and video distribution device
CN106445412A (en) Data volume compression ratio assessment method and system
CN104714976B (en) Data processing method and equipment
CN115840649A (en) Method and device for allocating partitioned capacity block type virtual resources, storage medium and terminal
CN104462422A (en) Object processing method and device
CN105630999A (en) Data compressing method and device of server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant