CN114785849A - Application high-availability method realized based on multi-level node network - Google Patents
Application high-availability method realized based on multi-level node network Download PDFInfo
- Publication number
- CN114785849A CN114785849A CN202210457636.3A CN202210457636A CN114785849A CN 114785849 A CN114785849 A CN 114785849A CN 202210457636 A CN202210457636 A CN 202210457636A CN 114785849 A CN114785849 A CN 114785849A
- Authority
- CN
- China
- Prior art keywords
- application
- application node
- node
- data
- level
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
Abstract
The invention discloses an application high availability method based on a multi-level node network, which relates to the technical field of networks and provides a scheme aiming at ensuring that each system has basic high availability capability when the number of application systems is large; the application program comprises a logic processing unit and a data synchronization unit, wherein the logic processing unit is used for being responsible for processing the service logic of the system, and the data synchronization unit is used for being responsible for synchronizing the data of the upper application node and the lower application node in real time. The method has the advantage of realizing data intercommunication between the upper application node and the lower application node or a plurality of application nodes.
Description
Technical Field
The invention relates to an application high-availability method realized based on a multi-level node network.
Background
With the rapid popularization and the increasingly deep application of the network, various value-added services are widely deployed on the network. High availability of the underlying network as the subject of traffic bearers is therefore also a focus of increasing attention. Highly available networks have two main features: few failures and short failure recovery time.
In the prior art, referring to CN112186032A and CN113066870A, two devices, namely a main device and a backup device, are backed up with each other, thereby achieving high availability. But for some complex systems it may be necessary to have a high availability of not just two but more dozens or even dozens of devices. When the number of application systems is large, how to ensure that each system has basic high available capacity is provided. How to fully exert the capability of each node so as to improve the execution capability of the system, and the situation that the whole system is unavailable due to the unavailability of a single node, such as a network isolation environment at a special moment, is avoided. How to implement a large number of application systems to achieve high availability and each node can be used normally if other nodes are not available becomes a technical bottleneck.
Disclosure of Invention
The invention aims to provide a method for realizing high application availability based on a multi-level node network, so as to solve the problems in the prior art.
The invention relates to a method for realizing high availability of application based on a multi-level node network, which comprises a higher-level application node and one or more lower-level application nodes, wherein each application node comprises an application program and a corresponding database, and the application programs of the lower-level application nodes are simultaneously connected with the databases of the higher-level application node and the lower-level application nodes; the application program comprises a logic processing unit and a data synchronization unit, wherein the logic processing unit is used for being responsible for processing the service logic of the system, and the data synchronization unit is used for being responsible for synchronizing the data of the upper application node and the lower application node in real time;
the method also comprises two modes of networking and off-network, and data intercommunication between the superior application node and the subordinate application node or a plurality of application nodes is realized through the networking and off-network.
The networking mode comprises the following steps: and adding the network, uploading the data of the lower application node to the upper application node, and synchronizing the data of the upper application node to the lower application node.
The off-grid mode comprises: and initiating a network quitting request, deleting the data of the superior application node, and deleting the data of other application nodes on the application node.
Each superior application node or inferior application node is a computer device.
When the lower application node joins the network, the logic processing unit triggers the networking, and the lower application node uploads the whole data of the lower application node to the upper application node.
After the initialization synchronization, the logic processing unit changes the data synchronization unit into the networking working state, and at the moment, the data synchronization unit synchronizes the data of the upper application node and the lower application node in real time.
If a certain application node needs to be separated from the network, a logic processing unit actively initiates an off-network mode to synchronously delete useless data of an upper application node and a lower application node.
The application high availability method based on the multi-level node network has the advantage of realizing data intercommunication between a higher-level application node and a lower-level application node or a plurality of application nodes. The networking mode ensures the safety of data, and when the network is accessed and normally used, the data changed by all the upper application nodes can be synchronized to the lower application nodes in real time; the system performance is optimized, and any operation can be processed on any application node, so that a calculation task with a large scale can be split into a calculation task with a small scale, and the operation efficiency of the whole system is improved.
Drawings
FIG. 1 is a schematic diagram of an application high availability architecture based on a multi-level node network implementation;
FIG. 2 is a schematic flow chart of networking;
FIG. 3 is a schematic flow diagram of off-grid;
fig. 4 is a functional schematic of a data synchronization unit.
Detailed Description
As shown in fig. 1, an application high availability method implemented based on a multi-level node network according to the present invention includes an upper level application node and one or more lower level application nodes. Each application node is a computer device, and a database and an application program of a corresponding system are deployed on each device. The application program of the lower application node is simultaneously connected with the databases of the upper application node and the lower application node.
The application program comprises a logic processing unit and a data synchronization unit, wherein the logic processing unit is used for processing service logic of the system, such as service functions of login and logout of a user, switching scheduling of a signal source and the like; the data synchronization unit is used for synchronizing the data of the upper application node and the lower application node in real time.
The logic processing unit is responsible for triggering a networking mode or an off-network mode, and helps the data synchronization unit to complete the following three synchronizations: networking synchronization, off-network synchronization and real-time synchronization. Specifically, when a lower-level application node joins a network, a logic processing unit triggers networking, and the lower-level application node uploads the whole data of the lower-level application node to the upper-level application node; after the initialization synchronization, the logic processing unit changes the data synchronization unit into a networking mode, and at the moment, the data synchronization unit synchronizes the data of the upper application node and the lower application node in real time; if a certain application node needs to be separated from the network, the logic processing unit actively triggers the separation from the network, and the useless data of the upper application node and the lower application node are synchronously deleted.
The networking mode comprises the following steps: s11, starting; s12, adding into the network; s13, uploading the data of the lower application node to the upper application node; s14, synchronizing the data of the upper application node to the lower application node; and S15, ending.
The off-grid mode comprises the following steps: s21, starting; s22, initiating a network quitting request; s23, deleting the data of the upper application node; s24, deleting the data of other application nodes on the application node; and S25, ending.
The networking mode communicates the data of each application node. All lower-level application nodes can directly use the database of the upper-level application node as a data center in a mode of uploading data of the lower-level application nodes to the upper-level application node under the condition of normal network connection, so that the aim of data sharing is fulfilled.
The networking mode ensures the safety of data, and during the normal use process of any lower-level application node accessing the network, the data changed in all the upper-level application nodes can be synchronized to the lower-level application nodes in real time. This is equivalent to that data is backed up in multiple application nodes at the same time, and data loss caused by data failure in any application node can be recovered by relying on data of other application nodes.
The networking mode provides an independent operation function, and in some confidential occasions, in order to ensure information safety when some application nodes perform service processing, the network environment needs to be isolated, namely, the network can be interrupted with a superior network. At this time, the lower-level application node switches the data into a copy of the real-time synchronous data, so that the normal operation of the current application program is supported, and the changed data is recorded. After the secret-related action is completed, an operator may manually restore the network connection, and at this time, the lower-level application node is automatically connected with the upper-level application node and uploads data.
The networking mode also optimizes the performance of the system, and because each application node has complete data, any operation can be processed on any application node, so that a large-scale calculation task can be split into small-scale calculation tasks which are issued to each node for operation, and the operating efficiency of the whole system is improved.
It will be apparent to those skilled in the art that various other changes and modifications may be made in the above-described embodiments and concepts and all such changes and modifications are intended to be within the scope of the appended claims.
Claims (7)
1. A high-availability method of application realized based on a multi-level node network is characterized by comprising a higher-level application node and one or more lower-level application nodes, wherein each application node comprises an application program and a corresponding database, and the application programs of the lower-level application nodes are simultaneously connected with the databases of the higher-level application node and the lower-level application nodes; the application program comprises a logic processing unit and a data synchronization unit, wherein the logic processing unit is used for being responsible for processing the service logic of the system, and the data synchronization unit is used for being responsible for synchronizing the data of the upper application node and the lower application node in real time;
the method also comprises two modes of networking and off-network, and data intercommunication between the upper application node and the lower application node or a plurality of application nodes is realized through the networking and off-network.
2. The method of claim 1, wherein the networking mode comprises: and adding the network, uploading the data of the lower-level application node to the upper-level application node, and synchronizing the data of the upper-level application node to the lower-level application node.
3. The method of claim 1, wherein the off-grid mode comprises: and initiating a network quitting request, deleting the data of the superior application node, and deleting the data of other application nodes on the application node.
4. The method of claim 1, wherein each upper application node or lower application node is a computer device.
5. The method for realizing high availability of applications based on the multi-level node network as claimed in claim 1, wherein when a lower level application node joins the network, the logical processing unit triggers networking, and the lower level application node uploads the whole data of itself to the upper level application node.
6. The method as claimed in claim 1, wherein after the initialization of the synchronization, the logical processing unit changes the data synchronization unit to a networking mode, and the data synchronization unit synchronizes the data of the upper application node and the lower application node in real time.
7. The method for realizing high availability of applications based on a multi-level node network as claimed in claim 1, wherein if an application node needs to leave the network, the off-network mode is actively triggered by the logic processing unit to synchronously delete the useless data of the upper-level application node and the lower-level application node.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210457636.3A CN114785849A (en) | 2022-04-27 | 2022-04-27 | Application high-availability method realized based on multi-level node network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210457636.3A CN114785849A (en) | 2022-04-27 | 2022-04-27 | Application high-availability method realized based on multi-level node network |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114785849A true CN114785849A (en) | 2022-07-22 |
Family
ID=82433052
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210457636.3A Pending CN114785849A (en) | 2022-04-27 | 2022-04-27 | Application high-availability method realized based on multi-level node network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114785849A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115514666A (en) * | 2022-09-26 | 2022-12-23 | 郑州小鸟信息科技有限公司 | Visual deployment method and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106254100A (en) * | 2016-07-27 | 2016-12-21 | 腾讯科技(深圳)有限公司 | A kind of data disaster tolerance methods, devices and systems |
CN107276830A (en) * | 2017-07-28 | 2017-10-20 | 郑州云海信息技术有限公司 | A kind of cascade management system and method for secure network |
CN107547512A (en) * | 2017-07-14 | 2018-01-05 | 新华三云计算技术有限公司 | User authen method and device in a kind of multistage cloud platform |
CN113986914A (en) * | 2021-09-30 | 2022-01-28 | 华东计算技术研究所(中国电子科技集团公司第三十二研究所) | Tree type cascade database synchronization system and method based on data increment |
-
2022
- 2022-04-27 CN CN202210457636.3A patent/CN114785849A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106254100A (en) * | 2016-07-27 | 2016-12-21 | 腾讯科技(深圳)有限公司 | A kind of data disaster tolerance methods, devices and systems |
CN107547512A (en) * | 2017-07-14 | 2018-01-05 | 新华三云计算技术有限公司 | User authen method and device in a kind of multistage cloud platform |
CN107276830A (en) * | 2017-07-28 | 2017-10-20 | 郑州云海信息技术有限公司 | A kind of cascade management system and method for secure network |
CN113986914A (en) * | 2021-09-30 | 2022-01-28 | 华东计算技术研究所(中国电子科技集团公司第三十二研究所) | Tree type cascade database synchronization system and method based on data increment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115514666A (en) * | 2022-09-26 | 2022-12-23 | 郑州小鸟信息科技有限公司 | Visual deployment method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11704207B2 (en) | Methods and systems for a non-disruptive planned failover from a primary copy of data at a primary storage system to a mirror copy of the data at a cross-site secondary storage system without using an external mediator | |
JP5366177B2 (en) | Slot interface access device, method and program thereof, and redundant configuration and alternative method of main device | |
CN111130835A (en) | Data center dual-active system, switching method, device, equipment and medium | |
CN101808127B (en) | Data backup method, system and server | |
CN100499507C (en) | Disaster recovery system, method and network device | |
CN104320401A (en) | Big data storage and access system and method based on distributed file system | |
CN112003716A (en) | Data center dual-activity implementation method | |
CN108572976A (en) | Data reconstruction method, relevant device and system in a kind of distributed data base | |
CN102394914A (en) | Cluster brain-split processing method and device | |
CN108920489B (en) | Method, device and equipment for deploying database | |
US20080307254A1 (en) | Information-processing equipment and system therefor | |
CN107454171B (en) | Message service system and implementation method thereof | |
CN110581782A (en) | Disaster tolerance data processing method, device and system | |
CN109739435B (en) | File storage and updating method and device | |
CN103036719A (en) | Cross-regional service disaster method and device based on main cluster servers | |
US20230132861A1 (en) | Switching method and apparatus, device, and storage medium | |
JP2013030190A (en) | Slot interface access device, method and program thereof, and redundancy configuration and alternative method of main device | |
CN109656753A (en) | A kind of Redundant backup system applied to track traffic synthetic monitoring system | |
CN111800484B (en) | Service anti-destruction replacing method for mobile edge information service system | |
CN114785849A (en) | Application high-availability method realized based on multi-level node network | |
CN114124650A (en) | Master-slave deployment method of SPTN (shortest Path bridging) network controller | |
CN112052127B (en) | Data synchronization method and device for dual-computer hot standby environment | |
CN1553716A (en) | Clustering system for utilizing sharing internal memory in mobile communiation system and realizing method thereof | |
CN113630317B (en) | Data transmission method and device, nonvolatile storage medium and electronic device | |
CN111601299B (en) | Information association backfill system under 5G framework |
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 |