CN103077242A - Method for hot standby of dual database servers - Google Patents
Method for hot standby of dual database servers Download PDFInfo
- Publication number
- CN103077242A CN103077242A CN2013100112816A CN201310011281A CN103077242A CN 103077242 A CN103077242 A CN 103077242A CN 2013100112816 A CN2013100112816 A CN 2013100112816A CN 201310011281 A CN201310011281 A CN 201310011281A CN 103077242 A CN103077242 A CN 103077242A
- Authority
- CN
- China
- Prior art keywords
- standby
- database
- data
- active
- database 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.)
- Granted
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Hardware Redundancy (AREA)
Abstract
The invention provides a method for the hot standby of dual database servers in the technical field of database systems. A system comprises an active database server and a standby database server. The two servers perform regular handshake, master-slave negotiation, data access and data synchronization through a synchronization network port. A server network port of the active database server employs a virtual Internet protocol (IP) address to externally provide server service, and a service network port of the standby database server does not externally provide database service. A database client accesses the active database server through the virtual IP address by adopting a transmission control protocol (TCP). A flexibly selectable real-time/quasi-real-time database synchronization mechanism, a comprehensive data consistency detection method for the active and standby database servers and a selectable data consistency recovery means are provided by the invention.
Description
Technical field
The invention belongs to the Database Systems technical field, particularly a kind of method of database server two-node cluster hot backup.
Background technology
Database two-node cluster hot backup technology mainly contains several types at present:
(1) based on the double-machine standby technology of standby usage server shared storage device
The shortcoming of this scheme is because sharing storage equipment, therefore is not easy to realize physically disaster tolerance and backup.
(2) the standby usage database replication technology of Log-based
Although what this scheme can fulfillment database copying and backing up, and can not guarantee the consistance of database, can not in time find the inconsistent situation of data that the standby usage database exists.
(3) based on the database redundancy redundancy technique of Clustering
Although this scheme is relatively perfect, shortcoming is that entity is many, disposes and safeguard more complicated, and implementation cost is also higher.
In addition, above-mentioned several schemes often can not in time be found the inconsistent situation of standby usage database, thereby can not provide in time alarm and processing.
Summary of the invention
The present invention is directed to the method that defects discloses the two-node cluster hot backup of a kind of fulfillment database server, it is characterized in that: this database server Dual-Computer Hot-Standby System comprises primary database server and standby database server; Between described two servers by synchronous network interface carry out that timing is shaken hands, master-slave negotiation, active and standby switching, data access and real time data be synchronous, wherein the service network port of primary database server uses virtual ip address that database service externally is provided, the service network port of standby host does not externally provide database service, database client passes through virtual ip address, adopt Transmission Control Protocol to access primary database server
Timing between the described active and standby machine is shaken hands and active and standby switching flow comprises the steps:
Step 1 sends handshake information by synchronous network interface per second between the active and standby machine, and handshake information adopts udp protocol to transmit, and the handshake information content comprises the network ip address of self standby usage state and synchronous network interface;
Step 2 was not received the handshake information that main frame sends in continuous five seconds when standby host, perhaps received primaryly when reducing to message for subsequent use, and standby host namely switches to master state;
Step 3, when occurring two-shipper simultaneously as the situation of main computer, the less server in network interface IP address is reduced to for subsequent use synchronously;
The synchronous flow process of described data access and real time data comprises the steps:
Step 1 by synchronous network interface, adopts Transmission Control Protocol to carry out the data synchronous communication between the active and standby machine;
Step 2, when receiving the data storage request of database client, when only having active and standby machine all correctly to finish database manipulation, primary database just returns successfully to client, otherwise return failure, produce simultaneously " the standby usage database data is inconsistent " alarm, in this step, correctness for the operation of active and standby machine data storehouse is to finish by the data consistency that detects active and standby machine
Step 3, primary database is made regular check on not synchronous data-base recording, and it is synchronous to re-start data.
In order to realize goal of the invention of the present invention, the present invention also provides the method for a kind of fulfillment database server two-node cluster hot backup, it is characterized in that: this database server Dual-Computer Hot-Standby System comprises primary database server and standby database server, carrying out timing by synchronous network interface between described two servers shakes hands, master-slave negotiation, active and standby switching, data access and quasi real time data are synchronous, wherein the service network port of primary database server uses virtual ip address that database service externally is provided, the service network port of standby host does not externally provide database service, database client passes through virtual ip address, adopt Transmission Control Protocol to access primary database server
Timing between the described active and standby machine is shaken hands and active and standby switching flow comprises the steps:
Step 1 sends handshake information by synchronous network interface per second between the active and standby machine, and handshake information adopts udp protocol to transmit, and the handshake information content comprises the network ip address of self standby usage state and synchronous network interface;
Step 2 was not received the handshake information that main frame sends in continuous five seconds when standby host, perhaps received primaryly when reducing to message for subsequent use, and standby host namely switches to master state;
Step 3, when occurring two-shipper simultaneously as the situation of main computer, the less server in network interface IP address is reduced to for subsequent use synchronously;
Described data access and quasi real time the synchronous flow process of data comprise the steps:
Step 1 by synchronous network interface, adopts Transmission Control Protocol to carry out the data synchronous communication between the active and standby machine;
Step 2, when receiving the data storage request of database client, as long as primary database server correctly finishes database manipulation, this is recorded as not synchronously with tense marker, and main frame just returns successfully to database client;
Step 3, main frame sends the data synch command to standby host, finishes the database synchronization operation when standby host, and when returning successfully, main frame is denoted as this record synchronous;
Step 4, when standby host return data storehouse synchronization failure, then main frame produces " the standby usage database data is inconsistent " alarm;
Step 5, primary database is made regular check on not synchronous data-base recording, and it is synchronous to re-start data;
Step 6, in above-mentioned steps three and four, the correctness that operates for active and standby machine data storehouse is to finish by the data consistency that detects active and standby machine.
The data's consistency of described active and standby machine detects and comprises the steps:
Step 1 when primary database server operates successfully, and during the standby database operation failure, produces " the standby usage database is inconsistent " alarm;
Step 2, standby usage database server are regularly carried out segmentation with all data-base recordings according to the rule of prior setting, to segmentation calculation check code, by contrasting the check code of active and standby machine, find the inconsistent situation of data;
Wherein, hashing algorithm is adopted in the calculating of check code.
Step 3 when the inconsistent situation of data occurring, produces " the standby usage database is inconsistent " alarm.
Described when producing the inconsistent alarm of standby usage database, the step that adopts the data of primary database to cover standby database is fully carried out the standby usage data's consistency and is recovered.
Described when producing the inconsistent alarm of standby usage database, employing is carried out the recovery of standby usage data's consistency with the step that the data in the standby database merge to primary database, thereby reach the consistent purpose of standby usage database, and can not cause loss of data, wherein, the data union operation comprises already present record is upgraded operation, and non-existent record is carried out update.
Therefore, a kind of reliable database two-node cluster hot backup mechanism that provides is provided the beneficial effect that can obtain in real time of the present invention, but provide in real time/quasi real time database synchronization mechanism of flexible choice, reliable real time data synchronization mechanism both can be provided, quasi real time data synchronous operation can be provided again, therefore data access reliability and data access performance can be taken into account.Simultaneously, the data consistency detection of comprehensive standby usage database is provided, compares by the operating result to the standby usage database, and the standby usage database is regularly carried out data sectional, calculation check code and comparing can in time be found the standby usage Data Consistency.The present invention also provides selectable data consistency recovery ways, and the user both can select to carry out simple data cover and data replacement, also can carry out comparatively perfect data and merge, and realizes data's integrity and consistency.
Description of drawings
Fig. 1 is database two-node cluster hot backup synoptic diagram
Fig. 2 is the schematic flow sheet that the standby usage data are successfully carried out real-time synchronization
Fig. 3 is the schematic flow sheet that the standby usage data are not successfully carried out real-time synchronization
Fig. 4 is that the standby usage data are successfully carried out quasi real time synchronous schematic flow sheet
Fig. 5 is that the standby usage data are not quasi real time successfully carried out synchronous schematic flow sheet
Embodiment
The invention provides the method for a kind of fulfillment database server two-node cluster hot backup.Between primary database server and standby database server, by synchronous network interface carry out that timing is shaken hands, master-slave negotiation, active and standby switching, data access and data are synchronous, wherein the service network port of database server uses virtual ip address that database service externally is provided, and database client adopts Transmission Control Protocol to access primary database server by virtual ip address.
Below in conjunction with accompanying drawing, preferred embodiment is elaborated.
Be illustrated in figure 1 as the Dual-Computer Hot-Standby System that comprises data access client, primary database server, standby database server.
(1) timing between the active and standby machine is shaken hands as follows with active and standby switching flow:
A) main frame uses virtual ip address that database service externally is provided by service network port, and the service network port of standby host does not externally provide database service.
B) pass through synchronous network interface between the active and standby machine regularly, normally per second sends handshake information, and handshake information adopts udp protocol to transmit, and the handshake information content comprises the network ip address of self standby usage state and synchronous network interface.
C) do not receive the handshake information that main frame sends in continuous 5 seconds when standby host, perhaps receive primaryly when reducing to message for subsequent use that standby host namely switches to master state.
D) when occurring two-shipper simultaneously as primary situation, the less server in network interface IP address is reduced to for subsequent use synchronously.
The flow process that Fig. 2 and Fig. 3 show database access and carry out data synchronous operation in the mode of real-time synchronization, wherein Fig. 2 is the successful flow process of operation, Fig. 3 is the unsuccessful flow process of operation.As shown in Figure 2, by synchronous network interface, adopt Transmission Control Protocol to carry out the data synchronous communication between the active and standby machine.When receiving the data storage request of database client, primary database server produces and inserts the order that is recorded to Table A, and notice standby database server carries out corresponding database manipulation, when primary database server only has active and standby machine all correctly to finish database manipulation, primary database just returns successfully to client, otherwise, namely as shown in Figure 3, primary database returns " failure " to client, and the rollback database produces " the standby usage database data is inconsistent " alarm simultaneously.In this operation, it is to finish by following step that the standby usage data consistency detects:
Step 1 when primary database server operates successfully, and during the standby database operation failure, produces " the standby usage database is inconsistent " alarm;
Step 2, the standby usage database server regularly carries out segmentation with all data-base recordings according to the rule of prior setting, this rule can be determined according to specific requirement, to segmentation calculation check code, find the inconsistent situation of data by the check code that contrasts active and standby machine; And when the inconsistent situation of data occurring, produce " the standby usage database is inconsistent " alarm.
In step 2, the calculating of check code can be adopted hashing algorithm, also can select as the case may be other algorithms.
When producing the inconsistent alarm of standby usage database, the recovery of standby usage data consistency mainly contains two kinds of methods, can select as required:
Method one covers the data of standby database fully with the data of primary database, thereby reaches the consistent purpose of standby usage database data.
Method two, data in the standby database are merged (merge) to primary database, thereby reach the consistent purpose of standby usage database, and can not cause loss of data, wherein the data union operation comprises already present record is upgraded operation, and non-existent record is carried out update.
The flow process that Fig. 4 and Fig. 5 show database access and carry out data synchronous operation in quasi real time synchronous mode, wherein Fig. 4 is the successful flow process of operation, Fig. 5 is the unsuccessful flow process of operation.As shown in Figure 4, by synchronous network interface, adopt Transmission Control Protocol to carry out the data synchronous communication between the active and standby machine.When receiving the data storage request of database client, as long as primary database server is correctly finished database manipulation, this is recorded as not synchronous with tense marker, main frame just returns successfully to database client, simultaneously, produces and inserts the order that is recorded to Table A, and notice standby database server carries out corresponding data synchronous operation order, finish the database synchronization operation when standby host, when returning successfully, main frame is denoted as this record synchronous; And as shown in Figure 5, when the synchronization failure of standby host return data storehouse, then main frame produces " the standby usage database data is inconsistent " alarm.Primary database is made regular check on not synchronous data-base recording, and it is synchronous to re-start data, at this quasi real time synchronously in the flow process, also is to finish by the data consistency that detects active and standby machine for the correctness of active and standby machine data storehouse operation, comprises the steps:
Step 1 when primary database server operates successfully, and during the standby database operation failure, produces " the standby usage database is inconsistent " alarm;
Step 2, standby usage database server are regularly carried out segmentation with all data-base recordings according to the rule of prior setting, and this rule is determined according to specific requirement, to segmentation calculation check code, found the inconsistent situation of data by the check code that contrasts active and standby machine.And when the inconsistent situation of data occurring, produce " the standby usage database is inconsistent " alarm.
In step 2, the calculating of check code can be adopted hashing algorithm, also can select as the case may be other algorithms.
When producing the inconsistent alarm of standby usage database, the recovery of standby usage data consistency mainly contains two kinds of methods, can select as required:
Method one covers the data of standby database fully with the data of primary database, thereby reaches the consistent purpose of standby usage database data.
Method two, data in the standby database are merged (merge) to primary database, thereby reach the consistent purpose of standby usage database, and can not cause loss of data, wherein the data union operation comprises already present record is upgraded operation, and non-existent record is carried out update.
The invention provides that active and standby machine is shaken hands, active and standby negotiation and active and standby handover mechanism, in real time/quasi real time data synchronous operation of active and standby machine mechanism is provided, reliable real time data synchronization mechanism both can be provided, quasi real time data synchronous operation can be provided again, therefore data access reliability and data access performance can be taken into account.Simultaneously, the present invention also provides active and standby machine data consistency detecting method and recovery ways, guarantees in time to pinpoint the problems, and in time recovers normal and uses.
The above; only for the better embodiment of the present invention, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.
Claims (8)
1. the method for fulfillment database server two-node cluster hot backup, it is characterized in that: this database server Dual-Computer Hot-Standby System comprises primary database server and standby database server; Between described two servers by synchronous network interface carry out that timing is shaken hands, master-slave negotiation, active and standby switching, database access and real time data be synchronous, wherein the service network port of primary database server uses virtual ip address that database service externally is provided, the service network port of standby host does not externally provide database service, database client adopts Transmission Control Protocol to access primary database server by virtual ip address;
Timing between the described active and standby machine is shaken hands and active and standby switching flow comprises the steps:
Step 1 sends handshake information by synchronous network interface per second between the active and standby machine, and handshake information adopts udp protocol to transmit, and the handshake information content comprises the network ip address of self standby usage state and synchronous network interface;
Step 2 was not received the handshake information that main frame sends in continuous five seconds when standby host, perhaps received primaryly when reducing to message for subsequent use, and standby host namely switches to master state;
Step 3, when occurring two-shipper simultaneously as the situation of main computer, the less server in network interface IP address is reduced to for subsequent use synchronously;
The synchronous flow process of described database access and real time data comprises the steps:
Step 1 by synchronous network interface, adopts Transmission Control Protocol to carry out the data synchronous communication between the active and standby machine;
Step 2, when receiving the data storage request of database client, when only having active and standby machine all correctly to finish database manipulation, primary database just returns successfully to client, otherwise return failure, produce simultaneously " the standby usage database data is inconsistent " alarm, in this step, correctness for the operation of active and standby machine data storehouse is to finish by the data consistency that detects active and standby machine
Step 3, primary database is made regular check on not synchronous data-base recording, and it is synchronous to re-start data.
2. the method for a kind of fulfillment database server as claimed in claim 1 two-node cluster hot backup is characterized in that: the data consistency of described active and standby machine detects and comprises the steps:
Step 1 when primary database server operates successfully, and during the standby database operation failure, produces " the standby usage database is inconsistent " alarm;
Step 2, standby usage database server are regularly carried out segmentation with all data-base recordings according to the rule of prior setting, to segmentation calculation check code, by contrasting the check code of active and standby machine, find the inconsistent situation of data;
Wherein, adopt hashing algorithm for the calculating of check code.
Step 3 when the inconsistent situation of data occurring, produces " the standby usage database is inconsistent " alarm.
3. the method for a kind of fulfillment database server as claimed in claim 1 or 2 two-node cluster hot backup, it is characterized in that: described when producing the inconsistent alarm of standby usage database, the step that adopts the data of primary database to cover standby database is fully carried out the standby usage data's consistency and is recovered.
4. the method for a kind of fulfillment database server as claimed in claim 1 or 2 two-node cluster hot backup, it is characterized in that: described when producing the inconsistent alarm of standby usage database, employing is carried out the recovery of standby usage data's consistency with the step that the data in the standby database merge to primary database, thereby reach the consistent purpose of standby usage database, and can not cause loss of data, wherein, described data union operation comprises already present record is upgraded operation, and non-existent record is carried out update.
5. the method for fulfillment database server two-node cluster hot backup, it is characterized in that: this database server Dual-Computer Hot-Standby System comprises primary database server and standby database server, carrying out timing by synchronous network interface between described two servers shakes hands, master-slave negotiation, active and standby switching, data access and quasi real time data are synchronous, wherein the service network port of primary database server uses virtual ip address that database service externally is provided, the service network port of standby host does not externally provide database service, database client passes through virtual ip address, adopt Transmission Control Protocol to access primary database server
Timing between the described active and standby machine is shaken hands and active and standby switching flow comprises the steps:
Step 1 sends handshake information by synchronous network interface per second between the active and standby machine, and handshake information adopts udp protocol to transmit, and the handshake information content comprises the network ip address of self standby usage state and synchronous network interface;
Step 2 was not received the handshake information that main frame sends in continuous five seconds when standby host, perhaps received primaryly when reducing to message for subsequent use, and standby host namely switches to master state;
Step 3, when occurring two-shipper simultaneously as the situation of main computer, the less server in network interface IP address is reduced to for subsequent use synchronously;
Described database access and quasi real time the synchronous flow process of data comprise the steps:
Step 1 by synchronous network interface, adopts Transmission Control Protocol to carry out the data synchronous communication between the active and standby machine;
Step 2, when receiving the data storage request of database client, as long as primary database server correctly finishes database manipulation, this is recorded as not synchronously with tense marker, and main frame just returns successfully to database client;
Step 3, main frame sends the data synch command to standby host, finishes the database synchronization operation when standby host, and when returning successfully, main frame is denoted as this record synchronous;
Step 4, when standby host return data storehouse synchronization failure, then main frame produces " the standby usage database data is inconsistent " alarm;
Step 5, primary database is made regular check on not synchronous data-base recording, and it is synchronous to re-start data;
Step 6, in above-mentioned steps three and four, the correctness that operates for active and standby machine data storehouse is to finish by the data consistency that detects active and standby machine.
6. the method for a kind of fulfillment database server as claimed in claim 5 two-node cluster hot backup is characterized in that: the data consistency of described active and standby machine detects and comprises the steps:
Step 1 when primary database server operates successfully, and during the standby database operation failure, produces " the standby usage database is inconsistent " alarm;
Step 2, standby usage database server are regularly carried out segmentation with all data-base recordings according to the rule of prior setting, to segmentation calculation check code, by contrasting the check code of active and standby machine, find the inconsistent situation of data;
Step 3 when the inconsistent situation of data occurring, produces " the standby usage database is inconsistent " alarm;
Wherein, adopt hashing algorithm for the calculating of check code.
7. such as the method for claim 5 or 6 described a kind of fulfillment database server two-node cluster hot backups, it is characterized in that: described when producing the inconsistent alarm of standby usage database, the step that adopts the data of primary database to cover standby database is fully carried out the standby usage data's consistency and is recovered.
8. such as the method for claim 5 or 6 described a kind of fulfillment database server two-node cluster hot backups, it is characterized in that: described when producing the inconsistent alarm of standby usage database, employing is carried out the recovery of standby usage data's consistency with the step that the data in the standby database merge to primary database, thereby reach the consistent purpose of standby usage database, and can not cause loss of data, wherein, described data union operation comprises already present record is upgraded operation, and non-existent record is carried out update.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310011281.6A CN103077242B (en) | 2013-01-11 | 2013-01-11 | The method of a kind of fulfillment database server two-node cluster hot backup |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310011281.6A CN103077242B (en) | 2013-01-11 | 2013-01-11 | The method of a kind of fulfillment database server two-node cluster hot backup |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103077242A true CN103077242A (en) | 2013-05-01 |
CN103077242B CN103077242B (en) | 2016-03-09 |
Family
ID=48153772
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310011281.6A Expired - Fee Related CN103077242B (en) | 2013-01-11 | 2013-01-11 | The method of a kind of fulfillment database server two-node cluster hot backup |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103077242B (en) |
Cited By (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104348637A (en) * | 2013-07-26 | 2015-02-11 | 中国科学院声学研究所 | Method for maintaining TCP connection in fault switching |
CN104390674A (en) * | 2014-11-25 | 2015-03-04 | 苏州赛智达智能科技有限公司 | Liquid level sensor |
WO2015117429A1 (en) * | 2014-07-16 | 2015-08-13 | 中兴通讯股份有限公司 | Method and device for merging database contents |
CN105138423A (en) * | 2015-08-11 | 2015-12-09 | 北京思特奇信息技术股份有限公司 | Service mass data recovery method and system during dual-computer switching |
CN105389231A (en) * | 2015-10-28 | 2016-03-09 | 浪潮(北京)电子信息产业有限公司 | Database dual-computer backup method and system |
CN106293996A (en) * | 2015-05-20 | 2017-01-04 | 腾讯科技(深圳)有限公司 | Method of data synchronization, main equipment, alternate device and system |
WO2017016196A1 (en) * | 2015-07-27 | 2017-02-02 | 中兴通讯股份有限公司 | Data synchronization method, apparatus, and system |
CN106712887A (en) * | 2016-12-23 | 2017-05-24 | 北京航天测控技术有限公司 | Network clock protocol-based master-slave state synchronization method |
EP3147789A4 (en) * | 2015-02-13 | 2017-07-19 | Huawei Technologies Co., Ltd. | Method for re-establishing standby database, and apparatus thereof |
CN107229541A (en) * | 2017-06-20 | 2017-10-03 | 携程旅游信息技术(上海)有限公司 | Backup method, standby system and the server of Transaction Information |
CN107657055A (en) * | 2017-10-18 | 2018-02-02 | 国网福建省电力有限公司 | A kind of back-up system method of data synchronization based on distribution main website |
CN108920563A (en) * | 2018-06-21 | 2018-11-30 | 阿里巴巴集团控股有限公司 | A kind of database switching method and device |
CN109753387A (en) * | 2018-01-24 | 2019-05-14 | 比亚迪股份有限公司 | The double hot standby method and system of rail traffic multimedia system |
CN110727550A (en) * | 2019-12-18 | 2020-01-24 | 中国银联股份有限公司 | Data replication processing method, data replication processing device, disaster recovery system, disaster recovery equipment and storage medium |
CN111367934A (en) * | 2020-03-31 | 2020-07-03 | 中国建设银行股份有限公司 | Data consistency checking method, device, server and medium |
CN111444062A (en) * | 2020-04-01 | 2020-07-24 | 山东汇贸电子口岸有限公司 | Method and device for managing master node and slave node of cloud database |
WO2020233001A1 (en) * | 2019-05-20 | 2020-11-26 | 平安科技(深圳)有限公司 | Distributed storage system comprising dual-control architecture, data reading method and device, and storage medium |
CN112199329A (en) * | 2020-09-24 | 2021-01-08 | 上海上讯信息技术股份有限公司 | Double-machine operation and maintenance data filing and cleaning method and equipment based on fortress machine |
CN112217881A (en) * | 2020-09-24 | 2021-01-12 | 上海上讯信息技术股份有限公司 | File synchronization method and equipment based on operation and maintenance audit system |
WO2021047116A1 (en) * | 2019-09-11 | 2021-03-18 | 歌尔股份有限公司 | Wireless earphone synchronization detection method, apparatus, wireless earphones and storage medium |
CN113176969A (en) * | 2021-04-23 | 2021-07-27 | 杭州迪普科技股份有限公司 | Service providing method, device, equipment and computer readable storage medium |
CN114326511A (en) * | 2021-12-29 | 2022-04-12 | 珠海万力达电气自动化有限公司 | Industrial and mining enterprise electric power centralized control system dual-computer switching method based on monitor configuration tool |
CN115134220A (en) * | 2022-06-29 | 2022-09-30 | 北京飞讯数码科技有限公司 | Main/standby server switching method and device, computing equipment and storage medium |
CN115225450A (en) * | 2022-09-20 | 2022-10-21 | 南京艾泰克物联网科技有限公司 | Multi-data machine room virtualization cluster management system based on edge computing |
CN115509812A (en) * | 2022-09-27 | 2022-12-23 | 广州市保伦电子有限公司 | Data backup method and server based on Keepalive dual-computer hot standby |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1366242A (en) * | 2001-01-19 | 2002-08-28 | 华为技术有限公司 | Method for implementing dual-system standby |
CN1848989A (en) * | 2005-04-04 | 2006-10-18 | 中兴通讯股份有限公司 | System for automatic switching database in imputation position register and method thereof |
CN101192971A (en) * | 2006-11-23 | 2008-06-04 | 中兴通讯股份有限公司 | Detection method for master/slave data consistency |
CN102075341A (en) * | 2009-11-25 | 2011-05-25 | 中兴通讯股份有限公司 | Method and system for main-standby synchronization |
-
2013
- 2013-01-11 CN CN201310011281.6A patent/CN103077242B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1366242A (en) * | 2001-01-19 | 2002-08-28 | 华为技术有限公司 | Method for implementing dual-system standby |
CN1848989A (en) * | 2005-04-04 | 2006-10-18 | 中兴通讯股份有限公司 | System for automatic switching database in imputation position register and method thereof |
CN101192971A (en) * | 2006-11-23 | 2008-06-04 | 中兴通讯股份有限公司 | Detection method for master/slave data consistency |
CN102075341A (en) * | 2009-11-25 | 2011-05-25 | 中兴通讯股份有限公司 | Method and system for main-standby synchronization |
Cited By (38)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104348637A (en) * | 2013-07-26 | 2015-02-11 | 中国科学院声学研究所 | Method for maintaining TCP connection in fault switching |
WO2015117429A1 (en) * | 2014-07-16 | 2015-08-13 | 中兴通讯股份有限公司 | Method and device for merging database contents |
CN104390674A (en) * | 2014-11-25 | 2015-03-04 | 苏州赛智达智能科技有限公司 | Liquid level sensor |
EP3147789A4 (en) * | 2015-02-13 | 2017-07-19 | Huawei Technologies Co., Ltd. | Method for re-establishing standby database, and apparatus thereof |
US10585895B2 (en) | 2015-02-13 | 2020-03-10 | Huawei Technologies Co., Ltd. | Method and apparatus for reconstructing standby node database |
CN106293996B (en) * | 2015-05-20 | 2019-11-08 | 腾讯科技(深圳)有限公司 | Method of data synchronization, main equipment, alternate device and system |
CN106293996A (en) * | 2015-05-20 | 2017-01-04 | 腾讯科技(深圳)有限公司 | Method of data synchronization, main equipment, alternate device and system |
WO2017016196A1 (en) * | 2015-07-27 | 2017-02-02 | 中兴通讯股份有限公司 | Data synchronization method, apparatus, and system |
CN105138423A (en) * | 2015-08-11 | 2015-12-09 | 北京思特奇信息技术股份有限公司 | Service mass data recovery method and system during dual-computer switching |
CN105389231A (en) * | 2015-10-28 | 2016-03-09 | 浪潮(北京)电子信息产业有限公司 | Database dual-computer backup method and system |
CN106712887A (en) * | 2016-12-23 | 2017-05-24 | 北京航天测控技术有限公司 | Network clock protocol-based master-slave state synchronization method |
CN106712887B (en) * | 2016-12-23 | 2018-10-26 | 北京航天测控技术有限公司 | A kind of principal and subordinate's two-shipper state synchronization method based on Network Time Protocol |
CN107229541A (en) * | 2017-06-20 | 2017-10-03 | 携程旅游信息技术(上海)有限公司 | Backup method, standby system and the server of Transaction Information |
CN107229541B (en) * | 2017-06-20 | 2019-11-26 | 携程旅游信息技术(上海)有限公司 | Backup method, standby system and the server of Transaction Information |
CN107657055A (en) * | 2017-10-18 | 2018-02-02 | 国网福建省电力有限公司 | A kind of back-up system method of data synchronization based on distribution main website |
CN109753387B (en) * | 2018-01-24 | 2019-12-20 | 比亚迪股份有限公司 | Dual-computer hot standby method and system of rail transit multimedia system |
CN109753387A (en) * | 2018-01-24 | 2019-05-14 | 比亚迪股份有限公司 | The double hot standby method and system of rail traffic multimedia system |
CN108920563A (en) * | 2018-06-21 | 2018-11-30 | 阿里巴巴集团控股有限公司 | A kind of database switching method and device |
CN108920563B (en) * | 2018-06-21 | 2021-07-30 | 创新先进技术有限公司 | Database switching method and device |
WO2020233001A1 (en) * | 2019-05-20 | 2020-11-26 | 平安科技(深圳)有限公司 | Distributed storage system comprising dual-control architecture, data reading method and device, and storage medium |
WO2021047116A1 (en) * | 2019-09-11 | 2021-03-18 | 歌尔股份有限公司 | Wireless earphone synchronization detection method, apparatus, wireless earphones and storage medium |
US12075216B2 (en) | 2019-09-11 | 2024-08-27 | Goertek Inc. | Wireless earphone synchronization detection method, apparatus, wireless earphones and storage medium |
CN110727550A (en) * | 2019-12-18 | 2020-01-24 | 中国银联股份有限公司 | Data replication processing method, data replication processing device, disaster recovery system, disaster recovery equipment and storage medium |
WO2021120880A1 (en) * | 2019-12-18 | 2021-06-24 | 中国银联股份有限公司 | Data replication processing method and apparatus, disaster recovery system, device and storage medium |
CN111367934A (en) * | 2020-03-31 | 2020-07-03 | 中国建设银行股份有限公司 | Data consistency checking method, device, server and medium |
CN111367934B (en) * | 2020-03-31 | 2023-10-31 | 中国建设银行股份有限公司 | Data consistency checking method, device, server and medium |
CN111444062A (en) * | 2020-04-01 | 2020-07-24 | 山东汇贸电子口岸有限公司 | Method and device for managing master node and slave node of cloud database |
CN111444062B (en) * | 2020-04-01 | 2023-09-19 | 山东汇贸电子口岸有限公司 | Method and device for managing master node and slave node of cloud database |
CN112199329B (en) * | 2020-09-24 | 2023-08-18 | 上海上讯信息技术股份有限公司 | Double-machine operation and maintenance data archiving and cleaning method and device based on fort machine |
CN112199329A (en) * | 2020-09-24 | 2021-01-08 | 上海上讯信息技术股份有限公司 | Double-machine operation and maintenance data filing and cleaning method and equipment based on fortress machine |
CN112217881A (en) * | 2020-09-24 | 2021-01-12 | 上海上讯信息技术股份有限公司 | File synchronization method and equipment based on operation and maintenance audit system |
CN112217881B (en) * | 2020-09-24 | 2023-02-21 | 上海上讯信息技术股份有限公司 | File synchronization method and equipment based on operation and maintenance audit system |
CN113176969A (en) * | 2021-04-23 | 2021-07-27 | 杭州迪普科技股份有限公司 | Service providing method, device, equipment and computer readable storage medium |
CN114326511A (en) * | 2021-12-29 | 2022-04-12 | 珠海万力达电气自动化有限公司 | Industrial and mining enterprise electric power centralized control system dual-computer switching method based on monitor configuration tool |
CN115134220B (en) * | 2022-06-29 | 2023-11-10 | 北京飞讯数码科技有限公司 | Master-slave server switching method and device, computing equipment and storage medium |
CN115134220A (en) * | 2022-06-29 | 2022-09-30 | 北京飞讯数码科技有限公司 | Main/standby server switching method and device, computing equipment and storage medium |
CN115225450A (en) * | 2022-09-20 | 2022-10-21 | 南京艾泰克物联网科技有限公司 | Multi-data machine room virtualization cluster management system based on edge computing |
CN115509812A (en) * | 2022-09-27 | 2022-12-23 | 广州市保伦电子有限公司 | Data backup method and server based on Keepalive dual-computer hot standby |
Also Published As
Publication number | Publication date |
---|---|
CN103077242B (en) | 2016-03-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103077242A (en) | Method for hot standby of dual database servers | |
US12073091B2 (en) | Low overhead resynchronization snapshot creation and utilization | |
US10565071B2 (en) | Smart data replication recoverer | |
CN102891849B (en) | Service data synchronization method, data recovery method, data recovery device and network device | |
US8874508B1 (en) | Systems and methods for enabling database disaster recovery using replicated volumes | |
US9280430B2 (en) | Deferred replication of recovery information at site switchover | |
US9983962B2 (en) | Storage system and data management method of journaling and storing remote copies | |
US9026492B1 (en) | Multisite replication with uncoordinated cycle switching | |
CN101706805B (en) | Method and system for storing object | |
US9170888B2 (en) | Methods and apparatus for virtual machine recovery | |
KR101662212B1 (en) | Database Management System providing partial synchronization and method for partial synchronization thereof | |
US9588858B2 (en) | Periodic data replication | |
US10223007B1 (en) | Predicting IO | |
CN105069160A (en) | Autonomous controllable database based high-availability method and architecture | |
CN101706795A (en) | Method for synchronizing data of database in active/standby server | |
CN106062717A (en) | Distributed storage replication system and method | |
CN103838646A (en) | System and method for big data remote disaster recovery backup of ground application | |
CN104252500A (en) | Method and device for carrying out fault repairing on database management platform | |
WO2016095372A1 (en) | Method and apparatus for realizing image backup of transaction logs | |
JPH08254047A (en) | Equipment and method of controlling trouble permission key | |
WO2016061956A1 (en) | Data processing method for distributed file system and distributed file system | |
CN111158955B (en) | High-availability system based on volume replication and multi-server data synchronization method | |
US8527454B2 (en) | Data replication using a shared resource | |
WO2017014814A1 (en) | Replicating memory volumes | |
CN105389231A (en) | Database dual-computer backup method and system |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160309 Termination date: 20210111 |
|
CF01 | Termination of patent right due to non-payment of annual fee |