CN101997644A - Speed adjusting method, system and coding scheme selection method and system thereof - Google Patents

Speed adjusting method, system and coding scheme selection method and system thereof Download PDF

Info

Publication number
CN101997644A
CN101997644A CN201010105868XA CN201010105868A CN101997644A CN 101997644 A CN101997644 A CN 101997644A CN 201010105868X A CN201010105868X A CN 201010105868XA CN 201010105868 A CN201010105868 A CN 201010105868A CN 101997644 A CN101997644 A CN 101997644A
Authority
CN
China
Prior art keywords
downlink data
data packet
ecn
receiving device
mark
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.)
Pending
Application number
CN201010105868XA
Other languages
Chinese (zh)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201010105868XA priority Critical patent/CN101997644A/en
Publication of CN101997644A publication Critical patent/CN101997644A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a speed adjusting method, system and coding scheme selection method and a device thereof. The speed adjusting method includes: a downlink data packet sent by transmitting equipment is received, wherein the explicit congestion notification ECN mark the down link data packet is an explicit congestion notification capacity transmission ECT mark or a non-ECT mark; when congestion happens, the ECN mark of the downlink data packet is set to be a congestion mark, and the downlink data packet carrying the congestion mark is sent to receiving equipment, so as to be convenient for the receiving equipment to control downlink speed according to the congestion mark. The embodiment of the invention realizes that ECN can be utilized to control congestion even if transmitting equipment or a router on the route between transmitting equipment and receiving equipment does not support ECN, so that ECN scheme is stronger; and coding scheme can be selected according to network load condition, thus improving network capacity.

Description

