Summary of the invention
The first aspect of the embodiment of the invention provides a kind of rate adaption method, the defective that can not dynamically change according to the variation of server end speed to solve the distolateral speed of user in the existing rate adaptation mechanism,
The second aspect of the embodiment of the invention provides a kind of rate adapted device, the defective that can not dynamically change according to the variation of server end speed to solve the distolateral speed of user in the existing rate adaptation mechanism.
The third aspect of the embodiment of the invention provides a kind of rate adapted system, the defective that can not dynamically change according to the variation of server end speed to solve the distolateral speed of user in the existing rate adaptation mechanism.
According to the first aspect of the embodiment of the invention, a kind of rate adaption method is provided, comprising:
PSS Server judges whether to need to adjust speed;
If need to adjust speed, then the notification message of described PSS Server transmission rate adjustment is to user side;
The notification message of described speed adjustment is used to indicate described user side network service quality QoS is adjusted.
According to the first aspect of the embodiment of the invention, a kind of rate adaption method that also provides comprises:
PSS Adapter judges whether to need to adjust speed;
If need to adjust speed, then the notification message of described PSS Adapter transmission rate adjustment is to user side;
The notification message of described speed adjustment is used to indicate described user side QoS is adjusted.
According to the second aspect of the embodiment of the invention, a kind of rate adapted device that provides comprises:
Judge module is used for judging whether to need to adjust speed;
Notification module is used for needing to adjust speed when judging, and the notification message that transmission rate is adjusted is to user side;
Described judge module specifically is used for judging whether needs adjustment speed according to the rate adapted information that receives;
Described rate adapted device is PSS Server, and described rate adapted device also comprises:
The speed adjusting module, the notification message for being ready to complete according to the speed adjustment that sends after the described user side adjustment speed that receives carries out the speed adjustment;
The data flow sending module is used for data flow after transmission rate is adjusted to described user side;
Perhaps,
Described rate adapted device is: PSS Adapter, and then described rate adapted device also comprises:
Sending module 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.
According to the second aspect of the embodiment of the invention, a kind of user side that also provides comprises:
Receiver module is used for the notification message that speed that the receiving velocity adaptive device sends is adjusted;
The QoS adjusting module is used for according to the notification message of described speed adjustment QoS being adjusted.
According to the third aspect of the embodiment of the invention, a kind of rate adapted system that provides comprises:
The rate adapted device is used for judging whether to need to adjust speed, needs to adjust speed, the notification message that transmission rate is adjusted when judging;
User side is adjusted QoS for the notification message of the speed adjustment that sends according to the described rate adapted device that receives;
Described rate adapted device is PSS Server, and described PSS Server also for the notification message that is ready to complete according to the speed adjustment that sends after the described user side adjustment speed that receives, carries out the speed adjustment;
Perhaps,
Described rate adapted device is PSS Adapter, and described rate adapted system also comprises: PSSServer, be used for notifying the described user side speed message that adjustment is ready to complete according to what the described PSS Adapter that receives sent, and carry out the speed adjustment.
The rate adaption method that the embodiment of the invention provides, Apparatus and system, 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 so that the user is distolateral and speed PSS Server side can be consistent dynamically, has avoided the waste of resource and transmitted congested.
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;
If step 112 needs to adjust speed, then the notification message of PSS Server transmission rate adjustment 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 is without the restriction of sequencing, and PSS Client also can send first RTCP message, and rear transmission RTSP message is 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 the RTSP message that receives and the RTCP message;
In fact, PSS Server can judge whether to initiate the rate adapted process with the rate adapted information of carrying in the RTCP message separately, also can judge with the rate adapted information of carrying in the RTSP message 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 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 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, notify first PSS Client to carry out the speed adjustment, 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 to 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 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 above-described embodiment two, after the PSS Server of present embodiment judges and needs to adjust speed, adjust first speed and send and reinform PSS Client and carry out the speed adjustment, for PSS Server, do not need to wait for the message from PSS Client, can send rapidly the speed after adaptive.
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 namely 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 for other newly-increased RTSP message, bring in the relevant information of carrying rate adapted decision-making needs by comprise " 3GPP_Link_Char " word 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 414, PSS Adapter forwarding PSS rate adapted need to be used is to 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, the RTSP message relevant with rate adapted is transmitted to PSS Server, the rate adapted information in the RTSP message can also be transmitted to PSS Server.
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 the 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 judge whether to initiate the rate adapted process with the rate adapted information in the RTCP message separately, also can use separately the rate adapted information in the RTSP message, 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-invi te 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 200 OK success response message to PSS Client;
Step 426, PSS Client adjust the QoS of Access Network side;
In WCDMA, this process can be 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.
Not strict successively sequential restriction 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 occurs simultaneously, and when occurring in step 420 before or occuring 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, so that the End-to-end QoS transmission becomes 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 take PSS Server and had also carried out rate adapted as example, and PSSServer notice PSS Adapter initiates rate adapted and carries out the QoS adjustment.
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 to 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 to be used.
Step 518, PSS Server judge whether needs initiation rate adapted process according to the rate adapted information of carrying in the RTCP message that receives and the RTSP message;
PSS Server can judge whether to need to initiate the rate adapted process with the rate adapted information of carrying in the RTCP message separately, also can judge with the rate adapted information of carrying in the RTSP message separately, can also judge whether to need to initiate the rate adapted process with both.
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 PDP context modification process.
Step 526, PSS Client return 2000K 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 first the Access Network side adjusts, and then return 2000K success response message to PSS Adapter, adjust situation about also not finishing but can avoid like this PSSServer to adjust speed PSS Client end QoS.
The step 530 of present embodiment can occur in before the step 520, perhaps occurs simultaneously, occurs 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 the RTSP message of receiving and PSS Server transmission;
PSS Adapter can judge whether to initiate the rate adapted process with the rate adapted information of carrying in the RTCP message separately, also can judge with the rate adapted information of carrying in the RTSP message separately.Can also judge whether to carry out rate adapted with both.
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 PDP context modification process.
Step 624, PSS Client return 2000K 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 occur 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 so that the user is distolateral and speed PSS Server side can be consistent dynamically, has 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 for judging whether to need to adjust speed; Notification module 2 is used for needing to adjust speed when judging, and the notification message that transmission rate is adjusted is to user side.Wherein judge module 1 is concrete for judge 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 data flow after transmission rate is adjusted 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 for judging whether to need to adjust 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 is also for the notification message that is ready to complete according to the speed adjustment that sends after the user side 10 adjustment speed that receive, 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, for the message that the notice user side 10 speed adjustment that send according to the PSS Adapter that receives are ready to complete, carry out the speed adjustment.
Prior art PSS rate adjustment mechanism carries out under simple PSS system, centered by 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 determines to change speed and adjusts speed, rtp streaming after PSS Server directly changes to PSS Client transmission rate, 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 adjust dynamically QoS according to the change of server side speed, so 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 QoS mechanism of multiplexing IMS is so that the End-to-end QoS transmission becomes 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 with reference to preferred embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made 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.