Embodiment
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 1 is the flow chart that access bandwidth of the present invention is adjusted processing method embodiment mono-, and as shown in Figure 1, the method comprises:
Step 101, receive that IPTV terminal sends by network access server for asking the business request information of IPTV business.
Various embodiments of the present invention can be applied in current non-next generation network (Next Generation Network, is designated hereinafter simply as: NGN), also can be applied in NGN.Wherein, user can adopt BAS Broadband Access Server (Broadband Access Server, be designated hereinafter simply as: BAS) mode or Narrowband Access Server (Network Access Server, being designated hereinafter simply as: NAS) mode accesses IPTV system, and user also can adopt other existing modes to access IPTV system certainly.
Before step 101, IPTV user is by IPTV terminal accessing to wide band network, then carry out access authentication by certificate server, wherein certificate server can be AAA (Authentication Authorization Accounting, Certificate Authority accounts) server; Carry out access authentication in aaa server after, carrying out business authentication by IPTV server.After carrying out business authentication by IPTV server, the IPTV sending down service service lists that IPTV server is ordered according to IPTV user, then IPTV user just can start to access IPTV business by IPTV terminal.
IPTV user, by the process of IPTV terminal access IPTV business, in the time that user asks IPTV business, IPTV terminal can send business request information to IPTV server by network access server, with to this IPTV business of IPTV server request.In this business request information, can comprise: IPTV user's user name, IP address, IP port, access session information and business information; Wherein, access session information is the unique identification of this login of user, and business information is the identification information of IPTV business to be asked.
User asks the situation of IPTV business can be for example: switching channels in live broadcast service, demand (telecommunication) service in demand (telecommunication) service, page change in the time of information browse, or among this three of live broadcast service, demand (telecommunication) service and information browse appoint change between the two.Network access server can be IP access server, for example: BAS or NAS, network access server can also be the access server of other types certainly, for example: GPRS interface, 3G access server, WiFi access server etc.
Step 102, according to the service identification of the IPTV business in business request information, obtain the required target access bandwidth of IPTV business.
IPTV server receives after the business request information that IPTV terminal sends by network access server, obtains the service identification of IPTV business to be asked from this business request information.In IPTV server, store the mapping table of the required access bandwidth of the service identification of each business and each business.IPTV server, by the service identification of IPTV business, inquires the required access bandwidth of this IPTV business in this mapping table, and this required access bandwidth is above-mentioned target access bandwidth.
Step 103, according to current access bandwidth and target access bandwidth, adjust user's access bandwidth.
IPTV server can get the current access bandwidth of IPTV user.In the time that IPTV user asks IPTV business for the first time, this user's current access bandwidth is this user and carries out the appointed bandwidth of opening an account in access authentication procedure at aaa server, undertaken by IPTV server this user in the process of business authentication, IPTV server gets this user's the bandwidth of opening an account; Adjusting after user's access bandwidth, the target access bandwidth that this IPTV business of IPTV server stores is required, now this target access bandwidth is current access bandwidth.When IPTV user is not while asking for the first time IPTV business, access bandwidth when this user's current access bandwidth is the last request of this user IPTV business, and this access bandwidth has been stored in IPTV server while once asking IPTV business upper, IPTV server can directly get.
IPTV server compares target access bandwidth and current access bandwidth.If target access bandwidth is greater than current access bandwidth, user's access bandwidth is adjusted to target access bandwidth, can watch normally IPTV business; If target access bandwidth is less than current access bandwidth, user's access bandwidth can be adjusted to target access bandwidth, to save bandwidth resources, also can not adjust current access bandwidth; If target access bandwidth equals current access bandwidth, without current access bandwidth is adjusted.
The process of wherein adjusting user's access bandwidth can be: IPTV server sends the bandwidth change request message that carries target access bandwidth to network access server by aaa server; Network access server changes the target access bandwidth in request message according to this bandwidth, and current access bandwidth dynamic is adjusted into target access bandwidth.
The embodiment of the present invention, IPTV server receive IPTV terminal send for asking the business request information of IPTV business, and according to the service identification of the IPTV business of carrying in this business request information, get the required access bandwidth of this IPTV business, then according to the relation of this access bandwidth and current access bandwidth, adjust user's access bandwidth, to realize according to the adjustment user's of the required access bandwidth dynamic of IPTV business access bandwidth, thereby in the time that asking high definition business, user can increase access bandwidth, meet the demand of user to high definition business, when user request is during to the lower business of access bandwidth requirement, can reduce access bandwidth, avoid the waste to bandwidth resources, limited bandwidth resources are fully utilized.
Fig. 2 is the signaling diagram that access bandwidth of the present invention is adjusted processing method embodiment bis-, and as shown in Figure 2, the method comprises:
Step 201, STB send network insertion request to BAS/NAS.
In the present embodiment, IPTV terminal can be for example Set Top Box (Set Top Box, is designated hereinafter simply as: STB).Network access server can be for example BAS or NAS, is abbreviated as BAS/NAS.
IPTV user is by STB auto dialing accessing to wide band network, STB can pass through point-to-point connection protocol (point to point protocol over Ethernet, referred to as PPPoE :) and send to BAS/NAS the network insertion request of the username and password that comprises that user accesses.
Step 202, BAS/NAS receive after network insertion request, send broadband access authentication request (Access-Request) to aaa server, and wherein broadband access authentication request comprises the username and password that user accesses.
Step 203, aaa server receive after the broadband access authentication request of BAS/NAS transmission, therefrom extract user name and password, and this broadband access authentication request is carried out to legitimacy authentication (comprising correctness, the user class etc. of password), carry out access authentication, carrying out after access authentication according to user class to the suitable bandwidth resources of user assignment.
Step 204, the user who passes through for authentication, aaa server sends broadband access mandate (Access-Accept) message to BAS/NAS; Wherein in Access-Accept message, carry the bandwidth information (for example distributing bandwidth) of user's access.
Step 205, BAS/NAS receive after the Access-Accept message that AAA issues, and set up the authority of user's access bandwidth according to bandwidth information subsidiary in this message, STB are carried out to broadband mandate, are user assignment IP address.
Step 206, user by successful distributing IP address, and after access network, STB, according to the URL information of configuration, sends user authentication request by BAS/NAS to IPTV server, and brings IPTV user's user name and password.
Step 207, IPTV server carry out business authentication to user, are carrying out after business authentication, and the IPTV business that IPTV server is ordered according to user issues customer service list to STB.
Wherein, above-mentioned steps 201-step 207 is processes that existing IPTV user carries out access authentication and business authentication.After step 207 completes, IPTV user can correct access IPTV business.IPTV business can comprise IPTV business and the information browse IPTV business of live IPTV business, program request.
Step 208, in the time that user asks IPTV business, STB sends for asking the business request information of IPTV business to IPTV server by BAS/NAS; Wherein this service request comprises the information of broadband access, for example: user name, IP address, IP port, access session information and business information.
Concrete, when IPTV user is in live IPTV business when switching channels, STB sends the business request information that is used for asking the channel of changing to be cut by BAS/NAS; Or
When IPTV user is in the IPTV of program request business when demand (telecommunication) service, STB sends the business request information for asking the business for the treatment of program request by BAS/NAS; Or
When IPTV user is in the IPTV of information browse business when page change, STB sends the business request information for asking the page to be replaced by BAS/NAS; Or
In the time that IPTV user changes between any two types of service among the IPTV business of live IPTV business, program request and the IPTV business of information browse, STB sends the business request information for asking transformation service type by BAS/NAS.
The service identification that obtains this IPTV business the business request information that step 209, IPTV server send from STB, then obtains the required target access bandwidth of this IPTV business according to this service identification.
The pre-stored information that has the required access bandwidth of miscellaneous service in IPTV server, for example, can store the mapping table of the required access bandwidth of each service identification and each business.IPTV server, according to the service identification of IPTV business, is inquired about pre-stored mapping table, then obtains access bandwidth corresponding with the service identification of IPTV business, that IPTV business is required.
Step 210, IPTV server, according to user's current access bandwidth and the target access bandwidth that gets, send bandwidth to AAA and change request message.
Wherein, IPTV server can obtain user's current access bandwidth, and detailed process, referring to the description in embodiment of the method one, does not repeat them here.
IPTV server compares user's current access bandwidth and target access bandwidth.
If target access bandwidth is greater than current access bandwidth, IPTV server sends the bandwidth change request message (being for example CoA-Request message) that carries target access bandwidth to BAS/NAS by AAA, so that BAS/NAS changes request message according to bandwidth, current access bandwidth is adjusted into target access bandwidth.
If target access bandwidth is less than current access bandwidth, can adjust current access bandwidth, after also can further target access bandwidth and user's the bandwidth of opening an account being compared, determine whether again to adjust current access bandwidth.Be specially: in the time that target access bandwidth is less than current access bandwidth, IPTV server sends the bandwidth change request message that carries target access bandwidth to BAS/NAS by AAA, so that BAS/NAS changes request message according to bandwidth, current access bandwidth is adjusted into target access bandwidth; Or, in the time that target access bandwidth is less than current access bandwidth, and target access bandwidth is greater than opening an account when bandwidth of user, IPTV server sends the bandwidth change request message that carries target access bandwidth to BAS/NAS by AAA, so that BAS/NAS changes request message according to bandwidth, current access bandwidth is adjusted into target access bandwidth; When target access bandwidth is less than current access bandwidth, simultaneously target access bandwidth is also less than opening an account when bandwidth of user, can not adjust user's current access bandwidth, or user's current access bandwidth is adjusted into user's the bandwidth of opening an account.
Step 211, AAA, receiving after the CoA-Request message of IPTV service transmission, forward this CoA-Request message to BAS/NAS.
Step 212, BAS/NAS receive after this CoA-Request message, according to the access bandwidth arriving to be adjusted carrying in this CoA-Request message, current access bandwidth are adjusted to required access bandwidth.
Step 213, after bandwidth adjustment success, BAS/NAS is to AAA response CoA-ACK message.
Coa-ACK message is transmitted to IPTV server by step 214, AAA, and then IPTV user can carry out IPTV business by the access bandwidth after adjusting.
In the time that IPTV user asks IPTV business, can repeating step 208~214 steps.
In the embodiment of the present invention, IPTV server receive IPTV terminal send for asking the business request information of IPTV business, and according to the service identification of the IPTV business of carrying in this business request information, get the required access bandwidth of this IPTV business, then according to the relation of this access bandwidth and current access bandwidth, adjust user's access bandwidth, to realize adjustment user's the access bandwidth of the access bandwidth dynamic required according to IPTV business; The present embodiment has been got through contacting between IPTV server and aaa server, by the COA standard agreement between aaa server and BAS/NAS, complete the access bandwidth that utilizes Radius protocol dynamic control IPTV user, thereby in the time that asking high definition business, user can increase access bandwidth, meet the demand of user to high definition business, when user request is during to the lower business of access bandwidth requirement, can reduce access bandwidth, avoid the waste to bandwidth resources, limited bandwidth resources are fully utilized.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can complete by the relevant hardware of program command, aforesaid program can be stored in a computer read/write memory medium, this program, in the time carrying out, is carried out the step that comprises said method embodiment; Aforesaid storage medium comprises: the various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
Fig. 3 is the schematic diagram that access bandwidth of the present invention is adjusted processing unit embodiment mono-, and as shown in Figure 3, this device comprises: receiver module 31, acquisition module 33 and adjusting module 35.
Receiver module 31 for receive that IPTV terminal sends by network access server for asking the business request information of IPTV business.
Acquisition module 33, for the service identification of the IPTV business of the business request information that receives according to receiver module 31, obtains the required target access bandwidth of IPTV business.
The target access bandwidth of adjusting module 35 for obtaining according to current access bandwidth and acquisition module 33, adjusts user's access bandwidth.
In the present embodiment, the workflow of modules and operation principle, referring to the description in above-mentioned each embodiment of the method, do not repeat them here.
The embodiment of the present invention, receiver module receive IPTV terminal send for asking the business request information of IPTV business, acquisition module is according to the service identification of the IPTV business of carrying in this business request information, get the required access bandwidth of this IPTV business, then adjusting module is according to the relation of this access bandwidth and current access bandwidth, adjust user's access bandwidth, to realize according to the adjustment user's of the required access bandwidth dynamic of IPTV business access bandwidth, thereby in the time that asking high definition business, user can increase access bandwidth, meet the demand of user to high definition business, when user request is during to the lower business of access bandwidth requirement, can reduce access bandwidth, avoid the waste to bandwidth resources, limited bandwidth resources are fully utilized.
Fig. 4 is the schematic diagram that access bandwidth of the present invention is adjusted processing unit embodiment bis-, on the basis of device embodiment mono-, as shown in Figure 4,
Receiver module 31 comprises: the first receiving element 311, the second receiving element 313, the 3rd receiving element 315 and the 4th receiving element 317.
The first receiving element 311 is for receiving IPTV terminal when the live IPTV business switching channels, send by network access server for asking the business request information of the channel of changing to be cut.The second receiving element 313 is for receiving IPTV terminal when the IPTV of the program request business demand (telecommunication) service, send by network access server for asking the business request information of the business for the treatment of program request.The 3rd receiving element 315 is for receiving IPTV terminal when the page change of the IPTV of information browse business, send by network access server for asking the business request information of the page to be replaced.When the 4th receiving element 317 is changed between any two types of service among the IPTV business of live IPTV business, program request and the IPTV business of information browse for receiving IPTV terminal, send by network access server for asking the business request information of transformation service type.
Acquisition module 33 is specifically for according to the service identification of IPTV business, inquire about the mapping table of the required access bandwidth of each pre-stored service identification and each business, to obtain target access bandwidth corresponding with the service identification of IPTV business, that IPTV business is required.
Adjusting module 35 comprises: the first adjustment unit 351, and the second adjustment unit 353 or the 3rd adjustment unit 355.
If the first adjustment unit 351 is greater than current access bandwidth for target access bandwidth, send the bandwidth change request message that carries target access bandwidth by certificate server to network access server, so that network access server changes request message according to bandwidth, current access bandwidth is adjusted into target access bandwidth.
If the second adjustment unit 353 is less than current access bandwidth for target access bandwidth, send the bandwidth change request message that carries target access bandwidth by certificate server to network access server, so that network access server changes request message according to bandwidth, current access bandwidth is adjusted into target access bandwidth.
If the 3rd adjustment unit 355 is less than current access bandwidth for target access bandwidth, and target access bandwidth is greater than opening an account when bandwidth of user, send the bandwidth change request message that carries target access bandwidth by certificate server to network access server, so that network access server changes request message according to bandwidth, current access bandwidth is adjusted into target access bandwidth.
In the present embodiment, the workflow of modules and unit and operation principle, referring to the description in above-mentioned each embodiment of the method, do not repeat them here.
In the embodiment of the present invention, receiver module receive IPTV terminal send for asking the business request information of IPTV business, acquisition module is according to the service identification of the IPTV business of carrying in this business request information, get the required access bandwidth of this IPTV business, then adjusting module is according to the relation of this access bandwidth and current access bandwidth, adjust user's access bandwidth, to realize adjustment user's the access bandwidth of the access bandwidth dynamic required according to IPTV business; The present embodiment has been got through contacting between IPTV server and aaa server, by the COA standard agreement between aaa server and BAS/NAS, complete the access bandwidth that utilizes Radius protocol dynamic control IPTV user, thereby in the time that asking high definition business, user can increase access bandwidth, meet the demand of user to high definition business, when user request is during to the lower business of access bandwidth requirement, can reduce access bandwidth, avoid the waste to bandwidth resources, limited bandwidth resources are fully utilized.
The embodiment of the present invention also provides a kind of IPTV server, and this IPTV server comprises any access bandwidth adjustment processing unit that the embodiment of the present invention provides.
In the present embodiment, the workflow of modules and operation principle, referring to the description in above-mentioned each embodiment of the method, do not repeat them here.
The embodiment of the present invention, IPTV server receive IPTV terminal send for asking the business request information of IPTV business, and according to the service identification of the IPTV business of carrying in this business request information, get the required access bandwidth of this IPTV business, then according to the relation of this access bandwidth and current access bandwidth, adjust user's access bandwidth, to realize according to the adjustment user's of the required access bandwidth dynamic of IPTV business access bandwidth, thereby in the time that asking high definition business, user can increase access bandwidth, meet the demand of user to high definition business, when user request is during to the lower business of access bandwidth requirement, can reduce access bandwidth, avoid the waste to bandwidth resources, limited bandwidth resources are fully utilized.
Finally it should be noted that: above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to previous embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.