Embodiment
Rate adaption method embodiment one flow chart that Fig. 1 provides for the embodiment of the invention; As shown in Figure 1, present embodiment comprises:
Step 110, PSS Server judge whether to need to adjust speed;
Step 112, adjust speed if desired, then the notification message adjusted of PSS Server transmission rate is to user side, and the notification message of this speed adjustment is used for user side QoS is adjusted.
Rate adaption method embodiment two flow charts that Fig. 2 provides for the embodiment of the invention; As shown in Figure 2, present embodiment comprises two network elements of PSS Server and PSS Client based on the PSS system, and wherein PSS Server had both carried out the rate adapted decision-making and also carries out rate adapted, and the flow process of its rate adapted specifically comprises:
RTP between step 210, PSS Server and the PSS Client before the transmission rate adaptation (Real-time Transport Protocol is called for short RTP) stream;
Step 212, PSS Client send RTSP message to PSS Server;
RTSP message in this step can be OPTION message or be SET_PARAMETER message, also can be other newly-increased RTSP message, by the information that comprises that therein " 3GPP_Link_Char " field is carried rate adapted decision-making needs, also can comprise the reporting information of QoS.The RTSP message here can be the message of not timing.
Step 214, PSS Client send RTCP message to PSS Server;
Carry PSS Server in this RTCP message and carry out the rate adapted information that rate adapted needs.The execution of this step and step 212 does not have the restriction of sequencing, and PSS Client also can send RTCP message earlier, and the back sends RTSP message to PSS Server, and situation is identical in the following examples.
Step 216, PSS Server judge whether to initiate the rate adapted process according to the rate adapted information of carrying in RTSP message that receives and the RTCP message;
In fact, PSS Server can use the rate adapted information of carrying in the RTCP message to judge whether to initiate the rate adapted process separately, also can use the rate adapted information of carrying in the RTSP message to judge separately, perhaps use both, judge whether to initiate the rate adapted process.
Step 218, PSS Server send the notification message of adjustment QoS to PSS Client, and this notification message can be RTSP message, also can be sip message;
Step 220, PSS Client receive the notification message of adjusting QoS, initiate the QoS adjustment process of Access Network side;
In Wideband Code Division Multiple Access (WCDMA) (Wideband Code-Division Multiple Access is called for short WCDMA), this process can be a PDP context modification process.
After step 222, PSS Client adjustment QoS finished, the notification message that the transmission rate adjustment is finished was to PSS Server;
Notification message in this step also can be a RTSP message, also can be sip message;
Step 224, PSS Server receive the notification message that the speed adjustment is finished, and change the transmission rate of RTP, the rtp streaming after transmission rate is adaptive.
Present embodiment PSS Server judges to be needed to adjust after the speed, notice PSS Client carries out the speed adjustment earlier, can avoid the speed of PSS Client PSS Server before adjusting speed just to change, PSS Client can only be passive reception change rtp streaming after the speed, cause the wasting of resources or congestion phenomenon etc.
Rate adaption method embodiment three flow charts that Fig. 3 provides for the embodiment of the invention; As shown in Figure 3, the step 210-216 of the step 310-316 of present embodiment and embodiment two is similar, and other step in the diagram is:
Step 318, PSS Server judge and need carry out after the rate adapted, adjust speed, and the rtp streaming of transmission rate after adaptive is to PSS Client;
The notification message that step 320, PSS Server transmission rate are adjusted is to PSS Client;
Step 322, PSS Client receive notification message, and the QoS of Access Network side is adjusted; In WCDMA, this process can be a PDP context modification process.
Alternatively, comprise that also step 324, PSS Client adjust after QoS finishes, the notification message that the transmission rate adjustment is finished is to PSS Server.Because PSS Server has initiated the speed adjustment, so this step is nonessential.
Compare with the foregoing description two, after the PSS Server of present embodiment judges and needs to adjust speed, adjustment speed and transmission earlier reinforms PSS Client and carries out the speed adjustment, for PSS Server, do not need to wait for message, can send the speed after adaptive rapidly from PSS Client.
Rate adaption method embodiment four flow charts that Fig. 4 provides for the embodiment of the invention, Fig. 5 are the PSS system architecture diagram based on IMS; Shown in Fig. 4,5, the rate adaptation mechanism of present embodiment is based on system architecture shown in Figure 5, and wherein PSS Server had both carried out the rate adapted decision-making and also carries out rate adapted, PSS Server notice PSS Client, and promptly UE initiates rate adapted and carries out QoS and adjust.
Keep the rtp streaming before speed is adjusted between step 410, PSS Server and the PSS Client;
Step 412, PSS Client send RTSP message to packet switch stream service adapter PSSAdapter; The RTSP message of present embodiment can be OPTION message or SET_PARAMETER message, also can bring in the relevant information of carrying rate adapted decision-making needs by comprise " 3GPP_Link_Char " word in this message for other newly-increased RTSP message.The reporting information that also can comprise QoE.The RTSP message here can be the message of not timing;
The RTSP message that step 414, PSS Adapter forwarding PSS rate adapted need be used is given PSSServer;
PSS Adapter can be for all transmitting the RTSP message that receives to the forwarding of RTSP message in the present embodiment, also can be selectively, give PSS Server with the RTSP forwards relevant, the rate adapted information in the RTSP message can also be transmitted to PSS Server with rate adapted.
Equally, the forwarding RTSP message that PSS Adapter can not timing.
Step 416, PSS Client send RTCP message to PSS Server; Wherein carry PSS Server in the RTCP message and carry out the rate adapted information that rate adapted needs;
Step 418, PSS Server judge whether needs initiation rate adapted process according to the rate adapted information that comprises in RTCP message that receives and the RTSP message; If need to initiate then execution in step 420 of rate adapted; If not needing to initiate rate adapted then continues to judge according to the rate adapted information that receives;
PSS Server can use the rate adapted information in the RTCP message to judge whether to initiate the rate adapted process separately, also can use the rate adapted information in the RTSP message separately, also can be to judge whether to need to initiate the rate adapted process with the two;
The notification message that step 420, PSS Server transmission rate are adjusted is to PSS Client;
Particularly, PSS Server can send RTSP message and notify PSSClient to carry out rate adapted to PSS Client, comprises necessary qos parameter in this message; PSS Server also can send OPTION message or SET_PARAMETER message notifies PSS Client to carry out the speed adjustment.
Step 422, PSS Client initiate to adjust the process of speed, and particularly, PSS Client sends SIP Re-invite message to PSS Adapter;
In the present embodiment, this process also can realize by other message except realizing by SIP Re-invite.
Step 424, PSS Adapter return 200OK success response message and give PSS Client;
Step 426, PSS Client adjust the QoS of Access Network side;
In WCDMA, this process can be a PDP context modification process.
After step 428, PSS Client finished the adjustment process of QoS, the notification message that the transmission rate adjustment is finished was to PSS Server;
Particularly, can notify to PSS Server by sending RTSP message.
Step 430, PSS Server receive notification message, adjust speed, change the RTP transmission rate, the rtp streaming after transmission rate is adaptive.
There is not the restriction of strict sequential successively between the step 426 of present embodiment and the step 424.
The step 430 of present embodiment can occur in before the step 420, perhaps takes place simultaneously, and before occurring in step 420 or when taking place simultaneously, step 428 is optional.
Present embodiment is applicable to IMS based PSS system, with the rate adaptation mechanism of PSS and the QoS mechanism combination of IMS, makes QoS transmission end to end become possibility.
Rate adaption method embodiment five flow charts that Fig. 6 provides for the embodiment of the invention; As shown in Figure 6, present embodiment had both carried out the rate adapted decision-making with PSS Server, and also to carry out rate adapted be example, and PSSServer notice PSS Adapter initiates rate adapted and carries out QoS and adjust.
Rtp streaming before transmission rate is adjusted between step 510, PSS Server and the PSS Client;
Step 512, PSS Client send RTSP message to PSS Adapter;
RTSP message wherein can be OPTION message or SET_PARAMETER message, or other RTSP message, carries the rate adapted information of rate adapted decision-making needs by comprise " 3GPP_Link_Char " field in this message; The reporting information that also can comprise QoE.The RTSP message here can be the message of not timing.
The RTSP message that step 514, PSS Adapter forwarding PSS rate adapted need be used is to PSS Server;
With above-mentioned embodiment, the RTSP message of this step can be the message of not timing.
Step 516, PSS Client send RTCP message to PSS Server;
Carry PSS Server in the RTCP message and carry out the rate adapted information that rate adapted need be used.
Step 518, PSS Server judge whether needs initiation rate adapted process according to the rate adapted information of carrying in RTCP message that receives and the RTSP message;
PSS Server can use the rate adapted information of carrying in the RTCP message to judge whether to need to initiate the rate adapted process separately, also can use the rate adapted information of carrying in the RTSP message to judge separately, can also use both to judge whether to need to initiate the rate adapted process.
The notification message that step 520, PSS Server transmission rate are adjusted is to PSS Adapter;
Comprise necessary qos parameter in this notification message; This notification message can be RTSP message, can be OPTION message or SET_PARAMETER message, also can be other newly-increased RTSP message.
Step 522, PSS Adapter initiate to adjust the process of speed, and particularly, PSS Adapter sends SIP Re-invite message to PSS Client;
In the present embodiment, the process of adjusting QoS can realize by SIP Re-invite, also can realize by sending other message.
Step 524, PSS Client adjust the QoS of Access Network side;
In WCDMA, this process can be a PDP context modification process.
Step 526, PSS Client return 200OK success response message;
After step 528, Access Network side QoS adjustment process were finished, the notification message that the adjustment of PSS Adapter transmission rate is finished was to PSS Server;
Step 530, PSS Server adjust speed, change the RTP transmission rate, the rtp streaming after the transmission rate adaptation.
After the step 522 of present embodiment, the QoS that PSS Client/UE carries out the Access Network side earlier adjusts, and then return 200OK success response message and give PSS Adapter, adjust situation about also not finishing but can avoid PSSServer to adjust speed PSS Client end QoS like this.
The step 530 of present embodiment can occur in before the step 520, perhaps takes place simultaneously, takes place if occur in before the step 520 or simultaneously, and then step 528 is optional.
Present embodiment is received the notification message of the speed adjustment that PSS Server sends and is transmitted to PSS Client by PSS Adapter, has realized that at network side PSS Client being adjusted QoS by PSS Adapter controls.
Rate adaption method embodiment six flow charts that Fig. 7 provides for the embodiment of the invention; As shown in Figure 7, present embodiment carries out the rate adapted decision-making with PSS Adapter, and it is example that PSS Server carries out rate adapted;
Rtp streaming between step 610, PSS Server and the PSS Client before the transmission rate adaptation;
Step 612, PSS Client send RTSP message to PSS Adapter;
The RTSP message of present embodiment can be OPTION message or SET_PARAMETER message, also can be other RTSP message, carries the rate adapted information of rate adapted decision-making needs by comprise " 3GPP_Link_Char " field in this message; The reporting information that also can comprise QoS, the RTSP message here can be the message of not timing.
Step 614, PSS Client send RTCP message to PSS Server;
Comprise in this RTCP message that PSS Server carries out the rate adapted information of rate adapted needs.
Step 616, PSS Server send to PSSAdapter with the QoS information in the RTCP message that receives;
PSS Server can pass through RTSP message, QoS information is carried at sends to PSS Adapter in the RTSP message;
Step 618, PSS Adapter judge whether needs initiation rate adapted process according to the rate adapted information of RTSP message of receiving and PSS Server transmission;
PSS Adapter can use the rate adapted information of carrying in the RTCP message to judge whether to initiate the rate adapted process separately, also can use the rate adapted information of carrying in the RTSP message to judge separately.Can also use both to judge whether to carry out rate adapted.
Step 620, PSS Adapter initiate the process of adjustment QoS to PSS Client, and particularly, PSS Adapter sends SIP Re-invite message to PSS Client;
In the present embodiment, this process also can realize by other processes.
Step 622, PSS Client adjust the QoS of Access Network side;
In WCDMA, this process can be a PDP context modification process.
Step 624, PSS Client return 200OK success response message;
Step 626, PSS Client with QoS adjust finish after, PSS Adapter notice PSS Server carries out the speed adjustment, can notify by RTSP message, and the parameter of needs adjustment is carried in the RTSP message.
Step 628, PSS Server adjust speed, and the rtp streaming after transmission rate is adaptive is to PSSClient.
The step 620 of present embodiment and step 626 can take place simultaneously, and perhaps step 626 occurs in before the step 620.
Among the embodiment of above-mentioned rate adaption method, all sip messages are all by IMS Core.In addition, the PSS adapter can be used as a self-contained unit and exists, and also can close with service control function (Service Control function is called for short SCF) and be made as an entity.
Present embodiment need to judge whether rate adapted by PSS Adapter, has realized flexile rate adaptation mechanism.The rate adaption method that the embodiment of the invention provides, by after judging needs adjustment speed, the notification message that transmission rate is adjusted, QoS to the Access Network side adjusts with the notice user side, thereby make distolateral and speed PSS Server side of user to be consistent dynamically, avoided the waste of resource and transmitted congested.
Rate adapted device embodiment one structural representation that Fig. 8 provides for the embodiment of the invention, as shown in Figure 8, present embodiment comprises: judge module 1 and notification module 2, wherein judge module 1 is used to judge whether needs adjustment speed; Notification module 2 is used for adjusting speed when judging needs, and the notification message that transmission rate is adjusted is to user side.Wherein judge module 1 specifically is used for judging whether needs adjustment speed according to the rate adapted information that receives.
The rate adapted device of present embodiment can be PSS Server, and then PSS Server also comprises: speed adjusting module 3, be used for adjusting the notification message that the speed adjustment that sends after the speed is ready to complete according to the user side that receives, and carry out the speed adjustment; Data flow sending module 4 is used for the adjusted data flow of transmission rate to user side.
Rate adapted device embodiment two structural representations that Fig. 9 provides for the embodiment of the invention, as shown in Figure 9, the rate adapted device of present embodiment can also be PSS Adapter, then PSS Adapter also comprises: sending module 5 is used for the notification message that is ready to complete according to the success response message transmission rate adjustment that the notice speed adjustment that the described user side that receives sends is ready to complete.
The user side structural representation that Figure 10 provides for the embodiment of the invention, as shown in figure 10, present embodiment comprises: receiver module 6 and QoS adjusting module 7, wherein receiver module 6 is used for the notification message of the speed adjustment of receiving velocity adaptive device transmission; QoS adjusting module 7 be used for according to receive the notification message of speed adjustment QoS is adjusted.
Further, present embodiment also comprises: adjust and be ready to complete notification module 8, be used for after 7 couples of QoS of QoS adjusting module adjust, the notification message that the transmission rate adjustment is ready to complete is to the rate adapted device.
Rate adapted system embodiment one structural representation that Figure 11 provides for the embodiment of the invention, as shown in figure 11, present embodiment comprises: rate adapted device and user side 10, wherein the rate adapted device is used to judge whether needs adjustment speed, need to adjust speed when judging, the notification message that transmission rate is adjusted is to user side 10; User side 10 is used for according to the notification message of the speed adjustment of the rate adapted device transmission that receives QoS being adjusted.
The rate adapted device of present embodiment is PSS Server91, then PSS Server91 also is used for adjusting the notification message that the speed adjustment that sends after the speed is ready to complete according to the user side that receives 10, carry out the speed adjustment, and the data flow after the transmission adjustment speed is to user side 10.
Rate adapted system embodiment two structural representations that Figure 12 provides for the embodiment of the invention, as shown in figure 12, the rate adapted device of present embodiment is PSS Adapter92, then the rate adapted system also comprises: PSS Server91, be used for the message that is ready to complete according to the notice user side 10 speed adjustment that the PSS Adapter that receives sends, carry out the speed adjustment.
Prior art PSS rate adaptation mechanism is carried out under simple PSS system, is the center with PSS Server, carries out rate adaptation by PSS Server according to the qos-related information that receives; PSSClient is passive reception rtp streaming.After PSS Server decision changes speed and adjusts speed, PSS Server is the rtp streaming after PSS Client transmission rate changes directly, like this, PSSClient can not regulate the QoS of self dynamically according to the change of rtp streaming speed, cause occurring the congested of the waste of resource and transmission.Compared with prior art, the rate adaption method that present embodiment provides, Apparatus and system, can make user side according to the change of server side speed and adjust QoS dynamically, make that the change of signaling plane QoS is consistent with the change of Access Network side QoS, avoided the congested of the waste of the resource that may occur and transmission; The multiplexing QoS mechanism of IMS makes QoS transmission end to end become possibility.
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.