CN104980693A - Media service backup method and system - Google Patents

Media service backup method and system Download PDF

Info

Publication number
CN104980693A
CN104980693A CN201410146517.1A CN201410146517A CN104980693A CN 104980693 A CN104980693 A CN 104980693A CN 201410146517 A CN201410146517 A CN 201410146517A CN 104980693 A CN104980693 A CN 104980693A
Authority
CN
China
Prior art keywords
unit
media services
service
backup
adapter
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.)
Pending
Application number
CN201410146517.1A
Other languages
Chinese (zh)
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 ZTE Netview Technology Co Ltd
Original Assignee
Shenzhen ZTE Netview Technology 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 ZTE Netview Technology Co Ltd filed Critical Shenzhen ZTE Netview Technology Co Ltd
Priority to CN201410146517.1A priority Critical patent/CN104980693A/en
Publication of CN104980693A publication Critical patent/CN104980693A/en
Pending legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a media service backup method and a media service backup system. The method comprises the steps as follows: deploying M backup media service units for N main media service units at the side of a video monitoring platform, wherein N is more than M, and N and M are positive integers; operating service management software on all media service units; delivering information to media service in media service unit group by using heartbeat mechanism with service management software; at least selecting one of the backup media service units by taking over an arbitration mechanism to take over the services of the main media service units while the service management software operated on at least one backup media service unit detects that at least one main media service unit is failed. The media service backup system provided by the invention is a highly self-governing backup system. The method and the system of the invention effectively reduce the system risk brought by the fault of the main media service unit, and save hardware resources in terms of a traditional one-to-one back-up service solution.

Description

Media services backup method and system
Technical field
The present invention relates to technical field of video monitoring, in particular to a kind of media services backup method and system.
Background technology
In field of video monitoring, video monitoring platform is generally made up of video media service unit, equipment access unit and central manage-ment unit.External equipment comprises front-end collection unit and client.Under practical application scene, all corresponding physical equipment entity of above-mentioned each unit.
As shown in Figure 1, front-end collection unit is by equipment access unit access monitor supervision platform.Equipment access unit is in charge of front-end collection unit, and on send the authentication request of front-end collection unit, and issue the various requests of monitor supervision platform to front-end collection unit.Central manage-ment unit is responsible for the legitimacy verification of front-end collection unit, and forwards various request to corresponding video media service unit.Video media service unit primary responsibility media rev/min send out and store, therefore in video monitoring system, be expansion require the pith that more and stability requirement is higher.
Traditional media backup scenario normally adopts the mode of two-shipper, thus to ensure the reliability requirement of video media service unit, the program needs to adopt special backup software, and adopting N+N(N >=1) active and standby mode realizes, for each main media services unit (main equipment) needing to ensure, all need to dispose corresponding backup media service unit (alternate device) respectively and back up.Such as, then need deployment 20 alternate devices for 20 main equipments, as can be seen here, traditional media backup scenario compares and expends hardware resource.
In addition, this conventional backup scheme is generally the health status of main equipment active detecting alternate device, and when main equipment breaks down, then whole system can paralyse.
Summary of the invention
Given this, the object of the embodiment of the present invention is to provide a kind of media services backup method and system.
The embodiment of the present invention realizes by the following technical solutions:
A kind of media services backup method, wherein, be that N number of main media services unit disposes M backup media service unit in video monitoring platform side, N > M, and N and M is positive integer, and on all media services unit operation service management software, described Service Management software adopts heartbeat mechanism to release news in media services cell group, when running on the Service Management software detection at least one backup media service unit and breaking down at least one main media services unit, described backup media service unit at least selects one of them realization adapter to this main media services unit business by adapter arbitration mechanism.
Preferably, described media services backup method comprises the configuration step of Service Management software, comprising:
Configuration service group information, described service group packets of information contains identify label ID, the device type information of main media services unit and backup media service unit;
Service group information is handed down to Service Management software all in media services cell group;
Service Management software completes establishment and the startup of respective media service unit according to service group information, and the health status starting external equipment entity detects.
Preferably, described media services backup method also comprises the health examination step of main media services unit, comprising:
The heart-beat protocol at least carrying service token that Service Management software cycle ground is fixed to other equipment entity transmission heart beat cycle in media services cell group;
And, the Service Management software cycle ground of backup media service unit checks the health status of main media services unit in media services cell group, when detecting that at least one main media services unit breaks down, this current backup media service unit is switched to pre-terminated tubulose state and carries out adapter arbitration.
Preferably, the Service Management software of backup media service unit judges that the strategy of the health status of main media services unit in media services cell group is:
In the Service Management software of backup media service unit, adopt the health value of main media services unit in list maintenance media services cell group, wherein, the initial health value of described main media services unit is preset as the T of heart beat cycle doubly, and T is positive integer;
In each proof cycle, the Service Management software as backup media service unit does not receive the heartbeat that corresponding main media services unit sends, then on the basis of current health value, reduce by a heart beat cycle, otherwise, maintain this current health value;
When the health value of certain main media services unit is less than or equal to zero, namely judge that this main media services unit breaks down.
Preferably, the strategy of described adapter arbitration is:
When the Service Management software detection of backup media service unit breaks down at least one main media services unit, in media services cell group, send the pre-adapter agreement of carrying service token, and be switched to pre-terminated tubulose state;
When the Service Management software being in the backup media service unit of pre-terminated tubulose state receives this pre-adapter agreement, take out the service token in agreement, and it is mated with local service token, as local service token be more than or equal to as described in obtain service token, then send pre-adapter in media services cell group of receiveing the response to notify that sender exits pre-terminated tubulose state, self be switched to adapter state simultaneously, wherein, the backup media service unit being in pre-terminated tubulose state in media services cell group switches back to idle condition after getting described pre-adapter and receiveing the response, otherwise, exit pre-terminated tubulose state and switch back to idle condition.
Preferably, the adapter step of described backup media service unit to this main media services unit business comprises:
The Service Management software of backup media service unit sends adapter daily record to central manage-ment unit;
Central manage-ment unit is according to this adapter daily record more new routing information.
Preferably, when the Service Management software of backup media service unit sends adapter daily record to central manage-ment unit, in media services cell group, the heartbeat of carrying by the main media services unit id information of adapter is issued.
Preferably, described media services backup method also comprises the recovering step of main media services unit, comprising:
The Service Management software being in the backup media service unit of adapter state, when getting by the heart-beat protocol of the main media services unit transmission of adapter, exits adapter state and is switched to idle condition;
The Service Management software of this backup media service unit will exit adapter daily record and be updated to central manage-ment unit, to notify that central manage-ment unit exits adapter information updating routing iinformation accordingly.
A kind of media services standby system, comprising:
N number of main media services unit being in video monitoring platform side;
To M backup media service unit of the corresponding deployment of described N number of main media services unit, N > M, and N and M is positive integer, wherein, operation service management software on all media services unit, described Service Management software adopts heartbeat mechanism to release news in media services cell group, when running on the Service Management software detection at least one backup media service unit and breaking down at least one main media services unit, described backup media service unit at least selects one of them realization adapter to this main media services unit business by adapter arbitration mechanism.
Preferably, the Service Management software of backup media service unit judges that the strategy of the health status of main media services unit in media services cell group is:
In the Service Management software of backup media service unit, adopt the health value of main media services unit in list maintenance media services cell group, wherein, the initial health value of described main media services unit is preset as the T of heart beat cycle doubly, and T is positive integer;
In each proof cycle, the Service Management software as backup media service unit does not receive the heartbeat that corresponding main media services unit sends, then on the basis of current health value, reduce by a heart beat cycle, otherwise, maintain this current health value;
When the health value of certain main media services unit is less than or equal to zero, namely judge that this main media services unit breaks down.
Preferably, the strategy of described adapter arbitration is:
When the Service Management software detection of backup media service unit breaks down at least one main media services unit, in media services cell group, send the pre-adapter agreement of carrying service token, and be switched to pre-terminated tubulose state;
When the Service Management software being in the backup media service unit of pre-terminated tubulose state receives this pre-adapter agreement, take out the service token in agreement, and it is mated with local service token, as local service token be more than or equal to as described in obtain service token, then send pre-adapter in media services cell group of receiveing the response to notify that sender exits pre-terminated tubulose state, self be switched to adapter state simultaneously, wherein, the backup media service unit being in pre-terminated tubulose state in media services cell group switches back to idle condition after getting described pre-adapter and receiveing the response, otherwise, exit pre-terminated tubulose state and switch back to idle condition.
As can be seen from technique scheme, compared with prior art the embodiment of the present invention proposes the N+M backup scenario of video media service unit, in order to complete scheme, in each video media service element entity, a Service Management software has been run in the embodiment of the present invention, be responsible for safeguarding media services unit, it is managed for configuration, health examination, adapter arbitration and state switch.
In this backup scenario, M platform backup media service unit can detect the health status of main media services unit, when detecting that certain main media services unit breaks down and occurs multiple backup media service unit to corresponding main media services unit adapter, need to determine finally by which backup media service unit taken over through certain adapter arbitration mechanism.When main media services unit recovers, the backup media service unit taking over its business can detect its recovery situation and automatically exit adapter state, thus media services standby system provided by the invention is the standby system of a high degree of autonomy, significantly reduce the system risk that main media services cell failure brings.
And in this system, have N number of main media services unit and M backup media service unit, N is greater than M, by above-mentioned adapter arbitration mechanism, a backup media service unit is optionally for the main media services unit of multiple stage provides backup services, and relatively traditional man-to-man backup services scheme can save hardware resource.
Accompanying drawing explanation
Fig. 1 is the backup scenario networking diagram of traditional video surveillance system;
The media services standby system networking diagram that Fig. 2 provides for the embodiment of the present invention;
The backup media service unit adapter schematic flow sheet that Fig. 3 provides for the embodiment of the present invention;
The backup media service unit state transition schematic diagram that Fig. 4 provides for the embodiment of the present invention;
The recovery schematic flow sheet of the backup media service unit that Fig. 5 provides for the embodiment of the present invention.
The realization of the object of the invention, functional characteristics and excellent effect, be described further below in conjunction with specific embodiment and accompanying drawing.
Embodiment
Below in conjunction with the drawings and specific embodiments, technical scheme of the present invention is described in further detail, can better understand the present invention to make those skilled in the art and can be implemented, but illustrated embodiment is not as a limitation of the invention.
Embodiments provide a kind of media services backup method, wherein, be that N number of main media services unit disposes M backup media service unit in video monitoring platform side, N > M, and N and M is positive integer, and on all media services unit operation service management software, described Service Management software adopts heartbeat mechanism to release news in media services cell group, when running on the Service Management software detection at least one backup media service unit and breaking down at least one main media services unit, described backup media service unit at least selects one of them realization adapter to this main media services unit business by adapter arbitration mechanism.
Fig. 2 is the schematic diagram of the media services standby system network element composition that the embodiment of the present invention relates to.As shown in Figure 2, the media services standby system that the embodiment of the present invention provides comprises client, central manage-ment unit, N platform media services unit (main equipment) and M platform backup media service unit (alternate device), should be appreciated that described media services standby system also comprises equipment access unit and front-end collection unit.N platform main equipment and M platform alternate device form a media services cell group (working group).Operation service management software above main equipment and alternate device, is responsible for configuration management, health examination, adapter arbitration and state and switches.Wherein, client is established to signaling flow between main equipment or alternate device by central manage-ment unit.And issue working group's relation by signaling flow, and start working group.
Described main media services unit business refers to the practical business that its current administrative institute according to central manage-ment unit is performing, the media interviews business initiated by client as user or the media store business etc. initiated front-end collection unit active/passive.
For client-requested media services, under normal circumstances, during client-requested media services, central manage-ment unit points to the route of corresponding certain main equipment by returning, and sets up Media Stream by client and this equipment, and equipment provides media services for client thus.
When corresponding main equipment break down need taken over by alternate device time, alternate device will be established to the signaling flow of central manage-ment unit, and revise the routing iinformation in central manage-ment unit.Now, during client-requested media services, central manage-ment unit points to the route of alternate device by returning, client will set up Media Stream with alternate device, by alternate device for client provides media services.
When main equipment recovers, central manage-ment unit recovers initial route automatically, and the media service request of client is responded by main equipment again.
The wherein adapter that reports of alternate device and recover agreement, can upgrade the routing iinformation that user asks to be correlated with.In the present embodiment, alternate device produces the flow process of adapter as shown in Figure 3.Alternate device will in IDLE(idle condition), PreTakeover(pre-terminated tubulose state) and Takeovered(adapter state) move in three kinds of states.In the present embodiment, its state conversion process as shown in Figure 4.
The workflow that the business of alternate device to main equipment take over is introduced below in conjunction with flow chart as shown in Figure 3.
First, after the Service Management software startup of alternate device, alternate device enters IDLE state, and triggering one-period is the timer of T, and following steps all process in timer period.
Step 301: alternate device Service Management software sends the heartbeat of alternate device in working group.
In the present embodiment, can multicast be adopted, or adopt the multicast of multicast spirit to complete heartbeat, all be encompassed in Interest demands of the present invention.Heartbeat content comprises the characteristic information of alternate device, comprises device id, device type, message SN, service token etc.If alternate device is in adapter state (Takeovered), in heartbeat message, also comprise the id information of the main equipment of its adapter.
Step 302: alternate device Service Management software checks the main equipment health degree in working group.
In alternate device Service Management software, adopt the health value of main equipment in list maintenance group.Healthy initial value as main equipment is 5 heart beat cycles (5T), and alternate device receives once the heartbeat message of this main equipment, just the health value of this main equipment is reset to 5T.Do not receive the heartbeat message of certain main equipment in this period, then its health value is subtracted T.When certain main equipment health value is equal to or less than 0, think that this main equipment is unhealthy, alternate device will be taken over it.
Judge 1: alternate device Service Management software checks service list, whether there is unsound main equipment.
When judging that 1 as fictitious time, jumps out this timer period, wait for that next timer period arrives.When judging that 1 as true time, alternate device enters PreTakeover state, enters step 303.
Step 303: alternate device Service Management software sends adapter notice in advance in service group.
In this step, first unsound main equipment that alternate device is chosen in list is taken over.Transmission adapter agreement in advance in working group, the synchronous time waiting for one-period T.The pre-adapter agreement sent is with service token.When alternate device is in pre-terminated tubulose state, when receiving the pre-adapter agreement of other alternate devices, if replace the pre-adapter agreement of same main equipment, and time less than the service token of oneself, need to respond its pre-adapter agreement to allow it exit pre-terminated tubulose state, otherwise do not need to respond, certainly, be understood that also can respond in certain embodiments self exit pre-terminated tubulose state exit adapter agreement in advance.
Judge 2: whether the pre-adapter agreement that alternate device is initiated has response.
Alternate device waits for a heart beat cycle T, if without response, then enters step 304.If there is response, enter judgement 3.
Judge 3: compare the token of response protocol and the local token of alternate device.
When responding token and being more than or equal to local token, enter step 305, when response token hour, enter step 304.
Step 304: alternate device performs adapter action, central manage-ment unit upgrades route.
In this step, alternate device will send adapter daily record to central manage-ment unit.Central manage-ment unit is responsible for upgrading relevant equipment route, record adapter daily record.Alternate device arranges corresponding adapter information, and self is set to Takeovered state, also needs the heartbeat being sent completely adapter immediately simultaneously, avoids other alternate device again to enter adapter to this main equipment.
Step 305: alternate device exits pre-terminated tubulose state.
In this step, self is set to IDLE state by alternate device, then exits timer period, waits for that next timer period arrives.
With reference to figure 5, it illustrates the embodiment that alternate device exits adapter.
When main equipment recovers, there is alternate device and taken over this main equipment, will resource contention have been there will be in this case.In addition, during the alternate device B1 network interruption of adapter main equipment, have new alternate device B2 and again take over, when B1 network recovery, also will occur resource contention.First with reference to the Restoration Mechanism flow chart of Fig. 5, introducing alternate device when main equipment recovers one by one in detail, to exit the concrete steps of adapter as follows:
First, the alternate device being in adapter state receives the heartbeat data sended over of work group member, enters step 501.
Step 501: the heart-beat protocol data that the process of alternate device Service Management software receives.
In this step, the heart-beat protocol data received have two kinds: a kind of irrelevant with adapter main equipment, are the health maintenance heartbeats of other equipment, upgrade corresponding health value; Another kind is correlated with adapter main equipment, and according to transmission device types, corresponding two spike-type cultivars race condition above, now enters judgement 1 respectively.
Judge 1: for the heart-beat protocol identical with alternate device adapter main equipment ID, whether the device type obtaining heart-beat protocol promoter is main equipment.
When being judged to be true time, represent main service recovery, backup services unconditionally exits adapter, enters step 502.When being judged to be fictitious time, expression is that the alternate device of adapter state recovers, and enters judgement 2 and arbitrates.
Step 502: alternate device Service Management software stops local adapter, and revising local state is IDLE state.
In this step, need revise alternate device state is IDLE, and transmission exits adapter order to central manage-ment unit, and performs the order that alternate device exits adapter.
Judge 2: whether the local token of alternate device Service Management software is greater than receives heart-beat protocol token.
Judge that 2 as fictitious time, represent local token large, need to notify that the alternate device that token is little exits adapter, enter step 503.Judge that 2 as fictitious time, represents local token hour, directly enters step 502, stop the adapter of local device.
Step 503: alternate device Service Management software sends heartbeat and responds.
In this step, response notification heartbeat sender is carried out for the heart-beat protocol alternate device received and exit adapter.
So far, backup scenario completes.
In each video media service element entity, run a Service Management software in the embodiment of the present invention, be responsible for safeguarding media services unit, it is managed for configuration, health examination, adapter arbitration and state switched.M platform backup media service unit can detect the health status of main media services unit, when detecting that certain main media services unit breaks down and occurs multiple backup media service unit to corresponding main media services unit adapter, need to determine finally by which backup media service unit taken over through certain adapter arbitration mechanism.When main media services unit recovers, the backup media service unit taking over its business can detect its recovery situation and automatically exit adapter state, thus media services standby system provided by the invention is the standby system of a high degree of autonomy, significantly reduce the system risk that main media services cell failure brings.
And this system is by above-mentioned adapter arbitration mechanism, a backup media service unit is optionally for the main media services unit of multiple stage provides backup services, and relatively traditional man-to-man backup services scheme can save hardware resource.
Correspondingly, the embodiment of the present invention additionally provides a kind of media services standby system, continues shown in Figure 2, comprising:
N number of main media services unit being in video monitoring platform side;
To M backup media service unit of the corresponding deployment of described N number of main media services unit, N > M, and N and M is positive integer, wherein, operation service management software on all media services unit, described Service Management software adopts heartbeat mechanism to release news in media services cell group, when running on the Service Management software detection at least one backup media service unit and breaking down at least one main media services unit, described backup media service unit at least selects one of them realization adapter to this main media services unit business by adapter arbitration mechanism.
In the present embodiment, need the Service Management software to described media services standby system runs on all media services unit to be configured, its configuration flow comprises:
Step 11, configuration service group information, described service group packets of information contains identify label ID, the device type information of main media services unit and backup media service unit;
Step 12, service group information is handed down to Service Management software all in media services cell group;
Step 13, Service Management software complete establishment and the startup of respective media service unit according to service group information, and the health status starting external equipment entity detects.
In the present embodiment, the flow process that the health of described backup media service unit to main media services unit checks comprises:
The heart-beat protocol at least carrying service token that step 21, Service Management software cycle ground is fixed to other equipment entity transmission heart beat cycle in media services cell group;
Step 22 and, the Service Management software cycle ground of backup media service unit checks the health status of main media services unit in media services cell group, when detecting that at least one main media services unit breaks down, this current backup media service unit is switched to pre-terminated tubulose state and carries out adapter arbitration.
In the present embodiment, the Service Management software of backup media service unit judges that the strategy of the health status of main media services unit in media services cell group is:
Step 31, in the Service Management software of backup media service unit, adopt the health value of main media services unit in list maintenance media services cell group, wherein, the initial health value of described main media services unit is preset as the T of heart beat cycle doubly, and T is positive integer;
Step 32, in each proof cycle, the Service Management software as backup media service unit does not receive the heartbeat that corresponding main media services unit sends, then on the basis of current health value, reduce by a heart beat cycle, otherwise, maintain this current health value;
Step 33, when the health value of certain main media services unit is less than or equal to zero, namely judge that this main media services unit breaks down.
In the present embodiment, the strategy of described adapter arbitration is:
Step 41, when the Service Management software detection of backup media service unit breaks down at least one main media services unit, send in media services cell group and carry the pre-adapter agreement of service token, and be switched to pre-terminated tubulose state;
Step 42, when the Service Management software being in the backup media service unit of pre-terminated tubulose state receives this pre-adapter agreement, take out the service token in agreement, and it is mated with local service token, as local service token be more than or equal to as described in obtain service token, then send pre-adapter in media services cell group of receiveing the response to notify that sender exits pre-terminated tubulose state, self be switched to adapter state simultaneously, wherein, the backup media service unit being in pre-terminated tubulose state in media services cell group switches back to idle condition after getting described pre-adapter and receiveing the response, otherwise, exit pre-terminated tubulose state and switch back to idle condition.
In the present embodiment, the adapter flow process of described backup media service unit to this main media services unit business comprises:
The Service Management software of step 51, backup media service unit sends adapter daily record to central manage-ment unit;
Step 52, central manage-ment unit are according to this adapter daily record more new routing information.
In described step 51, when the Service Management software of backup media service unit sends adapter daily record to central manage-ment unit, in media services cell group, issue the heartbeat of carrying by the main media services unit id information of adapter.
In the present embodiment, the recovery flow process that described media services backup method also comprises main media services unit comprises:
Step 61, being in the Service Management software of backup media service unit of adapter state when getting the heart-beat protocol sent by the main media services unit of adapter, exiting adapter state and being switched to idle condition;
The Service Management software of step 62, this backup media service unit will exit adapter daily record and be updated to central manage-ment unit, to notify that central manage-ment unit exits adapter information updating routing iinformation accordingly.
The foregoing is only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (11)

