Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Fig. 1 is the flow chart of access bandwidth adjustment processing method embodiment one of the present invention, and as shown in Figure 1, this method comprises:
The business request information that is used to ask the IPTV business that step 101, reception IPTV terminal send by network access server.
Various embodiments of the present invention can be applied to current non-next generation network, and (Next Generation Network is designated hereinafter simply as: NGN), also can be applied among the NGN.Wherein, the user can adopt BAS Broadband Access Server (Broadband Access Server, be designated hereinafter simply as: BAS) mode or Narrowband Access Server (Network Access Server, be designated hereinafter simply as: NAS) mode inserts the IPTV system, and the user also can adopt other existing mode to insert the IPTV system certainly.
Before step 101, IPTV user is by IPTV terminal accessing to wide band network, carry out access authentication by certificate server then, wherein certificate server can be AAA (Authentication Authorization Accounting, Certificate Authority accounts) server; In aaa server, carry out carrying out business authentication by the IPTV server after the access authentication.After carrying out business authentication by the IPTV server, the IPTV sending down service service lists that the IPTV server is ordered according to IPTV user, IPTV user just can begin to visit the IPTV business by the IPTV terminal then.
By in the process of IPTV terminal access IPTV business, when the user asked IPTV professional, the IPTV terminal can send business request information to the IPTV server by network access server IPTV user, with to this IPTV business of IPTV server requests.Can comprise in this business request information: IPTV user's user name, IP address, IP port, access session information and business information; Wherein, inserting session information is the unique identification of this login of user, and business information is the identification information of IPTV business to be asked.
Situation that the user asks the IPTV business for example can be switching channels in live broadcast service, demand (telecommunication) service in demand (telecommunication) service, page change when information browse, perhaps appointing among this three of live broadcast service, demand (telecommunication) service and information browse, change between the two.Network access server can be the IP access server, and 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 the business request information, obtain the professional required target access bandwidth of IPTV.
After the IPTV server receives the business request information of IPTV terminal by the network access server transmission, from this business request information, obtain the service identification of IPTV business to be asked.In the IPTV server, store the mapping table of the required access bandwidth of each professional service identification and each business.The IPTV server inquires the professional required access bandwidth of this IPTV by the service identification of IPTV business in this mapping table, 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.
The IPTV server can get access to the current access bandwidth of IPTV user.When IPTV user asks IPTV professional for the first time, this user's current access bandwidth is this user and carries out the appointed bandwidth of opening an account in the access authentication procedure at aaa server, undertaken by the IPTV server in the process of business authentication this user, the IPTV server gets access to this user's the bandwidth of opening an account; Behind the access bandwidth of adjusting the user, the professional required target access bandwidth of this IPTV of IPTV server stores, this moment, this target access bandwidth was current access bandwidth.When IPTV user is not when asking for the first time IPTV professional, 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 the IPTV server when once asking IPTV professional last, and the IPTV server can directly get access to.
The IPTV server compares target access bandwidth and current access bandwidth.If the target access bandwidth greater than current access bandwidth, is then adjusted to the target access bandwidth with user's access bandwidth, can watch the IPTV business normally; If the target access bandwidth less than current access bandwidth, can be adjusted to the target access bandwidth with user's access bandwidth,, also can not adjust current access bandwidth with the conserve bandwidth resource; If the target access bandwidth equals current access bandwidth, then need not current access bandwidth is adjusted.
The process of wherein adjusting user's access bandwidth can send the bandwidth change request message that carries the target access bandwidth by aaa server for: IPTV server to network access server; Network access server is adjusted into the target access bandwidth according to the target access bandwidth in this bandwidth change request message with current access bandwidth dynamic.
The embodiment of the invention, the IPTV server receives the business request information that is used to ask the IPTV business that the IPTV terminal sends, and according to the service identification of the IPTV business of carrying in this business request information, get access to the professional required access bandwidth of this IPTV, then according to the relation of this access bandwidth and current access bandwidth, adjust user's access bandwidth, to realize access bandwidth according to the adjustment user of the required access bandwidth dynamic of IPTV business, thereby when asking high definition professional, the user can increase access bandwidth, satisfy the demand of user to the high definition business, when user request when inserting lower professional of bandwidth requirement, can reduce access bandwidth, avoided waste, made limited bandwidth resources be fully utilized bandwidth resources.
Fig. 2 is the signaling diagram of access bandwidth adjustment processing method embodiment two of the present invention, and as shown in Figure 2, this method comprises:
Step 201, STB send the network insertion request to BAS/NAS.
The IPTV terminal for example can (Set Top Box be designated hereinafter simply as: STB) for set-top box in the present embodiment.Network access server for example can be abbreviated as BAS/NAS for BAS or NAS.
IPTV user is by the automatic dial-up access broadband network of STB, STB can pass through point-to-point connection protocol (point to point protocol over Ethernet abbreviates as: PPPoE :) and send the network insertion request that comprises the username and password that the user inserts to BAS/NAS.
After step 202, BAS/NAS receive the network insertion request, send broadband access authentication request (Access-Request), wherein comprise the username and password that the user inserts in the broadband access authentication request to aaa server.
After step 203, aaa server receive the broadband access authentication request of BAS/NAS transmission, therefrom extract user name and password, and this broadband access authentication request carried out legitimacy authentication (comprising correctness, user class of password etc.), promptly carry out access authentication, after carrying out access authentication, distribute suitable bandwidth resources to the user according to user class.
Step 204, the user who passes through at 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) that the user inserts.
After step 205, BAS/NAS receive the Access-Accept message that AAA issues, set up the authority of user's access bandwidth, promptly STB is carried out the broadband and authorize, be user's distributing IP address according to bandwidth information subsidiary in this message.
Step 206, the user by successful distributing IP address, and behind the access network, STB sends user authentication request by BAS/NAS to the IPTV server according to the URL information of configuration, and with user name and the password of going up IPTV user.
Step 207, IPTV server carry out business authentication to the user, and after carrying out business authentication, the IPTV server issues the customer service tabulation according to the IPTV business that the user orders 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 was finished, IPTV user can correct visit IPTV business.The IPTV business can comprise the IPTV business and the information browse IPTV business of live IPTV business, program request.
Step 208, when the user asks IPTV professional, STB sends the business request information that is used to ask the IPTV business by BAS/NAS to the IPTV server; The information that wherein comprises broadband access in this service request, for example: user name, IP address, IP port, access session information and business information.
Concrete, when IPTV user in live IPTV business during switching channels, STB sends the business request information that is used to ask the channel of changing to be cut by BAS/NAS; Perhaps
When IPTV user in the IPTV of program request business during demand (telecommunication) service, STB sends the business request information that is used to ask treat the business of program request by BAS/NAS; Perhaps
When IPTV user in the IPTV of information browse business during page change, STB sends the business request information that is used to ask the page to be replaced by BAS/NAS; Perhaps
When IPTV user changed between any two types of service among the IPTV business of the IPTV business of live IPTV business, program request and information browse, STB sent the business request information that is used to ask the transformation service type by BAS/NAS.
Step 209, IPTV server obtain the service identification of this IPTV business from the business request information that STB sends, obtain the professional required target access bandwidth of this IPTV according to this service identification then.
In the IPTV server, store the information of the required access bandwidth of miscellaneous service in advance, for example can store the mapping table of the required access bandwidth of each service identification and each business.The IPTV server is inquired about stored relation table in advance according to the service identification of IPTV business, obtain then service identification with the IPTV business corresponding, the professional required access bandwidth of IPTV.
Step 210, IPTV server send bandwidth change request message according to user's current access bandwidth and the target access bandwidth that gets access to AAA.
Wherein, the IPTV server can obtain user's current access bandwidth, and detailed process does not repeat them here referring to the description among the method embodiment one.
The IPTV server compares user's current access bandwidth and target access bandwidth.
If the target access bandwidth is greater than current access bandwidth, then the IPTV server sends the bandwidth change request message (for example being CoA-Request message) that carries the target access bandwidth by AAA to BAS/NAS, so that BAS/NAS is adjusted into the target access bandwidth according to bandwidth change request message with current access bandwidth.
If the target access bandwidth is less than current access bandwidth, then can adjust current access bandwidth, determine whether to adjust current access bandwidth again after also can be further target access bandwidth and user's the bandwidth of opening an account being compared.Be specially: when target access bandwidth during less than current access bandwidth, the IPTV server sends the bandwidth change request message that carries the target access bandwidth by AAA to BAS/NAS, so that BAS/NAS is adjusted into the target access bandwidth according to bandwidth change request message with current access bandwidth; Perhaps, when target access bandwidth during less than current access bandwidth, and the target access bandwidth is opened an account during bandwidth greater than the user's, the IPTV server sends the bandwidth change request message that carries the target access bandwidth by AAA to BAS/NAS, so that BAS/NAS is adjusted into the target access bandwidth according to bandwidth change request message with current access bandwidth; When the target access bandwidth less than current access bandwidth, simultaneously the target access bandwidth less than the opening an account during bandwidth of user, can not adjusted user's current access bandwidth yet, perhaps user's current access bandwidth is adjusted into user's the bandwidth of opening an account.
Step 211, AAA transmit this CoA-Request message to BAS/NAS after the CoA-Request message that receives IPTV service transmission.
After step 212, BAS/NAS receive this CoA-Request message,, current access bandwidth is adjusted to required access bandwidth according to the access bandwidth that arrives to be adjusted that carries in this CoA-Request message.
Step 213, after bandwidth adjustment success, BAS/NAS is to AAA response CoA-ACK message.
Step 214, AAA give the IPTV server with the Coa-ACK forwards, and IPTV user can carry out the IPTV business by adjusted access bandwidth then.
When IPTV user asks IPTV professional, can repeating step 208~214 steps.
In the embodiment of the invention, the IPTV server receives the business request information that is used to ask the IPTV business that the IPTV terminal sends, and according to the service identification of the IPTV business of carrying in this business request information, get access to the professional required access bandwidth of this IPTV, then according to the relation of this access bandwidth and current access bandwidth, adjust user's access bandwidth, to realize access bandwidth according to the adjustment user of the required access bandwidth dynamic of IPTV business; Present embodiment has been got through getting in touch between IPTV server and the aaa server, by the COA standard agreement between aaa server and the BAS/NAS, finished the access bandwidth that utilizes Radius protocol dynamic control IPTV user, thereby when asking high definition professional, the user can increase access bandwidth, satisfy the demand of user to the high definition business, when user request when inserting lower professional of bandwidth requirement, can reduce access bandwidth, avoided waste, made limited bandwidth resources be fully utilized bandwidth resources.
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; Aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
Fig. 3 is the schematic diagram of access bandwidth adjustment processing unit embodiment one of the present invention, and as shown in Figure 3, this device comprises: receiver module 31, acquisition module 33 and adjusting module 35.
Receiver module 31 is used to receive the business request information that is used to ask the IPTV business that the IPTV terminal sends by network access server.
Acquisition module 33 is used for the service identification according to the IPTV business of the business request information of receiver module 31 receptions, obtains the professional required target access bandwidth of IPTV.
Adjusting module 35 is used for the target access bandwidth that obtains according to current access bandwidth and acquisition module 33, adjusts user's access bandwidth.
The workflow of each module and operation principle do not repeat them here referring to the description among above-mentioned each method embodiment in the present embodiment.
The embodiment of the invention, receiver module receives the business request information that is used to ask the IPTV business that the IPTV terminal sends, acquisition module is according to the service identification of the IPTV business of carrying in this business request information, get access to the professional required access bandwidth of this IPTV, adjusting module is according to the relation of this access bandwidth and current access bandwidth then, adjust user's access bandwidth, to realize access bandwidth according to the adjustment user of the required access bandwidth dynamic of IPTV business, thereby when asking high definition professional, the user can increase access bandwidth, satisfy the demand of user to the high definition business, when user request when inserting lower professional of bandwidth requirement, can reduce access bandwidth, avoided waste, made limited bandwidth resources be fully utilized bandwidth resources.
Fig. 4 adjusts the schematic diagram of processing unit embodiment two for access bandwidth of the present invention, on the basis of device embodiment one, as shown in Figure 4,
Receiver module 31 comprises: first receiving element 311, second receiving element 313, the 3rd receiving element 315 and the 4th receiving element 317.
First receiving element 311 is used for receiving the IPTV terminal when live IPTV business switching channels, by the business request information that is used to ask the channel of changing to be cut of network access server transmission.Second receiving element 313 is used for receiving the IPTV terminal when the IPTV of program request business demand (telecommunication) service, asks to treat the business request information of the business of program request by network access server being used to of sending.The 3rd receiving element 315 is used for receiving the IPTV terminal when the page change of the IPTV of information browse business, by the business request information that is used to ask the page to be replaced of network access server transmission.The 4th receiving element 317 is used to receive the IPTV terminal when changing between any two types of service among the IPTV business of the IPTV business of live IPTV business, program request and information browse, the business request information that is used to ask the transformation service type that sends by network access server.
Acquisition module 33 specifically is used for the service identification according to the IPTV business, the mapping table of each service identification of inquiry storage in advance and each professional required access bandwidth, with obtain service identification with the IPTV business corresponding, the required target access bandwidth of IPTV business.
Adjusting module 35 comprises: first adjustment unit 351, and second adjustment unit 353 or the 3rd adjustment unit 355.
First adjustment unit 351 is used for as if the target access bandwidth greater than current access bandwidth, then send the bandwidth change request message that carries the target access bandwidth to network access server, so that network access server is adjusted into the target access bandwidth according to bandwidth change request message with current access bandwidth by certificate server.
Second adjustment unit 353 is used for as if the target access bandwidth less than current access bandwidth, then send the bandwidth change request message that carries the target access bandwidth to network access server, so that network access server is adjusted into the target access bandwidth according to bandwidth change request message with current access bandwidth by certificate server.
The 3rd adjustment unit 355 is used for as if the target access bandwidth less than current access bandwidth, and the target access bandwidth is opened an account during bandwidth greater than the user's, then send the bandwidth change request message that carries the target access bandwidth to network access server, so that network access server is adjusted into the target access bandwidth according to bandwidth change request message with current access bandwidth by certificate server.
The workflow of each module and unit and operation principle do not repeat them here referring to the description among above-mentioned each method embodiment in the present embodiment.
In the embodiment of the invention, receiver module receives the business request information that is used to ask the IPTV business that the IPTV terminal sends, acquisition module is according to the service identification of the IPTV business of carrying in this business request information, get access to the professional required access bandwidth of this IPTV, adjusting module is according to the relation of this access bandwidth and current access bandwidth then, adjust user's access bandwidth, to realize access bandwidth according to the adjustment user of the required access bandwidth dynamic of IPTV business; Present embodiment has been got through getting in touch between IPTV server and the aaa server, by the COA standard agreement between aaa server and the BAS/NAS, finished the access bandwidth that utilizes Radius protocol dynamic control IPTV user, thereby when asking high definition professional, the user can increase access bandwidth, satisfy the demand of user to the high definition business, when user request when inserting lower professional of bandwidth requirement, can reduce access bandwidth, avoided waste, made limited bandwidth resources be fully utilized bandwidth resources.
The embodiment of the invention also provides a kind of IPTV server, and this IPTV server comprises any access bandwidth adjustment processing unit that the embodiment of the invention provides.
The workflow of each module and operation principle do not repeat them here referring to the description among above-mentioned each method embodiment in the present embodiment.
The embodiment of the invention, the IPTV server receives the business request information that is used to ask the IPTV business that the IPTV terminal sends, and according to the service identification of the IPTV business of carrying in this business request information, get access to the professional required access bandwidth of this IPTV, then according to the relation of this access bandwidth and current access bandwidth, adjust user's access bandwidth, to realize access bandwidth according to the adjustment user of the required access bandwidth dynamic of IPTV business, thereby when asking high definition professional, the user can increase access bandwidth, satisfy the demand of user to the high definition business, when user request when inserting lower professional of bandwidth requirement, can reduce access bandwidth, avoided waste, made limited bandwidth resources be fully utilized bandwidth resources.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous 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 to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.