The implementation method and the system of a kind of dynamic assignment management platform address of service
Technical field
The present invention relates to IPTV (IPTV) technical field, relate in particular to a kind of implementation method and system of the dynamic assignment management platform address of service based on IPTV.
Background technology
At present; All Operational Visits of existing network IPTV Business Management Platform are realized load balancing through VIP; All same VIP of professional ability node visit; Load balancing is to different servers again, thereby same set-top box users can provide service by different servers in the repeatedly professional use of the shutdown of once starting shooting, and has randomness.
Yet; Increase along with traffic carrying capacity; Each service request all needs Business Management Platform to carry out load balance process earlier; The dynamic assignment server comes service to the user to be provided, and is increasing to the pressure of Business Management Platform like this, thereby needs to propose a solution reduces Business Management Platform under the prerequisite that realizes good load balancing effect pressure.
Summary of the invention
The object of the present invention is to provide a kind of implementation method and system of the dynamic assignment management platform address of service based on IPTV, the proof load equalization quality reduces the load balancing number of times, effectively alleviates the pressure of Business Management Platform.
For realizing above-mentioned purpose, the embodiment of the invention adopts following solution:
A kind of implementation method of the dynamic assignment management platform address of service based on IPTV comprises:
When set-top-box opening is logined, the server address that Business Management Platform can be served for this allocated one, this server address of professional ability platform buffer memory;
After the STB login, if this STB sends service request to the professional ability platform, then the professional ability platform directly uses said server address access service management platform to accomplish corresponding service processing.
Wherein, said when set-top-box opening is logined, the server address that Business Management Platform can be served for this allocated one, the process of this server address of professional ability platform buffer memory further comprises:
Said STB sends the start authentication request to Business Management Platform when the start login;
The server address that Business Management Platform can be served for this allocated one behind the start authentication success, and announcement machine top box;
STB sends the homepage authentication request to the professional ability platform, wherein carries the server address of Business Management Platform for its distribution;
Whether the said server address of professional ability platform validation is legal; If it is legal; This server address of buffer memory and use this server address access service management platform carrying out the homepage authentication then, and after receiving the homepage authenticating result that Business Management Platform returns, return the template homepage to STB.
Wherein, Said method also comprises: said professional ability platform is when verifying out that said server address is illegal; Again whether the inquisitor set-top box customer authentication, if set-top box users is selected authentication again, the professional ability platform is redirected back Business Management Platform with this STB and carries out SSO (Single Sign On; Single-sign-on) authentication is to obtain spendable server address again.
Wherein, said professional ability platform directly uses the process of said server address access service management platform completion corresponding service processing further to comprise after receiving service request:
The professional ability platform is after receiving the service request of STB, and using Business Management Platform is the server address access service management platform of this allocated, sends the service authentication request to it;
Business Management Platform carries out service authentication, and returns authenticating result and give the professional ability platform;
If authentication is passed through, the professional ability platform sends the service request response message and returns the active service content to STB; If authentication is not passed through, the professional ability platform continues to use said server address access service management platform, carries out the service order flow processing.
Wherein, Said professional ability platform directly uses said server address access service management platform to accomplish in the process of corresponding service processing after receiving service request; If the professional ability platform is overtime after sending the service authentication request to Business Management Platform; Do not receive and reply that then the professional ability platform is redirected back Business Management Platform with STB and carries out the SSO authentication, to obtain spendable server address again.
Wherein, said professional ability platform is redirected back the process that Business Management Platform carries out the SSO authentication with STB and further comprises:
The professional ability platform uses Business Management Platform unified entrance server address to initiate the SSO request to Business Management Platform, and set-top box users is redirected to Business Management Platform;
Business Management Platform returns the user profile after the renewal and gives the professional ability platform for the server address of serving of allocated again;
Whether the newly assigned server address of professional ability platform validation is legal, if legal, and this server address of buffer memory then; If illegal, then carry out authentication processing again according to user's selection.
A kind of realization system of the dynamic assignment management platform address of service based on IPTV comprises: STB, Business Management Platform and professional ability platform;
Said Business Management Platform is used for each server is carried out service management; The server address that when set-top-box opening is logined, can serve for this allocated one;
Said professional ability platform is used for the server address that the buffer memory Business Management Platform is an allocated; After receiving the service request of STB, use the corresponding server accessed Business Management Platform of buffer memory to accomplish corresponding service processing.
Wherein, Said professional ability platform also is used for when using Business Management Platform to fail as the server address access service management platform of allocated; Use Business Management Platform unified entrance server address to initiate the SSO request to Business Management Platform; Set-top box users is redirected to Business Management Platform, to obtain spendable server address again.
Compared with prior art, the embodiment of the invention has following beneficial effect:
Because the server address that Business Management Platform only can be served for its distribution when set-top-box opening is logined in the embodiment of the invention; The professional ability platform all uses this server address access service management platform to accomplish corresponding service processing during this period of time before shutdown; Business Management Platform is all done a load balancing to compare for the mode of its distribution server address again during with the service request of receiving STB in the prior art at every turn; Obviously significantly reduce non-essential load balancing number of times, effectively alleviated the pressure of Business Management Platform.In addition; Existing network generally is that a plurality of manufacturers provide IPTV professional ability; Carry out service management by unified Business Management Platform, because network failure or professional ability platform fault are zonal often, the present invention is according to professional ability platform distribution server; Help the failure judgement source, help the O&M personnel and take different emergency plans according to the different sources of trouble.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes a part of the present invention, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, does not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the method flow diagram that STB obtains server address in the embodiment of the invention when start;
Fig. 2 is the method flow diagram that professional ability platform direct access service management platform when receiving service request is accomplished Business Processing in the embodiment of the invention;
Fig. 3 is the method flow diagram that obtains server address in the embodiment of the invention again;
Fig. 4 is the process flow figure when the dynamic specified server of Business Management Platform address can't be visited in the embodiment of the invention.
Embodiment
In order to make technical problem to be solved by this invention, technical scheme and beneficial effect clearer, clear,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
Core concept of the present invention is: at first, when set-top-box opening is logined, be the server that can serve of set-top box users dynamic assignment by Business Management Platform, and this server address of professional ability platform buffer memory; Then, Business Management Platform no longer carries out load balancing for service request from user, and user's request is all directly issued this server and handled; When the server that distributes can't provide service, redistribute a new server address through the SSO flow process by Business Management Platform again.
See also Fig. 1, STB obtains server address when start method may further comprise the steps:
101, set-top-box opening login is sent the start authentication request to Business Management Platform; The Business Management Platform authentication of starting shooting is returned the response message that comprises authentication result to STB, and the server that can serve for this allocated one simultaneously also is carried in the response message;
102, STB sends the homepage authentication request to the professional ability platform, wherein carries the server address information of Business Management Platform for its distribution;
Whether the server address that 103, carries in the professional ability platform validation request message is legal, if illegal, then execution in step 104; If legal, then this server address of buffer memory and execution in step 105;
104, whether again professional ability platform inquisitor set-top box customer authentication if the user selects authentication again, then is redirected to Business Management Platform with this user and carries out the SSO authentication, to obtain server address again:
105, the professional ability platform uses the server address access service management platform of buffer memory, carries out the homepage authentication, after receiving the homepage authenticating result that Business Management Platform returns, returns the template homepage and shows to STB.
See also Fig. 2, the method that professional ability platform direct access service management platform when receiving service request is accomplished Business Processing may further comprise the steps:
201, STB sends customer service to the professional ability platform and uses request message, and the professional ability platform receives that the server address that uses buffer memory in the back is to the request of Business Management Platform transmission service authentication;
202, Business Management Platform carries out service authentication, and returns authenticating result and give the professional ability platform, if authentication is passed through, then execution in step 203; If authentication is not passed through, then execution in step 204;
203, the professional ability platform returns the professional request response of using to STB, wherein carries the active service content;
204, the professional ability platform returns the order page to STB, after set-top box users is sent user's subscription request, uses the server address of buffer memory to send the service order request to Business Management Platform, returns the processing page STB after ordering successfully;
205, STB sends the HTTP request, and the professional ability platform judges whether Usertoken (data source) wherein is expired, if not out of date, then returns http response message; If out of date, then use the server address of buffer memory that STB is redirected to Business Management Platform, obtain new Usertoken.
See also Fig. 3, the method for obtaining server address again may further comprise the steps:
301, STB sends the HTTP request to the professional ability platform, and the professional ability platform finds that its session (session) lost efficacy;
302, the professional ability platform uses Business Management Platform unified entrance server address access service management platform, sends the SSO request to it, and set-top box users is redirected to Business Management Platform;
303, Business Management Platform returns user profile after the renewal and the server address of redistributing;
304, whether again whether the server address redistributed of professional ability platform validation is legal, if illegal, then according to user's selection decision authentication; If legal, this server address of buffer memory then.
See also Fig. 4, the processing method when the dynamic specified server of Business Management Platform address can't be visited may further comprise the steps:
401, STB is after the professional ability platform sends service request, and the professional ability platform uses the server address of buffer memory to send business request information to Business Management Platform;
402, wait timeout, Business Management Platform does not respond;
403, whether again professional ability platform inquisitor set-top box customer authentication if the user selects authentication again, then carries out next step;
404, the professional ability platform uses Business Management Platform unified entrance server address to send the SSO request to Business Management Platform, and set-top box users is redirected to Business Management Platform, obtains new server address.
Above-mentioned explanation illustrates and has described a preferred embodiment of the present invention; But as previously mentioned; Be to be understood that the present invention is not limited to the form that this paper discloses, should do not regard eliminating as, and can be used for various other combinations, modification and environment other embodiment; And can in invention contemplated scope described herein, change through the technology or the knowledge of above-mentioned instruction or association area.And change that those skilled in the art carried out and variation do not break away from the spirit and scope of the present invention, then all should be in the protection range of accompanying claims of the present invention.