1. a media services backup method, it is characterized in that, be that N number of main media services unit disposes M backup media service unit in video monitoring platform side, N > M, and N and M is positive integer, and on all media services unit operation service management software, described Service Management software adopts heartbeat mechanism to release news in media services cell group, when running on the Service Management software detection at least one backup media service unit and breaking down at least one main media services unit, described backup media service unit at least selects one of them realization adapter to this main media services unit business by adapter arbitration mechanism.
2. media services backup method as claimed in claim 1, it is characterized in that, described method comprises the configuration step of Service Management software, comprising:
Configuration service group information, described service group packets of information contains identify label ID, the device type information of main media services unit and backup media service unit;
Service group information is handed down to Service Management software all in media services cell group;
Service Management software completes establishment and the startup of respective media service unit according to service group information, and the health status starting external equipment entity detects.
3. media services backup method as claimed in claim 2, it is characterized in that, described method also comprises the health examination step of main media services unit, comprising:
The heart-beat protocol at least carrying service token that Service Management software cycle ground is fixed to other equipment entity transmission heart beat cycle in media services cell group;
And, the Service Management software cycle ground of backup media service unit checks the health status of main media services unit in media services cell group, when detecting that at least one main media services unit breaks down, this current backup media service unit is switched to pre-terminated tubulose state and carries out adapter arbitration.
4. media services backup method as claimed in claim 3, it is characterized in that, the Service Management software of backup media service unit judges that the strategy of the health status of main media services unit in media services cell group is:
In the Service Management software of backup media service unit, adopt the health value of main media services unit in list maintenance media services cell group, wherein, the initial health value of described main media services unit is preset as the T of heart beat cycle doubly, and T is positive integer;
In each proof cycle, the Service Management software as backup media service unit does not receive the heartbeat that corresponding main media services unit sends, then on the basis of current health value, reduce by a heart beat cycle, otherwise, maintain this current health value;
When the health value of certain main media services unit is less than or equal to zero, namely judge that this main media services unit breaks down.
5. the media services backup method as described in claim 1 or 3, is characterized in that, the strategy of described adapter arbitration is:
When the Service Management software detection of backup media service unit breaks down at least one main media services unit, in media services cell group, send the pre-adapter agreement of carrying service token, and be switched to pre-terminated tubulose state;
When the Service Management software being in the backup media service unit of pre-terminated tubulose state receives this pre-adapter agreement, take out the service token in agreement, and it is mated with local service token, as local service token be more than or equal to as described in obtain service token, then send pre-adapter in media services cell group of receiveing the response to notify that sender exits pre-terminated tubulose state, self be switched to adapter state simultaneously, wherein, the backup media service unit being in pre-terminated tubulose state in media services cell group switches back to idle condition after getting described pre-adapter and receiveing the response, otherwise, exit pre-terminated tubulose state and switch back to idle condition.
6. media services backup method as claimed in claim 1, it is characterized in that, the adapter step of described backup media service unit to this main media services unit business comprises:
The Service Management software of backup media service unit sends adapter daily record to central manage-ment unit;
Central manage-ment unit is according to this adapter daily record more new routing information.
7. media services backup method as claimed in claim 6, it is characterized in that, when the Service Management software of backup media service unit sends adapter daily record to central manage-ment unit, in media services cell group, issue the heartbeat of carrying by the main media services unit id information of adapter.
8. media services backup method as claimed in claim 1, it is characterized in that, described method also comprises the recovering step of main media services unit, comprising:
The Service Management software being in the backup media service unit of adapter state, when getting by the heart-beat protocol of the main media services unit transmission of adapter, exits adapter state and is switched to idle condition;
The Service Management software of this backup media service unit will exit adapter daily record and be updated to central manage-ment unit, to notify that central manage-ment unit exits adapter information updating routing iinformation accordingly.
9. a media services standby system, is characterized in that, comprising:
N number of main media services unit being in video monitoring platform side;
To M backup media service unit of the corresponding deployment of described N number of main media services unit, N > M, and N and M is positive integer, wherein, operation service management software on all media services unit, described Service Management software adopts heartbeat mechanism to release news in media services cell group, when running on the Service Management software detection at least one backup media service unit and breaking down at least one main media services unit, described backup media service unit at least selects one of them realization adapter to this main media services unit business by adapter arbitration mechanism.
10. media services standby system as claimed in claim 9, it is characterized in that, the Service Management software of backup media service unit judges that the strategy of the health status of main media services unit in media services cell group is:
In the Service Management software of backup media service unit, adopt the health value of main media services unit in list maintenance media services cell group, wherein, the initial health value of described main media services unit is preset as the T of heart beat cycle doubly, and T is positive integer;
In each proof cycle, the Service Management software as backup media service unit does not receive the heartbeat that corresponding main media services unit sends, then on the basis of current health value, reduce by a heart beat cycle, otherwise, maintain this current health value;
When the health value of certain main media services unit is less than or equal to zero, namely judge that this main media services unit breaks down.
11. media services standby systems as claimed in claim 9, is characterized in that, the strategy of described adapter arbitration is:
When the Service Management software detection of backup media service unit breaks down at least one main media services unit, in media services cell group, send the pre-adapter agreement of carrying service token, and be switched to pre-terminated tubulose state;
When the Service Management software being in the backup media service unit of pre-terminated tubulose state receives this pre-adapter agreement, take out the service token in agreement, and it is mated with local service token, as local service token be more than or equal to as described in obtain service token, then send pre-adapter in media services cell group of receiveing the response to notify that sender exits pre-terminated tubulose state, self be switched to adapter state simultaneously, wherein, the backup media service unit being in pre-terminated tubulose state in media services cell group switches back to idle condition after getting described pre-adapter and receiveing the response, otherwise, exit pre-terminated tubulose state and switch back to idle condition.
CN201410146517.1A 2014-04-11 2014-04-11 Media service backup method and system Pending CN104980693A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410146517.1A CN104980693A (en) 2014-04-11 2014-04-11 Media service backup method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410146517.1A CN104980693A (en) 2014-04-11 2014-04-11 Media service backup method and system