Rate adjusting method, system, coding mode selection method and apparatus
Technical field
The embodiment of the invention relates to communication technical field, particularly a kind of rate adjusting method, system, coding mode selection method and apparatus.
Background technology
Voice (the Voice over Internet Protocol of Internet Protocol carrying; Hereinafter to be referred as: VoIP) generally use adaptive multi-rate speech coding (Adaptive Multi-Rate; Hereinafter to be referred as: AMR), comprising: narrowband self-adaption multi-speed speech coding (AMR-Narrow Band; Hereinafter to be referred as: AMR-NB) with wideband adaptive multi-rate speech coding (AMR-Wide Band; Hereinafter to be referred as: AMR-WB) wait the speech coding form of variable bit rate that voice are encoded, AMR is carried on RTP (Real-time Transport Protocol again; Hereinafter to be referred as: RTP)/User Datagram Protoco (UDP) (UserDatagram Protocol; Hereinafter to be referred as: UDP)/Internet Protocol (Internet Protocol; Hereinafter to be referred as: IP).RTP wraps and can stamp sequence number (Sequence Number; Hereinafter to be referred as: SN) and timestamp (Time Stamp; Hereinafter to be referred as: TS).
In the rate adjusting method of the VoIP that prior art provides, receiving terminal sends different RTP control protocols (RTP Control Protocol according to the SN statistics packet drop of the RTP bag that receives respectively according to different packet drops; Hereinafter to be referred as: RTCP) transmitting terminal is given in order, and for example: rate mode request (RTCP_APP_CMR), transmission redundancy packet request (RTCP_APP_REQ_RED) or request transmitting terminal carry out speech frame polymerization (RTCP_APP_REQ_AGG) etc.By these RTCP orders, receiving terminal can require transmitting terminal to reduce speech encoding rate, reduction packing speed and each voice packet and repeat to send several times or the like, reaches the purpose that improves speech quality.
Because existing rate adjusting method based on packet loss feedback is a kind of " afterwards " mechanism, occurred at network congested, packet loss obviously after, receiving terminal just triggers the speed adjustment, has at this time had influence on the user and has experienced.Improve above-mentioned rate adjusting method so need a kind of auxiliary mechanism, this method need possess the function of " early warning ", exactly network fast congested also do not cause obvious packet loss in, notifying user equipment (User Equipment; Hereinafter to be referred as: UE) shift to an earlier date changing down.Therefore prior art has been introduced ecn (explicit congestion notification) (Explicit Congestion Notification; Hereinafter to be referred as: ECN) scheme solves this problem.In the ECN scheme, transmitting terminal UE stamps ECN ability transmission (ECN Capable Transport on the packet header of the IP bag that sends out; Hereinafter to be referred as: ECT) mark, the length of ECT mark are dibit, and the value of ECT can be 01 or 10, support the router of ECN the ECT mark of RTP bag can be revised as ECN congestion marking (ECN Congestion Experienced; Hereinafter to be referred as: ECN-CE), receiving terminal UE just knows that after receiving the RTP bag with ECN-CE mark to have router to take place congested, so receiving terminal UE can reduce speech encoding rate by RTCP_APP_CMR untill further notice transmitting terminal UE.
In the ECN scheme, receiving terminal UE and transmitting terminal UE do not consider the load condition of network when carrying out the speech coding format negotiation, and receiving terminal UE and transmitting terminal UE are by conversation initialized protocol (Session Initial Protocol; Hereinafter to be referred as: SIP) signaling is consulted the speech coding form support one another, determines that then one of them is selected speech coding form.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art:
On the route between transmitting terminal UE and the receiving terminal UE, not all router is all supported ECN, and UE that neither be all supports ECN.In an audio call, do not support ECN in case there is one in the router of calling both sides and process, so existing ECN scheme is exactly disabled.And actual network configuration is very complicated, and all entities that are difficult to the route process between assurance transmitting terminal UE and the receiving terminal UE are all supported ECN, has therefore limited the scope of application of ECN scheme greatly.In addition, prior art can not be selected suitable voice coding modes according to the network load situation at call establishment stage.
Summary of the invention
The embodiment of the invention provides a kind of rate adjusting method, system, coding mode selection method and apparatus, also can utilize ECN to carry out congested control to be implemented in when router on the route between sending ending equipment or sending ending equipment and the receiving device is not supported ECN, and realize selecting suitable voice coding modes according to the network load situation.
The embodiment of the invention provides a kind of rate adjusting method, comprising:
The downlink data packet that receiving end/sending end equipment sends, the demonstration congestion notification ECN of described downlink data packet is labeled as and shows congestion notification ability transmission ECT mark or non-ECT mark;
When taking place when congested, the ECN mark of described downlink data packet is set to congestion marking, and the downlink data packet that will carry described congestion marking is sent to receiving device, so that described receiving device carries out downstream rate control according to described congestion marking.
The embodiment of the invention also provides a kind of rate adjusting method, comprising:
Receive the downlink data packet that the base station sends, described downlink data packet comprises congestion marking;
Carry out downstream rate control according to described congestion marking.
The embodiment of the invention also provides a kind of rate adjusting method, comprising:
Receive the downlink data packet of first business, described downlink data packet is carried and is shown congestion notification ECN mark;
Select first expected rate of described first business, and, determine that described ECN mark is set to the frequency that is provided with of congestion marking according in the Maximum Bit Rate of the assurance bit rate of first expected rate of described first business, described first business and described first business at least one;
According to described the ECN mark that frequency is provided with described downlink data packet is set, and the downlink data packet that will carry out after described the setting is sent to receiving device.
The embodiment of the invention also provides a kind of rate adjusting method, comprising:
Receive the downlink data packet of first business of base station transmission;
The frequency that is provided with according to the entrained congestion marking of described downlink data packet carries out the speed adjustment; Described congestion marking frequency is set is described base station determines according in the Maximum Bit Rate of the assurance bit rate of first expected rate of described first business, described first business and described first business at least one.
The embodiment of the invention also provides a kind of coding mode selection method, comprising:
Receive the invitation message that first subscriber equipment sends, described invitation message comprises the coded system that shows that congestion notification ability transmission ECT mark and described first subscriber equipment are supported;
When generation was congested, the ECT mark of described invitation message was set to congestion marking;
The invitation message of carrying the coded system of described congestion marking and the described first subscriber equipment support is sent to second subscriber equipment, so that described second subscriber equipment according to described congestion marking, selects the lower coded system of relative speed as selected coded system in the coded system that described first subscriber equipment is supported.
The embodiment of the invention also provides a kind of base station, comprising:
Receiver module is used for the downlink data packet that receiving end/sending end equipment sends, and the demonstration congestion notification ECN of described downlink data packet is labeled as and shows congestion notification ability transmission ECT mark or non-ECT mark;
Module is set, is used for taking place in described base station when congested, the ECN mark of the downlink data packet that described receiver module receives is set to congestion marking;
Sending module is used for being sent to receiving device with carrying the described downlink data packet that the congestion marking of module setting is set, so that described receiving device carries out downstream rate control according to described congestion marking.
The embodiment of the invention also provides a kind of receiving device, comprising:
The packet receiver module is used to receive the downlink data packet that the base station sends, and described downlink data packet comprises congestion marking;
The rate controlled module, the congestion marking that is used for the downlink data packet that receives according to described packet receiver module carries out downstream rate control.
The embodiment of the invention also provides a kind of speed Adjustment System, comprising:
Sending ending equipment is used to send downlink data packet, and the demonstration congestion notification ECN of described downlink data packet is labeled as and shows congestion notification ability transmission ECT mark or non-ECT mark;
The base station of receiving device is used to receive the downlink data packet that described sending ending equipment sends, and when generation was congested, the ECN mark of described downlink data packet was set to congestion marking, and sends the downlink data packet of carrying described congestion marking;
Receiving device is used to receive the downlink data packet that the base station of described receiving device sends, and carries out downstream rate control according to described congestion marking.
The embodiment of the invention also provides a kind of base station, comprising:
First receiver module is used to receive the downlink data packet of first business, and described downlink data packet is carried and shown congestion notification ECN mark;
The frequency determination module, be used to select first expected rate of described first business, and, determine that the ECN mark of the downlink data packet of described first receiver module reception is set to the frequency that is provided with of congestion marking according in the Maximum Bit Rate of the assurance bit rate of first expected rate of described first business, described first business and described first business at least one;
Mark is provided with module, is used for according to what described frequency determination module was determined the ECN mark that frequency is provided with described downlink data packet being set;
First sending module is used for that described mark is provided with the downlink data packet that module carries out after described the setting and is sent to receiving device.
The embodiment of the invention also provides a kind of receiving device, comprising:
Second receiver module is used to receive the downlink data packet of first business that the base station sends;
The speed adjusting module is used for the frequency that is provided with according to the entrained congestion marking of the downlink data packet of described second receiver module reception, carries out the speed adjustment; Described congestion marking frequency is set is described base station determines according in the Maximum Bit Rate of the assurance bit rate of first expected rate of described first business, described first business and described first business at least one.
The embodiment of the invention also provides a kind of speed Adjustment System, comprising: the base station, but and the receiving device that links to each other with communication mode with described base station,
Described base station, be used to receive the downlink data packet of first business, described downlink data packet is carried and is shown congestion notification ECN mark, select first expected rate of described first business, and determine that according to the assurance bit rate of first expected rate of described first business, described first business and the Maximum Bit Rate of described first business described ECN mark is set to the frequency that is provided with of congestion marking; According to described the ECN mark that frequency is provided with described downlink data packet is set, and the downlink data packet that will carry out after described the setting is sent to described receiving device.
The embodiment of the invention also provides a kind of coding mode selection device, comprising:
The message sink module is used to receive the invitation message that first subscriber equipment sends, and described invitation message comprises the coded system that shows that congestion notification ability transmission ECT mark and described first subscriber equipment are supported;
Mark is provided with module, is used for when generation is congested, and the ECT mark of the invitation message that described message sink module receives is set to congestion marking;
The invitation message sending module, be used for to carry the coded system of the described first subscriber equipment support and invitation message that described mark is provided with the congestion marking of module setting and be sent to second subscriber equipment, so that described second subscriber equipment according to described congestion marking, selects the lower coded system of relative speed as selected coded system in the coded system that described first subscriber equipment is supported.
Pass through the embodiment of the invention, the base station is when generation is congested, the ECN mark of the downlink data packet that receives is set to congestion marking, and the downlink data packet of carrying congestion marking is sent to receiving device, thereby receiving device can carry out downstream rate control according to this congestion marking; When having realized that router on the route between sending ending equipment or sending ending equipment and receiving device is not supported ECN, also can utilize ECN to carry out congested control, make the ECN scheme healthy and strong more.In addition, first subscriber equipment carries the ECT mark in invitation message, the base station or the router that receive this invitation message can be when generation be congested, ECT mark in this invitation message is revised as congestion marking, and the invitation message that will carry congestion marking is sent to second subscriber equipment, thereby second subscriber equipment can select the lower coded system of relative speed as selected coded system according to this congestion marking in the coded system that first subscriber equipment is supported; Realized selecting coded system, increased network capacity according to the network load situation.
Description of drawings
In order to be illustrated more clearly in the present invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of rate adjusting method embodiment one of the present invention;
Fig. 2 is the flow chart of rate adjusting method embodiment two of the present invention;
Fig. 3 is the flow chart of rate adjusting method embodiment three of the present invention;
Fig. 4 is the flow chart of rate adjusting method embodiment four of the present invention;
Fig. 5 is the flow chart of rate adjusting method embodiment five of the present invention;
Fig. 6 is the flow chart of rate adjusting method embodiment six of the present invention;
Fig. 7 is the flow chart of rate adjusting method embodiment seven of the present invention;
Fig. 8 is the flow chart of rate adjusting method embodiment eight of the present invention;
Fig. 9 is the flow chart of rate adjusting method embodiment nine of the present invention;
Figure 10 is the flow chart of coding mode selection method embodiment one of the present invention;
Figure 11 is the flow chart of coding mode selection method embodiment two of the present invention;
Figure 12 is the structural representation of base station embodiment one of the present invention;
Figure 13 is the structural representation of receiving device embodiment one of the present invention;
Figure 14 is the structural representation of speed Adjustment System embodiment one of the present invention;
Figure 15 is the structural representation of base station embodiment two of the present invention;
Figure 16 is the structural representation of base station embodiment three of the present invention;
Figure 17 is the structural representation of receiving device embodiment two of the present invention;
Figure 18 is the structural representation of receiving device embodiment three of the present invention;
Figure 19 is the structural representation of speed Adjustment System embodiment two of the present invention;
Figure 20 is the structural representation of coding mode selection device embodiment one of the present invention.
Embodiment
Below in conjunction with the accompanying drawing among the present invention, the technical scheme among the present 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, the every other embodiment that those of ordinary skills are obtained under the prerequisite of not making creative work belongs to the scope of protection of the invention.
Fig. 1 is the flow chart of rate adjusting method embodiment one of the present invention, and as shown in Figure 1, this embodiment can comprise:
Step 101, the downlink data packet that the base station receiving end/sending end equipment of receiving device sends, the ECN of this packet is labeled as ECT mark or non-ECT (not ECT) mark.
Step 102, when generation was congested, the ECN mark of the base station downlink data packet of this receiving device was set to congestion marking.
In the present embodiment, the base station of receiving device is for the downlink data packet that receives, no matter the ECN mark in this downlink data packet is the ECT mark, right and wrong ECT mark also, the ECN mark of the base station of receiving device in all can downlink data packet is set to congestion marking.After the downlink data packet that receives the sending ending equipment transmission, congested if the base station of receiving device has taken place, the ECN mark of the downlink data packet that the base station of this receiving device receives is set to congestion marking.For downlink data packet, the base station of this receiving device is equivalent to last-hop Router, owing to do not had other routers on the downlink path, the non-ECT mark in the base station of this receiving device is set to the problem that congestion marking can not cause packet loss or be revised as non-ECT, thereby the base station of receiving device is not supported under the situation of ECN at other routers on the route between sending ending equipment and the receiving device or sending ending equipment, also can be according to the load condition control downstream rate of the base station of this receiving device, further, also can control upstream rate.
Preferably, receiving device can report this receiving device to support the ability information of ECN to the base station of this receiving device in advance, the base station of this receiving device can be when receiving device be supported ECN, the ECN mark of the downlink data packet that receives is set to congestion marking, and the downlink data packet that will carry congestion marking then is sent to this receiving device.
In addition, when receiving device in advance when the base station of this receiving device reports this receiving device not support ECN, the ECN mark of the downlink data packet that the base station of this receiving device does not receive is set to congestion marking, directly the downlink data packet that receives is sent to receiving device; Perhaps, the base station of this receiving device can not report this receiving device about supporting or when not supporting the ability information of ECN at receiving device yet, the ECN mark of the downlink data packet that receives is set to congestion marking, and the downlink data packet that will carry congestion marking then is sent to this receiving device.
Step 103, the packet that congestion marking will be carried in the base station of receiving device is sent to receiving device, so that this receiving device carries out downstream rate control according to this congestion marking.
In the foregoing description, the base station of receiving device is when generation is congested, the ECN mark of the downlink data packet that receives is set to congestion marking, and the downlink data packet of carrying congestion marking is sent to receiving device, thereby receiving device can carry out downstream rate control according to this congestion marking; When having realized that router on the route between sending ending equipment or sending ending equipment and receiving device is not supported ECN, also can utilize ECN to carry out congested control, make the ECN scheme healthy and strong more.
Fig. 2 is the flow chart of rate adjusting method embodiment two of the present invention, and as shown in Figure 2, this embodiment can comprise:
Step 201, receiving device receive the downlink data packet of the base station transmission of this receiving device, and this downlink data packet comprises congestion marking.
In the present embodiment, after the base station of receiving device receives the downlink data packet of sending ending equipment transmission, if it is congested that the base station of this receiving device has taken place, then the ECN mark of the downlink data packet that receives of the base station of this receiving device is set to congestion marking, and the ECN mark of this downlink data packet can be ECT mark or non-ECT mark.Then, the base station of the receiving device downlink data packet that will carry congestion marking is sent to receiving device.
Step 202, receiving device carries out downstream rate control according to this congestion marking.
In the present embodiment, no matter the ECN of receiving device and sending ending equipment consults successfully still failure, after receiving the packet that carries congestion marking, the IP layer of receiving device all needs to application layer report congestion events, and this receiving device of application layer-triggered carries out downstream rate control.
Wherein, receiving device carries out downstream rate control and is specifically as follows:
Receiving device sends coding reduction of speed request message to sending ending equipment, so that this sending ending equipment reduces code rate; Perhaps, receiving device sends packing reduction of speed request message to sending ending equipment, so that this sending ending equipment reduces packing speed.
Coding reduction of speed request message in the present embodiment can be rate mode request (RTCP_APP_CMR) message, by this message, receiving device can require sending ending equipment to reduce speech encoding rate, and the speech encoding rate that comprises receiving device expectation in this rate mode request message, the sending ending equipment that receives this rate mode request message can be reduced to the speech encoding rate of self speech encoding rate in this this rate mode request message; This packing reduction of speed request message can carry out speech frame polymerization (RTCP_APP_REQ_AGG) message for the request sending ending equipment, by this message, receiving device can require sending ending equipment to reduce packing speed, and this request sending ending equipment carries out comprising in the speech frame syndication message packing speed of receiving device expectation, receives sending ending equipment that this request sending ending equipment carries out the speech frame syndication message and the packing speed of self can be reduced to packing speed in this message.
Alternatively, after receiving the packet that carries congestion marking, receiving device can also carry out upstream rate control according to this congestion marking, be specifically as follows: receiving device is after receiving the downlink data packet of carrying congestion marking, can reduce the upstream rate of self, comprise the code rate of the upstream data bag that reduces this receiving device transmission or the speed etc. of packing, to reduce upstream rate.
In the present embodiment, before the downlink data receiving bag, receiving device and sending ending equipment carry out ECN to be consulted, when the ECN of receiving device and sending ending equipment consults successfully, after the downlink data packet that the base station that receives this receiving device sends, this receiving device can also send the ECN feedback to sending ending equipment.It is to minmal sequence corresponding downlink data bag, maximum sequence number corresponding downlink data bag that ECN feedback has indicated this ECN feedback by minmal sequence number and maximum sequence number, and the feedback of the sequence number corresponding downlink data bag between minmal sequence number and the maximum sequence number; If this sending ending equipment is determined this sending ending equipment these sequence number corresponding downlink data bag marks that sent is before crossed the ECT mark that then this sending ending equipment is handled the ECN feedback that receives; If this sending ending equipment is determined this sending ending equipment and these sequence number corresponding downlink data bag marks is not crossed the ECT mark that then this sending ending equipment abandons the ECN feedback that receives.
When the ECN of receiving device and sending ending equipment consulted failure, receiving device did not send the ECN feedback to sending ending equipment.
In the present embodiment, receiving device receives the downlink data packet of carrying congestion marking of the base station transmission of this receiving device, and this receiving device can carry out downstream rate control according to this congestion marking; Alternatively, this receiving device can also carry out upstream rate control according to this congestion marking; Thereby when having realized that router on the route between sending ending equipment or sending ending equipment and receiving device is not supported ECN, also can utilize ECN to carry out congested control, make the ECN scheme healthy and strong more.
Carrying out the VoIP business with sending ending equipment and receiving device below is example, and Fig. 1 of the present invention or the rate adjusting method that provides embodiment illustrated in fig. 2 are described in detail.But Fig. 1 of the present invention or the rate adjusting method that provides embodiment illustrated in fig. 2 are not limited in and are applied on the VoIP business, also can be applied on other business, for example: video traffic etc.
Fig. 3 is the flow chart of rate adjusting method embodiment three of the present invention, and the ECN that this embodiment is described in receiving device and sending ending equipment consults successfully, but sounds out the rate adjusting method under the scene of failing.As shown in Figure 3, this embodiment can comprise:
Step 301, sending ending equipment and receiving device are by IP Multimedia System (IP MultimediaSubsystem; Hereinafter to be referred as: IMS) network negotiate voip conversation success, ECN consults successfully simultaneously.
Step 302, sending ending equipment begin to sound out, owing to have router not support ECN on the route between sending ending equipment and the receiving device, cause souning out failure.
Step 303, sending ending equipment stop to send the VoIP voice packet that carries the ECT mark, and what follow-up a period of time sent all is the VoIP voice packet that carries non-ECT mark (00).
Step 304, the VoIP voice packet that the base station receiving end/sending end equipment of receiving device sends by transmission network, this VoIP voice packet carries non-ECT mark; At this moment, congested if the base station of this receiving device has taken place, then the non-ECT mark of the VoIP voice packet that receives of the base station of this receiving device is set to ECN-CE mark (11).
The VoIP voice packet that step 305, the base station of receiving device will be carried the ECN-CE mark is sent to receiving device.
Step 306, receiving device carries out downstream rate control according to the ECN-CE mark, sends coding reduction of speed request message or packing reduction of speed request message to sending ending equipment; And to sending ending equipment transmission ECN feedback.It is the VoIP voice packet to the minmal sequence correspondence, the VoIP voice packet of maximum sequence number correspondence that this ECN feedback has indicated this ECN feedback by minmal sequence number and maximum sequence number, and the feedback of the VoIP voice packet of the sequence number correspondence between minmal sequence number and the maximum sequence number.
Particularly, in the present embodiment, after receiving the VoIP voice packet that carries the ECN-CE mark, the IP course application layer report congestion events of receiving device, this receiving device of application layer-triggered carries out downstream rate control, sends coding reduction of speed request message or packing reduction of speed request message to sending ending equipment.
This coding reduction of speed request message can be rate mode request (RTCP_APP_CMR) message, by this message, receiving device can require sending ending equipment to reduce speech encoding rate, and the speech encoding rate that comprises receiving device expectation in this rate mode request message, the sending ending equipment that receives this rate mode request message can be reduced to the speech encoding rate of self speech encoding rate in this this rate mode request message; This packing reduction of speed request message can carry out speech frame polymerization (RTCP_APP_REQ_AGG) message for the request sending ending equipment, by this message, receiving device can require sending ending equipment to reduce packing speed, and this request sending ending equipment carries out comprising in the speech frame syndication message packing speed of receiving device expectation, receives sending ending equipment that this request sending ending equipment carries out the speech frame syndication message and the packing speed of self can be reduced to packing speed in this message.
Alternatively, receiving device can also carry out upstream rate control according to the ECN-CE mark, particularly, receiving device is after receiving the VoIP voice packet that carries the ECN-CE mark, can reduce the upstream rate of self, comprise the code rate of the VoIP voice packet that reduces this receiving device transmission or the speed etc. of packing, to reduce upstream rate.
Step 307, sending ending equipment reduces speech encoding rate according to the coding reduction of speed request message that receives, and perhaps reduces packing speed according to the packing reduction of speed request message that receives.Simultaneously, this sending ending equipment determines that this sending ending equipment do not cross the ECT mark to the VoIP voice packet mark of the sequence number correspondence in the ECN feedback that receives, so this sending ending equipment ignores the ECN feedback that receives, and can abandon this ECN feedback.
In the foregoing description, the base station of receiving device is when generation is congested, the non-ECT mark of the VoIP voice packet that receives is set to the ECN-CE mark, the VoIP voice packet that carries the ECN-CE mark is sent to receiving device, thereby receiving device can carry out downstream rate control according to this ECN-CE mark; Alternatively, receiving device can also oneself reduce upstream rate, comprises and reduces packing speed or code rate etc., to reduce upstream rate.When having realized that router on the route between sending ending equipment or sending ending equipment and receiving device is not supported ECN, also can utilize ECN to carry out congested control, make the ECN scheme healthy and strong more.
Fig. 4 is the flow chart of rate adjusting method embodiment four of the present invention, and this embodiment is described in sending ending equipment and receiving device ECN consults successfully, and in the exploration stage or sound out the rate adjusting method in stage again, as shown in Figure 4, this embodiment can comprise:
Step 401, sending ending equipment and receiving device are by the success of IMS network negotiate voip conversation, and ECN consults successfully simultaneously.
Step 402, sending ending equipment begin to sound out.
Step 403, the part of V oIP voice packet that sending ending equipment sends carries ECT mark (01 or 10).For example: sending ending equipment has sent 5 VoIP voice packets, and the mark of these 5 VoIP voice packets is respectively: 00,01,00,10 and 00, and the sequence number of these 5 VoIP voice packets is followed successively by 1,2,3,4 and 5.
Step 404, the VoIP voice packet that the base station receiving end/sending end equipment of receiving device sends by transmission network, at this moment, if it is congested that the base station of this receiving device has taken place, the mark of the VoIP voice packet that the base station of this receiving device receives is set to ECN-CE mark (11), no matter the mark right and wrong ECT mark (00) of this VoIP voice packet, or ECT mark (01 or 10).In the present embodiment, the base station sequence number of this receiving device is that the mark of 1 and 2 VoIP voice packet is set to ECN-CE mark (11).
Step 405, the base station of receiving device is sent to receiving device with above-mentioned VoIP voice packet.
In the present embodiment, the base station of this receiving device is after being provided with the ECN-CE mark, with sequence number is that 1,2,3,4 and 5 VoIP voice packet is sent to receiving device, and the mark of the VoIP voice packet that receiving device receives is followed successively by: 11,11,00,10 and 00.
Step 406, receiving device carries out downstream rate control according to the ECN-CE mark, sends coding reduction of speed request message or packing reduction of speed request message to sending ending equipment; And to sending ending equipment transmission ECN feedback.
Particularly, in the present embodiment, after receiving the VoIP voice packet that carries the ECN-CE mark, the IP course application layer report congestion events of receiving device, this receiving device of application layer-triggered carries out downstream rate control, sends coding reduction of speed request message or packing reduction of speed request message to sending ending equipment.
This coding reduction of speed request message can be rate mode request (RTCP_APP_CMR) message, by this message, receiving device can require sending ending equipment to reduce speech encoding rate, and the speech encoding rate that comprises receiving device expectation in this rate mode request message, the sending ending equipment that receives this rate mode request message can be reduced to the speech encoding rate of self speech encoding rate in this this rate mode request message; This packing reduction of speed request message can carry out speech frame polymerization (RTCP_APP_REQ_AGG) message for the request sending ending equipment, by this message, receiving device can require sending ending equipment to reduce packing speed, and this request sending ending equipment carries out comprising in the speech frame syndication message packing speed of receiving device expectation, receives sending ending equipment that this request sending ending equipment carries out the speech frame syndication message and the packing speed of self can be reduced to packing speed in this message.
Alternatively, receiving device can also carry out upstream rate control according to the ECN-CE mark, particularly, receiving device is after receiving the VoIP voice packet that carries the ECN-CE mark, can reduce the upstream rate of self, comprise the code rate of the VoIP voice packet that reduces this receiving device transmission or the speed etc. of packing, to reduce upstream rate.
Wherein, ECN feedback comprises: the sequence number of minmal sequence number, maximum sequence number, the VoIP voice packet lost, be labeled as the sequence number and the validation value nonce of the VoIP voice packet of ECN-CE mark.Nonce is the value of a dibit, receiving device calculate nonce method can for: an initial nonce is set, then with the ECT mark of the VoIP voice packet of receiving that carries the ECT mark, and the non-ECT mark that carries the VoIP voice packet of non-ECT mark carries out XOR (XOR) computing, obtains the value of a final nonce.
In the present embodiment, suppose that initial nonce is 00, then final nonce is 00 XOR, 00 XOR10 XOR 00=10.Therefore, receiving device comprises to the ECN feedback that sending ending equipment sends: the sequence number of first VoIP voice packet is 1, the sequence number of last VoIP voice packet is 5, sequence number 1 and 2 VoIP voice packet be labeled as ECN-CE mark, initial nonce be 00 and final nonce be 10.
Step 407, sending ending equipment reduces speech encoding rate according to the coding reduction of speed request message that receives, and perhaps reduces packing speed according to the packing reduction of speed request message that receives.
And, sending ending equipment is handled the ECN feedback that receives, the sequence number of the VoIP voice packet that carries the ECT mark that if the sequence number of the VoIP voice packet that carries the ECN-CE mark of receiving device feedback is not this sending ending equipment to send out, this sending ending equipment is not considered as mistake yet, according to the normal nonce that calculates of ECN feedback.Sending ending equipment calculate nonce method can for: according to the initial nonce of receiving device feedback, carry out XOR with ECT that sends and non-ECT mark (the VoIP voice packet that is modified to the ECN-CE mark of getting rid of feedback), obtain a final nonce value.
In the present embodiment, sending ending equipment does not calculate the VoIP voice packet that is labeled as the ECN-CE mark according to the ECN feedback, the final nonce of Ji Suaning is so: 00 XOR, 00 XOR, 10 XOR 00=10, equate with the value of the final nonce of receiving device feedback, and can determine to sound out successfully.
In the present embodiment, sending ending equipment is modified to the ECN-CE mark according to the mark that ECN feedback can define the VoIP voice packet of certain non-ECT mark, at this moment, sending ending equipment not this modification as a kind of fault processing.
In the present embodiment, sending ending equipment can judge in the transmission course of VoIP voice packet whether the router packet loss is arranged by the packet loss feedback in the ECN feedback.And, sending ending equipment also can be by calculating nonce, the final nonce that calculates when sending ending equipment is with the final nonce of receiving device feedback when inconsistent, and determining has the ECT mark of the VoIP voice packet of router sending ending equipment transmission to be set to non-ECT mark (00) on the route of this sending ending equipment and receiving device.Therefore, the rate adjusting method that the embodiment of the invention provides does not influence existing nonce computing mechanism, sending ending equipment is judged whether to sound out successfully do not disturb, and can well coexist with prior art.
In the foregoing description, the base station of receiving device is when generation is congested, the mark of the VoIP voice packet that receives is set to the ECN-CE mark, the VoIP voice packet that carries the ECN-CE mark is sent to receiving device, thereby receiving device can carry out downstream rate control according to this ECN-CE mark; Alternatively, receiving device can also oneself reduce upstream rate, comprises and reduces packing speed or code rate etc., to reduce upstream rate; When having realized that router on the route between sending ending equipment or sending ending equipment and receiving device is not supported ECN, also can utilize ECN to carry out congested control, make the ECN scheme healthy and strong more.
Fig. 5 is the flow chart of rate adjusting method embodiment five of the present invention, and this embodiment describes the rate adjusting method under sending ending equipment and the receiving device negotiation failure scene.As shown in Figure 5, this embodiment can comprise:
Step 501, sending ending equipment and receiving device are by the success of IMS network negotiate voip conversation, and ECN consults failure.
Step 502, sending ending equipment sends the VoIP voice packet that carries non-ECT mark (00).
Step 503, the VoIP voice packet that the base station receiving end/sending end equipment of receiving device sends by transmission network, this VoIP voice packet carries non-ECT mark; At this moment, congested if the base station of this receiving device has taken place, then the non-ECT mark of the VoIP voice packet that receives of the base station of this receiving device is set to ECN-CE mark (11).
The VoIP voice packet that step 504, the base station of this receiving device will be carried the ECN-CE mark is sent to receiving device.
Step 505, receiving device carries out downstream rate control according to ECN-CE, sends coding reduction of speed request message or packing reduction of speed request message to sending ending equipment.
Particularly, in the present embodiment, after receiving the VoIP voice packet that carries the ECN-CE mark, the IP layer of receiving device is also to application layer report congestion events, this receiving device of application layer-triggered carries out downstream rate control, sends coding reduction of speed request message or packing reduction of speed request message to sending ending equipment.
This coding reduction of speed request message can be rate mode request (RTCP_APP_CMR) message, by this message, receiving device can require sending ending equipment to reduce speech encoding rate, and the speech encoding rate that comprises receiving device expectation in this rate mode request message, the sending ending equipment that receives this rate mode request message can be reduced to the speech encoding rate of self speech encoding rate in this this rate mode request message; This packing reduction of speed request message can carry out speech frame polymerization (RTCP_APP_REQ_AGG) message for the request sending ending equipment, by this message, receiving device can require sending ending equipment to reduce packing speed, and this request sending ending equipment carries out comprising in the speech frame syndication message packing speed of receiving device expectation, receives sending ending equipment that this request sending ending equipment carries out the speech frame syndication message and the packing speed of self can be reduced to packing speed in this message.
Alternatively, receiving device can also carry out upstream rate control according to the ECN-CE mark, particularly, receiving device is after receiving the VoIP voice packet that carries the ECN-CE mark, can reduce the upstream rate of self, comprise the code rate of the VoIP voice packet that reduces this receiving device transmission or the speed etc. of packing, to reduce upstream rate.
Step 506, sending ending equipment reduces speech encoding rate according to the coding reduction of speed request message that receives, and perhaps reduces packing speed according to the packing reduction of speed request message that receives.
In the foregoing description, consult under the scene of failure at sending ending equipment and receiving device, the base station of receiving device is when generation is congested, the non-ECT mark of the VoIP voice packet that receives is set to the ECN-CE mark, the VoIP voice packet that carries the ECN-CE mark is sent to receiving device, thereby receiving device can carry out downstream rate control according to this ECN-CE mark; Alternatively, receiving device can also oneself reduce upstream rate, comprises and reduces packing speed or code rate etc., to reduce upstream rate; When having realized that router on the route between sending ending equipment or sending ending equipment and receiving device is not supported ECN, also can utilize ECN to carry out congested control, make the ECN scheme healthy and strong more.
In addition, in Fig. 3 of the present invention, Fig. 4 or embodiment shown in Figure 5, receiving device can report this receiving device to support the ability information of ECN to the base station of this receiving device in advance, the base station of this receiving device can be when receiving device be supported ECN, the mark of the packet that receives is set to congestion marking, and the packet that will carry congestion marking then is sent to this receiving device.
When receiving device in advance when the base station of this receiving device reports this receiving device not support ECN, the ECN mark of the downlink data packet that the base station of this receiving device does not receive is set to congestion marking, directly the downlink data packet that receives is sent to receiving device; Perhaps, the base station of this receiving device can not report this receiving device about supporting or when not supporting the ability information of ECN at receiving device yet, the mark of the packet that receives is set to congestion marking, and the packet that will carry congestion marking then is sent to this receiving device.
Fig. 6 is the flow chart of rate adjusting method embodiment six of the present invention, and as shown in Figure 6, this embodiment can comprise:
Step 601, base station receive the downlink data packet of first business, and this downlink data packet is carried the ECN mark.
Step 602, first expected rate of this base station selected first business, and, determine that above-mentioned ECN mark is set to the frequency that is provided with of congestion marking according in the Maximum Bit Rate of the assurance bit rate of first expected rate of this first business, this first business and this first business at least one.
In the embodiment of the invention, this base station can be selected first expected rate of this first business according to the Maximum Bit Rate of the assurance bit rate of first business and/or first business, for example: can select this first expected rate to be not less than the assurance bit rate of above-mentioned first business; Perhaps, can select this first expected rate to be not more than the Maximum Bit Rate of above-mentioned first business; Perhaps, can select this first expected rate to be not less than the assurance bit rate of above-mentioned first business and be not more than the Maximum Bit Rate of above-mentioned first business; But the embodiment of the invention is not limited in this, and this first expected rate also can be selected according to service needed or other bit rates in this base station, and the embodiment of the invention does not limit the selection mode of first expected rate of first business.
In the embodiment of the invention, first expected rate according to this first business, in the assurance bit rate of this first business and the Maximum Bit Rate of this first business at least one determine above-mentioned ECN mark be set to congestion marking a kind of implementation that frequency is set can for: the difference of the above-mentioned Maximum Bit Rate and first expected rate can be calculated in the base station, and with the difference of this Maximum Bit Rate and this first expected rate as first difference, and calculate above-mentioned Maximum Bit Rate and the difference that guarantees bit rate, and with the difference of this Maximum Bit Rate and this assurance bit rate as second difference; And calculate the ratio of first difference and second difference, the ratio of first difference and second difference as first ratio, is determined that this first ratio is for being provided with frequency.Below only be to determine that the ECN mark is set to a kind of implementation of congestion marking; the embodiment of the invention is not limited in this, and the implementation that frequency is set that the definite above-mentioned ECN mark of at least one in the assurance bit rate of any first expected rate according to first business, first business and the Maximum Bit Rate of first business is set to congestion marking all should fall into the protection range of the embodiment of the invention.
The Maximum Bit Rate that is not less than the assurance bit rate of above-mentioned first business with first expected rate below and is not more than above-mentioned first business is that example is introduced above-mentioned definite mode that frequency is set.
When a business was set up, the base station can obtain upper layer node, for example: strategy among core net node or the internet protocol multimedia subsystem IMS and charging rule functions (Policy andCharging Rules Function; Hereinafter to be referred as: PCRF) service quality (the Quality of Service of two keys of this business of node transmission; Hereinafter to be referred as: QoS) parameter: guarantee bit rate (Guaranteed Bit Rate; Hereinafter to be referred as: GBR) and Maximum Bit Rate (Maximum Bit Rate; Hereinafter to be referred as: MBR); Particularly, to Long Term Evolution (Long Term Evolution; Hereinafter to be referred as: LTE) system, GBR and MBR set up request (E-RAB SETUPREQUEST) message by carrying and are sent to the base station.
In addition, professional sending ending equipment and receiving device can consult to obtain the type of coding and the code rate of this sending ending equipment and receiving device support by IMS, and for example: AMR-NB has 8 kinds of speed; AMR-WB has 9 kinds of code rates; Strengthen voice service (Enhanced VoiceService; Hereinafter to be referred as: EVS) type of coding also has multiple code rate.
Suppose that sending ending equipment and receiving device carry out the result of IMS negotiation for adopting this type of coding of AMR-NB, select 4 kinds of code rates among the AMR-NB for use, for example: the 0th, 2,5,7 kinds, corresponding codes speed is respectively 12.2,7.4,5.9,4.75 kilobits per seconds (kilo bit persecond; Hereinafter to be referred as: kbps).
After consulting to determine type of coding and code rate by IMS, sending ending equipment and receiving device report selected type of coding and code rate to upper layer node, and upper layer node can be determined GBR and MBR according to selected type of coding and code rate.Generally, GBR can obtain according to the minimum code rate calculations, and for example: it is 9 that code rate can obtain GBR during for 4.75kbps; MBR can obtain according to maximum code rate, and for example: it is 25.4 that code rate can obtain MBR during for 12.2kbps.Then, upper layer node is sent to the base station with GBR and the MBR that determines again.
When code rate need be adjusted in the base station, first expected rate can be selected in the base station between the GBR of first business and MBR.At this moment, the difference of the MBR and first expected rate can be calculated in the base station, with the difference of this MBR and this first expected rate as first difference, and the difference of calculating MBR and GBR, with the difference of this MBR and GBR as second difference; And calculate the ratio of first difference and second difference, the ratio of this first difference and second difference as first ratio, is determined that this first ratio is for being provided with frequency.For example:
(1) the first base station selected expected rate of supposition is 15kbps, and then the difference of MBR and expected rate is 25.4-15=10.4, and the difference of MBR and GBR is MBR-GBR=25.4-9=16.4, so the ratio of first difference and second difference is 10.4 16.4 × 100 % = 63.4 % , Promptly first ratio is 63.4%.
(2) if when the base station wishes that sending ending equipment sends according to the speed of minimum, the first then base station selected expected rate is GBR, so first ratio is: MBR - GBR MBR - GBR × 100 % = 100 % , The ECN mark that is whole downlink data packet all can be set to congestion marking, i.e. " 11 " as much as possible;
(3) in like manner, if the first base station selected expected rate is MBR, then can obtains first ratio and be: MBR - MBR MBR - GBR × 100 % = 0 , The ECN mark that is whole downlink data packet can not be set to congestion marking.
Step 603, the base station is provided with the ECN mark that frequency is provided with downlink data packet according to this, and the downlink data packet after will being provided with is sent to receiving device.
Particularly, determined being provided with after the frequency of congestion marking in the base station, the base station can be set to congestion marking according to the above-mentioned ECN mark that the downlink data packet of first business that frequency receives is set.When specific implementation, can select a statistical parameter, this statistical parameter is used to represent according to what kind of statistical law to realize the frequency that is provided with of congestion marking.This statistical parameter can stipulate that each node gets the preset parameter value or freely selected by each node by agreement, also can be by high-rise IMS signaling, Non-Access Stratum (Non-Access Stratum; Hereinafter to be referred as: the NAS) Radio Resource of signaling or bottom control (Radio Resource Control; Hereinafter to be referred as: RRC) signaling dynamically arranges.
In the present embodiment, this statistical parameter can be the scheduled time or predetermined quantity:
(1) predetermined quantity is promptly added up according to the number of the downlink data packet that receives.For example: the supposition downlink data packet add up to 100, at this moment, the base station will guarantee to issue in 100 continuous downlink data packet in certain carrying of receiving device, it is the most approaching frequency that is provided with that ECN is labeled as 11 statistical value.Particularly, when frequency being set being 71%, in 100 continuous downlink data packet, the ECN mark that the base station can 71 downlink data packet in front is set to congestion marking, and promptly ECN is labeled as 11,29 downlink data packet in back is not provided with; Perhaps, the base station also can per 10 continuous downlink data packet in the ECN mark of 7 downlink data packet be set to congestion marking, like this, the frequency that is provided with of congestion marking is approximately 70%, also is acceptable;
(2) scheduled time, promptly add up according to time range.For example: suppose that the scheduled time is 1 second, then the base station can As soon as possible Promising Policy in 1 second duration, the ratio of the sum of the downlink data packet in the number of issuing the downlink data packet of carrying congestion marking in certain carrying of receiving device and certain carrying of issuing receiving device is near the above-mentioned frequency that is provided with.
But the embodiment of the invention is not limited in this, this statistical parameter also can be other statistics, and the ratio of the sum of the downlink data packet in number and certain carrying of issuing receiving device of downlink data packet of congestion marking reaches or near frequency is set as long as can realize carrying.
Preferably, in the base station according to before the ECN mark that frequency is provided with downlink data packet is set, if the base station has received the downlink data packet of carrying congestion marking, other network nodes that this upstream, base station then is described have taken place congested, at this moment the base station can be calculated the ratio that the ECN that carries in the downlink data packet that receives in the very first time section is labeled as the sum of the downlink data packet that receives in the number of downlink data packet of congestion marking and this very first time section earlier, and the ratio of sum that the ECN that carries in the downlink data packet that receives in this very first time section is labeled as the downlink data packet that receives in the number of downlink data packet of congestion marking and this very first time section is as second ratio; Perhaps, the ECN that carries in the downlink data packet of first quantity that calculating receives is labeled as the number of downlink data packet of congestion marking and the ratio of this first quantity, and the ECN that carries in the downlink data packet with first quantity that receives is labeled as the ratio of the number of downlink data packet of congestion marking and this first quantity as second ratio.
In a kind of implementation of the embodiment of the invention, determine that above-mentioned second ratio is less than being provided with after the frequency, the congestion situation that other network nodes are described than the congestion situation of base station for light, at this moment the base station can be on the basis of second ratio, the ECN mark of the part downlink data packet that continuation receives is set to congestion marking, make in the downlink data packet that this base station receives in the very first time, or in the downlink data packet of first quantity that receives, the ratio that carries the sum of the number of downlink data packet of congestion marking and downlink data packet reaches frequency is set, and the downlink data packet after will being provided with then is sent to receiving device.
In the another kind of implementation of the embodiment of the invention, determine that above-mentioned second ratio is more than or equal to being provided with after the frequency, the congestion situation that other network nodes are described is more serious than the congestion situation of base station, at this moment the ECN mark is no longer revised in the base station, directly the downlink data packet that receives is sent to receiving device.
Need to prove that " first " in the embodiment of the invention and " second " are not represented the height of priority or the quality of performance only for convenience of description, down together.
In the foregoing description, the base station determines that according to first expected rate of selecting the ECN mark is set to the frequency that is provided with of congestion marking, the ECN mark of the downlink data packet of first business that the frequency setting receives is set according to this then, after downlink data packet after will being provided with is sent to receiving device, can make the be provided with frequency of receiving device according to congestion marking, code rate with sending ending equipment adjustment downlink data packet, thereby the base station can be according to the code rate of congestion situation and expected rate adjustment sending ending equipment, can be not easy to fluctuate up and down so that the code rate of sending ending equipment remains on the expected rate according to the suggestion of base station.
Fig. 7 is the flow chart of rate adjusting method embodiment seven of the present invention, and as shown in Figure 7, this embodiment can comprise:
Step 701, receiving device receive the downlink data packet of first business of base station transmission.
Step 702, this receiving device carries out the speed adjustment according to the frequency that is provided with of the entrained congestion marking of downlink data packet; This congestion marking frequency is set is the base station determines according in the Maximum Bit Rate of the assurance bit rate of first expected rate of first business, first business and first business at least one.
Wherein, the base station determines that the method that frequency is set of congestion marking is identical with the present invention's method that provides embodiment illustrated in fig. 6, does not repeat them here.
Particularly, in a kind of implementation of the embodiment of the invention, receiving device can be determined the frequency that is provided with of congestion marking according to the downlink data packet that receives, determine second expected rate according to the code rate that frequency and receiving device support are set, then this second expected rate is sent to sending ending equipment, so that sending ending equipment is adjusted the code rate of downlink data packet according to this second expected rate; Wherein, receiving device is determined frequency is set can calculates the number of the downlink data packet of carrying congestion marking that receives in second time period and the ratio of the sum of the downlink data packet that receives in this second time period for: receiving device of congestion marking according to the downlink data packet that receives, determines that this ratio is the frequency that is provided with of congestion marking; Perhaps, receiving device calculates the number of the downlink data packet of carrying congestion marking in the downlink data packet of second quantity receive and the ratio of this second quantity, determines that this ratio is the frequency that is provided with of congestion marking.
In the another kind of implementation of the embodiment of the invention, receiving device can send the ECN feedback to sending ending equipment, so that sending ending equipment is determined the frequency that is provided with of congestion marking according to this ECN feedback, determine second expected rate according to this code rate that frequency and this sending ending equipment support are set, and adjust the code rate of downlink data packet according to this second expected rate.
Wherein, sending ending equipment according to this ECN feedback determine congestion marking be provided with frequency can for:
(1) ECN feedback can comprise the sequence number that carries the downlink data packet of congestion marking in second time period in the sequence number of the downlink data packet that receiving device receives and the above-mentioned downlink data packet; Or, this ECN feedback can comprise the sequence number that carries the downlink data packet of congestion marking in the sequence number of downlink data packet of second quantity that receiving device receives and this downlink data packet, at this moment, sending ending equipment can be according to the sequence number that carries the downlink data packet of congestion marking in the sequence number of above-mentioned downlink data packet and the above-mentioned downlink data packet, add up the number of carrying the downlink data packet of congestion marking in the sum of above-mentioned downlink data packet and the above-mentioned downlink data packet, calculate the ratio of the sum of the number of the downlink data packet of carrying congestion marking in the above-mentioned downlink data packet and above-mentioned downlink data packet then, determine that this ratio is the frequency that is provided with of congestion marking; Perhaps,
(2) ECN feedback can comprise the ratio of the sum of the number of the downlink data packet of carrying congestion marking in second time period in the downlink data packet that receiving device receives and the downlink data packet that this receiving device receives in second time period, perhaps this ECN feeds back the number of the downlink data packet of carrying congestion marking in the downlink data packet that can comprise second quantity that receiving device receives and the ratio of this second quantity, at this moment, sending ending equipment can determine that this ratio is the frequency that is provided with of congestion marking; Perhaps,
(3) ECN feedback can comprise the number of carrying the downlink data packet of congestion marking in second time period in the sum of the downlink data packet that receiving device receives and the above-mentioned downlink data packet, perhaps this ECN feedback comprises the number of carrying the downlink data packet of congestion marking in the sum of downlink data packet of second quantity that receiving device receives and the above-mentioned downlink data packet, at this moment, sending ending equipment can calculate the ratio of the sum of the number of the downlink data packet of carrying congestion marking in the above-mentioned downlink data packet and above-mentioned downlink data packet, determines that this ratio is the frequency that is provided with of congestion marking.
In the present embodiment, during the number of the downlink data packet of carrying congestion marking that receives at receiving device or sending ending equipment statistics receiving device and downlink data packet total, also can adopt a statistical parameter, this statistical parameter is identical with the statistical parameter that adopt the base station, introduction referring in the present invention's step 603 embodiment illustrated in fig. 6 does not repeat them here.
Below receiving device or sending ending equipment are determined being provided with after the frequency of congestion marking, according to this frequency is set, and the code rate of receiving device or sending ending equipment support determine that the mode of second expected rate is introduced:
(1) supposes that receiving device or sending ending equipment are (12.2,7.9,5.9,4.75) kbps, 4 values by the code rate scope that IMS consults first business that obtains (i.e. carrying).If the frequency that is provided with of the congestion marking that receiving device or sending ending equipment are determined is 70%, then the value of 70% correspondence is in 12.2~4.75 scope: 12.2-(12.2-4.75) * 70%=12.2-5.215=6.985, if with 6.985 is the upper limit, select than 6.985 little and with 6.985 immediate code rates be 5.9, promptly second expected rate is 5.9kbps; If select with 6.985 immediate code rates then be 7.9, promptly second expected rate is 7.9kbps.
(2) suppose that receiving device or sending ending equipment are (24,18,12,6) kbps, 4 values by the code rate scope that IMS consults first business that obtains (i.e. carrying).If the frequency that is provided with of the congestion marking that receiving device or sending ending equipment are determined is 40%, then the value of 40% correspondence in 24~6 scope is: 24-(24-6) * 40%=24-7.2=16.8, if with 16.8 is the upper limit, select than 16.8 little and with 16.8 immediate code rates be 12, promptly second expected rate is 12kbps; If select with 16.8 immediate code rates then be 18, promptly second expected rate is 18kbps.
In the foregoing description, receiving device receives the downlink data packet that the base station sends, and according to the frequency that is provided with of the entrained congestion marking of downlink data packet, carry out the speed adjustment, thereby the base station can be according to the code rate of congestion situation and expected rate adjustment sending ending equipment, receiving device can be according to the frequency that is provided with of congestion marking, adjust code rate with sending ending equipment, make the code rate of sending ending equipment to remain on according to the suggestion of base station on the expected rate, be not easy to fluctuate up and down, bring bigger fluctuation can for the user's voice quality.
Carrying out the VoIP business with sending ending equipment and receiving device below is example, and Fig. 6 of the present invention or the rate adjusting method that provides embodiment illustrated in fig. 7 are described in detail.But Fig. 6 of the present invention or the rate adjusting method that provides embodiment illustrated in fig. 7 are not limited in and are applied on the VoIP business, also can be applied on other business, for example: video traffic etc.; And Fig. 6 of the present invention or the rate adjusting method that provides embodiment illustrated in fig. 7 can be applicable to universal mobile telecommunications system (Universal MobileTelecommunications System; Hereinafter to be referred as: UMTS), TD SDMA (TimeDivision-Synchronous Code Division Multiple Access; Hereinafter to be referred as: TD-SCDMA) or in the network such as LTE+.
Fig. 8 is the flow chart of rate adjusting method embodiment eight of the present invention, and as shown in Figure 8, this embodiment can comprise:
Step 801, sending ending equipment and receiving device are by the success of IMS network negotiate voip conversation, and ECN consults successfully simultaneously.
Step 802, transmitting terminal and receiving device carry out the exploration of ECN function, check whether network supports the ECN function, and this process is optional.
Step 803, sending ending equipment send carries the VoIP voice packet of ECT mark (01 or 10).For example: sending ending equipment has sent 5 VoIP voice packets, and the ECT mark of these 5 VoIP voice packets is respectively: 10,01,10,10 and 01, and the sequence number of these 5 VoIP voice packets is followed successively by 1,2,3,4 and 5.
Present embodiment does not limit the ECN mark of the VoIP voice packet that sending ending equipment sends, and can be ECT mark (01 or 10), can be non-ECT mark (00) yet, can also not influence the realization of the embodiment of the invention for ECN-CE mark (11).
Step 804, the VoIP voice packet that the base station receiving end/sending end equipment of receiving device sends by transmission network, at this moment, if it is congested that the base station of this receiving device has taken place, perhaps owing to certain professional code rate is wished to adjust in the base station of other this receiving device of reason, the base station of this receiving device at first needs to select expected rate, and determine the frequency that is provided with of ECN-CE mark according to this expected rate, be set to the ECN-CE mark according to this ECT mark that VoIP voice packet of the above-mentioned business that frequency receives is set then.
Particularly, the present invention's method that provides embodiment illustrated in fig. 6 can be adopted in the base station of this receiving device when determining frequency being set and the ECN-CE mark is set of ECN-CE mark, do not repeat them here.
Step 805, the VoIP voice packet after the base station of receiving device will be provided with is sent to receiving device.
Step 806, receiving device receive after the VoIP voice packet, send the ECN feedback to sending ending equipment.
Particularly, receiving device can pass through real time transport protocol control protocol (Real-timeTransport Protocol Control Protocol; Hereinafter to be referred as: RTCP) send the ECN feedback to sending ending equipment; The sequence number that this ECN feedback can comprise the sequence number of the VoIP voice packet that receiving device receives and carry the VoIP voice packet of ECN-CE mark; Perhaps, this ECN feedback can comprise the number of the VoIP voice packet that carries the ECN-CE mark that receiving device receives and the ratio of the sum of the VoIP voice packet that receives; Perhaps, this ECN feedback can comprise the sum of the VoIP voice packet that receiving device receives and the number of carrying the VoIP voice packet of ECN-CE mark.
Step 807, sending ending equipment feeds back the frequency that is provided with of determining the ECN-CE mark according to ECN, and determines expected rate according to this code rate that frequency and sending ending equipment support are set.
Particularly, what sending ending equipment can adopt that the method that provides in the present invention's step 702 embodiment illustrated in fig. 7 determines the ECN-CE mark is provided with frequency and expected rate, does not repeat them here.
Step 808, sending ending equipment are adjusted the code rate or the packing speed of VoIP voice packet according to expected rate.
In the foregoing description, the frequency that is provided with of ECN-CE mark is determined in the base station of receiving device according to the expected rate of selecting, be set to the ECN-CE mark according to the ECN mark that the VoIP voice packet that frequency receives is set then, after VoIP voice packet after will being provided with is sent to receiving device, receiving device sends the ECN feedback to sending ending equipment, can make sending ending equipment determine the frequency that is provided with of ECN-CE mark according to the ECN feedback, according to this frequency is set and determines expected rate, and then adjust the code rate or the packing speed of VoIP voice packet according to this expected rate, thereby the base station can be according to the code rate of congestion situation and expected rate adjustment sending ending equipment, can be so that the code rate of sending ending equipment remains on the expected rate according to the suggestion of base station, be not easy to fluctuate up and down, thereby the user's voice quality can not produce bigger fluctuation.
Fig. 9 is the flow chart of rate adjusting method embodiment nine of the present invention, and as shown in Figure 9, this embodiment can comprise:
Step 901, sending ending equipment and receiving device are by the success of IMS network negotiate voip conversation, and ECN consults successfully simultaneously.
Step 902, transmitting terminal and receiving device carry out the exploration of ECN function, check whether network supports the ECN function, and this process is optional.
Step 903, sending ending equipment send carries the VoIP voice packet of ECT mark (01 or 10).
Present embodiment does not limit the ECN mark of the VoIP voice packet that sending ending equipment sends, and can be ECT mark (01 or 10), can be non-ECT mark (00) yet, can also not influence the realization of the embodiment of the invention for ECN-CE mark (11)
Step 904, the VoIP voice packet that the base station receiving end/sending end equipment of receiving device sends by transmission network, at this moment, if it is congested that the base station of this receiving device has taken place, perhaps owing to certain professional code rate is wished to adjust in the base station of other this receiving device of reason, the base station of this receiving device at first needs to select expected rate, and determine the frequency that is provided with of ECN-CE mark according to this expected rate, be set to the ECN-CE mark according to this ECT mark that VoIP voice packet of the above-mentioned business that frequency receives is set then.
Particularly, the present invention's method that provides embodiment illustrated in fig. 6 can be adopted in the base station of this receiving device when determining frequency being set and the ECN-CE mark is set of ECN-CE mark, do not repeat them here.
Step 905, the VoIP voice packet after the base station of receiving device will be provided with is sent to receiving device.
Step 906, receiving device is determined expected rate according to the frequency that is provided with of ECN-CE mark in the VoIP voice packet.
Particularly, receiving device can be determined the frequency that is provided with of ECN-CE mark according to the VoIP voice packet, determine expected rate according to the code rate that frequency and receiving device support are set, then expected rate is sent to sending ending equipment, so that sending ending equipment is adjusted the code rate of VoIP voice packet according to this expected rate; Wherein, receiving device determines that according to the VoIP voice packet frequency that is provided with of ECN-CE mark is specifically as follows: receiving device calculates the number of the VoIP voice packet that carries the ECN-CE mark and the ratio of the sum of the VoIP voice packet that receives, and determines that this ratio is the frequency that is provided with of congestion marking.
When receiving device is determined expected rate according to the code rate that frequency and this receiving device support are set, can adopt the method that provides in the present invention's step 702 embodiment illustrated in fig. 7, not repeat them here.
Step 907, receiving device is sent to sending ending equipment with expected rate.
Particularly, receiving device can be adjusted speed message by request expected rate is sent to sending ending equipment, this request is adjusted speed message and can be comprised: RTCP_APP_CMR message or other message, above-mentioned other message comprise interim maximum Media Stream bit rate request (Temporary MaximumMedia Stream Bit Rate Request; Hereinafter to be referred as: TMMBR) message.
In addition, receiving device also can the transmit frame syndication message require sending ending equipment adjustment packing speed.
Step 908, sending ending equipment are adjusted the code rate or the packing speed of VoIP voice packet according to expected rate.
In the foregoing description, the frequency that is provided with of ECN-CE mark is determined in the base station of receiving device according to the expected rate of selecting, be set to the ECN-CE mark according to the ECN mark that the VoIP voice packet that frequency receives is set then, after VoIP voice packet after will being provided with is sent to receiving device, the ECN-CE mark is provided with frequency in the VoIP voice packet that receiving device is determined to receive, and according to this frequency is set and determines expected rate, then expected rate is sent to sending ending equipment, can make sending ending equipment adjust the code rate or the packing speed of VoIP voice packet according to this expected rate, thereby the base station can be according to the code rate of congestion situation and expected rate adjustment sending ending equipment, can be so that the code rate of sending ending equipment remains on the expected rate according to the suggestion of base station, be not easy to fluctuate up and down, thereby the user's voice quality can not produce bigger fluctuation.
The embodiment of the invention also provides a kind of coding mode selection method, and Figure 10 is the flow chart of coding mode selection method embodiment one of the present invention, and as shown in figure 10, this embodiment can comprise:
Step 1001 receives the invitation message that first subscriber equipment sends, and this invitation message comprises the coded system that the ECT mark and first subscriber equipment are supported.
In the present embodiment, first subscriber equipment is provided with the ECT mark in the IP of invitation message head, sends the invitation message of the coded system of carrying ECT mark and the support of this first subscriber equipment then.
Step 1002, when generation was congested, the ECT mark of this invitation message was set to congestion marking.
In the present embodiment, when the base station on the route between first subscriber equipment and second subscriber equipment or router take place when congested, the ECT mark in the invitation message that base station or router receive is set to congestion marking.
Step 1003 is sent to second subscriber equipment with the invitation message of carrying the coded system of the congestion marking and the first subscriber equipment support.Second subscriber equipment that receives this invitation message can select the lower coded system of relative speed as selected coded system in the coded system that first subscriber equipment is supported according to this congestion marking.
Particularly, the coded system of supposing the first subscriber equipment support is AMR-WB and AMR-NB, then after receiving the invitation message of carrying congestion marking, second subscriber equipment can select this coded system of the lower AMR-NB of relative speed as selected coded system.
In the foregoing description, first subscriber equipment carries the ECT mark in invitation message, the base station or the router that receive this invitation message can be when generation be congested, ECT mark in this invitation message is revised as congestion marking, and the invitation message that will carry congestion marking is sent to second subscriber equipment, thereby second subscriber equipment can select the lower coded system of relative speed as selected coded system according to this congestion marking in the coded system that first subscriber equipment is supported; Realized selecting coded system, increased network capacity according to the network load situation.
Carrying out the VoIP business with first subscriber equipment and second subscriber equipment below is example, and the coding mode selection method that the embodiment of the invention is provided is described in detail.But the coding mode selection method that the embodiment of the invention provides is not limited in and is applied on the VoIP business, also can be applied on other business, for example: video traffic etc.
Figure 11 is the flow chart of coding mode selection method embodiment two of the present invention, and first subscriber equipment is that UE 1, the second subscriber equipment is UE 2 among this embodiment.As shown in figure 11, this embodiment can comprise:
Step 1101, UE 1 sends SIP and invites (INVITE) message, and this sip invite message comprises the coded system tabulation that UE 1 supports, and comprises the ECT mark in the IP head of this sip invite message.
Alternatively, in order to prevent packet loss, UE 1 can send twice to this sip invite message, and the ECT mark once is set in the IP head, and the ECT mark once is not set.
Step 1102, the router on the route between base station or UE 1 and the UE 2 take place when congested, the ECT mark in the sip invite message that UE 1 is sent be set to the ECN-CE mark.
Present embodiment requires the network element of IMS, for example: Proxy Call Session Control Function (Proxy-CallSession Control Function; Hereinafter to be referred as: P-CSCF) entity, service call conversation control function (Service-Call Session Control Function; Hereinafter to be referred as: S-CSCF) entity or application server (Application Server; Hereinafter to be referred as: AS) etc., can transmit ECT mark or ECN-CE mark.For example: after the P-CSCF entity is received sip invite message, identify on the IP head of this sip invite message ECT mark or ECN-CE mark are arranged, this P-CSCF entity also will add ECT mark or ECN-CE mark on the sip invite message that is transmitted to the S-CSCF entity so, thereby guarantees that UE 2 can receive the sip invite message that carries ECT mark or ECN-CE mark.
The sip invite message that step 1103, base station will be carried the ECN-CE mark is sent to UE 2.
Step 1104, UE 2 selects the lower coded system of relative speed as selected coded system according to the ECN-CE mark in the sip invite message that receives in the coded system tabulation that UE1 supports.
In the present embodiment, if UE 1 call circuit exchange (Circuit Switch; Hereinafter to be referred as: CS) territory, UE 2 refers to (the Mobile Switching Center of mobile switching centre so; Hereinafter to be referred as: MSC) or MGCF (Media Gateway Control Function; Hereinafter to be referred as: MGCF).
UE 2 receives after the sip invite message, if identify in the IP head of this sip invite message and comprise the ECN-CE mark, then UE 2 can select a relative speed lower in the coded system tabulation that UE 1 supports, it is the lower coded system of bandwidth requirement, for example: suppose to comprise AMR-WB and these two kinds of coded systems of AMR-NB in the coded system tabulation that UE 1 supports, UE 2 can select this coded system of the lower AMR-NB of relative speeds as selected coded system so.
Step 1105, UE 2 sends response message to UE 1, comprises selected coded system in this response message.This response message can be SIP 180 message or SIP 200 message etc.
In the present embodiment, if cause sip invite message to be lost owing to the ECT mark is set, UE 1 can detect sip invite message transmission failure back repeating transmission sip invite message so, and the ECT mark no longer is set.
In the foregoing description, UE 1 carries the ECT mark in sip invite message, the base station or the router that receive this sip invite message can be when generation be congested, ECT mark in this sip invite message is revised as the ECN-CE mark, and the invitation message that will carry the ECN-CE mark is sent to UE2, thereby UE 2 can be marked in the coded system tabulation of UE 1 support according to this ECN-CE, selects the lower coded system of relative speed as selected coded system; Realized selecting coded system, increased network capacity according to the network load situation.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
Figure 12 is the structural representation of base station embodiment one of the present invention, and the flow process embodiment illustrated in fig. 1 as the present invention can be realized in the base station of this embodiment, and as shown in figure 12, this base station can comprise: receiver module 121, module 122 and sending module 123 are set.
Wherein, the downlink data packet that receiver module 121 can receiving end/sending end equipment sends, the ECN of this downlink data packet is labeled as ECT mark or non-ECT mark.
Module 122 is set can takes place in this base station when congested, the ECN mark of the downlink data packet that receiver module 121 receives is set to congestion marking.
In the present embodiment, the base station all can be provided with congestion marking for the downlink data packet that receives, no matter the ECN mark of this downlink data packet is the ECT mark, goes back right and wrong ECT mark.After receiver module 121 received the downlink data packet that sending ending equipment sends, congested if the base station has taken place, the ECN mark that the downlink data packet that module 122 receives is set was set to congestion marking.
Sending module 123 can be sent to receiving device with the downlink data packet of carrying the congestion marking that module 122 settings are set, so that receiving device carries out downstream rate control according to this congestion marking.
Receiver module 121 can also receive the ability information that this receiving device that receiving device reports is supported ECN; Module 122 then is set specifically can be when receiving device be supported ECN, and the mark of the packet that receiver module 121 receives is set to congestion marking.
In the foregoing description, take place in the base station when congested, the ECN mark that the downlink data packet that module 122 receiver modules 121 receive is set is set to congestion marking, the downlink data packet that to carry congestion marking by sending module 123 is sent to receiving device then, thereby receiving device can carry out downstream rate control according to this congestion marking; When having realized that router on the route between sending ending equipment or sending ending equipment and receiving device is not supported ECN, also can utilize ECN to carry out congested control, make the ECN scheme healthy and strong more.
Figure 13 is the structural representation of receiving device embodiment one of the present invention, the receiving device of this embodiment can be realized the flow process embodiment illustrated in fig. 2 as the present invention, as shown in figure 13, this receiving device can comprise: packet receiver module 131, rate controlled module 132, negotiation module 133 and feedback module 134.
Wherein, packet receiver module 131 can receive the downlink data packet that the base station sends, and this downlink data packet comprises congestion marking;
In the present embodiment, after the base station of receiving device receives the downlink data packet of sending ending equipment transmission, if it is congested that the base station of this receiving device has taken place, then the ECN mark of the downlink data packet that receives of the base station of this receiving device is set to congestion marking, and the ECN mark of this downlink data packet can be ECT mark or non-ECT mark.Then, the downlink data packet that congestion marking will be carried in the base station of receiving device is sent to receiving device, and the packet receiver module 131 of receiving device receives the downlink data packet of carrying congestion marking.
The congestion marking of the downlink data packet that rate controlled module 132 can receive according to packet receiver module 131 carries out downstream rate control.In the present embodiment, no matter the ECN of receiving device and sending ending equipment consults successfully still failure, after packet receiver module 131 receives the packet that carries congestion marking, the IP layer of receiving device all needs to application layer report congestion events, and the rate controlled module 132 of this receiving device of application layer-triggered is carried out downstream rate control.
Wherein, rate controlled module 132 can comprise: message sends submodule 1321, is used for sending coding reduction of speed request message to sending ending equipment, so that this sending ending equipment reduces code rate; Perhaps, send packing reduction of speed request message, so that this sending ending equipment reduces packing speed to sending ending equipment.
Coding reduction of speed request message in the present embodiment can be rate mode request (RTCP_APP_CMR) message, by this message, receiving device can require sending ending equipment to reduce speech encoding rate, and the speech encoding rate that comprises receiving device expectation in this rate mode request message, the sending ending equipment that receives this rate mode request message can be reduced to the speech encoding rate of self speech encoding rate in this this rate mode request message; This packing reduction of speed request message can carry out speech frame polymerization (RTCP_APP_REQ_AGG) message for the request sending ending equipment, by this message, receiving device can require sending ending equipment to reduce packing speed, and this request sending ending equipment carries out comprising in the speech frame syndication message packing speed of receiving device expectation, receives sending ending equipment that this request sending ending equipment carries out the speech frame syndication message and the packing speed of self can be reduced to packing speed in this message.
Alternatively, the congestion marking of the downlink data packet that rate controlled module 132 can also receive according to packet receiver module 131 carries out downstream rate control, and carries out upstream rate control according to this congestion marking;
Rate controlled module 132 can also comprise: speed reduces submodule 1322, is used to reduce the code rate or the packing speed of the upstream data bag that receiving device sends.
In the present embodiment, negotiation module 133 can be carried out ECN with sending ending equipment and consult before packet receiver module 131 downlink data receiving bags;
When the ECN that feedback module 134 can be worked as negotiation module 133 and sending ending equipment consulted successfully, after packet receiver module 131 received the downlink data packet that the base station sends, ECN fed back to the sending ending equipment transmission.
When negotiation module 133 was failed with the ECN negotiation of sending ending equipment, feedback module 134 did not send the ECN feedback.
In the foregoing description, packet receiver module 131 receives the packet that carries congestion marking of the base station transmission of this receiving device, and rate controlled module 132 can be carried out downstream rate control according to this congestion marking; Alternatively, rate controlled module 132 can also be carried out upstream rate control according to this congestion marking; Thereby when having realized that router on the route between sending ending equipment or sending ending equipment and receiving device is not supported ECN, also can utilize ECN to carry out congested control, make the ECN scheme healthy and strong more.
Figure 14 is the structural representation of speed Adjustment System embodiment one of the present invention, and as shown in figure 14, this speed Adjustment System can comprise the base station 1402 and the receiving device 1403 of sending ending equipment 1401, receiving device.
Wherein, sending ending equipment 1401 can send downlink data packet, and the ECN mark of this downlink data packet can be ECT mark or non-ECT mark.
The base station 1402 of receiving device can receiving end/sending end equipment 1401 downlink data packet that send, when generation is congested, the ECN mark of base station 1402 downlink data packet of this receiving device is set to congestion marking, the downlink data packet that to carry congestion marking then is sent to receiving device 1403, so that this receiving device 1403 carries out downstream rate control according to this congestion marking; Particularly, the base station 1402 of this receiving device can be realized by the present invention base station embodiment illustrated in fig. 12.
Receiving device 1403 can receive the downlink data packet of base station 1402 transmissions of this receiving device, and this downlink data packet comprises congestion marking, and receiving device 1403 carries out downstream rate control according to this congestion marking; Alternatively, receiving device 1403 can also carry out upstream rate control according to this congestion marking.Particularly, receiving device 1403 can be realized by the present invention's receiving device embodiment illustrated in fig. 13.
In the foregoing description, the base station 1402 of receiving device is when generation is congested, the ECN mark of the downlink data packet that receives is set to congestion marking, the downlink data packet of carrying congestion marking is sent to receiving device 1403, thereby receiving device 1403 can be according to this congestion marking downstream rate control; Alternatively, receiving device 1403 can also carry out upstream rate control according to this congestion marking.Thereby when having realized that router on the route between sending ending equipment 1401 or sending ending equipment 1401 and receiving device 1403 is not supported ECN, also can utilize ECN to carry out congested control, make the ECN scheme healthy and strong more.
Figure 15 is the structural representation of base station embodiment two of the present invention, as shown in figure 15, the flow process that the present invention is embodiment illustrated in fig. 6 can be realized in the base station of this embodiment, as shown in figure 15, this base station can comprise: first receiver module 151, frequency determination module 152, mark are provided with the module 153 and first sending module 154.
Wherein, first receiver module 151 is used to receive the downlink data packet of first business, and this downlink data packet is carried the ECN mark;
Frequency determination module 152, be used to select first expected rate of first business, and, determine that the ECN mark of the downlink data packet of above-mentioned described first receiver module 151 receptions is set to the frequency that is provided with of congestion marking according in the Maximum Bit Rate of the assurance bit rate of first expected rate of this first business, this first business and this first business at least one;
Mark is provided with module 153, is used for according to what frequency determination module 152 was determined the ECN mark that frequency is provided with downlink data packet being set;
First sending module 154 is used for the downlink data packet that mark is provided with after module 153 is provided with is sent to receiving device.
In the foregoing description, frequency determination module 152 determines that according to first expected rate of first business of selecting the ECN mark is set to the frequency that is provided with of congestion marking, mark is provided with the ECN mark that the downlink data packet that the frequency setting receives is set that module 153 is determined according to frequency determination module 152 then, after downlink data packet after will being provided with is sent to receiving device, can make the be provided with frequency of receiving device according to congestion marking, code rate with sending ending equipment adjustment downlink data packet, thereby the base station can be according to the code rate of congestion situation and expected rate adjustment sending ending equipment, can be not easy to fluctuate up and down so that the code rate of sending ending equipment remains on the expected rate according to the suggestion of base station.
Figure 16 is the structural representation of base station embodiment three of the present invention, as shown in figure 16, the flow process that the present invention is embodiment illustrated in fig. 6 can be realized in the base station of this embodiment, as shown in figure 16, this base station can comprise: first receiver module 161, frequency determination module 162, mark are provided with module 163, first sending module 164, ratio calculation module 165 and second sending module 166.
Wherein, first receiver module 161 is used to receive the downlink data packet of first business, and this downlink data packet is carried the ECN mark;
Frequency determination module 162, be used to select first expected rate of first business, and determine that according to first expected rate of this first business, the assurance bit rate of this first business and the Maximum Bit Rate of this first business the ECN mark is set to the frequency that is provided with of congestion marking;
Mark is provided with module 163, is used for according to what frequency determination module 162 was determined the ECN mark that frequency is provided with downlink data packet being set;
First sending module 164 is used for the downlink data packet that mark is provided with after module 163 is provided with is sent to receiving device.
Wherein, frequency determination module 162 specifically can be used to calculate the difference of the Maximum Bit Rate and first expected rate, and with the difference of this Maximum Bit Rate and first expected rate as first difference, and calculate this Maximum Bit Rate and the difference that guarantees bit rate, and with this Maximum Bit Rate and the difference that guarantees bit rate as second difference; And calculate the ratio of first difference and second difference, the ratio of this first difference and second difference as first ratio, is determined that this first ratio is for being provided with frequency.
This base station can also comprise: ratio calculation module 165, be used for module 163 being set according to before the ECN mark that frequency is provided with downlink data packet is set at mark, calculate the ratio that the ECN that carries in the downlink data packet that receives in the very first time section is labeled as the sum of the downlink data packet that receives in the number of downlink data packet of congestion marking and this very first time section, the ratio of sum that the ECN that carries in the downlink data packet that receives in this very first time section is labeled as the downlink data packet that receives in the number of downlink data packet of congestion marking and this very first time section is as second ratio; Perhaps, the ECN that carries in the downlink data packet of first quantity that calculating receives is labeled as the number of downlink data packet of congestion marking and the ratio of this first quantity, and the ECN that carries in the downlink data packet with this first quantity that receives is labeled as the ratio of the number of downlink data packet of congestion marking and this first quantity as second ratio;
Mark is provided with described second ratio that module 163 specifically can obtain in ratio calculation module 165 when frequency is set, and according to this ECN mark that frequency is provided with downlink data packet is set.
Second sending module 166 is used for described second ratio that obtains in ratio calculation module 165 when frequency is set, and the downlink data packet that receives is sent to receiving device.
In the foregoing description, frequency determination module 162 determines that according to first expected rate of first business of selecting the ECN mark is set to the frequency that is provided with of congestion marking, mark is provided with the ECN mark that the downlink data packet that the frequency setting receives is set that module 163 is determined according to frequency determination module 162 then, after downlink data packet after will being provided with is sent to receiving device, can make the be provided with frequency of receiving device according to congestion marking, code rate with sending ending equipment adjustment downlink data packet, thereby the base station can be according to the code rate of congestion situation and expected rate adjustment sending ending equipment, can be not easy to fluctuate up and down so that the code rate of sending ending equipment remains on the expected rate according to the suggestion of base station.
Figure 17 is the structural representation of receiving device embodiment two of the present invention, the receiving device of this embodiment can be realized the flow process that the present invention is embodiment illustrated in fig. 7, as shown in figure 17, this receiving device can comprise: second receiver module 171 and speed adjusting module 172.
Wherein, second receiver module 171 is used to receive the downlink data packet of first business that the base station sends;
Speed adjusting module 172 is used for the frequency that is provided with according to the entrained congestion marking of the downlink data packet of second receiver module, 171 receptions, carries out the speed adjustment; This congestion marking frequency is set is the base station determines according in the Maximum Bit Rate of the assurance bit rate of first expected rate of first business, first business and first business at least one.
Particularly, speed adjusting module 172 can comprise: first determines that submodule 1721, second definite submodule 1722 and first sends submodule 1723.
Wherein, first determines submodule 1721, is used for determining according to the downlink data packet that receives the frequency that is provided with of congestion marking;
Second determines submodule 1722, is used for determining second expected rate according to the code rates that frequency and this receiving device support are set that first definite submodule 1721 is determined;
First sends submodule 1723, is used for determining that with second second expected rate that submodule 1722 is determined is sent to sending ending equipment, so that sending ending equipment is adjusted the code rate of downlink data packet according to this second expected rate.
In the present embodiment, first determines that submodule 1721 specifically can calculate the number of the downlink data packet of carrying congestion marking that receives in second time period and the ratio of the sum of the downlink data packet that receives in above-mentioned second time period, determines that this ratio is the frequency that is provided with of congestion marking; Perhaps, calculate in the downlink data packet of second quantity receive, carry the number of downlink data packet of congestion marking and the ratio of this second quantity, determine that this ratio is the frequency that is provided with of congestion marking.
In the foregoing description, second receiver module 171 receives after the downlink data packet of first business that the base station sends, congestion marking is provided with frequency in the downlink data packet that speed adjusting module 172 is determined to receive, and according to this frequency is set and determines second expected rate, then second expected rate is sent to sending ending equipment, can make sending ending equipment adjust the code rate or the packing speed of downlink data packet according to this second expected rate, thereby the base station can be according to the code rate of congestion situation and expected rate adjustment sending ending equipment, can be so that the code rate of sending ending equipment remains on the expected rate according to the suggestion of base station, be not easy to fluctuate up and down, thereby the user's voice quality can not produce bigger fluctuation.
Figure 18 is the structural representation of receiving device embodiment three of the present invention, the receiving device of this embodiment can be realized the flow process that the present invention is embodiment illustrated in fig. 7, compare with the receiving device that the present invention is embodiment illustrated in fig. 17, during the present invention is embodiment illustrated in fig. 18, the speed adjusting module 172 of this receiving device specifically can be used for sending the ECN feedback to sending ending equipment, so that sending ending equipment is determined the frequency that is provided with of congestion marking according to this ECN feedback, determine second expected rate according to this code rate that frequency and sending ending equipment support are set, and adjust the code rate of downlink data packet according to second expected rate, above-mentioned functions can be provided with second and send submodule 1724 and finish in speed adjusting module 172.
In the foregoing description, second receiver module 171 receives after the downlink data packet of base station transmission, in the speed adjusting module 172 second sends submodule 1724 and sends the ECN feedback to sending ending equipment, can make sending ending equipment determine the frequency that is provided with of ECN-CE mark according to the ECN feedback, according to this frequency is set and determines second expected rate, and then adjust the code rate or the packing speed of VoIP voice packet according to this second expected rate, thereby the base station can be according to the code rate of congestion situation and expected rate adjustment sending ending equipment, can be so that the code rate of sending ending equipment remains on the expected rate according to the suggestion of base station, be not easy to fluctuate up and down, thereby the user's voice quality can not produce bigger fluctuation.
Figure 19 is the structural representation of speed Adjustment System embodiment two of the present invention, and as shown in figure 19, this speed Adjustment System can comprise: sending ending equipment 191, base station 192 and receiving device 193.
Wherein, sending ending equipment 191 is used to send the downlink data packet of first business, and this downlink data packet is carried the ECN mark;
Base station 192, be used for the downlink data packet that receiving end/sending end equipment 191 sends, select first expected rate of this first business, and determine that according to first expected rate of this first business, the assurance bit rate of this first business and the Maximum Bit Rate of this first business the ECN mark is set to the frequency that is provided with of congestion marking; According to this ECN mark that frequency is provided with above-mentioned downlink data packet is set, the concurrent downlink data packet of sending to after row is provided with; Particularly, base station 192 can be realized by Figure 15 of the present invention or base station embodiment illustrated in fig. 16;
Receiving device 193 is used to receive the downlink data packet of first business that base station 192 sends, and according to the frequency that is provided with of the entrained congestion marking of this downlink data packet, carries out the speed adjustment; Particularly, this receiving device 193 can be realized by Figure 17 of the present invention or receiving device embodiment illustrated in fig. 18.
In one embodiment, a kind of speed Adjustment System can comprise: the base station, but and the receiving device that links to each other with communication mode with this base station,
Above-mentioned base station, be used to receive the downlink data packet of first business, this downlink data packet is carried the ECN mark, select first expected rate of this first business, and determine that according to first expected rate of this first business, the assurance bit rate of this first business and the Maximum Bit Rate of this first business the ECN mark is set to the frequency that is provided with of congestion marking; According to this ECN mark that frequency is provided with above-mentioned downlink data packet is set, and the downlink data packet after will being provided with is sent to above-mentioned receiving device.
In the foregoing description, base station 192 determines that according to first expected rate of selecting the ECN mark is set to the frequency that is provided with of congestion marking, then according to the ECN mark that the downlink data packet that the frequency setting receives is set, downlink data packet after will being provided with is sent to after the receiving device 193, can make the be provided with frequency of receiving device 193 according to congestion marking, code rate with sending ending equipment 191 adjustment downlink data packet, thereby base station 192 can be according to the code rate of congestion situation and expected rate adjustment sending ending equipment 191, can be not easy to fluctuate up and down so that the code rate of sending ending equipment 191 remains on the expected rate according to the suggestion of base station 192.
Figure 20 is the structural representation of coding mode selection device embodiment one of the present invention, and the coding mode selection device of this embodiment can be used as base station or router, perhaps is integrated in base station or the router, realizes the present invention's flow process embodiment illustrated in fig. 10.As shown in figure 20, this coding mode selection device can comprise: message sink module 2001, mark are provided with module 2002 and invitation message sending module 2003.
Wherein, message sink module 2001 can receive the invitation message that first subscriber equipment sends, and this invitation message comprises the coded system that ECT mark and this first subscriber equipment are supported; In the present embodiment, first subscriber equipment is provided with the ECT mark in the IP of invitation message head, sends the invitation message of the coded system of carrying ECT mark and the support of this first subscriber equipment then.
Mark is provided with module 2002 can be when generation be congested, and the ECT mark of the invitation message that message sink module 2001 receives is set to congestion marking;
Invitation message sending module 2003 can be sent to second subscriber equipment with carrying the invitation message that the coded system of the first subscriber equipment support and mark be provided with the congestion marking that module 2002 is provided with; Second subscriber equipment that receives this invitation message selects the lower coded system of relative speed as selected coded system in the coded system that first subscriber equipment is supported according to this congestion marking.
In the foregoing description, first subscriber equipment carries the ECT mark in invitation message, message sink module 2001 receives after this invitation message, mark is provided with module 2002 can be when generation be congested, ECT mark in this invitation message is revised as congestion marking, and be sent to second subscriber equipment by the invitation message that invitation message sending module 2003 will carry congestion marking, thereby second subscriber equipment can select the lower coded system of relative speed as selected coded system according to this congestion marking in the coded system that first subscriber equipment is supported; Realized selecting coded system, increased network capacity according to the network load situation.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
It should be noted that at last: above embodiment is only in order to technical scheme of the present invention to be described but not limit it, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that: it still can make amendment or be equal to replacement technical scheme of the present invention, and these modifications or be equal to replacement and also can not make amended technical scheme break away from the spirit and scope of technical solution of the present invention.

