CN108390781A - A kind of method and system of the automatic Hot Spare of host - Google Patents

A kind of method and system of the automatic Hot Spare of host Download PDF

Info

Publication number
CN108390781A
CN108390781A CN201810145207.6A CN201810145207A CN108390781A CN 108390781 A CN108390781 A CN 108390781A CN 201810145207 A CN201810145207 A CN 201810145207A CN 108390781 A CN108390781 A CN 108390781A
Authority
CN
China
Prior art keywords
host
standby
platform
standby host
dispatch server
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
CN201810145207.6A
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201810145207.6A priority Critical patent/CN108390781A/en
Publication of CN108390781A publication Critical patent/CN108390781A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Abstract

The method and system of the automatic Hot Spare of host of the present invention, mainly use 1+N backup techniques, when hearing host synchronizes video and audio recording, equipment goes wrong abnormal off-line, and platform monitors Host Status in real time, if finding, host goes offline situation, notify related personnel's hostdown, platform will find available standby host by dispatch server, and start the work of take over abnormal host, not influence the operation of regular traffic.It since this process is full automatic, completes in a short period of time, substantially increases the reliability of audio and video video recording storage.The present invention automatic heating for technical guarantee data integrality and continuity.Automatic backup technique is adequately utilized the resource of hearing standby host, ensures the high availability of system on the basis of flexible setting hearing host.

Description

