CN101202924A - Method and system for redundant fault toleration - Google Patents

Method and system for redundant fault toleration Download PDF

Info

Publication number
CN101202924A
CN101202924A CN 200710075074 CN200710075074A CN101202924A CN 101202924 A CN101202924 A CN 101202924A CN 200710075074 CN200710075074 CN 200710075074 CN 200710075074 A CN200710075074 A CN 200710075074A CN 101202924 A CN101202924 A CN 101202924A
Authority
CN
China
Prior art keywords
fault
tolerant
control centre
session
redundancy
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.)
Granted
Application number
CN 200710075074
Other languages
Chinese (zh)
Other versions
CN101202924B (en
Inventor
洪家明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Coship Electronics Co Ltd
Original Assignee
Shenzhen Coship Electronics Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Coship Electronics Co Ltd filed Critical Shenzhen Coship Electronics Co Ltd
Priority to CN 200710075074 priority Critical patent/CN101202924B/en
Publication of CN101202924A publication Critical patent/CN101202924A/en
Application granted granted Critical
Publication of CN101202924B publication Critical patent/CN101202924B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention is applicable to the field of digital communication and provides a method and a system for redundancy and fault tolerance. The method comprises the following steps: conversation resetting request information is sent to a fault-tolerant end which is abnormal; response information of the fault-tolerant end is received and service conversations begin or continue. In the embodiment of the invention, the continuity and usability of services are improved by the adoption of fault tolerating treatment for interrupted conversations in current on demand system and continuously providing services in the appreciable time of users.

Description

A kind of redundancy fault-tolerant method and system
Technical field
The invention belongs to the digital communication field, relate in particular to a kind of redundancy fault-tolerant method and system.
Background technology
In existing VOD system, set-top box is to (the Control Center of control centre, CC) send request, after control centre receives request, to video server (Video Servers, VS) set-top box (Set Top Box is asked and is with in transmission accordingly, STB) information, in the prior art, for the first time receive the request of set-top box after, control centre need be the session Resources allocation, comprises video server, modem etc.; Video server is received the request back to control centre's response, and control centre's judgement is responded and normally then responded to set-top box; Set-top box judges that response normally then continues next step action; Wherein, if arbitrary response form of video server or control centre is incorrect or overtime, conversation procedure will finish, and set-top box request service is unsuccessful.When session just often, control centre can give the set-top box Resources allocation, resource mainly is meant modem.Video server with program that the user asked with transport stream (Transport Streams, TS) form plug-flow is to modem, modem passes to the coaxial net of fiber optic cables (Hybrid Fiber Coax with transport stream, HFC), arrive set-top box users by HFC then, like this, the user has just obtained institute's requested service.
Usually after collapse partly appears in front end system, still can provide service for new user's request, need locate to do redundant deployment in control centre and video server etc., cold standby is adopted in this deployment, when control centre or video server collapse, current ongoing session information will be lost, and user's requested service will be interrupted.Redundant deployment in the existing VOD system, current sessions is not carried out fault-tolerantly, this mode can only guarantee that new user's request can obtain correct response obtaining service, and does not guarantee that old user's service is not interrupted, bring many inconvenience to the user, fault tolerant mechanism and imperfection.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of redundancy fault-tolerant method, is intended to solve the incomplete problem of fault tolerant mechanism the when session in the VOD system is collapsed in the prior art.
The embodiment of the invention is achieved in that a kind of redundancy fault-tolerant method, and described method comprises the steps:
Bring out now when unusual when fault-tolerant, send session replacement solicited message to described fault-tolerant end;
Receive fault-tolerant end echo message, beginning or continued access service conversation.
Another purpose of the embodiment of the invention is to provide a kind of redundancy fault-tolerant system, and described system comprises:
Fault-tolerant end abnormal deciding means is used to judge whether fault-tolerant end occurs unusually;
Information transmitting unit is used for bringing out now when unusual when fault-tolerant, sends session replacement solicited message to described fault-tolerant end; And
Fault-tolerant client information is responded receiving element, is used to receive fault-tolerant end echo message, beginning or continued access service conversation.
In embodiments of the present invention, fault-tolerant processing is adopted in the session that current VOD system is interrupted, continue to provide service in the appreciable time, improved continuity, the availability of service the user.
Description of drawings
Fig. 1 is the redundancy fault-tolerant method flow diagram that the embodiment of the invention provides;
Fig. 2 is that the control centre that the embodiment of the invention provides adopts non-concentrating type to concentrate the fault-tolerant processing flow chart of disposing;
Fig. 3 is the fault-tolerant processing flow chart that the control centre that provides of the embodiment of the invention adopts clustered deploy(ment);
Fig. 4 is the fault-tolerant processing flow chart of the video server that provides of the embodiment of the invention;
Fig. 5 is the structure chart of the redundancy fault-tolerant system that provides of the embodiment of the invention;
Fig. 6 is the structure chart of the redundancy fault-tolerant system that provides of the embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.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.
In embodiments of the present invention, fault-tolerant processing is adopted in the session of interrupting in the current VOD system, continue to provide service in the appreciable time, improved continuity, the availability of service the user.
Fig. 1 shows the redundancy fault-tolerant method flow diagram that the embodiment of the invention provides, and its detailed step is as follows:
In step S101, judge whether fault-tolerant end occurs unusually, be execution in step S103 then, otherwise execution in step S102;
In embodiments of the present invention, above-mentioned fault-tolerant end comprises control centre and video server.This fault-tolerant bringing out now comprises the undesired and fault-tolerant end collapse in to the client service process to the service request response of client unusually.
In step S102, client continues next step request or the service that obtains finishes mutual;
In step S103, when fault-tolerant end is responded when undesired, send session (RESETUP) solicited message of resetting to described fault-tolerant end;
In embodiments of the present invention, fault-tolerant end response is undesired comprises that the response form of fault-tolerant end is incorrect and overtime.When fault-tolerant end was control centre, the session replacement solicited message among the step S103 comprised session label information; When fault-tolerant end was video server, this session replacement solicited message also comprised resource information and service breakpoint information.
In step S104, receive fault-tolerant end echo message, beginning or continued access service conversation perhaps return step S102, judge.
As one embodiment of the present of invention, when current conversational services occurs undesiredly, current fault-tolerant when bringing out existing collapse, client also will send session replacement solicited message to fault-tolerant end, and the session that request is interrupted continues, and its step such as above-mentioned repeats no more.
In embodiments of the present invention, the preorder step redundant deployment as fault-tolerant processing comprises the following aspects:
1 control centre's redundant deployment
1.1 control centre provides the unified management of resource, main RSVP and the recovery of being responsible for flowing when serving, flow the overall situation and the partial equilibrium of service load, exactly user capture is directed to the protocol adaptation of appropriate streaming server and various flows server, be often referred to the RTSP access agent.
1.2 concentrating, control centre disposes.There are two kinds of dispositions methods in control centre, both can adopt clustered deploy(ment) (being to concentrate a kind of mode of disposing), also can adopt non-concentrating type to concentrate and dispose.Clustered deploy(ment) is organized a plurality of control centres in the mode of cluster, externally it is an integral body, is equivalent to have only a control centre, as long as also have a control centre to use in the cluster, this cluster is exactly effective; Non-concentrating type is concentrated and disposed is that a plurality of control centres spatially are deployed in together, has different reference address separately.
The identical point of two kinds of deployment is that a plurality of control centres are arranged, and they are in reciprocity status; The difference of two kinds of deployment is: clustered deploy(ment) externally shows as has only an IP address, but not concentrating type concentrates deployment to show as a plurality of IP address, and this moment, set-top box adopted many agency mechanisms to simulate the cluster visit.
1.3 resource and session management to control centre carry out the persistence design, make the collapse of any one control centre can not cause the confusion with resource management of losing of session information, any one control centre can know at any time that all the information of any one session comprises the resource situation that session is shared.
2. video server redundant deployment
2.1 the center video server can be used as the redundancy of edge video server, the modem at edge can exchange on metropolitan area network.
2.2 directly do redundancy in bigger video server inside, edge.
Video server must regularly be sent out the keep-alive bag to control centre, serves normally to prove oneself.Do not receive the keep-alive bag when control centre's a period of time, just think the video server collapse to start fault-tolerant processing.
3. client
In embodiments of the present invention, when fault-tolerant end was video server, clients corresponding should be control centre, and when fault-tolerant end was control centre, clients corresponding was a set-top box.
3.1 when control centre adopted non-concentrating type to concentrate deployment, client need adopt many agency mechanisms.The effect of many agency mechanisms is addresses that a plurality of non-concentrating types of shielding are concentrated the control centre that disposes, and performance is an address to client.When client when this address sends request, many agency mechanisms are chosen an available control centre automatically and are come response request in a plurality of control centres of shielding.When response was incorrect or overtime, many agency mechanisms also had fault-tolerant processing.
3.2 when control centre adopted clustered deploy(ment), client did not need to adopt many agency mechanisms, only needed common deployment to get final product, fault-tolerant processing will be finished by cluster.
3.3 client must know at any time service breakpoint and user session services sign (Identification, ID) so that when interrupting taking place, provide breakpoint information to front end.
As one embodiment of the present of invention, the control centre that Fig. 2 shows the embodiment of the invention to be provided adopts non-concentrating type to concentrate the fault-tolerant processing flow process of disposing, and this moment, fault-tolerant end was a control centre, and its detailed step is as follows:
In step S201, client set top box sends service request by many agency mechanisms to control centre;
In embodiments of the present invention, according to above-mentioned redundant deployment, when control centre adopted non-concentrating type to concentrate deployment, client set top box need adopt many agency mechanisms.Client set top box sends service request by many agency mechanisms available control centre of picked at random from concentrate a plurality of control centres that dispose to control centre.
In step S202, judge whether the response of control centre is normal, be execution in step S203 then, otherwise execution in step S204;
In step S203, client continues next step request or the service that obtains finishes mutual;
In step S204, in concentrating the remaining available control centre of deployment, choose a control centre;
In embodiments of the present invention, many agency mechanisms will respond incorrect or overtime control centre and be designated unavailablely, choose one in the available control centre of residue.Wherein, after experience a period of time, many agency mechanisms will be designated disabled control centre and be changed to upstate, no matter whether available, in order to avoid long-time idle.
In step S205, the available control centre that set-top box is chosen in according to above-mentioned steps S204 by many agency mechanisms sends session replacement solicited message;
In embodiments of the present invention, above-mentioned session replacement solicited message comprises session label information, when control centre gives the set-top box Resources allocation, the resource information of session can be write database, when reconnecting session, control centre can inquire the resource of distributing to this session according to session identification, does not need the user to carry resource information in the request of resetting, and does not also need to redistribute resource.
In step S206, the response at the controlled center of set-top box, beginning or continued access service conversation perhaps return step S202, judge.
In embodiments of the present invention, when control centre collapsed, video server did not interrupt to the plug-flow of set-top box, as long as set-top box sends session replacement request within a certain period of time, the service that video server provides just can not be interrupted; When set-top box does not send the request that session is reset at the appointed time, the service of video server just can be interrupted, and session information also can be lost, such session continuity of the service that guaranteed that the user receives of resetting.
As an alternative embodiment of the invention, the control centre that Fig. 3 shows the embodiment of the invention to be provided adopts the fault-tolerant processing flow process of clustered deploy(ment), and this moment, fault-tolerant end was a control centre, and its detailed step is as follows:
In step S301, client set top box sends service request to control centre;
In step S302, judge whether the response of control centre is normal, be execution in step S303 then, otherwise execution in step S304;
In step S303, client set top box continues next step request or the service that obtains finishes mutual;
In step S304, set-top box sends session replacement solicited message to control centre;
In embodiments of the present invention, this session replacement solicited message comprises session identification, and after control centre's collapse was arranged in control centre's deployment, other control centres were in upstate.When client set top box sends session replacement solicited message when control centre disposes, other control centre of control centre's deployment receives this session replacement solicited message, continues as client service.
In step S305, the response at the controlled center of set-top box, beginning or continued access service conversation perhaps return step S302, judge.
As one embodiment of the present of invention, when current conversational services occurs unusual, it is undesired that control centre responds current service, when collapse appears in certain control centre, set-top box will send session replacement solicited message to control centre, the session that request continue to be interrupted, its detailed step repeats no more as described in above-mentioned two embodiment.
As an alternative embodiment of the invention, Fig. 4 shows the fault-tolerant processing flow process of the video server that the embodiment of the invention provides, and this moment, fault-tolerant end was a video server, and its detailed step is as follows:
In step S401, control centre sends service request to video server;
In step S402, judge whether the response of video server is normal, be execution in step S403 then, otherwise execution in step S404;
In step S403, control centre continues next step request or the service that obtains finishes mutual;
In step S404, control centre chooses an available video server;
In step S405, control centre sends session replacement solicited message to available video server;
In embodiments of the present invention, when video server collapses, video server can interrupt to the plug-flow of set-top box, session replacement solicited message among the step S405 is removed and is comprised session label information, also need to comprise resource information and service breakpoint information, so that clear resource and the breakpoint that service is provided for client of video server.
In step S406, control centre obtains the response of video server, and beginning or continued access service conversation perhaps return step S402, judge.
As one embodiment of the present of invention, when current conversational services occur undesired, it is undesired that video server is responded current service, when collapse appears in certain video server, control centre sends session replacement solicited message to video server, the session that request continue to be interrupted, its detailed step repeats no more as described in the above-mentioned embodiment.
In embodiments of the present invention, the session when improper termination video server is collapsed is reset, and can utilize the service breakpoint to provide the continuous service that passes to the user.
Fig. 5 shows the structure of the redundancy fault-tolerant system that the embodiment of the invention provides, and for convenience of explanation, the part relevant with the embodiment of the invention only is shown.
Fault-tolerant end abnormal deciding means 11 judges whether fault-tolerant end occurs unusually, this fault-tolerant bringing out now comprises the undesired and appearance collapse in to the client service process to the service request response of client unusually, bring out now when unusual when fault-tolerant, information transmitting unit 12 sends session replacement solicited message to above-mentioned fault-tolerant end; When fault-tolerant end is that control centre and this control centre are when adopting non-concentrating type concentrate to dispose, the information transmitting unit of client set top box sends session replacement solicited message by many agency mechanisms to the available control centre that chooses, and session replacement this moment solicited message comprises session label information.Rectify often when fault-tolerant, client continues next step request or the service that obtains finishes mutual.
Fault-tolerant client information is responded receiving element 13 and is received fault-tolerant end echo message, beginning or continued access service conversation.
In embodiments of the present invention, Fig. 6 shows the structure of the redundancy fault-tolerant system that the embodiment of the invention provides, bring out now when unusual when fault-tolerant, and when fault-tolerant end is that the non-concentrating type of being deployed as of control centre and described control centre concentrate to be disposed or when fault-tolerant end is video server, this redundancy fault-tolerant system comprises that also fault-tolerant end reselects unit 21 and reselect an available control centre or video server, other structrual description such as above-mentioned, this repeats no more.
In embodiments of the present invention, reconnect by the session to improper termination, the user obtains enjoying continual service, has improved continuity, the availability of service.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a redundancy fault-tolerant method is characterized in that, described method comprises the steps:
Bring out now when unusual when fault-tolerant, send session replacement solicited message to described fault-tolerant end;
Receive fault-tolerant end echo message, beginning or continued access service conversation.
2. redundancy fault-tolerant method as claimed in claim 1 is characterized in that, described fault-tolerant end comprises control centre or video server.
3. redundancy fault-tolerant method as claimed in claim 2 is characterized in that, when described fault-tolerant end was control centre, the deployment of described control centre comprised concentrated deployment of non-concentrating type and clustered deploy(ment).
4. as claim 2 or 3 described redundancy fault-tolerant methods, it is characterized in that, when fault-tolerant end is that the non-concentrating type of being deployed as of control centre and described control centre is concentrated deployment or when fault-tolerant end was video server, described method also comprised the steps:
Reselect an available fault-tolerant end.
5. redundancy fault-tolerant method as claimed in claim 1 or 2 is characterized in that, described session replacement solicited message comprises session label information;
When described fault-tolerant end was video server, described session replacement solicited message also comprised resource information and service breakpoint information.
6. a redundancy fault-tolerant system is characterized in that, described system comprises:
Fault-tolerant end abnormal deciding means is used to judge whether fault-tolerant end occurs unusually;
Information transmitting unit is used for bringing out now when unusual when fault-tolerant, sends session replacement solicited message to described fault-tolerant end; And
Fault-tolerant client information is responded receiving element, is used to receive fault-tolerant end echo message, beginning or continued access service conversation.
7. redundancy fault-tolerant as claimed in claim 6 system is characterized in that described fault-tolerant end comprises control centre or video server.
8. redundancy fault-tolerant as claimed in claim 7 system is characterized in that, when described fault-tolerant end was control centre, the deployment of described control centre comprised that non-concentrating type is concentrated and disposes and clustered deploy(ment).
9. redundancy fault-tolerant as claimed in claim 6 system is characterized in that described system also comprises:
Fault-tolerant end is reselected the unit, is used for bringing out now when unusual when fault-tolerant, reselects an available fault-tolerant end.
10. as claim 6 or 7 described redundancy fault-tolerant systems, it is characterized in that described session replacement solicited message comprises session label information;
When described fault-tolerant end was video server, described session replacement solicited message also comprised resource information and service breakpoint information.
CN 200710075074 2007-06-18 2007-06-18 Method and system for redundant fault toleration Expired - Fee Related CN101202924B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200710075074 CN101202924B (en) 2007-06-18 2007-06-18 Method and system for redundant fault toleration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200710075074 CN101202924B (en) 2007-06-18 2007-06-18 Method and system for redundant fault toleration

Publications (2)

Publication Number Publication Date
CN101202924A true CN101202924A (en) 2008-06-18
CN101202924B CN101202924B (en) 2010-12-01

Family

ID=39517849

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200710075074 Expired - Fee Related CN101202924B (en) 2007-06-18 2007-06-18 Method and system for redundant fault toleration

Country Status (1)

Country Link
CN (1) CN101202924B (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101035367A (en) * 2007-01-05 2007-09-12 深圳清华大学研究院 Method for the mobile communication back transfer interface to realize information source integrated access interaction

Also Published As

Publication number Publication date
CN101202924B (en) 2010-12-01

Similar Documents

Publication Publication Date Title
CN101690086B (en) Having the auxiliary targeted ads switching of interface equipment inserts
US7778158B2 (en) Method and apparatus of load sharing and improving fault tolerance in an interactive video distribution system
US9451302B2 (en) Fusion device, system and method for implementing internet protocol television service
RU2517382C2 (en) Method and system for data synchronisation in content delivery network
US9226002B2 (en) Method, device and system for realizing broadcast TV
RU2520408C2 (en) Method, apparatus for television service system management in ip data networks and television service system in ip data networks
CN102177690B (en) Methods, systems, and computer readable media for providing sedation service in a telecommunications network
EP1924086B1 (en) Method and system for upgrading distributed set top box and device thereof
WO2017067345A1 (en) Iptv disaster recovery method, apparatus, system, and set-top box
US20090316573A1 (en) System and method for transmitting messages using a redundancy mechanism
US20070239879A1 (en) Method and apparatus for router recovery
CN108600322B (en) Comprehensive video monitoring cloud service system and method based on railway video technical specification
CN101110947B (en) Service scheduling method for interactive television system
CN110417595B (en) Business service disaster tolerance method, device, system, management server and electronic equipment
CN102420868A (en) Service providing method, device and system
CN103152617B (en) A kind of interactive TV long-distance disaster system and method
US7487531B1 (en) Method and apparatus of load sharing and improving fault tolerance in an interactive video distribution system
CN101163230A (en) Method of performing on-site living broadcast and client terminal node preparation through network camera
CN101175200B (en) Method for recovering a video-on-demand session
US9094698B2 (en) Efficient bandwidth utilization
CN101202924B (en) Method and system for redundant fault toleration
WO2017045454A1 (en) Method, device and system for realizing terminal access
US8036141B2 (en) Apparatus and method for managing a network
EP2541832A1 (en) Converged service system and implementation method thereof
CN104935571B (en) A kind of exchange method of video game server-side and client

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: SHENZHEN DRAGON MEDIA CO., LTD.

Free format text: FORMER OWNER: SHENZHEN TONGZHOU ELECTRONIC CO., LTD.

Effective date: 20120417

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20120417

Address after: 518057 Nanshan District hi tech park, Guangdong, North District Rainbow science and Technology Building

Patentee after: Shenzhen Longguan Media Co., Ltd.

Address before: 518057 W2-A7 building, hi tech park, Shennan Avenue, Shenzhen, Guangdong, Nanshan District

Patentee before: Shenzhen Tongzhou Electronic Co., Ltd.

ASS Succession or assignment of patent right

Owner name: SHENZHEN TONGZHOU ELECTRONIC CO., LTD.

Free format text: FORMER OWNER: SHENZHEN LONGSHI MEDIA CO., LTD.

Effective date: 20140519

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20140519

Address after: 518057 rainbow science and Technology Building (North West Road), Nanshan District hi tech Zone, Shenzhen, Guangdong

Patentee after: Shenzhen Tongzhou Electronic Co., Ltd.

Address before: 518057 Nanshan District hi tech park, Guangdong, North District Rainbow science and Technology Building

Patentee before: Shenzhen Longguan Media Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20101201

Termination date: 20160618

CF01 Termination of patent right due to non-payment of annual fee