CN1929495A - Load equation method for distributed electronic program guidance system - Google Patents
Load equation method for distributed electronic program guidance system Download PDFInfo
- Publication number
- CN1929495A CN1929495A CN 200610140047 CN200610140047A CN1929495A CN 1929495 A CN1929495 A CN 1929495A CN 200610140047 CN200610140047 CN 200610140047 CN 200610140047 A CN200610140047 A CN 200610140047A CN 1929495 A CN1929495 A CN 1929495A
- Authority
- CN
- China
- Prior art keywords
- electronic performance
- performance nevigation
- server
- nevigation server
- user terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Abstract
This invention provides one load even method for distribution electrical program, which comprises the following steps: step S202 to set center point list as main list servo and sets edge point servos as one set from electron list guide servo to electrical list servo; step S204 to let user load from main electron list servo and to send its address to user terminal for electrical list service; step S206 to process load balance to reposition user terminal to at least one electron list servo.
Description
Technical field
The present invention relates to the IPTV field, particularly a kind of load-balancing method that is used for distributed electronic program guidance system.
Background technology
Along with the progress of society and user to the improving constantly of high-quality life seek, the development of digital home more and more is subjected to people's attention.And provide colourful audio frequency and video service and various valued added applications business for the user, thereby promoted the development of digital home based on the IPTV (IPTV) of broadband network.How EPG (Electronic ProgramGuiding) guarantees to numerous users provide reliable, stable service that as the navigation gate system that IPTV user enjoys service can this be to be related to IPTV really become one of carrier class key in application.
Under the network environment of entire I PTV system actual motion, a plurality of EPG servers that will distribute in the whole network, for example a provincial IPTV system is provided with a plurality of EPG servers at province's Centroid and each regional node usually.For numerous users of the whole province, need load on the different EPG servers according to area or IP address field, could guarantee maximum concurrent user number and the service ability of giving full play to each EPG server like this.Can not provide the special circumstances of service for certain EPG occurring in addition, need in time to find and its user that should serve is loaded on other related EPG servers again.Prior art does not provide the method that realizes above-mentioned EPG load balancing as yet.
Summary of the invention
At above one or more problems, the invention provides a kind of load-balancing method that is used for distributed electronic program guidance system, can give full play to the service ability of each EPG system, improve the concurrent online number of users of whole system, guarantee that the EPG system has sustained serviceability preferably.
The load-balancing method that is used for distributed electronic program guidance system according to the present invention may further comprise the steps: step S202, the electronic performance nevigation server that is in Centroid is set to main electronic performance nevigation server, and a plurality of electronic performance nevigation servers that are in fringe node are set to also will be divided at least one group from electronic performance nevigation server from electronic performance nevigation server; Step S204, user terminal is logined by main electronic performance nevigation server, and main electronic performance nevigation server is sent to its address user terminal and carries out the Electronic Program Guide service for user terminal; And step S206, carrying out at needs under the situation of load balancing, the user terminal that main electronic performance nevigation server will need to serve is redirected at least one from electronic performance nevigation server.
Above-mentioned user terminal comprises: with main electronic performance nevigation server and/or the communication module that communicates from electronic performance nevigation server, store static electronic service homepage address and dynamic electron service homepage address in the communication module.Static electronic service homepage address and dynamic electron service homepage address all are arranged to the address of main electronic performance nevigation server at first.
Above-mentioned main electronic performance nevigation server adopts active and standby machine to backup each other.
Above-mentioned step S206 comprises: step S206-2, carry out at needs under the situation of load balancing, main electronic performance nevigation server for one group of each user terminal selecting that need serve from electronic performance nevigation server, and less one of the service object of selection group from electronic performance nevigation server is from electronic performance nevigation server; The user terminal that step S206-4, main electronic performance nevigation server will need to serve is redirected to selected from electronic performance nevigation server, from electronic performance nevigation server its address is sent to user terminal and provides navigation Service for user terminal; And step S206-6, user terminal is updated to address from electronic performance nevigation server with the dynamic electron service homepage address of storage, directly to serving from the electronic performance nevigation server request.
The present invention guarantees load balance between the master/slave electronic performance nevigation server by following at least a mode: distributed electronic program guidance system is that user terminal is specified one group from electronic performance nevigation server; And distributed electronic program guidance system distributes one group from electronic performance nevigation server according to the address of user terminal for the user.
Above-mentioned main electronic performance nevigation server can also feed back to distributed electronic program guidance system with its service state.
Above-mentioned can also feed back to distributed electronic program guidance system with its service state from electronic performance nevigation server.
Occur under the unusual situation at above-mentioned main electronic performance nevigation server and/or from electronic performance nevigation server, with main electronic performance nevigation server and/or from the user terminal dynamic load of electronic performance nevigation server service to other electronic performance nevigation servers.
The present invention can give full play to the service ability of each EPG system, improves the concurrent online number of users of whole system, guarantees that the EPG system has sustained serviceability preferably.In addition, the present invention supports the EPG server to be the user of appointment or to carry out load balancing according to the IP address field at user place.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Figure 1A to Fig. 1 D is the block diagram according to distributed electronic program guidance system of the present invention;
Fig. 2 is the flow chart that is used for the load-balancing method of distributed electronic program guidance system according to of the present invention; And
Fig. 3 is the flow chart according to communicator of the present invention (set-top box) sign-on access distributed electronic program guidance system.
Embodiment
Below with reference to accompanying drawing, describe the specific embodiment of the present invention in detail.
The technical problem underlying that the present invention solves is that the definition, the grouping from the EPG server, the setting of set-top box (STB) static state/dynamic home page address, main EPG server of principal and subordinate (Master/Slave) EPG server is to from the load balancing of EPG server and regularly reporting of EPG state.
Figure 1A is the block diagram according to distributed electronic program guidance system of the present invention.As shown in Figure 1, distributed electronic program guidance system according to the present invention comprises: main electronic performance nevigation server 102, be positioned at the Centroid place of system, be used at least one user terminal to carry out the Electronic Program Guide service, and carry out at needs under the situation of load balancing user terminal being redirected at least one from electronic performance nevigation server; At least one is positioned at the fringe node place of system from electronic performance nevigation server 104, is divided into a plurality of groups, is used at least one user terminal to carry out the Electronic Program Guide service; And at least one user terminal 106, comprise and main electronic performance nevigation server and/or the communication module that communicates from electronic performance nevigation server, store static electronic service homepage address and dynamic electron service homepage address in the communication module.
Distributed electronic program guidance system of the present invention guarantees load balance between the master/slave electronic performance nevigation server by following at least a mode: for user terminal is specified one group from electronic performance nevigation server; And distribute one group from electronic performance nevigation server for the user according to the address of user terminal.
Wherein, main electronic performance nevigation server adopts active and standby machine to backup each other.
Shown in Figure 1B, main electronic performance nevigation server comprises: authentication module 102-2 is used for carrying out authentication when user terminal is logined; Load balancing module 102-4, be used for carrying out under the situation of load balancing at needs, for one group of user terminal selecting from electronic performance nevigation server, and user terminal is balanced to less one of the service object of group from electronic performance nevigation server from electronic performance nevigation server; And the first navigation Service module 102-6, be used for user terminal that the address notification of main electronic performance nevigation server need be served, and provide navigation Service for user terminal.Main electronic performance nevigation server also comprises: the first service state feedback module 102-8 is used for the service state of main electronic performance nevigation server is fed back to distributed electronic program guidance system.
Shown in Fig. 1 C, comprise from electronic performance nevigation server: the second navigation Service module 104-2 is used for the user terminal that need serve from the address notification of electronic performance nevigation server, and provides navigation Service for user terminal.Also comprise from electronic performance nevigation server: the second service state feedback module 104-4 is used for the service state from electronic performance nevigation server is fed back to distributed electronic program guidance system.
Shown in Fig. 1 D, the communicator in the user terminal: address initial setting up module 106-2 is used for static electronic service homepage address and dynamic electron are served the address that homepage address all is arranged to main electronic performance nevigation server; Address update module 106-4, be used under the situation different with present dynamic electronic service homepage address from main electronic performance nevigation server or the electronic performance nevigation server address that receives from electronic performance nevigation server, dynamic electron is served homepage address and is set to received electronic performance nevigation server address; And navigation Service request module 106-6, be used for electronic performance nevigation server request service to dynamic electron service homepage address correspondence.
Occur under the unusual situation at main electronic performance nevigation server and/or from electronic performance nevigation server, with main electronic performance nevigation server and/or from the user terminal dynamic load of electronic performance nevigation server service to other electronic performance nevigation servers.
Fig. 2 is the flow chart that is used for the load-balancing method of distributed electronic program guidance system according to of the present invention.As shown in Figure 2, the load-balancing method that is used for distributed electronic program guidance system according to the present invention may further comprise the steps: step S202, the electronic performance nevigation server that is in Centroid is set to main electronic performance nevigation server, and a plurality of electronic performance nevigation servers that are in fringe node are set to also will be divided at least one group from electronic performance nevigation server from electronic performance nevigation server; Step S204, user terminal is logined by main electronic performance nevigation server, and main electronic performance nevigation server is sent to its address user terminal and carries out the Electronic Program Guide service for user terminal; And step S206, carrying out at needs under the situation of load balancing, the user terminal that main electronic performance nevigation server will need to serve is redirected at least one from electronic performance nevigation server.
Wherein, user terminal comprises: with main electronic performance nevigation server and/or the communication module that communicates from electronic performance nevigation server, store static electronic service homepage address and dynamic electron service homepage address in the communication module.Static electronic service homepage address and dynamic electron service homepage address all are arranged to the address of main electronic performance nevigation server at first.
Wherein, main electronic performance nevigation server adopts active and standby machine to backup each other.
Wherein, step S206 comprises: step S206-2, carry out at needs under the situation of load balancing, main electronic performance nevigation server for one group of each user terminal selecting that need serve from electronic performance nevigation server, and less one of the service object of selection group from electronic performance nevigation server is from electronic performance nevigation server; The user terminal that step S206-4, main electronic performance nevigation server will need to serve is redirected to selected from electronic performance nevigation server, from electronic performance nevigation server its address is sent to user terminal and provides navigation Service for user terminal; And step S206-6, user terminal is updated to address from electronic performance nevigation server with the dynamic electron service homepage address of storage, directly to serving from the electronic performance nevigation server request.
Wherein, the present invention guarantees load balance between the master/slave electronic performance nevigation server by following at least a mode: distributed electronic program guidance system is that user terminal is specified one group from electronic performance nevigation server; And distributed electronic program guidance system distributes one group from electronic performance nevigation server according to the address of user terminal for the user.
Wherein, main electronic performance nevigation server can also feed back to distributed electronic program guidance system with its service state.Its service state can also be fed back to distributed electronic program guidance system from electronic performance nevigation server.
Occur under the unusual situation at main electronic performance nevigation server and/or from electronic performance nevigation server, with main electronic performance nevigation server and/or from the user terminal dynamic load of electronic performance nevigation server service to other electronic performance nevigation servers.
The method of the distributed EPG system load balancing of realization provided by the invention is given full play to the service ability of each EPG system, thereby guarantees to provide reliable, stable service for numerous IPTV users.
(1) definition of principal and subordinate EPG server:
Have a plurality of EPG servers in the whole network, setting the EPG server that is in Centroid is main EPG, and it adopts active and standby machine to backup each other, and all the other EPG servers that are in each fringe node all are made as from EPG.
(2) from the grouping of EPG server:
OSS OSS is divided into a plurality of groups with each from the EPG server, and actual is to load on the less EPG server of number of users in certain group when carrying out load balancing.
(3) the pre-box of machine (STB) static state/dynamically setting of EPG homepage address:
Set-top box actual built-in static/dynamic two URL parameters of EPG homepage address URL1/URL2, its initial value all is made as the homepage address of main EPG server, the user is at first from main EPG server log, carry out load balancing if desired, the dynamic EPG homepage address that can rewrite set-top box after the load balancing success is the homepage address from the EPG server.Therefore the user has just directly served by enjoying from the EPG server after.
(4) load balancing of master/slave EPG server service ability:
According to 3) explanation, what the user logined first is main EPG server, carries out load balancing if desired after logining successfully, main EPG is redirected to this user from EPG, the user is provided by this service that provides from EPG.
Further, this method comprises that also step (5) EPG state regularly reports: each EPG server (comprising main EPG) regularly reports separately state to OSS, if there is not uploaded state (adopting regularly uploaded state of per minute at present in the EPG system) in two cycles, OSS thinks that then this EPG is unavailable, at this moment the user of this EPG service can be re-assigned on other EPG.
With reference to Fig. 1, in the whole network EPG be divided into the main EPG of Centroid and a plurality of fringe nodes from EPG.OSS will be divided into some groups from EPG, OSS provides dual mode to guarantee load balancing between each EPG, the EPG server (group) of one specified home when opening an account, it two is to distribute EPG server (group) according to the IP address field, in fact loads on certain less EPG of service number in this EPG server group.Simultaneously the OSS system accepts the regular state of each EPG and reports, if find certain EPG abnormal state, this moment with user's dynamic load of this EPG service to other EPG.Main EPG and each from the pass between the EPG are among Fig. 1: main EPG can be with different user loads to accordingly from EPG.
Flow process when the user carries out load balancing by set-top box login EPG as shown in Figure 3.
The setting of set-top box, built-in two address parameters of set-top box: main EPG address (URL1) and dynamic EPG address (URL2, i.e. the EPG address of last visit), initial value all is changed to main EPG address.Each set-top box is always visited URL2 earlier, if failure then visit URL1 (because of main EPG adopts active and standby machine, guaranteeing its sustained serviceability).Set-top box provides interface can change the value of URL2 in addition.
(see scene 1 among Fig. 3) when 1) user logins first, because the initial value of set-top box parameter URL1/URL2 all is made as the homepage address of main EPG server, set-top box is logined authentication from main EPG server.After the user logined success, the OSS service processor returned the terminal number Service_TermNo and the IP address Service_IP of the EPG server that this user should accept to serve.
2) if the EPG server terminal that the user should accept to serve number is inconsistent with the terminal number of the EPG (promptly main EPG) of current login, represent that this user should be loaded on the EPG server that the IP address is Service_IP.This moment, user login information was redirected on the new EPG server, did once the action (login process is with above-mentioned consistent) of login again automatically.
3) user is after successfully being loaded to new EPG server, and this moment, set-top box override the value of original URL2 (interface that set-top box externally provides change URL2) homepage address of EPG server for this reason.
4) after set-top box dynamic home page address writes successfully, the EPG request service (scene 2.1/2.2 among Fig. 3) that user's login is later on just directly pointed to URL2, the OSS place has guaranteed different user loads is balanced on the corresponding EPG server, promptly has corresponding URL2 parameter value for different users.For the situation that EPG that URL2 points to can not serve occurring, at this moment set-top box can be served to the main EPG request of URL1 sensing again, repeat 1), 2) in login process, OSS can (see user load scene 2.1.1 among Fig. 3) or provide service (seeing scene 2.1.2 among Fig. 3) by main EPG to other EPG server this moment.Because the OSS operation system can be made regular check on the state (each EPG per minute is to the OSS uploaded state, and literary composition sees before) of each EPG, can not serve if find certain EPG, can be to other EPG with its all user loads of serving at present.
For the user who does not need to do load balancing, just directly on current main EPG, login.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (9)
1. a load-balancing method that is used for distributed electronic program guidance system is characterized in that, said method comprising the steps of:
Step S202, the electronic performance nevigation server that is in Centroid is set to main electronic performance nevigation server, and a plurality of electronic performance nevigation servers that are in fringe node are set to also be divided at least one group with described from electronic performance nevigation server from electronic performance nevigation server;
Step S204, user terminal is logined by described main electronic performance nevigation server, and described main electronic performance nevigation server is sent to its address described user terminal and carries out the Electronic Program Guide service for described user terminal; And
Step S206 carries out at needs under the situation of load balancing, and described main electronic performance nevigation server is redirected at least one from electronic performance nevigation server with the described user terminal of service that needs.
2. load-balancing method according to claim 1, it is characterized in that, described user terminal comprises: with described main electronic performance nevigation server and/or the described communication module that communicates from electronic performance nevigation server, store static electronic service homepage address and dynamic electron service homepage address in the described communication module.
3. load-balancing method according to claim 2 is characterized in that, described static electronic service homepage address and described dynamic electron service homepage address all are arranged to the address of described main electronic performance nevigation server at first.
4. load-balancing method according to claim 2 is characterized in that, described main electronic performance nevigation server adopts active and standby machine to backup each other.
5. according to each described load-balancing method in the claim 1 to 4, it is characterized in that described step S206 comprises:
Step S206-2, carry out at needs under the situation of load balancing, one group of the described user terminal selecting that described main electronic performance nevigation server need be served for each is from electronic performance nevigation server, and selects less one of described group of service object from electronic performance nevigation server from electronic performance nevigation server;
Step S206-4, the described user terminal that described main electronic performance nevigation server will need to serve is redirected to selected from electronic performance nevigation server, describedly from electronic performance nevigation server its address is sent to described user terminal and provides navigation Service for described user terminal; And
Step S206-6, described user terminal is updated to described address from electronic performance nevigation server with the dynamic electron service homepage address of storage, directly serves from the electronic performance nevigation server request to described.
6. according to each described load-balancing method in the claim 1 to 4, it is characterized in that, guarantee load balance between the described master/slave electronic performance nevigation server by following at least a mode:
Described distributed electronic program guidance system is that described user terminal is specified one group from electronic performance nevigation server; And
Described distributed electronic program guidance system is that described user distributes one group from electronic performance nevigation server according to the address of described user terminal.
7. according to each described load-balancing method in the claim 1 to 4, it is characterized in that described main electronic performance nevigation server feeds back to described distributed electronic program guidance system with its service state.
8. according to each described load-balancing method in the claim 1 to 4, it is characterized in that, describedly its service state is fed back to described distributed electronic program guidance system from electronic performance nevigation server.
9. according to each described load-balancing method in the claim 1 to 4, it is characterized in that, in described main electronic performance nevigation server and/or described the appearance from electronic performance nevigation server under the unusual situation, with described main electronic performance nevigation server and/or described user terminal dynamic load from the electronic performance nevigation server service to other electronic performance nevigation servers.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200610140047 CN1929495A (en) | 2006-10-11 | 2006-10-11 | Load equation method for distributed electronic program guidance system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200610140047 CN1929495A (en) | 2006-10-11 | 2006-10-11 | Load equation method for distributed electronic program guidance system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1929495A true CN1929495A (en) | 2007-03-14 |
Family
ID=37859279
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200610140047 Withdrawn CN1929495A (en) | 2006-10-11 | 2006-10-11 | Load equation method for distributed electronic program guidance system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1929495A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101355676B (en) * | 2007-07-24 | 2010-07-07 | 华为技术有限公司 | Method for providing network television service information and network television service system |
CN102265568A (en) * | 2011-06-13 | 2011-11-30 | 华为技术有限公司 | Communication method and load equalizer |
WO2012122818A1 (en) * | 2011-03-14 | 2012-09-20 | 华为技术有限公司 | Service ingress addressing method, related terminal and system |
CN103634620A (en) * | 2013-11-07 | 2014-03-12 | 中兴通讯股份有限公司 | IPTV (Internet protocol television) log-in method, access server and terminal |
-
2006
- 2006-10-11 CN CN 200610140047 patent/CN1929495A/en not_active Withdrawn
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101355676B (en) * | 2007-07-24 | 2010-07-07 | 华为技术有限公司 | Method for providing network television service information and network television service system |
WO2012122818A1 (en) * | 2011-03-14 | 2012-09-20 | 华为技术有限公司 | Service ingress addressing method, related terminal and system |
CN102265568A (en) * | 2011-06-13 | 2011-11-30 | 华为技术有限公司 | Communication method and load equalizer |
WO2012171169A1 (en) * | 2011-06-13 | 2012-12-20 | 华为技术有限公司 | Communications method and load balancer |
CN102265568B (en) * | 2011-06-13 | 2015-01-07 | 华为技术有限公司 | Communication method and load equalizer |
CN103634620A (en) * | 2013-11-07 | 2014-03-12 | 中兴通讯股份有限公司 | IPTV (Internet protocol television) log-in method, access server and terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1929494A (en) | Distributed electronic program guidance system | |
CN101355476B (en) | System and method for storing, distributing and applying data files based on server cluster | |
US7272613B2 (en) | Method and system for managing distributed content and related metadata | |
US7584418B2 (en) | Methods, systems, and articles of manufacture for prefabricating an information page | |
CN102546751B (en) | Hierarchical metadata cache control method of distributed file system | |
US20060242320A1 (en) | Method and apparatus for polling | |
WO2013159703A1 (en) | Offline download method, multimedia file download method and system thereof | |
CN101631143B (en) | Multi-server system in load-balancing environment and file transmission method thereof | |
CN106131229A (en) | The processing method of CDN business, equipment and communication system | |
CN1921479A (en) | Method and system for partaking load of flow media system | |
AU2002344294A1 (en) | Method and system for page prefabrication | |
US20110010434A1 (en) | Storage system | |
JP2015222982A (en) | System and method of packetizing data stream in p2p based streaming service | |
CN111327697A (en) | Data downloading method, device, equipment and storage medium | |
US8880665B2 (en) | Nonstop service system using voting, and information updating and providing method in the same | |
CN1929495A (en) | Load equation method for distributed electronic program guidance system | |
CN1625109A (en) | Method and apparatus for virtualizing network resources | |
Graffi et al. | Skyeye. kom: An information management over-overlay for getting the oracle view on structured p2p systems | |
Jin et al. | Content routing and lookup schemes using global bloom filter for content-delivery-as-a-service | |
Zeng et al. | Space4time: Optimization latency-sensitive content service in cloud | |
Wu et al. | Redesigning multi-channel P2P live video systems with View-Upload Decoupling | |
Datta et al. | Query-load balancing in structured overlays | |
Ramaswamy et al. | Scalable delivery of dynamic content using a cooperative edge cache grid | |
Sun et al. | Partial lookup services | |
KR20100053009A (en) | System and method for multimedia streaming of distributed contents using node switching based on cache segment acquisition time |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C04 | Withdrawal of patent application after publication (patent law 2001) | ||
WW01 | Invention patent application withdrawn after publication |