A kind of method and system of the automatic Hot Spare of host
Technical field
Host Hot Spare technical field during handling a case the present invention relates to the administration of justice, specifically, it is automatic to be related to a kind of host The method and system of Hot Spare.
Background technology
During the administration of justice is handled a case, video and audio recording is ensureing that suspect's human rights, specification procuratorial organ handle a case, fix and handle a case It evidence and reduces defendant and withdraws a confession in court etc. and play positive effect, be essential important link.As " science and technology is strong Inspection " is gradually goed deep into, and has increasing need for playing core fight force effect of the science and technology in procuratorial work, tries to explore information technology With the new binding site of procuratorial work.During current case is handled, digitizer has become procuratorial organ's office, does Case, transaction management necessary auxiliary tool, the synchronous record of whole process of case trial process may be implemented in wherein digital trial host Sound is recorded a video.But hearing host once breaks down, and cannot carry out video and audio recording to Interrogation Procedure, personnel in charge of the case is needed to notify Technical staff replaces hearing room again, looks for the idle hearing host that can be worked normally, has seriously affected case handling efficiency, Er Qierong The mood for easily influencing personnel in charge of the case and suspect, is unfavorable for the normal trial of case.
For disadvantage mentioned above, the automatic backup technique of host of the invention may be implemented hearing host be out of order after, it is hot standby examine News host starts the synchronization video recording that case is completed instead of failed host automatically, realizes intelligence, facilitation that host is replaced, It greatly improves work efficiency.
Invention content
After being out of order the purpose of the present invention is to provide a kind of hearing host, hot standby hearing standby host starts automatically replaces failure The method that host completes a kind of automatic Hot Spare of host of the synchronization video recording of case, which is characterized in that include the following steps:
S12:Platform obtains the configuration information of host and standby host by dispatch server;
S14:Standby host is in not running state;
S16:After hostdown, dispatch server enables switching standby host scheme;
S18:Platform opens standby host.
Further, further comprising the steps of before step S12:
S10:Dispatch server logs in host, starts hot standby service.
Further, described to start hot standby service as the service processes under Linux, realize that automatic heating is standby by port mapping Part.
Further, further comprising the steps of before step S16:
S15:Dispatch server persistently carries out fault detect to host.
Further, step S16 includes the following steps:
S161:Dispatch server monitors that host goes offline, and signal is sent to platform;
S162:Confirmation needs after opening standby host, checks standby host operating status, judges whether to meet unlocking condition;
S163:If being unsatisfactory for unlocking condition, continue step S162, if meeting unlocking condition, dispatch server matches host Confidence breath is sent to standby host by agreement.
Further, further comprising the steps of after step S18:
S19:Whether dispatch server monitoring host restores normal, if restoring normal, the information on standby host is uploaded to Host.
Further, step S18 includes the following steps:
S181:Platform is to information present in standby host transmission host and mends quarter instruction
S182:Standby host, which receives the information from host and mends, carves instruction;
S183:Platform sends sign on to standby host, after standby host receives the instruction, opens work;
S184:The information and instruction that standby host is issued according to platform, correct the information in standby host, make standby host and host information one It causes, and is configured.
S185:After standby host receives lower teletype command, downloads file one by one from platform storage server and verify, ensure standby host The integrality of middle data.
S186:Standby host files complete data dish according to quarter instruction is mended.
The invention also discloses a kind of automatic hot backup systems of host, which is characterized in that including a host, two or more Standby host, dispatch server and platform, dispatch server are used for when hostdown can not work, and dispatch other standby hosts on platform Work.
Further, during host work, dispatch server persistently carries out fault detect to host.
Further, the platform includes a platform memory.
Description of the drawings
Fig. 1 is the overall flow figure of the present invention
Fig. 2 is the work flow diagram of platform
Fig. 3 is the work flow diagram of standby host
Fig. 4 is the composition figure of whole system
Specific implementation mode
Technical scheme of the present invention is illustrated below in conjunction with the accompanying drawings, as shown in Figure 1, for the overall flow figure of the present invention, Specifically include following steps:S10:After dispatch server logs in working machine, start hot standby service, it is related to standby host to obtain host Information.Here hot standby service refers to the service processes under the linux of independent research, is mainly used to realize heat by port mapping Standby full automaticity and concealment, is the important bridge communicated between host and standby host, is related to data transmission and status monitoring Important task.S12:When starting to handle a case, dispatch server obtains the configuration information of host and standby host.S14:Standby host is in operation and does not do The state of case.S15:Dispatch server persistently carries out fault detect to host;S16:After hostdown, dispatch server is switched to Standby host, and the configuration information of lower hero of biography machine.S18:Platform opens standby host and handles a case.S19:Whether dispatch server monitoring host restores Normally, if restoring normal, the information on standby host is uploaded to host.
As shown in Fig. 2, above-mentioned steps S16 specifically includes following steps:S161:Dispatch server monitors that host goes offline, Signal is sent to platform;Enable switching standby host scheme.So-called standby host scheme of changing refers to when dispatch server detects that host goes offline When, after thinking that platform PUSH message, client confirmation are backed up, go to check that the operating status of standby host at this time, satisfaction are opened After opening the condition of handling a case, dispatch server can all be sent the configuration informations such as audio and video on the host kept in advance by agreement To standby host.S162:Confirmation needs after opening standby host, checks standby host operating status, judges whether to meet unlocking condition;S163:If It is unsatisfactory for unlocking condition, continues step S162, if meeting unlocking condition, dispatch server sends out host configuration information by agreement It is sent to standby host.Dispatch server handles standby host at this time when hosted, carries out business of normally handling a case.
As shown in figure 3, above-mentioned steps S18 specifically includes following steps:S181:Platform is to present in standby host transmission host Information and benefit carve instruction;It is to carve agreement by communicating the agreement followed between platform and standby host, by platform according to benefit to mend and carve instruction It initiates, imprinting server sends one to standby host and starts agreement of handling a case, and case information is passed to standby host, standby host is made normally to handle a case, Continue imprinting.S182:Standby host receives information and the instruction of benefit quarter from host, record case information and the instruction of benefit quarter, is follow-up Start to handle a case and do homework with imprinting.S183:Platform sends sign on to standby host, after standby host receives the instruction, opens work Make, starts program of handling a case;S184:The information and instruction that standby host is issued according to platform, correct the information in standby host, make standby host and master Machine information is consistent, and is configured.The case information and mend quarter instruction that specially standby host is issued according to platform, correct program of handling a case Information receives the audio and video configuration information that dispatch server transmits, and carry out relevant configuration as the information of identical case, Ensure that video pictures are consistent with original host.S185:It is lower one by one from platform storage server to publish papers after standby host receives lower teletype command Part simultaneously verifies, and ensures the integrality of data in standby host.After specially standby host receives the lower teletype command of video recording, protocol analysis caching is done, According to passing video recording address down, video file is downloaded one by one by ftp from platform storage server and verifying, ensure the whole of standby host The Video Document integrality of a case.S186:Standby host files complete data dish according to quarter instruction is mended.Specially standby host according to It mends and carves instruction by the complete dish of case Video Document for shelves.
As shown in figure 4, being the corresponding system of this patent method, client 1, platform 2, dispatch server 3, master are specifically included Machine 4 and standby host 1 are to N, and wherein N is not less than 2.Concrete operating principle is opposite with the method and step in above-described embodiment with workflow It answers, details are not described herein.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise of not departing from the present invention, several improvements and modifications can also be made, these improvements and modifications also should be regarded as Protection scope of the present invention.In addition, although some specific terms, these terms has been used to be used for the purpose of in this specification Facilitate explanation, does not limit the present invention in any way.

Claims (10)

1. a kind of automatic heat backup method of host, which is characterized in that include the following steps:
S12:Platform obtains the configuration information of host and standby host by dispatch server;
S14:Host normal operation, standby host are in not running state;
S16:After hostdown, dispatch server enables switching standby host scheme;
S18:Platform opens standby host.
2. according to the method described in claim 1, it is characterized in that, further comprising the steps of before step S12:
S10:Dispatch server logs in host and standby host, starts hot standby service, obtains the configuration information of host and standby host.
3. according to the method described in claim 2, it is characterized in that, it is described start it is hot standby service be Linux under service processes, Automatic Hot Spare is realized by port mapping.
4. according to the method described in claim 1, it is characterized in that, further comprising the steps of before step S16:
S15:Dispatch server persistently carries out fault detect to host.
5. according to the method described in claim 4, it is characterized in that:Step S16 includes the following steps:
S161:Dispatch server monitors that host goes offline, and signal is sent to platform;
S162:Confirmation needs after opening standby host, checks standby host operating status, judges whether to meet unlocking condition;
S163:If satisfaction is unsatisfactory for unlocking condition, continue step S162, if meeting unlocking condition, dispatch server matches host Confidence breath is sent to standby host by agreement.
6. according to the method described in claim 1, it is characterized in that:It is further comprising the steps of after step S18:
S19:Whether dispatch server monitoring host restores normal, if restoring normal, the information on standby host is uploaded to host.
7. according to the method described in claim 1, it is characterized in that:Step S18 includes the following steps:
S181:Platform is to information present in standby host transmission host and mends quarter instruction
S182:Standby host, which receives the information from host and mends, carves instruction;
S183:Platform sends sign on to standby host, after standby host receives the instruction, opens work;
S184:The information and instruction that standby host is issued according to platform, correct the information in standby host, keep standby host consistent with host information, And it is configured.
S185:It after standby host receives lower teletype command, downloads file one by one from platform storage server and verifies, ensure to provide in standby host The integrality of material.
S186:Standby host files complete data dish according to quarter instruction is mended.
8. a kind of automatic hot backup system of host, which is characterized in that including a host, two or more standby hosts, dispatch servers And platform, dispatch server are used for when hostdown can not work, dispatch other standby hosts and work on platform.
9. system according to claim 8, which is characterized in that during host work, dispatch server is persistently to host Carry out fault detect.
10. system according to claim 9, which is characterized in that the platform includes a platform memory.
CN201810145207.6A 2018-02-12 2018-02-12 A kind of method and system of the automatic Hot Spare of host Pending CN108390781A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810145207.6A CN108390781A (en) 2018-02-12 2018-02-12 A kind of method and system of the automatic Hot Spare of host

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810145207.6A CN108390781A (en) 2018-02-12 2018-02-12 A kind of method and system of the automatic Hot Spare of host

Publications (1)

Publication Number Publication Date
CN108390781A true CN108390781A (en) 2018-08-10

Family

ID=63068907

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810145207.6A Pending CN108390781A (en) 2018-02-12 2018-02-12 A kind of method and system of the automatic Hot Spare of host

Country Status (1)