Claims (35)

1. a rate adjusting method is characterized in that, comprising:
The downlink data packet that receiving end/sending end equipment sends, the demonstration congestion notification ECN of described downlink data packet is labeled as and shows congestion notification ability transmission ECT mark or non-ECT mark;
When taking place when congested, the ECN mark of described downlink data packet is set to congestion marking, and the downlink data packet that will carry described congestion marking is sent to receiving device, so that described receiving device carries out downstream rate control according to described congestion marking.
2. method according to claim 1 is characterized in that, before the ECN of described downlink data packet mark is set to congestion marking, also comprises: receive the ability information that described receiving device that described receiving device reports is supported ECN;
The ECN mark of described downlink data packet is set to congestion marking and comprises:
When described receiving device was supported ECN, the ECN mark of described downlink data packet was set to congestion marking.
3. a rate adjusting method is characterized in that, comprising:
Receive the downlink data packet that the base station sends, described downlink data packet comprises congestion marking;
Carry out downstream rate control according to described congestion marking.
4. method according to claim 3 is characterized in that, describedly carries out downstream rate control according to described congestion marking and comprises:
Send coding reduction of speed request message to sending ending equipment, so that described sending ending equipment reduces code rate; Perhaps, send packing reduction of speed request message, so that described sending ending equipment reduces packing speed to sending ending equipment.
5. method according to claim 3 is characterized in that, also comprises: carry out upstream rate control according to described congestion marking;
Describedly carry out upstream rate control according to described congestion marking and comprise: the code rate or the packing speed that reduce the upstream data bag that receiving device sends.
6. method according to claim 3 is characterized in that,
Before the downlink data packet of described reception base station transmission, show that with sending ending equipment congestion notification ECN consults;
When the ECN with described sending ending equipment consults successfully, after the downlink data packet that receives the transmission of described base station, send the ECN feedback to described sending ending equipment.
7. method according to claim 6 is characterized in that, and is described after described sending ending equipment sends the ECN feedback, also comprises:
If described sending ending equipment determines that described sending ending equipment is not to minmal sequence corresponding downlink data bag, maximum sequence number corresponding downlink data bag in the described ECN feedback, and the sequence number corresponding downlink data bag mark between minmal sequence number and the maximum sequence number crosses demonstration congestion notification ability transmission ECT mark, and then described sending ending equipment abandons the ECN feedback that receives.
8. a rate adjusting method is characterized in that, comprising:
Receive the downlink data packet of first business, described downlink data packet is carried and is shown congestion notification ECN mark;
Select first expected rate of described first business, and, determine that described ECN mark is set to the frequency that is provided with of congestion marking according in the Maximum Bit Rate of the assurance bit rate of first expected rate of described first business, described first business and described first business at least one;
According to described the ECN mark that frequency is provided with described downlink data packet is set, and the downlink data packet that will carry out after described the setting is sent to receiving device.
9. method according to claim 8, it is characterized in that the frequency that is provided with that the definite described ECN mark of at least one in the assurance bit rate of described first expected rate according to described first business, described first business and the Maximum Bit Rate of described first business is set to congestion marking comprises:
Calculate the difference of described Maximum Bit Rate and described first expected rate, and with the difference of described Maximum Bit Rate and described first expected rate as first difference;
Calculate the difference of described Maximum Bit Rate and described assurance bit rate, and with the difference of described Maximum Bit Rate and described assurance bit rate as second difference;
Calculate the ratio of described first difference and described second difference, the ratio of described first difference and described second difference as first ratio, is determined that described first ratio is the described frequency that is provided with.
10. method according to claim 9 is characterized in that, describedly is provided with before the ECN mark that frequency is provided with described downlink data packet according to described, also comprises:
Calculate the ratio that the ECN that carries in the downlink data packet that receives in the very first time section is labeled as the sum of the downlink data packet that receives in the number of downlink data packet of congestion marking and the described very first time section, the ratio of sum that the ECN that carries in the downlink data packet that receives in the described very first time section is labeled as the downlink data packet that receives in the number of downlink data packet of congestion marking and the described very first time section is as second ratio; Perhaps, the ECN that carries in the downlink data packet of first quantity that calculating receives is labeled as the number of downlink data packet of congestion marking and the ratio of described first quantity, and the ECN that carries in the downlink data packet with described first quantity that receives is labeled as the ratio of the number of downlink data packet of congestion marking and described first quantity as second ratio;
Determine that described second ratio is provided with after the frequency less than described, carry out and the ECN mark that frequency is provided with described downlink data packet is set, and will carry out the step that downlink data packet after described the setting is sent to receiving device according to described.
11. method according to claim 10 is characterized in that, also comprises:
Determine that described second ratio is provided with after the frequency more than or equal to described, is sent to described receiving device with the downlink data packet that receives.
12. a rate adjusting method is characterized in that, comprising:
Receive the downlink data packet of first business of base station transmission;
The frequency that is provided with according to the entrained congestion marking of described downlink data packet carries out the speed adjustment; Described congestion marking frequency is set is described base station determines according in the Maximum Bit Rate of the assurance bit rate of first expected rate of described first business, described first business and described first business at least one.
13. method according to claim 12 is characterized in that, the described frequency that is provided with according to the entrained congestion marking of described downlink data packet carries out the speed adjustment and comprises:
Determine the frequency that is provided with of described congestion marking according to the described downlink data packet that receives, determine second expected rate according to the described code rate that frequency and receiving device support are set, and described second expected rate is sent to sending ending equipment, so that described sending ending equipment is adjusted the code rate of downlink data packet according to described second expected rate; Perhaps,
Send demonstration congestion notification ECN feedback to sending ending equipment, so that described sending ending equipment is determined the frequency that is provided with of described congestion marking according to described ECN feedback, determine second expected rate according to the described code rate that frequency and described sending ending equipment support are set, and adjust the code rate of downlink data packet according to described second expected rate.
14. method according to claim 13 is characterized in that, the described downlink data packet that described basis receives determines that the frequency that is provided with of described congestion marking comprises:
The ratio of the sum of the downlink data packet of calculating the number of the downlink data packet of carrying congestion marking that receives in second time period and receiving in described second time period determines that described ratio is the frequency that is provided with of described congestion marking; Perhaps,
Carry the number of downlink data packet of congestion marking and the ratio of described second quantity in the downlink data packet of second quantity that calculating receives, determine that described ratio is the frequency that is provided with of described congestion marking.
15. method according to claim 13 is characterized in that,
Described ECN feedback comprises the sequence number that carries the downlink data packet of congestion marking in second time period in the sequence number of the downlink data packet that described receiving device receives and the described downlink data packet; Or described ECN feedback comprises the sequence number that carries the downlink data packet of congestion marking in the sequence number of downlink data packet of second quantity that described receiving device receives and the described downlink data packet,
Described sending ending equipment determines that according to described ECN feedback the frequency that is provided with of described congestion marking comprises:
Described sending ending equipment is according to the sequence number that carries the downlink data packet of congestion marking in the sequence number of described downlink data packet and the described downlink data packet, adds up the number of carrying the downlink data packet of congestion marking in the sum of described downlink data packet and the described downlink data packet; Calculate the ratio of the sum of the number of the downlink data packet of carrying congestion marking in the described downlink data packet and described downlink data packet, determine that described ratio is the frequency that is provided with of described congestion marking; Perhaps,
Described ECN feedback comprises the ratio of the sum of the number of the downlink data packet of carrying congestion marking in second time period in the downlink data packet that receiving device receives and the downlink data packet that described receiving device receives in described second time period, perhaps described ECN feeds back the number of the downlink data packet of carrying congestion marking in the downlink data packet that comprises second quantity that receiving device receives and the ratio of described second quantity
Described sending ending equipment determines that according to described ECN feedback the frequency that is provided with of described congestion marking comprises:
Described sending ending equipment determines that described ratio is the frequency that is provided with of described congestion marking; Perhaps,
Described ECN feedback comprises the number of carrying the downlink data packet of congestion marking in second time period in the sum of the downlink data packet that described receiving device receives and the described downlink data packet, perhaps described ECN feedback comprises the number of carrying the downlink data packet of congestion marking in the sum of downlink data packet of second quantity that described receiving device receives and the described downlink data packet
Described sending ending equipment determines that according to described ECN feedback the frequency that is provided with of described congestion marking comprises:
Described sending ending equipment calculates the ratio of the sum of the number of the downlink data packet of carrying congestion marking in the described downlink data packet and described downlink data packet, determines that described ratio is the frequency that is provided with of described congestion marking.
16. a coding mode selection method is characterized in that, comprising:
Receive the invitation message that first subscriber equipment sends, described invitation message comprises the coded system that shows that congestion notification ability transmission ECT mark and described first subscriber equipment are supported;
When generation was congested, the ECT mark of described invitation message was set to congestion marking;
The invitation message of carrying the coded system of described congestion marking and the described first subscriber equipment support is sent to second subscriber equipment, so that described second subscriber equipment according to described congestion marking, selects the lower coded system of relative speed as selected coded system in the coded system that described first subscriber equipment is supported.
17. method according to claim 16 is characterized in that, described ECT mark is carried in the Internet Protocol IP head of described invitation message.
18. a base station is characterized in that, comprising:
Receiver module is used for the downlink data packet that receiving end/sending end equipment sends, and the demonstration congestion notification ECN of described downlink data packet is labeled as and shows congestion notification ability transmission ECT mark or non-ECT mark;
Module is set, is used for taking place in described base station when congested, the ECN mark of the downlink data packet that described receiver module receives is set to congestion marking;
Sending module is used for being sent to receiving device with carrying the described downlink data packet that the congestion marking of module setting is set, so that described receiving device carries out downstream rate control according to described congestion marking.
19. base station according to claim 18 is characterized in that,
Described receiver module also is used to receive the ability information that described receiving device that described receiving device reports is supported ECN;
The described module that is provided with specifically is used for when described receiving device is supported ECN, and the ECN mark of the downlink data packet that described receiver module receives is set to congestion marking.
20. a receiving device is characterized in that, comprising:
The packet receiver module is used to receive the downlink data packet that the base station sends, and described downlink data packet comprises congestion marking;
The rate controlled module, the congestion marking that is used for the downlink data packet that receives according to described packet receiver module carries out downstream rate control.
21. receiving device according to claim 20 is characterized in that, described rate controlled module comprises:
Message sends submodule, is used for sending coding reduction of speed request message to sending ending equipment, so that described sending ending equipment reduces code rate; Perhaps, send packing reduction of speed request message, so that described sending ending equipment reduces packing speed to sending ending equipment.
22. receiving device according to claim 20, it is characterized in that, described rate controlled module also is used for carrying out downstream rate control according to the congestion marking of the downlink data packet of described packet receiver module reception, and carries out upstream rate control according to described congestion marking.
23. receiving device according to claim 22 is characterized in that, described rate controlled module also comprises: speed reduces submodule, is used to reduce the code rate or the packing speed of the upstream data bag that described receiving device sends.
24. receiving device according to claim 20 is characterized in that, also comprises:
Negotiation module was used for before described packet receiver module downlink data receiving bag, showed that with sending ending equipment congestion notification ECN consults;
Feedback module is used for when the ECN of described negotiation module and described sending ending equipment consults successfully, after described packet receiver module receives the downlink data packet of described base station transmission, sends the ECN feedback to described sending ending equipment.
25. a speed Adjustment System is characterized in that, comprising:
Sending ending equipment is used to send downlink data packet, and the demonstration congestion notification ECN of described downlink data packet is labeled as and shows congestion notification ability transmission ECT mark or non-ECT mark;
The base station of receiving device is used to receive the downlink data packet that described sending ending equipment sends, and when generation was congested, the ECN mark of described downlink data packet was set to congestion marking, and sends the downlink data packet of carrying described congestion marking;
Receiving device is used to receive the downlink data packet that the base station of described receiving device sends, and carries out downstream rate control according to described congestion marking.
26. a base station is characterized in that, comprising:
First receiver module is used to receive the downlink data packet of first business, and described downlink data packet is carried and shown congestion notification ECN mark;
The frequency determination module, be used to select first expected rate of described first business, and, determine that the ECN mark of the downlink data packet of described first receiver module reception is set to the frequency that is provided with of congestion marking according in the Maximum Bit Rate of the assurance bit rate of first expected rate of described first business, described first business and described first business at least one;
Mark is provided with module, is used for according to what described frequency determination module was determined the ECN mark that frequency is provided with described downlink data packet being set;
First sending module is used for that described mark is provided with the downlink data packet that module carries out after described the setting and is sent to receiving device.
27. base station according to claim 26 is characterized in that,
Described frequency determination module, specifically be used to calculate the difference of described Maximum Bit Rate and described first expected rate, and with the difference of described Maximum Bit Rate and described first expected rate as first difference, and the difference of calculating described Maximum Bit Rate and described assurance bit rate, and with the difference of described Maximum Bit Rate and described assurance bit rate as second difference; And calculate the ratio of described first difference and described second difference, the ratio of described first difference and described second difference as first ratio, is determined that described first ratio is the described frequency that is provided with.
28. base station according to claim 27 is characterized in that, also comprises:
The ratio calculation module, be used for described mark be provided with module according to described the ECN mark that frequency is provided with described downlink data packet is set before, calculate the ratio that the ECN that carries in the downlink data packet that receives in the very first time section is labeled as the sum of the downlink data packet that receives in the number of downlink data packet of congestion marking and the described very first time section, the ratio of sum that the ECN that carries in the downlink data packet that receives in the described very first time section is labeled as the downlink data packet that receives in the number of downlink data packet of congestion marking and the described very first time section is as second ratio; Perhaps, the ECN that carries in the downlink data packet of first quantity that calculating receives is labeled as the number of downlink data packet of congestion marking and the ratio of described first quantity, and the ECN that carries in the downlink data packet with described first quantity that receives is labeled as the ratio of the number of downlink data packet of congestion marking and described first quantity as second ratio;
Described mark is provided with module, specifically is used for described second ratio that obtains in described ratio calculation module less than described when frequency is set, and according to described the ECN mark that frequency is provided with described downlink data packet is set.
29. base station according to claim 28 is characterized in that, also comprises:
Second sending module is used for described second ratio that obtains in described ratio calculation module and when frequency is set, the downlink data packet that receives is sent to described receiving device more than or equal to described.
30. a receiving device is characterized in that, comprising:
Second receiver module is used to receive the downlink data packet of first business that the base station sends;
The speed adjusting module is used for the frequency that is provided with according to the entrained congestion marking of the downlink data packet of described second receiver module reception, carries out the speed adjustment;
Described congestion marking frequency is set is described base station determines according in the Maximum Bit Rate of the assurance bit rate of first expected rate of described first business, described first business and described first business at least one.
31. receiving device according to claim 30 is characterized in that, described speed adjusting module comprises:
First determines submodule, is used for determining according to the described downlink data packet that receives the frequency that is provided with of described congestion marking;
Second determines submodule, is used for determining second expected rate according to the code rate that frequency and described receiving device support are set that described first definite submodule is determined;
First sends submodule, is used for determining that with described second second expected rate that submodule is determined is sent to sending ending equipment, so that described sending ending equipment is adjusted the code rate of downlink data packet according to described second expected rate.
32. receiving device according to claim 31 is characterized in that,
Described first determines submodule, the ratio of the sum of the downlink data packet that specifically is used to calculate the number of the downlink data packet of carrying congestion marking that receives in second time period and receives in described second time period determines that described ratio is the frequency that is provided with of described congestion marking; Perhaps, calculate in the downlink data packet of second quantity receive, carry the number of downlink data packet of congestion marking and the ratio of described second quantity, determine that described ratio is the frequency that is provided with of described congestion marking.
33. receiving device according to claim 30 is characterized in that,
Described speed adjusting module, specifically be used for sending demonstration congestion notification ECN feedback to sending ending equipment, so that described sending ending equipment is determined the frequency that is provided with of described congestion marking according to described ECN feedback, determine second expected rate according to the described code rate that frequency and described sending ending equipment support are set, and adjust the code rate of downlink data packet according to described second expected rate.
34. a speed Adjustment System is characterized in that, comprising: the base station, but and the receiving device that links to each other with communication mode with described base station,
Described base station, be used to receive the downlink data packet of first business, described downlink data packet is carried and is shown congestion notification ECN mark, select first expected rate of described first business, and determine that according to the assurance bit rate of first expected rate of described first business, described first business and the Maximum Bit Rate of described first business described ECN mark is set to the frequency that is provided with of congestion marking; According to described the ECN mark that frequency is provided with described downlink data packet is set, and the downlink data packet that will carry out after described the setting is sent to described receiving device.
35. a coding mode selection device is characterized in that, comprising:
The message sink module is used to receive the invitation message that first subscriber equipment sends, and described invitation message comprises the coded system that shows that congestion notification ability transmission ECT mark and described first subscriber equipment are supported;
Mark is provided with module, is used for when generation is congested, and the ECT mark of the invitation message that described message sink module receives is set to congestion marking;
The invitation message sending module, be used for to carry the coded system of the described first subscriber equipment support and invitation message that described mark is provided with the congestion marking of module setting and be sent to second subscriber equipment, so that described second subscriber equipment according to described congestion marking, selects the lower coded system of relative speed as selected coded system in the coded system that described first subscriber equipment is supported.
CN201010105868XA 2009-08-24 2010-02-03 Speed adjusting method, system and coding scheme selection method and system thereof Pending CN101997644A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010105868XA CN101997644A (en) 2009-08-24 2010-02-03 Speed adjusting method, system and coding scheme selection method and system thereof

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN200910170497 2009-08-24
CN200910170497.0 2009-08-24
CN201010105868XA CN101997644A (en) 2009-08-24 2010-02-03 Speed adjusting method, system and coding scheme selection method and system thereof

Publications (1)

Publication Number Publication Date
CN101997644A true CN101997644A (en) 2011-03-30

Family

ID=43787307

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010105868XA Pending CN101997644A (en) 2009-08-24 2010-02-03 Speed adjusting method, system and coding scheme selection method and system thereof

Country Status (1)

Country Link
CN (1) CN101997644A (en)

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104552A (en) * 2011-04-02 2011-06-22 杭州华三通信技术有限公司 Message control method and device based on ECN (Explicit Congestion Notification) mechanism
CN102158897A (en) * 2010-02-12 2011-08-17 中兴通讯股份有限公司 Network load-based coding and decoding selection method and system
WO2011098052A1 (en) * 2010-02-12 2011-08-18 华为技术有限公司 Method and apparatus for processing local link congestion
CN103248884A (en) * 2012-02-14 2013-08-14 华为技术有限公司 System, base station and method for controlling video rate
CN103906140A (en) * 2012-12-28 2014-07-02 中国移动通信集团公司 Data transmission dynamic regulation method and equipment
WO2014141006A1 (en) * 2013-03-15 2014-09-18 International Business Machines Corporation Scalable flow and congestion control in a network
CN104254106A (en) * 2013-06-29 2014-12-31 华为终端有限公司 Radio access network (RAN) congestion handling method and radio access network (RAN) congestion handling device
CN104254091A (en) * 2013-06-25 2014-12-31 中国移动通信集团公司 Air interface channel state parameter reporting method and equipment
US9104643B2 (en) 2013-03-15 2015-08-11 International Business Machines Corporation OpenFlow controller master-slave initialization protocol
US9118984B2 (en) 2013-03-15 2015-08-25 International Business Machines Corporation Control plane for integrated switch wavelength division multiplexing
WO2015127759A1 (en) * 2014-02-27 2015-09-03 中兴通讯股份有限公司 Method and device for data congestion processing
US9407560B2 (en) 2013-03-15 2016-08-02 International Business Machines Corporation Software defined network-based load balancing for physical and virtual networks
WO2016197800A1 (en) * 2015-06-10 2016-12-15 华为技术有限公司 Adjustment method and device for service rate
US9590923B2 (en) 2013-03-15 2017-03-07 International Business Machines Corporation Reliable link layer for control links between network controllers and switches
US9609086B2 (en) 2013-03-15 2017-03-28 International Business Machines Corporation Virtual machine mobility using OpenFlow
US9769074B2 (en) 2013-03-15 2017-09-19 International Business Machines Corporation Network per-flow rate limiting
WO2017177356A1 (en) * 2016-04-11 2017-10-19 华为技术有限公司 Data transmission method, base station and user equipment
CN107404363A (en) * 2016-05-18 2017-11-28 中国移动通信有限公司研究院 A kind of method of adjustment, system, terminal and the network side equipment of voice code check
WO2018082597A1 (en) * 2016-11-07 2018-05-11 中兴通讯股份有限公司 Congestion control method and device, and base station
CN108093433A (en) * 2016-11-21 2018-05-29 中国移动通信有限公司研究院 Wireless network congestion processing method and processing device
CN108432194A (en) * 2016-04-28 2018-08-21 华为技术有限公司 A kind of method, host and the system of congestion processing
CN109788228A (en) * 2019-01-24 2019-05-21 Oppo广东移动通信有限公司 Adjust method, apparatus, equipment and the storage medium of IMS video speech quality
CN109936510A (en) * 2017-12-15 2019-06-25 微软技术许可有限责任公司 Multipath RDMA transmission
WO2021128913A1 (en) * 2019-12-24 2021-07-01 展讯通信(上海)有限公司 Enhancement method of cellular network uplink ecn mechanism, device and medium
CN115190080A (en) * 2021-04-02 2022-10-14 维沃移动通信有限公司 Congestion control method and device and communication equipment

Cited By (45)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158897B (en) * 2010-02-12 2015-04-01 中兴通讯股份有限公司 Network load-based coding and decoding selection method and system
CN102158897A (en) * 2010-02-12 2011-08-17 中兴通讯股份有限公司 Network load-based coding and decoding selection method and system
WO2011098052A1 (en) * 2010-02-12 2011-08-18 华为技术有限公司 Method and apparatus for processing local link congestion
US9013987B2 (en) 2010-02-12 2015-04-21 Huawei Technologies Co., Ltd. Method for handling local link congestion and apparatus
CN102104552B (en) * 2011-04-02 2014-02-12 杭州华三通信技术有限公司 Message control method and device based on ECN (Explicit Congestion Notification) mechanism
CN102104552A (en) * 2011-04-02 2011-06-22 杭州华三通信技术有限公司 Message control method and device based on ECN (Explicit Congestion Notification) mechanism
CN103248884A (en) * 2012-02-14 2013-08-14 华为技术有限公司 System, base station and method for controlling video rate
WO2013120432A1 (en) * 2012-02-14 2013-08-22 华为技术有限公司 System, base station and method for controlling video rate
CN103906140A (en) * 2012-12-28 2014-07-02 中国移动通信集团公司 Data transmission dynamic regulation method and equipment
CN103906140B (en) * 2012-12-28 2018-05-08 中国移动通信集团公司 A kind of data transfer dynamic adjusting method and equipment
GB2525832B (en) * 2013-03-15 2017-03-01 Ibm Scalable flow and congestion control in a network
US9769074B2 (en) 2013-03-15 2017-09-19 International Business Machines Corporation Network per-flow rate limiting
US9104643B2 (en) 2013-03-15 2015-08-11 International Business Machines Corporation OpenFlow controller master-slave initialization protocol
US9110866B2 (en) 2013-03-15 2015-08-18 International Business Machines Corporation OpenFlow controller master-slave initialization protocol
US9118984B2 (en) 2013-03-15 2015-08-25 International Business Machines Corporation Control plane for integrated switch wavelength division multiplexing
WO2014141006A1 (en) * 2013-03-15 2014-09-18 International Business Machines Corporation Scalable flow and congestion control in a network
GB2525832A (en) * 2013-03-15 2015-11-04 Ibm Scalable flow and congestion control in a network
US9407560B2 (en) 2013-03-15 2016-08-02 International Business Machines Corporation Software defined network-based load balancing for physical and virtual networks
US9444748B2 (en) 2013-03-15 2016-09-13 International Business Machines Corporation Scalable flow and congestion control with OpenFlow
US9503382B2 (en) 2013-03-15 2016-11-22 International Business Machines Corporation Scalable flow and cogestion control with openflow
US9614930B2 (en) 2013-03-15 2017-04-04 International Business Machines Corporation Virtual machine mobility using OpenFlow
US9609086B2 (en) 2013-03-15 2017-03-28 International Business Machines Corporation Virtual machine mobility using OpenFlow
US9596192B2 (en) 2013-03-15 2017-03-14 International Business Machines Corporation Reliable link layer for control links between network controllers and switches
US9590923B2 (en) 2013-03-15 2017-03-07 International Business Machines Corporation Reliable link layer for control links between network controllers and switches
CN104254091A (en) * 2013-06-25 2014-12-31 中国移动通信集团公司 Air interface channel state parameter reporting method and equipment
CN104254106A (en) * 2013-06-29 2014-12-31 华为终端有限公司 Radio access network (RAN) congestion handling method and radio access network (RAN) congestion handling device
WO2015127759A1 (en) * 2014-02-27 2015-09-03 中兴通讯股份有限公司 Method and device for data congestion processing
CN106301679A (en) * 2015-06-10 2017-01-04 华为技术有限公司 The method of adjustment of service rate and device
WO2016197800A1 (en) * 2015-06-10 2016-12-15 华为技术有限公司 Adjustment method and device for service rate
CN106301679B (en) * 2015-06-10 2020-10-23 华为技术有限公司 Method and device for adjusting service rate
US10638351B2 (en) 2015-06-10 2020-04-28 Huawei Technologies Co., Ltd. Service rate adjustment method and apparatus
WO2017177356A1 (en) * 2016-04-11 2017-10-19 华为技术有限公司 Data transmission method, base station and user equipment
CN108432194A (en) * 2016-04-28 2018-08-21 华为技术有限公司 A kind of method, host and the system of congestion processing
CN107404363B (en) * 2016-05-18 2020-04-17 中国移动通信有限公司研究院 Method, system, terminal and network side equipment for adjusting voice code rate
CN107404363A (en) * 2016-05-18 2017-11-28 中国移动通信有限公司研究院 A kind of method of adjustment, system, terminal and the network side equipment of voice code check
CN108064058A (en) * 2016-11-07 2018-05-22 中兴通讯股份有限公司 Jamming control method and device, base station
WO2018082597A1 (en) * 2016-11-07 2018-05-11 中兴通讯股份有限公司 Congestion control method and device, and base station
CN108064058B (en) * 2016-11-07 2022-11-01 中兴通讯股份有限公司 Congestion control method and device and base station
US11751096B2 (en) 2016-11-07 2023-09-05 Zte Corporation Congestion control method and device, and base station
CN108093433A (en) * 2016-11-21 2018-05-29 中国移动通信有限公司研究院 Wireless network congestion processing method and processing device
CN109936510A (en) * 2017-12-15 2019-06-25 微软技术许可有限责任公司 Multipath RDMA transmission
US11934340B2 (en) 2017-12-15 2024-03-19 Microsoft Technology Licensing, Llc Multi-path RDMA transmission
CN109788228A (en) * 2019-01-24 2019-05-21 Oppo广东移动通信有限公司 Adjust method, apparatus, equipment and the storage medium of IMS video speech quality
WO2021128913A1 (en) * 2019-12-24 2021-07-01 展讯通信(上海)有限公司 Enhancement method of cellular network uplink ecn mechanism, device and medium
CN115190080A (en) * 2021-04-02 2022-10-14 维沃移动通信有限公司 Congestion control method and device and communication equipment

