CN106209451B - DCN switching method and system - Google Patents

DCN switching method and system Download PDF

Info

Publication number
CN106209451B
CN106209451B CN201610538573.9A CN201610538573A CN106209451B CN 106209451 B CN106209451 B CN 106209451B CN 201610538573 A CN201610538573 A CN 201610538573A CN 106209451 B CN106209451 B CN 106209451B
Authority
CN
China
Prior art keywords
dcn
switching
side dcn
module
failure
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.)
Active
Application number
CN201610538573.9A
Other languages
Chinese (zh)
Other versions
CN106209451A (en
Inventor
莫林林
朱红燕
蒋子玮
伦秉力
王阳
曾纪策
张勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
WeBank Co Ltd
Original Assignee
WeBank 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 WeBank Co Ltd filed Critical WeBank Co Ltd
Priority to CN201610538573.9A priority Critical patent/CN106209451B/en
Publication of CN106209451A publication Critical patent/CN106209451A/en
Application granted granted Critical
Publication of CN106209451B publication Critical patent/CN106209451B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Abstract

The invention discloses a kind of DCN switching methods, wherein, DCN can provide application system required for all business processings of single client, and in the DCN switching method, when needing to carry out DCN switching, closing fault side DCN's applies treatment progress, controls the failure side DCN and moves into progress database synchronization and switching between the DCN of side, and start the application treatment progress of the DCN for moving into side, to complete the switching of DCN.The invention also discloses a kind of DCN switching systems, by the switching to the DCN for being capable of providing application system required for all business processings of single client, make it possible to realize being switched fast for DCN by dimension of client.

Description

DCN switching method and system
Technical field
The present invention relates to field of communication technology more particularly to a kind of DCN (data center's node, Date Center Node) Switching method and system.
Background technique
The electronicalization process of bank experienced accounting computerization, comprehensive business system, complete since the nineties in last century State/region big collection medium multiple distinctive construction periods.It has formally stepped within nearest 10 years and has relied on the fast of Internet technology development Lane.
In order to cope with the customer quantity to increase severely with day and trading volume, traditional commerce bank from self-growth strategy, The distributed multi-master node architecture for often selecting centralized loose coupling framework and being solved the problems, such as from High redundancy.Centralized pine coupling It closes framework and traditional centralized close coupling framework is deployed in all operation systems on the same back end, with operation system For dimension, splits different business systems and be deployed on different data center's nodes.Each application system uses centralized deployment Scheme is responsible for handling the full row client under the business.Under centralized loose coupling framework, application system it is unavailable in addition to Except the whole clients for influencing the business, other associated services systems can also be had an impact.In the pole of some inappropriate designs It holds under scene, or even the collapse of whole industry business can be caused.
Since the application system of each node carrying is different, the logical architecture and physical structure of each node are often deposited In otherness, for higher complexity in daily O&M, time/problem response or even the equal bring design and implementation of Disaster Tolerant Scheme Degree.
Requiring business bank that should at least carry out every year in the related specifications of supervision, an important information system special project calamity is standby to cut Rehearsal is changed, the standby switching rehearsal of the comprehensive calamity of important information system is at least carried out within every 3 years, using actual services adapter tube as target, tests Demonstrate,prove the disaster recovery and backup systems effectively ability of adapter tube production system and safe switchback.Traditional bank when doing disaster recovery switching, often into Capable is simulated maneuver, using analogue data verifying calamity for the system availability of environment.In terms of combat exercise, traditional bank is past It is past to be only capable of switching over rehearsal to single operation system, and switching time is longer.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill Art.
Summary of the invention
The main purpose of the present invention is to provide a kind of DCN switching method and systems, it is intended to which solution is only capable of in the prior art Realize the switching of single operation system and switching time longer technical problem.
To achieve the above object, a kind of DCN switching method provided by the invention, the DCN provide single all industry of client Application system required for business is handled, the described method comprises the following steps:
When needing to carry out DCN switching, closing fault side DCN's applies treatment progress;
It controls the failure side DCN and moves into and carry out database synchronization and switching between the DCN of side;
That side DCN is moved into described in starting applies treatment progress, to complete the switching of DCN.
Preferably, the closing fault side DCN's includes: using treatment progress
Close the entrance of the message queue of the failure side DCN;
In the case where it is empty for determining the message queue of the failure side DCN, if detecting the application for failure side DCN The all using treatment progress of the failure side DCN are then closed in out code;
Close the outlet of the message queue of the failure side DCN.
Preferably, that side DCN is moved into described in the starting applies treatment progress, comprising:
The outlet of the message queue of side DCN is moved into described in opening;
If detecting all applications for moving into side DCN described in starting for the application open command for moving into side DCN Treatment progress;
The entrance of the message queue of side DCN is moved into described in opening.
Preferably, before the application treatment progress of the closing fault side DCN further include:
Traffic assignments weight modification by the failure side DCN is zero.
Preferably, the method also includes:
It is monitored the switching of example operating status, to be monitored to the operating status for moving into side DCN.
To achieve the above object, the present invention also provides a kind of data center's node DCN switching system, the DCN provides single Application system required for a all business processings of client, the system comprises:
Closedown module, for being empty in the message queue for determining the failure side DCN when needing to carry out DCN switching In the case of, out code is applied for failure side DCN if detecting, closes all applications processing of the failure side DCN Process;
Synchronous and switching module carries out database synchronization and cuts for controlling the failure side DCN and moving between the DCN of side It changes;
Starting module, for starting the application treatment progress for moving into side DCN, to complete the switching of DCN.
Preferably, the closedown module includes:
Entrance closedown module, the entrance of the message queue for closing the failure side DCN;
Using closedown module, in the case where it is empty for determining the message queue of the failure side DCN, if detecting needle Out code is applied to failure side DCN, then closes all using treatment progress of the failure side DCN;
Export closedown module, the outlet of the message queue for closing the failure side DCN.
Preferably, the starting module includes:
Module is opened in outlet, is used to open the outlet of the message queue for moving into side DCN;
Application launch module is moved described in starting if being directed to the application open command for moving into side DCN for detecting Enter all using treatment progress of side DCN;
Entrance opens module, is used to open the entrance of the message queue for moving into side DCN.
Preferably, the system also includes:
Modified module, for before the closedown module, the traffic assignments weight modification by the failure side DCN to be Zero.
Preferably, the system also includes:
Switching module is monitored, for being monitored the switching of example operating status, to the operation shape for moving into side DCN State is monitored.
The present invention provides a kind of DCN switching method, wherein DCN can be provided required for all business processings of single client Application system, and in the DCN switching method, when needing to carry out DCN switching, the application of closing fault side DCN handle into Journey controls the failure side DCN and moves into progress database synchronization and switching between the DCN of side, and starts answering for the DCN for moving into side With treatment progress, to complete the switching of DCN.By to being capable of providing application system required for all business processings of single client DCN switching, make it possible to realize that DCN being switched fast using client as dimension.
Detailed description of the invention
Fig. 1 is the flow diagram of DCN switching method in first embodiment of the invention;
Fig. 2 is the refinement flow diagram of step 101 in first embodiment described in Fig. 1;
Fig. 3 is the refinement process signal of step 103 in first embodiment shown in Fig. 1;
Fig. 4 is the schematic diagram of the functional module of DCN switching system in second embodiment of the invention;
Fig. 5 is the refinement the functional block diagram of closedown module 401 in second embodiment shown in Fig. 4 of the present invention;
Fig. 6 is the refinement the functional block diagram of starting module 403 in second embodiment shown in Fig. 4 of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Switching and the switching time longer technology of single operation system are only able to achieve due to existing in the prior art.
For this purpose, the present invention proposes a kind of DCN switching method, by being capable of providing needed for all business processings of single client The switching of the DCN for the application system wanted makes it possible to realize being switched fast for DCN by dimension of client, avoid to individual system Bring data are switched over to remedy and the problem of time-consuming.
Referring to Fig. 1, for the flow diagram of DCN switching method in first embodiment of the invention, the DCN switching method packet Include following steps:
Step 101, when needing to carry out DCN switching, closing fault side DCN apply treatment progress;
DCN switching method in the embodiment of the present invention is proposed based on DCN distributed multi-master node architecture, DCN distribution The more host node frameworks of formula are that the single node duplication of traditional centralized close coupling framework is deployed in multiple and different DCN, often A DCN has the processing capacity of all business, to realize that multiple host nodes provide all services to all clients simultaneously The ability of device.
Wherein, DCN distributed multi-master node architecture has high degree of availability, can be applied to banking system, can satisfy silver The base that supervision requires RPO (Recovery Point Objective), RTO (Recovery Time Objective) Under the premise of this, 7*24 hours continual bank services are provided, while DCN distributed multi-master node architecture has Height Standard Property, it can be made of standardized physics and logic unit, each DCN is capable of providing all business processings of the single client of processing and needs The application system wanted.
Wherein, after RTO refers to that disaster occurs, information system or business function are from pausing the time requirement that must restore.
Wherein, after RPO refers to that disaster occurs, the time point that system and data must be restored is required.
In embodiments of the present invention, when needing to carry out DCN switching, system by closing fault side DCN application handle into Journey.
Step 102 controls the failure side DCN and moves into progress database synchronization and switching between the DCN of side;
That side DCN is moved into described in step 103, starting applies treatment progress, to complete the switching of DCN.
In embodiments of the present invention, system will control the failure side after the application treatment progress of closing fault side DCN It DCN and moves into and carries out database synchronization and switching between the DCN of side.
Wherein, failure side DCN belongs to a data center, moves into side DCN and is in another data center, and two number According to corresponding relationship is pre-set between the DCN at center, therefore, it can determine that failure side DCN is corresponding based on the corresponding relationship Move into side DCN.
In embodiments of the present invention, it controls failure side DCN and moves between the DCN of side and carry out database synchronization and switching packet Include: the carry out data between the redis and the redis for moving into side DCN of control failure side DCN are synchronous, and after synchronization, by event The redis of barrier side DCN is switched to the redis for moving into side DCN.
Wherein it is possible to trigger the synchronization and switching of redis by way of triggering by hand.
Wherein, redis is being write using ANDI C language an of open source, supports network, is memory-based and can be lasting Log type, the key-Value database of change.
In addition, system, which controls failure side DCN and moves into, carries out database synchronization and switching between the DCN of side further include: close Failure side DCN cdr structure type, and after closing, it controls the cdr structure type of failure side DCN and moves into the structure of side DCN It realizes that data are produced the equalizer between type database, after completing data and producing the equalizer, is switched to and moves from the cdr structure type of failure side DCN Enter the cdr structure type of the DCN of side.
In embodiments of the present invention, starting is moved into answering for side DCN after the synchronization and switching for completing database by system With treatment progress, to complete the switching of DCN.
Preferably, in embodiments of the present invention, before executing step 101, following steps can also be performed:
Traffic assignments weight modification by the failure side DCN is zero.
In embodiments of the present invention, which refers to the traffic assignments power of multiple DCN in a data center Weight, in data center failure DCN, system can modify the traffic assignments weight of failure side DCN, and by the failure The traffic assignments weight modification of side DCN be 0, and it should be noted that then complete DCN switching after, system will also move into for this Traffic assignments weight is arranged in side DCN.
Such as: for four DCN in a data center, respectively DCN1, DCN2, DCN3, DCN4, business originally Distributing weight is respectively 10%, 30%, 30% and 30%, and when DCN1 breaks down, system carries out the weight of traffic assignments weight The traffic assignments weight modification of the DCN1 is 0 by new distribution, the traffic assignments weight of other three DCN is respectively modified as 35%, 35% and 30%.After the DCN1 is switched to DCN5 (moving into side DCN), it will divide again for DCN2, DCN3, DCN4, DCN5 With traffic assignments weight, and DCN2, DCN3, DCN4, DCN5 redistribute after traffic assignments weight be respectively 30%, 30%, 30% and 10%.By modifying to traffic assignments weight, so that the service request of client will not be sent to failure side DCN, It avoids influencing the business processing to client.
Wherein it is possible to realize business point by the GNS (Global localization service, Global Naming service) in system Corresponding DCN is arrived in modification and reassignment with weight, the request which is capable of location client.
In embodiments of the present invention, when needing to carry out DCN switching, closing fault side DCN's applies treatment progress, control The failure side DCN and move into the application processing for carrying out database synchronization and switching between the DCN of side, and starting the DCN for moving into side Process, to complete the switching of DCN.By to the DCN for being capable of providing application system required for all business processings of single client Switching, make it possible to using client as dimension realize DCN in the Fast synchronization of database and being switched fast for DCN.
Preferably, in first embodiment shown in Fig. 1, following steps are can also be performed in system:
It is monitored the switching of example operating status, to be monitored to the operating status for moving into side DCN.
In embodiments of the present invention, system can be monitored during executing the method in embodiment illustrated in fig. 1 The switching of example operating status enables the system to be switched to from the monitoring of the operating status to failure side DCN to moving into side DCN Operating status monitoring, wherein specifically can by monitoring system realize monitoring example operating status switching.
In embodiments of the present invention, system can show the information monitored in display screen, so as to staff's energy Enough convenient determine move into operating status of the side DCN in handoff procedure, and occur monitoring the operating status for moving into side DCN When abnormal, alarm prompt will be issued.
Referring to Fig. 2, for the flow diagram of the refinement step of step 101 in first embodiment shown in Fig. 1, comprising:
Step 201, close the failure side DCN message queue entrance;
Step 202, in the case where it is empty for determining the message queue of the failure side DCN, if detecting for failure side DCN's applies out code, then closes all using treatment progress of the failure side DCN;
Step 203, close the failure side DCN message queue outlet.
In embodiments of the present invention, when needing to carry out DCN switching, system is by the message queue of closing fault side DCN Entrance, and determine whether the message queue of failure side DCN is sky, in the case that in failure side, the message queue of DCN is empty, if being System, which is detected, applies out code for failure side DCN, then the DCN's of closing fault side is all using treatment progress, and It closes after applying treatment progress, the outlet of the message queue of closing fault side DCN.
In this law embodiment, be capable of effective closing fault side DCN through the above way applies treatment progress.
Referring to Fig. 3, for the flow diagram of the refinement step of step 103 in first embodiment shown in Fig. 1, comprising:
The outlet of the message queue of side DCN is moved into described in step 301, opening;
If step 302, detecting for the application open command for moving into side DCN, start described in move into side DCN's It is all to apply treatment progress;
The entrance of the message queue of side DCN is moved into described in step 303, opening.
In embodiments of the present invention, system control failure side DCN and move into database between the DCN of side complete it is synchronous and After switching, the outlet for moving into the message queue of side DCN will be opened.Detecting the application open command for the DCN for moving into side Afterwards, then all using treatment progress of side DCN are moved into starting, and open the entrance for moving into the message queue of side DCN.
In embodiments of the present invention, the application treatment progress for moving into side DCN can be effectively opened through the above way, with It is formal that externally service is provided.
It in embodiments of the present invention, can be by way of setting entity button or virtual push button, so that user can be with Realize that all of triggering system closing fault side DCN move using the function and triggering system starting for the treatment of progress by clicking button Enter all application treatment progress functions of side DCN, realizes one key switching DCN.
Referring to Fig. 4, for the signal of the functional module of DCN switching system in second embodiment of the invention, which includes: Closedown module 401, synchronous and switching module 402 and starting module 403.
Closedown module 401, for when needing to carry out DCN switching, closing fault side DCN's to apply treatment progress;
DCN switching system in the embodiment of the present invention is proposed based on DCN distributed multi-master node architecture, DCN distribution The more host node frameworks of formula are that the single node duplication of traditional centralized close coupling framework is deployed in multiple and different DCN, often A DCN has the processing capacity of all business, to realize that multiple host nodes provide all services to all clients simultaneously Ability.
Wherein, DCN distributed multi-master node architecture has high degree of availability, can be applied to banking system, can satisfy silver The base that supervision requires RPO (Recovery Point Objective), RTO (Recovery Time Objective) Under the premise of this, 7*24 hours continual bank services are provided, while DCN distributed multi-master node architecture has Height Standard Property, it can be made of standardized physics and logic unit, each DCN is capable of providing all business processings of the single client of processing and needs The application system wanted.
Wherein, after RTO refers to that disaster occurs, information system or business function are from pausing the time requirement that must restore.
Wherein, after RPO refers to that disaster occurs, the time point that system and data must be restored is required.
In embodiments of the present invention, when needing to carry out DCN switching, closedown module 401 is by the application of closing fault side DCN Treatment progress.
Synchronous and switching module 402, carries out database synchronization for controlling the failure side DCN and moving between the DCN of side And switching;
Starting module 403, for starting the application treatment progress for moving into side DCN, to complete the switching of DCN.
In embodiments of the present invention, after the application treatment progress of closing fault side DCN, synchronous and switching module 402 is controlled It makes the failure side DCN and moves into and carry out database synchronization and switching between the DCN of side.
Wherein, failure side DCN belongs to a data center, moves into side DCN and is in another data center, and two number According to corresponding relationship is pre-set between the DCN at center, therefore, it can determine that failure side DCN is corresponding based on the corresponding relationship Move into side DCN.
In embodiments of the present invention, synchronous and switching module 402 is specifically used for: the redis of control failure side DCN with move into Carry out data between the redis of side DCN are synchronous, and after synchronization, the redis of failure side DCN are switched to and moves into side DCN Redis.
Wherein it is possible to trigger the synchronization and switching of redis by way of triggering by hand.
Wherein, redis is being write using ANDI C language an of open source, supports network, is memory-based and can be lasting Log type, the key-Value database of change.
In addition, synchronous and switching module 402 is also used to: closing fault side DCN cdr structure type, and after closing, control It realizes that data are produced the equalizer between the cdr structure type of failure side DCN processed and the cdr structure type for moving into side DCN, completes data After producing the equalizer, the cdr structure type for moving into the DCN of side is switched to from the cdr structure type of failure side DCN.
In embodiments of the present invention, after the synchronization and switching for completing database, starting is moved into side by starting module 403 DCN's applies treatment progress, to complete the switching of DCN.
Preferably, in embodiments of the present invention, system further include:
Modified module 404, for before closedown module 401, the traffic assignments weight modification by the failure side DCN to be Zero.
In embodiments of the present invention, which refers to the traffic assignments power of multiple DCN in a data center Weight, in data center failure DCN, system can modify the traffic assignments weight of failure side DCN, and by the failure The traffic assignments weight modification of side DCN be 0, and it should be noted that then complete DCN switching after, system will also move into for this Traffic assignments weight is arranged in side DCN.
Such as: for four DCN in a data center, respectively DCN1, DCN2, DCN3, DCN4, business originally Distributing weight is respectively 10%, 30%, 30% and 30%, and when DCN1 breaks down, system carries out the weight of traffic assignments weight The traffic assignments weight modification of the DCN1 is 0 by new distribution, the traffic assignments weight of other three DCN is respectively modified as 35%, 35% and 30%.After the DCN1 is switched to DCN5 (moving into side DCN), it will divide again for DCN2, DCN3, DCN4, DCN5 With traffic assignments weight, and DCN2, DCN3, DCN4, DCN5 redistribute after traffic assignments weight be respectively 30%, 30%, 30% and 10%.By modifying to traffic assignments weight, so that the service request of client will not be sent to failure side DCN, It avoids influencing the business processing to client.
Wherein it is possible to realize business point by the GNS (Global localization service, Global Naming service) in system Corresponding DCN is arrived in modification and reassignment with weight, the request which is capable of location client.
In embodiments of the present invention, when needing to carry out DCN switching, at the application of 401 closing fault side DCN of closedown module Reason process, synchronous and switching module 402, which controls the failure side DCN and moves into, carries out database synchronization and switching between the DCN of side, and Start the application processing for moving into the DCN of side by starting module 403 to carry out, to complete the switching of DCN.By to being capable of providing list The switching of the DCN of application system required for a all business processings of client makes it possible to realize number in DCN by dimension of client According to the Fast synchronization in library and being switched fast for DCN.
Preferably, in second embodiment shown in Fig. 4, system further include:
Switching module (not shown) is monitored, for being monitored the switching of example operating status, to move into described The operating status of side DCN is monitored.
In embodiments of the present invention, in the case where needing to switch DCN, the monitoring switching module in system is monitored reality The switching of example operating status, enables the system to be switched to from the monitoring of the operating status to failure side to the fortune for moving into side DCN The monitoring of row state, wherein the monitoring switching module can be specifically realized by IMS system.
In embodiments of the present invention, system can show the information monitored in display screen, so as to staff's energy Enough convenient determine move into operating status of the side DCN in handoff procedure, and occur monitoring the operating status for moving into side DCN When abnormal, alarm prompt will be issued.
Referring to Fig. 5, for the signal of the refinement functional module of closedown module 401 in second embodiment shown in Fig. 4 of the present invention Figure, comprising: entrance closedown module 501, using closedown module 502 and outlet closedown module 503.
Entrance closedown module 501, the entrance of the message queue for closing the failure side DCN;
Using closedown module 502, in the case where it is empty for determining the message queue of the failure side DCN, if detection Out code is applied to for failure side DCN, then closes all using treatment progress of the failure side DCN;
Export closedown module 503, the outlet of the message queue for closing the failure side DCN.
In embodiments of the present invention, when needing to carry out DCN switching, 501 closing fault side DCN's of entrance closedown module disappears The entrance of queue is ceased, and determines whether the message queue of failure side DCN is sky, and the message queue of DCN is empty feelings in failure side Under condition, staff can trigger system closing fault side DCN by distribution platform, and if system detection arrive for failure side DCN Apply out code, then apply treatment progress using all of DCN of 502 closing fault side of closedown module, and answered in closing After treatment progress, the outlet of the message queue of 503 closing fault side DCN of closedown module is exported.
In this law embodiment, be capable of effective closing fault side DCN through the above way applies treatment progress.
Referring to Fig. 6, for the signal of the refinement functional module of starting module 403 in second embodiment shown in Fig. 4 of the present invention Figure, comprising: open module 601, application launch module 602 and entrance and open module 603 in outlet.
Module 601 is opened in outlet, is used to open the outlet of the message queue for moving into side DCN;
Application launch module 602 starts institute if being directed to the application open command for moving into side DCN for detecting It states and moves into all using treatment progress of side DCN;
Entrance opens module 603, is used to open the entrance of the message queue for moving into side DCN.
In embodiments of the present invention, system control failure side DCN and move into database between the DCN of side complete it is synchronous and After switching, outlet opens module 601 and opens the outlet for moving into the message queue of side DCN.It is detecting for the DCN's for moving into side After open command, then application launch module 602, which starts, moves into all using treatment progress of side DCN, and is opened by entrance Module 603 opens the entrance for moving into the message queue of side DCN.
In embodiments of the present invention, the application treatment progress for moving into side DCN can be effectively opened through the above way, with It is formal that externally service is provided.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes Be engaged in device, air conditioner or the network equipment etc.) method that executes each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of data center's node DCN switching method, which is characterized in that the DCN provides single all business processings of client Required application system, the described method comprises the following steps:
When needing to carry out DCN switching, closing fault side DCN's applies treatment progress;
It controls the failure side DCN and moves into and carry out database synchronization and switching between the DCN of side;
That side DCN is moved into described in starting applies treatment progress, to complete the switching of DCN.
2. the method according to claim 1, wherein the closing fault side DCN's includes: using treatment progress
Close the entrance of the message queue of the failure side DCN;
In the case where it is empty for determining the message queue of the failure side DCN, if detecting, the application for failure side DCN is closed The all using treatment progress of the failure side DCN are then closed in instruction;
Close the outlet of the message queue of the failure side DCN.
3. the method according to claim 1, wherein moved into described in the starting side DCN apply treatment progress, Include:
The outlet of the message queue of side DCN is moved into described in opening;
If detecting all applications processing for moving into side DCN described in starting for the application open command for moving into side DCN Process;
The entrance of the message queue of side DCN is moved into described in opening.
4. according to claim 1 to method described in 3 any one, which is characterized in that at the application of the closing fault side DCN Before reason process further include:
Traffic assignments weight modification by the failure side DCN is zero.
5. according to claim 1 to method described in 3 any one, which is characterized in that the method also includes:
It is monitored the switching of example operating status, to be monitored to the operating status for moving into side DCN.
6. a kind of data center's node DCN switching system, which is characterized in that the DCN provides single all business processings of client Required application system, the system comprises:
Closedown module, for when needing to carry out DCN switching, closing fault side DCN's to apply treatment progress;
Synchronous and switching module carries out database synchronization and switching for controlling the failure side DCN and moving between the DCN of side;
Starting module, for starting the application treatment progress for moving into side DCN, to complete the switching of DCN.
7. system according to claim 6, which is characterized in that the closedown module includes:
Entrance closedown module, the entrance of the message queue for closing the failure side DCN;
Using closedown module, for being directed to event if detecting in the case where it is empty for determining the message queue of the failure side DCN Hinder side DCN applies out code, then closes all using treatment progress of the failure side DCN;
Export closedown module, the outlet of the message queue for closing the failure side DCN.
8. system according to claim 6, which is characterized in that the starting module includes:
Module is opened in outlet, is used to open the outlet of the message queue for moving into side DCN;
Application launch module moves into side described in starting if being directed to the application open command for moving into side DCN for detecting The all of DCN apply treatment progress;
Entrance opens module, is used to open the entrance of the message queue for moving into side DCN.
9. according to system described in claim 6 to 8 any one, which is characterized in that the system also includes:
Modified module, for before the closedown module, the traffic assignments weight modification by the failure side DCN to be zero.
10. according to system described in claim 6 to 8 any one, which is characterized in that the system also includes:
Monitor switching module, for being monitored the switching of example operating status, with to the operating status for moving into side DCN into Row monitoring.
CN201610538573.9A 2016-07-08 2016-07-08 DCN switching method and system Active CN106209451B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610538573.9A CN106209451B (en) 2016-07-08 2016-07-08 DCN switching method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610538573.9A CN106209451B (en) 2016-07-08 2016-07-08 DCN switching method and system

Publications (2)

Publication Number Publication Date
CN106209451A CN106209451A (en) 2016-12-07
CN106209451B true CN106209451B (en) 2019-08-20

Family

ID=57473149

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610538573.9A Active CN106209451B (en) 2016-07-08 2016-07-08 DCN switching method and system

Country Status (1)

Country Link
CN (1) CN106209451B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108616995B (en) * 2016-12-30 2021-07-30 中国电信股份有限公司 Mobile network service adaptation method, equipment, terminal, base station and mobile communication system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546914A (en) * 2013-10-21 2014-01-29 大唐移动通信设备有限公司 HSS (home subscriber server) master-slave management method and HSS master-slave management device
CN105068886A (en) * 2015-07-30 2015-11-18 上海新炬网络信息技术有限公司 Disaster backup intelligent switching control method based on GoldenGate
CN105389231A (en) * 2015-10-28 2016-03-09 浪潮(北京)电子信息产业有限公司 Database dual-computer backup method and system
CN105681401A (en) * 2015-12-31 2016-06-15 深圳前海微众银行股份有限公司 Distributed architecture

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546914A (en) * 2013-10-21 2014-01-29 大唐移动通信设备有限公司 HSS (home subscriber server) master-slave management method and HSS master-slave management device
CN105068886A (en) * 2015-07-30 2015-11-18 上海新炬网络信息技术有限公司 Disaster backup intelligent switching control method based on GoldenGate
CN105389231A (en) * 2015-10-28 2016-03-09 浪潮(北京)电子信息产业有限公司 Database dual-computer backup method and system
CN105681401A (en) * 2015-12-31 2016-06-15 深圳前海微众银行股份有限公司 Distributed architecture

Also Published As

Publication number Publication date
CN106209451A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
CN113067728B (en) Network security attack and defense test platform
Bauer et al. Reliability and availability of cloud computing
CN104580349B (en) Secure cloud administration agent
CN109831500A (en) The synchronous method of configuration file and Pod in Kubernetes cluster
CN109240765A (en) Blowout method, device, equipment and the computer readable storage medium of Service Source
US20140181572A1 (en) Provide an Appliance Like Test Vehicle for IT Disaster Recovery
CN100461130C (en) Method for testing a software application
US10204125B2 (en) Method, apparatus, and application platform for updating application object attribute
CN105653401B (en) Application system calamity is standby, O&M, monitoring and emergency start and stop dispatching method and device
CN106231365A (en) A kind of dispatching method and system
CN105871957B (en) Monitoring framework design method and monitoring server, agent unit, control server
US8751762B2 (en) Prevention of overlay of production data by point in time copy operations in a host based asynchronous mirroring environment
CN105391586B (en) A kind of method and system of fault locating analysis
CN112491608A (en) Disaster recovery solution determination method, disaster recovery solution determination device, disaster recovery solution determination equipment and storage medium
CN104516796B (en) A kind of network element backup and restoration methods and device based on command set
CN103246945A (en) Business-based flow processing method and system
CN106209451B (en) DCN switching method and system
US20220019451A1 (en) System and methods for creation and use of meta-models in simulated environments
CN110209556B (en) Disaster tolerance testing method, payment method, device, medium and service equipment
KR20150015163A (en) Teller server of transferring additional consultation to other consultant during financial consultation by using ATM and method of providing consultation service
CN109603154A (en) Interface test method, client, Entrust Server and system
Zhu et al. IT disaster tolerance and application classification for data centers
CN109493126A (en) Integration data processing method and processing device based on block chain
CN116466959A (en) Deployment method and device of micro-service system, readable storage medium and electronic equipment
US10079883B2 (en) Primary device selection at operating system initialization

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant