Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Because PSS is carrying out code check when adjusting, and only consider the round-trip delay of SR bag, and RTT can not accurately reflect the actual fluctuation situation of the network bandwidth, it is insecure therefore making a strategic decision according to the RTT change conditions that the adjustment of code check switches.Can address these problems according to embodiments of the invention.
In the mobile stream media system as shown in Figure 1, can realize the code check adjustment in the Streaming Media transmission course.In mobile stream media system, ME becomes desired live TV stream of subscriber equipment or on-demand media document No. the Streaming Media of 3GPP form, in order to select the program of suitable code check according to subscriber equipment bandwidth change situation, promptly realize adaptive (the Multi-bitrate Adaptation of multi code Rate of Chinese character, MBA), a program is encoded into the Media Stream of a plurality of different code checks, i.e. multi code Rate of Chinese character; Media Stream after ME will encode then pushes PSS; By PSS Media Stream code check in accordance with regulations is pushed to subscriber equipment, in this process, mainly comes transmission of media data by independent transmission agreement such as RTP, door (Portal) is the server that mobile flow medium service is showed subscriber equipment.
The method flow diagram of present embodiment comprises step as shown in Figure 2:
The RR that step 101, reception subscriber equipment send;
Subscriber equipment can periodically send the RR message of rtcp protocol, to receiving the statistics of data, wherein comprises the packet loss (fraction lost) of RR, the network condition when having reflected transmission or having received data, and the big more explanation current network conditions of packet loss is more bad; The wobble information of RR (interarrival jitter) is the changing value of RTP bag arrival interval, and the continuity of shake increases or big shake explanation network degenerates or degenerates; And information such as the information such as LSR and DLSR relevant with the round-trip delay of SR.In the present embodiment, the main body of the RR of reception subscriber equipment transmission can be packet domain stream media server PSS.
Step 102, according to described RR, obtain at least two broadband mass parameters;
Described broadband mass parameter can be in the following information any one: the round-trip delay of the packet loss of RR, the wobble information of RR, SR etc.;
In the present embodiment, can be by packet domain stream media server PSS after receiving a plurality of RR, obtain the broadband mass parameter, promptly obtain packet loss, wobble information of a plurality of RR etc., generally be after receiving 2 or 3 RR, to obtain.
When obtaining the packet loss of broadband mass parameter such as RR, consider the unsteadiness of wireless network, packet loss and corresponding weight coefficient that a plurality of (n) RR bag that needs basis to receive recently carries, smoothly calculate the packet loss of RR, particularly: what will receive recently is a plurality of (as n, n is 2 or 3) packet loss that carries among the RR multiplies each other with corresponding weight coefficient respectively, numerical value after will multiplying each other is weighted the packet loss that obtains RR, and the weighted value of the corresponding weight coefficient of packet loss that carries among described a plurality of RR is 1.
The packet loss of the RR bag that then obtains
Wherein Li is i the packet loss that the RR bag carries, and Fi is the weight coefficient of Li correspondence, and
And F1>F2>...>Fn>0.Wherein weight coefficient is preset among the PSS, also can preset the weight coefficient among the PSS by the network condition of reality.
When obtaining the wobble information of broadband mass parameter such as RR, consider the unsteadiness of wireless network, wobble information and corresponding weight coefficient that a plurality of (n) RR bag that needs basis to receive recently carries, smoothly calculate the wobble information of RR, particularly: what will receive recently is a plurality of (as n, n is 2 or 3) wobble information of carrying among the RR multiplies each other with corresponding weight coefficient respectively, and the numerical value after will multiplying each other is weighted the wobble information that obtains RR, and the weighted value of the corresponding weight coefficient of wobble information that carries among described a plurality of RR is 1.
The shake of the RR bag that then obtains
Wherein Ji is i the wobble information that the RR bag carries, and Fi is the weight coefficient of Ji correspondence, and
And F1>F2>...>Fn>0.Generally speaking, F1, F2 and F3 are respectively 0.8,0.16 and 0.04.Wherein weight coefficient is preset among the PSS, also can preset the weight coefficient among the PSS by the network condition of reality.
And when obtaining the round-trip delay of broadband mass parameter such as SR, can by as the acquisition of the method for prior art: RTTi=Ai-LSRi-DLSRi then.
Step 103, according to the code check adjustment information that presets and the corresponding relation of broadband mass parameter, find at least two code check adjustment information of described at least two broadband mass parameter correspondences obtaining;
The code check adjustment information comprises: the code check that will send to the data of described subscriber equipment is adjusted into half following information of current code check, i.e. incision code check, and current code check requirement can not be satisfied in expression subscriber equipment broadband; The code check that maybe will send to the data of described subscriber equipment is adjusted into the upper level code check of current code check, cuts code check on promptly, and the broadband of expression subscriber equipment is much larger than current code check requirement.
The code check adjustment information that presets and the corresponding relation of broadband mass parameter can comprise at least two in following first corresponding relation, second corresponding relation and the 3rd corresponding relation:
First corresponding relation of the packet loss of code check adjustment information and RR, particularly, the packet loss LOST of the RR that obtains when step 102 is more than or equal to presetting packet loss value V1, then incision code check; When the packet loss LOST of the RR that obtains presets packet loss value V1 less than what preset, then add up less than the times N OLOST_NUM that presets packet loss value V1, on the basis of current NOLOST_NUM, add 1, be NOLOST_NUM++, as NOLOST_NUM during, cut code check on then more than or equal to the packet loss number of times V2 that presets; Generally speaking, V1 and V2 are respectively 0.3 and 10;
Second corresponding relation of the wobble information of code check adjustment information and RR, particularly, the wobble information JITTER that obtains when step 102 is during more than or equal to the first jitter value V3 that presets, then the incision code check; When the wobble information JITTER that obtains greater than the second jitter value V4 that presets, and less than the first jitter value V3 that presets, then add up less than the number of times JITTER_NUM of the first jitter value V3 that presets greater than the second jitter value V4 that presets, on the basis of current JITTER_NUM, add 1, be JITTER_NUM++, when JITTER_NUM greater than first shake number of times V5, then the incision code check that presets; When the wobble information JITTER that obtains less than the second jitter value V4 that presets, then add up times N OJITTER_NUM less than the second jitter value V4 that presets, on the basis of current NOJITTER_NUM, add 1, be NOJITTER_NUM++, as NOJITTER_NUM during, cut code check on then greater than the second shake number of times V6 that presets; Generally speaking, V3, V4, V5 and V6 are respectively 8000,5000,5 and 10;
The 3rd corresponding relation of the round-trip delay of code check adjustment information and SR, particularly, the difference of minimum round-trip delay RTTmin is greater than the time delay value V7 that presets in the round-trip delay RTT of the SR that step 102 is obtained and certain hour, then add up number of times RTT_NUM greater than the time delay value V7 that presets, on the basis of current RTT_NUM, add 1, be RTT_NUM++, when RTT_NUM greater than first time delay number of times V8, then the incision code check that presets; The difference of minimum round-trip delay RTTmin is less than or equal to the time delay value V7 that presets in the round-trip delay RTT of the SR that obtains and certain hour, the times N ORTT_NUM that then totally is less than or equal to the time delay value V7 that presets, on the basis of current NORTT_NUM, add 1, be NORTT_NUM++, when NORTT_NUM greater than second time delay that presets time V9 number, cut code check on then; Generally speaking, V7, V8 and V9 are respectively 6000,5 and 10.
Step 104, according to described at least two code check adjustment information of obtaining, the code check of the data that send to described subscriber equipment is adjusted accordingly.
If at least two code check adjustment information that obtain, comprise the information of at least one incision code check, then the code check to the data that send to subscriber equipment carries out incision; If do not comprise the information of incision code check, cut on then the code check of the data that send to subscriber equipment being carried out.And when the frame that frame interior (I frame) is the complete coding of whole image occurring, switch, Media Stream so just can not occur and play quality problems such as not smooth or mosaic.
Particularly, PSS is when adjusting code check, if incision, because the decay of wireless network signal is with the decrease of speed of 2 power power, that is to say that if stablize the broadband before be B, broadband after the network transformation will be B/2, and the code check Bcur that then will send to the data of subscriber equipment is adjusted into below half of current code check Bpre, i.e. Bcur<=Bpre/2; If on cut because the true broadband of network of can't knowing for sure, for fear of frequent switching, the code check Bcur that then will send to the data of subscriber equipment is adjusted into the upper level code check of current code check Bpre.
In the present embodiment, PSS is obtaining at least two broadband mass parameters according to the RR that receives, and according to the corresponding relation of broadband mass parameter that presets and code check adjustment information, at least two code check adjustment information of at least two broadband mass parameter correspondences that obtain obtaining, and carry out the switching adjustment of corresponding code check.The embodiment of the invention is determined the actual fluctuation situation of the network bandwidth by plural index, and uses RTT to determine that the actual fluctuation situation of the network bandwidth compares, and present embodiment can improve the reliability according to network bandwidth variation adjustment code check.
In other method embodiment of the present invention, at least two broadband mass parameters obtaining in the step 102 can comprise the packet loss of RR and the round-trip delay of SR, then in execution in step 103, can realize as follows:
A1, according to the code check adjustment information that presets and first corresponding relation of packet loss, cut on the packet loss correspondence of the RR that obtains obtaining or the first code check adjustment information of incision code check;
B1, according to the code check adjustment information that presets and the 3rd corresponding relation of round-trip delay, the transmission that obtains obtaining report SR the round-trip delay correspondence on cut or the 3rd code check adjustment information of incision code check;
Then in step 104, according to described at least two code check adjustment information of obtaining, when the code check of the data that send to described subscriber equipment is adjusted accordingly, determine to comprise in the first code check adjustment information and the 3rd code check adjustment information information of at least one incision code check, then the code check to the data that send to described subscriber equipment carries out incision; If determine not comprise in the first code check adjustment information and the 3rd code check adjustment information information of incision code check, cut on then the code check of the data that send to described subscriber equipment being carried out.
Be appreciated that not have strict ordinal relation between A1 and the B1 step, for example, if the first code check adjustment information that obtains among the A1 is the information of incision code check, then direct execution in step 104 is carried out the incision code check, if on cut code check information, then also need carry out B1.
In the present embodiment, packet domain stream media server PSS is obtaining the packet loss of RR and the round-trip delay of SR according to the RR that receives, and according to first corresponding relation and the 3rd corresponding relation of broadband mass parameter that presets and code check adjustment information, first code check adjustment information of the round-trip delay correspondence of the packet loss of the RR that obtains obtaining and SR and the 3rd code check adjustment information, and the switching adjustment of carrying out code check is as above cut or the incision code check.Packet loss and round-trip delay two indexs of the SR actual fluctuation situation of determining the network bandwidth of present embodiment by RR, because packet loss and round-trip delay the most directly reflect the state of network broadband, then the method for present embodiment more can be accurately changes according to these broadband mass parameters and adjusts code check, and then the Media Stream that receives of user side will adapt to the variation in broadband.
In other method embodiment, at least two broadband mass parameters obtaining in the step 102 can comprise the wobble information of RR and the round-trip delay of SR, then in execution in step 103, can realize as follows:
A2, according to the code check adjustment information that presets and second corresponding relation of wobble information, cut on the wobble information correspondence of the RR that obtains obtaining or the second code check adjustment information of incision code check;
B2, according to the code check adjustment information that presets and the 3rd corresponding relation of round-trip delay, cut on the round-trip delay correspondence of the SR that obtains obtaining or the 3rd code check adjustment information of incision code check;
Then in step 104, according to described at least two code check adjustment information of obtaining, when the code check of the data that send to described subscriber equipment is adjusted accordingly, determine to comprise in the second code check adjustment information and the 3rd code check adjustment information information of at least one incision code check, then the code check to the data that send to described subscriber equipment carries out incision; If determine not comprise in the second code check adjustment information and the 3rd code check adjustment information information of incision code check, cut on then the code check of the data that send to described subscriber equipment being carried out.
Be appreciated that there is not strict ordinal relation between A2 and the B2 step that for example, if the second code check adjustment information that obtains among the A2 is the information of incision code check, then direct execution in step 104 is carried out the incision code check; If on cut code check information, then also need carry out B2.
In the present embodiment, packet domain stream media server PSS is obtaining the wobble information of RR and the round-trip delay of SR according to the RR that receives, and according to second corresponding relation and the 3rd corresponding relation of broadband mass parameter that presets and code check adjustment information, second code check adjustment information of the round-trip delay correspondence of the wobble information of the RR that obtains obtaining and SR and the 3rd code check adjustment information, and the switching adjustment of carrying out code check is as above cut or the incision code check.Wobble information and round-trip delay two indexs of the SR actual fluctuation situation of determining the network bandwidth of present embodiment by RR, because the wobble information of RR can reflect the quality of network broadband, and the round-trip delay of SR can reflect the state in broadband, then the method for the embodiment of the invention can be adjusted code check according to the variation of network bandwidth quality, state, it is more accurate to make to the code check adjustment of the data that send to user side, thereby has improved user experience.
In other method embodiment, at least two broadband mass parameters obtaining in the step 102 can comprise the wobble information of RR and the packet loss of RR, then in execution in step 103, can realize as follows:
A3, according to the code check adjustment information that presets and first corresponding relation of packet loss, cut on the packet loss correspondence of the RR that obtains obtaining or the first code check adjustment information of incision code check;
B3, according to the code check adjustment information that presets and second corresponding relation of wobble information, cut on the wobble information correspondence of the RR that obtains obtaining or the second code check adjustment information of incision code check;
Then in step 104, according to described at least two code check adjustment information of obtaining, when the code check of the data that send to described subscriber equipment is adjusted accordingly, determine to comprise in the first code check adjustment information and the second code check adjustment information information of at least one incision code check, then the code check to the data that send to described subscriber equipment carries out incision; If determine not comprise in the first code check adjustment information and the second code check adjustment information information of incision code check, cut on then the code check of the data that send to described subscriber equipment being carried out.
Be appreciated that there is not strict ordinal relation between A3 and the B3 step that for example, if the first code check adjustment information that obtains among the A3 is the information of incision code check, then direct execution in step 104 is carried out the incision code check; If on cut code check information, then also need carry out B3.
In the present embodiment, packet domain stream media server PSS is obtaining the wobble information of RR and the packet loss of RR according to the RR that receives, and according to first corresponding relation and second corresponding relation of broadband mass parameter that presets and code check adjustment information, obtain obtaining the first code check adjustment information and the second code check adjustment information of the packet loss correspondence of the wobble information of RR and RR, and the switching adjustment of carrying out code check is cut as above or the incision code check.Wobble information and packet loss two indexs of the RR actual fluctuation situation of determining the network bandwidth of present embodiment by RR, because wobble information has directly reflected the quality of network broadband, and packet loss has directly reflected the state of network broadband, the method of the embodiment of the invention changes according to the network bandwidth adjusts code check, make PSS dynamically adjust code check, more effectively improved user experience according to the network actual conditions.
In other method embodiment, at least two broadband mass parameters obtaining in the step 102 can comprise the wobble information of RR, the packet loss of RR and the round-trip delay of SR, then in execution in step 103, can realize as follows:
First corresponding relation according to code check adjustment information that presets and packet loss, second corresponding relation of code check adjustment information and wobble information, the 3rd corresponding relation of code check adjustment information and round-trip delay, obtain respectively the RR that obtains the packet loss correspondence on cut or the first code check adjustment information of incision code check, cut on the wobble information correspondence of the RR that obtains obtaining or the second code check adjustment information of incision code check, and the round-trip delay correspondence of the SR that obtains obtaining on cut or the 3rd code check adjustment information of incision code check;
Then in step 104, according to described at least two code check adjustment information of obtaining, when the code check of the data that send to described subscriber equipment is adjusted accordingly, determine to comprise in the first code check adjustment information, the second code check adjustment information and the 3rd code check adjustment information information of at least one incision code check, then the code check to the data that send to described subscriber equipment carries out incision; If determine not comprise in the first code check adjustment information, the second code check adjustment information and the 3rd code check adjustment information information of incision code check, cut on then the code check of the data that send to described subscriber equipment being carried out.
In the present embodiment, packet domain stream media server PSS is obtaining the wobble information of RR, the packet loss of RR and the round-trip delay of SR according to the RR that receives, and according to first corresponding relation, second corresponding relation and the 3rd corresponding relation of broadband mass parameter that presets and code check adjustment information, the first code check adjustment information of the round-trip delay correspondence of the wobble information of the RR that obtains obtaining, the packet loss of RR and SR, the second code check adjustment information and the 3rd code check adjustment information, and the switching adjustment of carrying out code check is as above cut or the incision code check.The packet loss of the wobble information of present embodiment by RR, RR and three indexs of round-trip delay of SR are determined the actual fluctuation situation of the network bandwidth, these three indexs have reflected the quality and the state of network broadband, the method of the embodiment of the invention changes according to the network bandwidth adjusts code check, adjusts the code check of the data that send to subscriber equipment more comprehensively and exactly.
As seen, PSS can in time learn the variation of subscriber equipment place network state by obtaining plural at least broadband mass parameter, and send to be fit to the program of code check, with the smoothness that guarantees the played Streaming Media and continuously, guarantees user experience.In the mobile stream media system of reality, packet is the network of procotol (IP) from PSS to RNC, packet is wireless network transmissions from RNC to the subscriber equipment, network states such as its bandwidth and network stabilization are than IP network difference, packet loss will not appear in case wireless network variation and PSS in time adjust code check, suppose to exist among the RNC buffer area, its cache size is represented with BUF.
With reference to shown in Figure 3, suppose that the subscriber equipment place network bandwidth constantly switches to W2 at T0 under W1, PSS obtains the broadband mass parameter constantly at T1, judge the bandwidth change of subscriber equipment, and the program code check switched to B2 from B1, and wherein, W1=2*W2, B2<=B1/2, W1>B1, W2>B2, the wherein curve of the 1st curve representation subscriber equipment bandwidth change, article 2, the curve that changes of curve representation program code check, the 3rd curve that curve representation RNC buffering changes.
In the T0-T1 time period, the cache size BUF=of RNC (B1-W2) * (t-T0), then the largest buffered BUFmax=of RNC (B1-W2) * (T1-T0); In the T2-T1 time period, the cache size BUF=BUFmax-of RNC (W2-B2) * (t-T1).If the data that are deposited on the RNC surpass cache size among the RNC, then packet loss can take place, for the T0-T1 time period, the minimizing T1 time just can reduce BUFmax, and promptly PSS can fast detecting diminish to the user equipment network bandwidth more, guarantees not packet loss.The configuration detection time is 2-5 second in the present embodiment, establishes W1=384Kb/s, W2=192Kb/s, B1=300Kb/s, B2=150Kb/s, T1-T0=2 second, as can be known, BUFmax=(300-192) * 2/8=27Kbytes, and the data that RNC upward piles up need finish through ability transmission in about 5 seconds.
And in fact, RNC just passes through lower level network element with packet, itself does not have the data pack buffer district, also is BUF=0, and therefore, the condition of smooth playing is under this condition: PSS can judge the wireless network state variation in about in advance 5 seconds, and code check is switched to B2 from B1.
As seen, in the embodiment of the invention, PSS is obtaining at least two broadband mass parameters according to the RR that receives, and according to the corresponding relation of broadband mass parameter that presets and code check adjustment information, at least two code check adjustment information of at least two broadband mass parameter correspondences that obtain obtaining, and carry out the switching adjustment of code check.The embodiment of the invention is determined the actual fluctuation situation of the network bandwidth by plural index, with in only use RTT to determine that the actual fluctuation situation of the network bandwidth compares, the method for the embodiment of the invention can improve according to the network bandwidth and change the reliability of adjusting code check;
And be to adjust adjusting code check in the embodiment of the invention according to the rule that the network bandwidth changes, following switching to below half of current code check, or on switch to upper level code check of current code check etc., make the code check adjustment that foundation has been arranged like this, it is relatively good to switch effect, avoids frequent code check to switch.
The embodiment of the invention also provides a kind of system, and the system of present embodiment is packet domain stream media server PSS, structural representation as shown in Figure 4, this server comprises:
Receive report receiving element 10, be used to receive the reception report that subscriber equipment sends;
Receive report receiving element 10 and can receive the RR that subscriber equipment periodically sends, wherein carry the packet loss of RR, wobble information and information such as the information such as LSR and DLSR relevant of RR with the round-trip delay of SR.
Broadband parameter acquiring unit 11 is used for reporting according to the reception that described reception report receiving element 10 receives, and obtains at least two broadband mass parameters,
Be appreciated that described broadband mass parameter comprises any one in the following information: the round-trip delay that receives the packet loss of report, the wobble information that receives report, transmission report;
Particularly, wide-band-message acquiring unit 11 is when obtaining the packet loss of RR, a plurality of according to nearest reception (as n, n is 2 or 3) packet loss and the corresponding weight coefficient that carry among the RR, smoothly calculate, particularly: a plurality of packet loss multiply each other with corresponding weight coefficient respectively, and the numerical value after will multiplying each other is weighted the packet loss that obtains RR, and the weighted value of the corresponding weight coefficient of packet loss that carries among described a plurality of RR is 1.
When obtaining the wobble information of RR, a plurality of according to nearest reception (as n, n is 2 or 3) wobble information and the corresponding weight coefficient that carry among the RR, smoothly calculate, particularly: a plurality of wobble information multiply each other with corresponding weight coefficient respectively, and the numerical value after will multiplying each other is weighted the wobble information that obtains RR, and the weighted value of the corresponding weight coefficient of wobble information that carries among described a plurality of RR is 1.
Code rate information acquiring unit 12 is used for according to the code check adjustment information that presets and the corresponding relation of broadband mass parameter, finds at least two code check adjustment information of at least two broadband mass parameter correspondences that described broadband parameter acquiring unit 11 obtains;
The code check adjustment information comprises: the code check that will send to the data of described subscriber equipment is adjusted into half following information, i.e. incision code check of current code check; The code check that maybe will send to the data of described subscriber equipment is adjusted into the upper level code check of current code check, cuts code check on promptly.
The code check adjustment information that presets and the corresponding relation of broadband mass parameter can comprise at least two in the following relation: the 3rd corresponding relation of the round-trip delay of second corresponding relation of the wobble information of first corresponding relation of the packet loss of code check adjustment information and RR, code check adjustment information and RR, code check adjustment information and SR etc., concrete as described in the method embodiment, do not repeat them here.
Code check adjustment unit 13 is used at least two code check adjustment information obtaining according to described code rate information acquiring unit 12, and the code check of the data that send to described subscriber equipment is adjusted accordingly.
If code check adjustment unit 13 at least two code check adjustment information that obtain, comprises the information of at least one incision code check when adjusting, then the code check to the data that send to subscriber equipment carries out incision; If do not comprise the information of incision code check, cut on then the code check of the data that send to subscriber equipment being carried out.
With reference to shown in Figure 5, in another specific embodiment of the present invention, code rate information acquiring unit 12 can comprise:
The first information obtains subelement 120, is used for according to code check adjustment information that presets and first corresponding relation of packet loss the first code check adjustment information of the packet loss correspondence of the reception that obtains obtaining report;
The 3rd information is obtained subelement 122, is used for according to code check adjustment information that presets and the 3rd corresponding relation of round-trip delay the 3rd code check adjustment information of the round-trip delay correspondence of the transmission that obtains obtaining report;
Described code check adjustment unit 13 is used for determining that described first code check adjustment information and the 3rd code check adjustment information comprise the information of at least one incision code check, and then the code check to the data that send to described subscriber equipment carries out incision; Determine not comprise in the first code check adjustment information and the 3rd code check adjustment information information of incision code check, cut on then the code check of the data that send to described subscriber equipment being carried out.
With reference to shown in Figure 6, in another specific embodiment of the present invention, code rate information acquiring unit 12 can comprise:
Second information is obtained subelement 121, is used for according to code check adjustment information that presets and second corresponding relation of wobble information the second code check adjustment information of the wobble information correspondence of the reception that obtains obtaining report;
The 3rd information is obtained subelement 122, is used for according to code check adjustment information that presets and the 3rd corresponding relation of round-trip delay the 3rd code check adjustment information of the round-trip delay correspondence of the transmission that obtains obtaining report;
Described code check adjustment unit 13 is used for determining that the second code check adjustment information and the 3rd code check adjustment information comprise the information of at least one incision code check, and then the code check to the data that send to described subscriber equipment carries out incision; Determine not comprise in the second code check adjustment information and the 3rd code check adjustment information information of incision code check, cut on then the code check of the data that send to described subscriber equipment being carried out.
In another specific embodiment of the present invention, code rate information acquiring unit 12 can comprise:
The first information obtains subelement 120, is used for according to code check adjustment information that presets and first corresponding relation of packet loss the first code check adjustment information of the packet loss correspondence of the reception that obtains obtaining report;
Second information is obtained subelement 121, is used for according to code check adjustment information that presets and second corresponding relation of wobble information the second code check adjustment information of the wobble information correspondence of the reception that obtains obtaining report;
Described code check adjustment unit 13 is used for determining that the first code check adjustment information and the second code check adjustment information comprise the information of at least one incision code check, and then the code check to the data that send to described subscriber equipment carries out incision; Determine not comprise in the first code check adjustment information and the second code check adjustment information information of incision code check, cut on then the code check of the data that send to described subscriber equipment being carried out.
In another specific embodiment of the present invention, code rate information acquiring unit 12 can comprise:
The first information obtains subelement 120, is used for according to the code check adjustment information that presets and first corresponding relation of packet loss, cuts on the packet loss correspondence of the RR that obtains obtaining or the first code check adjustment information of incision code check;
Second information is obtained subelement 121, is used for according to the code check adjustment information that presets and second corresponding relation of wobble information, cuts on the wobble information correspondence of the RR that obtains obtaining or the second code check adjustment information of incision code check;
The 3rd information is obtained subelement 122, be used for according to the code check adjustment information that presets and the 3rd corresponding relation of round-trip delay, the transmission that obtains obtaining report SR the round-trip delay correspondence on cut or the 3rd code check adjustment information of incision code check;
Described code check adjustment unit 13, be used for according to the first information obtain subelement 120, second information obtain subelement 121 and the 3rd information obtain subelement 122 wherein any two above information obtain the code check adjustment information that subelement obtains, determine that the code check to the data that send to subscriber equipment is incision or incision.
For example: code check adjustment unit 13 determines to comprise in the first code check adjustment information, the second code check adjustment information and the 3rd code check adjustment information information of at least one incision code check, and then the code check to the data that send to described subscriber equipment carries out incision; Determine not comprise in the first code check adjustment information, the second code check adjustment information and the 3rd code check adjustment information information of incision code check, cut on then the code check of the data that send to described subscriber equipment being carried out.
As seen, in the server of the embodiment of the invention, broadband parameter acquiring unit 11 is obtained at least two broadband mass parameters according to the RR that receives, by code rate information acquiring unit 12 according to the broadband mass parameter that presets and the corresponding relation of code check adjustment information, at least two code check adjustment information of at least two broadband mass parameter correspondences that obtain obtaining, code check adjustment unit 13 carries out the switching adjustment of code check.The server of the embodiment of the invention is determined the actual fluctuation situation of the network bandwidth by plural index, only use RTT to determine that the actual fluctuation situation of the network bandwidth compares with server of the prior art, the method that embodiment of the invention server adopts can improve the reliability according to network bandwidth variation adjustment code check;
And when the code check adjustment unit 13 of embodiment of the invention server is adjusted code check, be to adjust according to the rule that the network bandwidth changes, following switching to below half of current code check, or on switch to upper level code check of current code check etc., make the code check adjustment that foundation has been arranged like this, it is relatively good to switch effect, avoids frequent code check to switch.
As seen the code check method of adjustment of the embodiment of the invention is: PSS is obtaining at least two broadband mass parameters according to the RR that receives, and according to the corresponding relation of broadband mass parameter that presets and code check adjustment information, at least two code check adjustment information of at least two broadband mass parameter correspondences that obtain obtaining, and carry out the switching adjustment of code check.The embodiment of the invention is determined the actual fluctuation situation of the network bandwidth by at least two indexs, with only use RTT to determine that the actual fluctuation situation of the network bandwidth compares in the prior art, the method for the embodiment of the invention can improve according to the network bandwidth and change the reliability of adjusting code check.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of the foregoing description is to instruct relevant hardware to finish by program, this program can be stored in the computer-readable recording medium, and storage medium can comprise: read-only memory (ROM), random-access memory (ram), disk or CD etc.
More than to code check method of adjustment and server that the embodiment of the invention provided, be described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.