Country Link
CN (1) CN108390781A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032849A (en) * 2018-08-30 2018-12-18 百度在线网络技术(北京)有限公司 Hot backup system, heat backup method and computer equipment
CN110830281A (en) * 2018-08-13 2020-02-21 浙江宇视科技有限公司 Hot standby method and system based on mesh network structure
CN113973117A (en) * 2020-07-22 2022-01-25 马上消费金融股份有限公司 Data access method, gateway equipment, server and data access system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103199972A (en) * 2013-03-25 2013-07-10 成都瑞科电气有限公司 Double machine warm backup switching method and warm backup system achieved based on SOA and RS485 bus
CN103944746A (en) * 2013-01-23 2014-07-23 杭州华三通信技术有限公司 Hot standby method and device
CN104158693A (en) * 2014-08-27 2014-11-19 乐视网信息技术(北京)股份有限公司 A method and a system for disaster recovery backup of data service
WO2016101825A1 (en) * 2014-12-25 2016-06-30 中兴通讯股份有限公司 Method and apparatus for hot standby of controllers in distributed protection
CN105812169A (en) * 2014-12-31 2016-07-27 华为软件技术有限公司 Host and standby machine switching method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103944746A (en) * 2013-01-23 2014-07-23 杭州华三通信技术有限公司 Hot standby method and device
CN103199972A (en) * 2013-03-25 2013-07-10 成都瑞科电气有限公司 Double machine warm backup switching method and warm backup system achieved based on SOA and RS485 bus
CN104158693A (en) * 2014-08-27 2014-11-19 乐视网信息技术(北京)股份有限公司 A method and a system for disaster recovery backup of data service
WO2016101825A1 (en) * 2014-12-25 2016-06-30 中兴通讯股份有限公司 Method and apparatus for hot standby of controllers in distributed protection
CN105812169A (en) * 2014-12-31 2016-07-27 华为软件技术有限公司 Host and standby machine switching method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110830281A (en) * 2018-08-13 2020-02-21 浙江宇视科技有限公司 Hot standby method and system based on mesh network structure
CN110830281B (en) * 2018-08-13 2022-06-14 浙江宇视科技有限公司 Hot standby method and system based on mesh network structure
CN109032849A (en) * 2018-08-30 2018-12-18 百度在线网络技术(北京)有限公司 Hot backup system, heat backup method and computer equipment
CN109032849B (en) * 2018-08-30 2021-03-23 百度在线网络技术(北京)有限公司 Hot backup system, hot backup method and computer equipment
US11397647B2 (en) 2018-08-30 2022-07-26 Apollo Intelligent Driving Technology (Beijing) Co., Ltd. Hot backup system, hot backup method, and computer device
CN113973117A (en) * 2020-07-22 2022-01-25 马上消费金融股份有限公司 Data access method, gateway equipment, server and data access system

Similar Documents

Publication Publication Date Title
US9798632B2 (en) Providing boot data in a cluster network environment
CN103226502B (en) A kind of data calamity is for control system and data reconstruction method
US20180253483A1 (en) Apparatus and method for replicating changed-data in source database management system to target database management system in real time
US7467259B2 (en) System and method to protect data stored in a storage system
JP6827501B2 (en) Hot backup system, hot backup method, and computer equipment
CN103460203B (en) cluster unique identifier
JP4528129B2 (en) Method, computer system and program for performing disaster recovery
CN108390781A (en) A kind of method and system of the automatic Hot Spare of host
US8793456B2 (en) Automated migration to a new target volume via merged bitmaps to maintain consistency
US8214584B2 (en) Secure virtual tape management system with early read support options
US8219768B2 (en) System and method for establishing a copy pair relationship between source and destination volumes
CN107015885A (en) Service providing method, system and configuration center when primary standby data storehouse switches
CN101771548A (en) File synchronizing method and system
US20090063486A1 (en) Data replication using a shared resource
CN105389231A (en) Database dual-computer backup method and system
WO2017014814A1 (en) Replicating memory volumes
CN103559188B (en) Metadata management method and management system
CN102325171B (en) Data storage method in monitoring system and system
CN105809047B (en) Data safety exchange system and its method between a kind of heterogeneous networks
JP6370331B2 (en) Method, apparatus and computer program for optimizing data replication in a computer system
WO2012088960A1 (en) Method and system for data disaster tolerance
US7587628B2 (en) System, method and computer program product for copying data
CN110109934A (en) A kind of data base management method, device, server and storage medium
CN115134220B (en) Master-slave server switching method and device, computing equipment and storage medium
KR102294048B1 (en) Method and system for replicating blockchain application service

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: No. 303, building 16, Ying Hua Li, Huayuan East Road, Nankai District, Tianjin 303

Applicant after: Wang Lei

Address before: 100088 Beijing Haidian District Madian East Road 19, Jin Ao international 1825

Applicant before: Wang Lei

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20180810

RJ01 Rejection of invention patent application after publication