Similar Documents

Publication Publication Date Title
CN101997644A (en) Speed adjusting method, system and coding scheme selection method and system thereof
US10785784B2 (en) Method and devices for specifying the quality of service in a transmission of data packets
CN1998195B (en) Adaptive and scalable qos architecture for single-bearer multicast/broadcast services
CN101212459A (en) Method, system, and device for controlling media code rate
US20060268845A1 (en) Methods and systems for unlicensed mobile access realization in a media gateway
CN101483494B (en) Method and system for encoding and decoding algorithm dynamic negotiation of SIP terminal
US9769320B2 (en) Mechanism for dynamic signaling of encoder capabilities
KR20100105569A (en) Method and apparatus for efficient multimedia delivery in a wireless packet network
CN101213802A (en) Method and apparatus for controlling rate of voice service in a mobile communication system supporting voice service via packet network
KR20090071543A (en) Method and arrangement for adapting transmission of encoded media
CN101180822B (en) Enhanced voip media flow quality by adapting speech encoding based on selected modulation and coding scheme (mcs)
WO2016011520A1 (en) Method, system and apparatus for monitoring error correction data in media sessions
CN100433890C (en) Method for implementing mobile data service using dynamic service quality control
CN101552771B (en) Media gateway, media gateway controller, multimedia telephone intercommunication method and system
Levasseur et al. Impact of acknowledgments on application performance in 4G LTE networks
EP2264959B1 (en) Media gateway, media gateway controller, method and system for communication of multimedia phones
CN107872291A (en) A kind of method of adjustment and terminal of voice code check
Ruiz et al. Improving user-perceived QoS in mobile and wireless IP networks using real-time adaptive multimedia applications
Balazs Push-to-talk performance over gprs
CN102142930B (en) Rate adjustment method and equipment used for TrFO voice calling switching
CONSTANTINOU et al. Optimization of application QoS protocols for 3G/4G mobile networks
Stockhammer et al. Wine2 wireless network demonstration platform for ip-based real-time multimedia transmission
US20080267166A1 (en) Method and Apparatus for Providing a Multimedia Service
Cloud Increasing quality of service using transport layer coding over parallel heterogeneous networks

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110330