Publications (1)

Publication Number Publication Date
CN104980693A true CN104980693A (en) 2015-10-14

Family

ID=54276737

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410146517.1A Pending CN104980693A (en) 2014-04-11 2014-04-11 Media service backup method and system

Country Status (1)

Country Link
CN (1) CN104980693A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106385334A (en) * 2016-09-20 2017-02-08 携程旅游信息技术(上海)有限公司 Call-center system and abnormality detection and self-recovery method therefor
WO2017107110A1 (en) * 2015-12-23 2017-06-29 华为技术有限公司 Service take-over method and storage device, and service take-over apparatus
CN106954064A (en) * 2017-03-20 2017-07-14 华平智慧信息技术(深圳)有限公司 Monitor the Fault Locating Method and system of cloud platform
CN107231333A (en) * 2016-03-24 2017-10-03 中兴通讯股份有限公司 The method of media server backup, apparatus and system
CN108762688A (en) * 2018-06-06 2018-11-06 北京世纪东方通讯设备有限公司 A kind of media stream storage method and device for video monitoring system
CN110534136A (en) * 2018-05-23 2019-12-03 北京京东尚科信息技术有限公司 The method and apparatus of recording
WO2023040325A1 (en) * 2021-09-14 2023-03-23 中兴通讯股份有限公司 Conference system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1464396A (en) * 2002-06-27 2003-12-31 深圳市中兴通讯股份有限公司 Method for realizing backup between servers
CN101079747A (en) * 2007-07-18 2007-11-28 优网通国际资讯股份有限公司 Multi-host hot swap system and fault tolerance method
US20080183897A1 (en) * 2007-01-31 2008-07-31 International Business Machines Corporation Employing configuration information to determine the role of a server in a coordinated timing network
CN101873223A (en) * 2010-05-27 2010-10-27 天讯瑞达通信技术有限公司 N+M service backup mechanism based on IP switching

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1464396A (en) * 2002-06-27 2003-12-31 深圳市中兴通讯股份有限公司 Method for realizing backup between servers
US20080183897A1 (en) * 2007-01-31 2008-07-31 International Business Machines Corporation Employing configuration information to determine the role of a server in a coordinated timing network
CN101079747A (en) * 2007-07-18 2007-11-28 优网通国际资讯股份有限公司 Multi-host hot swap system and fault tolerance method
CN101873223A (en) * 2010-05-27 2010-10-27 天讯瑞达通信技术有限公司 N+M service backup mechanism based on IP switching

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10705930B2 (en) 2015-12-23 2020-07-07 Huawei Technologies Co., Ltd. Service takeover method, storage device, and service takeover apparatus
WO2017107110A1 (en) * 2015-12-23 2017-06-29 华为技术有限公司 Service take-over method and storage device, and service take-over apparatus
US11740982B2 (en) 2015-12-23 2023-08-29 Huawei Technologies Co., Ltd. Service takeover method, storage device, and service takeover apparatus
US11347603B2 (en) 2015-12-23 2022-05-31 Huawei Technologies Co., Ltd. Service takeover method, storage device, and service takeover apparatus
CN109496401B (en) * 2015-12-23 2021-01-05 华为技术有限公司 Service takeover method, storage device and service takeover device
CN109496401A (en) * 2015-12-23 2019-03-19 华为技术有限公司 A kind of service take-over method, storage equipment and service take-over device
CN107231333A (en) * 2016-03-24 2017-10-03 中兴通讯股份有限公司 The method of media server backup, apparatus and system
CN106385334B (en) * 2016-09-20 2019-06-18 携程旅游信息技术(上海)有限公司 Call center system and its abnormality detection and self-recovery method
CN106385334A (en) * 2016-09-20 2017-02-08 携程旅游信息技术(上海)有限公司 Call-center system and abnormality detection and self-recovery method therefor
CN106954064A (en) * 2017-03-20 2017-07-14 华平智慧信息技术(深圳)有限公司 Monitor the Fault Locating Method and system of cloud platform
CN110534136A (en) * 2018-05-23 2019-12-03 北京京东尚科信息技术有限公司 The method and apparatus of recording
CN110534136B (en) * 2018-05-23 2022-02-01 北京京东尚科信息技术有限公司 Recording method and device
CN108762688A (en) * 2018-06-06 2018-11-06 北京世纪东方通讯设备有限公司 A kind of media stream storage method and device for video monitoring system
WO2023040325A1 (en) * 2021-09-14 2023-03-23 中兴通讯股份有限公司 Conference system

Similar Documents

Publication Publication Date Title
CN104980693A (en) Media service backup method and system
CN103744809B (en) Vehicle information management system double hot standby method based on VRRP
JP3554472B2 (en) Method and apparatus for managing processor domain members in a distributed computer environment
CN105095008B (en) A kind of distributed task scheduling fault redundance method suitable for group system
CN103684941B (en) Cluster based on arbitrating server splits brain preventing method and device
CN105187249B (en) A kind of fault recovery method and device
CN106656589B (en) A kind of server dual-machine hot backup system
CN109474465A (en) A kind of method and system of the high availability that can dynamically circulate based on server cluster
CN102394914A (en) Cluster brain-split processing method and device
US8880703B2 (en) Address distribution method, device and system thereof
KR101408037B1 (en) Virtual Machine Integration Monitoring Apparatus and method for Cloud system
CN104317803B (en) The data access arrangement and method of data-base cluster
CN103780407A (en) Gateway dynamic switching method and apparatus in distributed resilient network interconnection (DRNI)
CN104378232A (en) Schizencephaly finding and recovering method and device under main joint and auxiliary joint cluster networking mode
WO2019128670A1 (en) Method and apparatus for enabling self-recovery of management capability in distributed system
CN105915426B (en) The fault recovery method and device of loop network
CN107276839A (en) A kind of cloud platform from monitoring method and system
CN101610188A (en) Sip server restoring method of service process fault and sip server
CN103490914A (en) Switching system and switching method for multi-machine hot standby of network application equipment
CN102104893A (en) Method, device and wireless access point equipment for realizing hot backup of wireless controller
CN102957623A (en) Maintenance method and equipment of neighborhood of border gate protocol
CN103812697B (en) The strange disaster recovery method and system of a kind of distributed communication network
EP2426861B1 (en) Method and apparatus for detecting ethernet operation, administration and maintenance (oam)
CN103152420B (en) A kind of method avoiding single-point-of-failofe ofe Ovirt virtual management platform
KR101233607B1 (en) Method for managing path of osek networks

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20151014

RJ01 Rejection of invention patent application after publication