CN105022681B - A kind of method and system for realizing the emergent switching of disaster tolerance - Google Patents
A kind of method and system for realizing the emergent switching of disaster tolerance Download PDFInfo
- Publication number
- CN105022681B CN105022681B CN201410162677.5A CN201410162677A CN105022681B CN 105022681 B CN105022681 B CN 105022681B CN 201410162677 A CN201410162677 A CN 201410162677A CN 105022681 B CN105022681 B CN 105022681B
- Authority
- CN
- China
- Prior art keywords
- switching
- control
- management
- control terminal
- destination host
- 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
Links
- 230000000875 corresponding Effects 0.000 claims abstract description 21
- 230000001960 triggered Effects 0.000 claims description 6
- 239000000203 mixture Substances 0.000 claims description 3
- 235000013399 edible fruits Nutrition 0.000 claims 1
- 230000000977 initiatory Effects 0.000 claims 1
- 230000005540 biological transmission Effects 0.000 description 5
- 238000000034 method Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000002452 interceptive Effects 0.000 description 2
- 241000272519 Aix Species 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 201000010099 disease Diseases 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
Abstract
The invention provides a kind of method for realizing the emergent switching of disaster tolerance, this method includes:Create the multiple switching examples being made up of the IP of service switchover type and destination host;Switching control platform receives the switching script that user uploads, and the switching example according to corresponding to the switching affiliated service switchover type of script switching script through management and control middleware is transferred to the destination host corresponding to control terminal;Switching example of the switching control platform according to selected by user initiates switching command request through management and control middleware to control terminal;After the control terminal receives switching command request, trigger the destination host and handover operation is performed according to the switching script.Present invention also offers a kind of system for realizing the emergent switching of disaster tolerance.
Description
Technical field
The present invention relates to the disaster tolerance handoff technique in operation management, more particularly to a kind of method for realizing the emergent switching of disaster tolerance
And system.
Background technology
In the prior art, the emergent switching of most disaster tolerance is realized by switching control platform, specifically includes configuration master
Machine relevant information, upload switching script, perform switching three steps of script:
Step 1, pass through switching control platform configuration main frame relevant information, such as IP, user name, password, remarks;
Step 2, user upload the emergent switching script of disaster tolerance to switching control platform, then by switching control platform to mesh
Mark main frame and upload the switching script;
Here, the switching script is responsible for writing and encapsulated by disaster tolerance contingency management person, to realize production system application
Close down, the startup of the emergent application of disaster tolerance.
Step 3, by way of switching control platform issues switching command request, cut described in triggering destination host execution
Change of feet sheet.
Existing disaster tolerance is met an urgent need switching method, following drawback be present:Because disaster tolerance emergency system relates generally to multiple host,
Existing method needs to select multiple main frames to carry out the emergent switching of disaster tolerance, and operation is comparatively laborious, and the response time is longer;It is moreover, more
Switching between individual main frame has sequencing, if order disorder is easily caused without suitably control, so as to cause to hold
The emergent handoff failure of calamity or exception.
Further, since being related to service details, the emergent switching of existing disaster tolerance is not carried out one key switching, it is necessary to which professional shows
Field operation, in this way, quick response can not be accomplished;And when carrying out the configuration of main frame relevant information, using preservation plaintext password
Mode, easily cause password leakage, trigger potential safety hazard.Further, the emergent switching control platform of existing disaster tolerance, rights management
It is relatively simple, for that with the user for performing authority, maloperation may be triggered, cause unexpected switching.
The content of the invention
In view of this, the embodiment of the present invention it is expected to provide a kind of method and system for realizing the emergent switching of disaster tolerance, Neng Goushi
Effective management and control of the existing emergent switching of disaster tolerance.
To reach above-mentioned purpose, the technical proposal of the invention is realized in this way:
The embodiment of the present invention provides a kind of method for realizing the emergent switching of disaster tolerance, creates by service switchover type and target master
Multiple switching examples of the IP compositions of machine;This method also includes:
Switching control platform receives the switching script that user uploads, and right according to the affiliated service switchover type institute of switching script
Switching script is transferred to the control terminal corresponding to the destination host by the switching example answered through management and control middleware;
Switching example of the switching control platform according to selected by user initiates switching life through management and control middleware to control terminal
Order request;
After the control terminal receives switching command request, trigger the destination host and cut according to the switching script execution
Change operation.
In such scheme, methods described also includes:The control terminal by the implementing result of destination host through management and control among
Part feeds back to switching control platform.
In such scheme, methods described also includes:When selected switching includes two or more destination host in example
During IP, script executive mode is switched by switching control platform selecting, afterwards, switching control platform is according to selected switching pin
This executive mode initiates switching command request successively.
In such scheme, methods described also includes:Selected cut according to what user selected in the switching control platform
Change example through management and control middleware to control terminal initiate switching command request before, switching control platform passes through based on 4A systems
National treasury mandate interface carries out rights management certification to user.
In such scheme, methods described also includes:Selected cut according to what user selected in the switching control platform
Change before example initiates switching command request through management and control middleware to control terminal, management and control that switching control platform authorizes user
The application username and password of terminal carries out SHA SHA encryptions and forms ciphertext, afterwards, by the ciphertext through pipe
Control middleware is transferred to the control terminal;
Correspondingly, the control terminal is carried out before triggering the destination host and performing handover operation to the ciphertext
Decryption processing, acquisition is described to apply username and password.
The embodiment of the present invention also provides a kind of system for realizing the emergent switching of disaster tolerance, and the system includes:Switching control platform,
Management and control middleware, control terminal and destination host;Wherein,
The switching control platform, it is real for creating the multiple switchings being made up of the IP of service switchover type and destination host
Example;The switching script that user uploads is received, and the switching example according to corresponding to the switching affiliated service switchover type of script will be cut
The change of feet is originally transferred to management and control middleware;It is additionally operable to the switching example according to selected by user and initiates switching command to management and control middleware
Request;
The management and control middleware, it is whole to the management and control corresponding to the destination host for receiving and transmitting the switching script
End;It is additionally operable to receive and transmits the switching command and asks to control terminal;
The control terminal, for receiving the switching command request, the destination host is triggered afterwards and is cut according to
The change of feet this execution handover operation;
The destination host, for performing handover operation according to the switching script.
In such scheme, the control terminal is additionally operable to feed back to the implementing result of destination host through management and control middleware and cut
Change control platform.
In such scheme, the switching control platform also includes selector, for being included when in selected switching example
During the IP of two or more destination host, switching script executive mode is determined by the selecting module.
In such scheme, the switching control platform also includes the national treasury mandate interface based on 4A systems, for described
Switching control platform initiates switching command through management and control middleware according to the selected switching example that user selects to control terminal
Before request, rights management certification is carried out to user based on the national treasury mandate interface of 4A systems by described.
In such scheme, the switching control platform also includes encryption processor, for the control terminal for authorizing user
Application user name, password carries out SHA encryptions and forms ciphertext, and the ciphertext is transferred into the pipe through management and control middleware
Control terminal;
Correspondingly, the control terminal also includes decryption processor, for processing to be decrypted to the ciphertext of reception, obtains
It is described to apply username and password.
The method and system for the emergent switching of disaster tolerance that what the embodiment of the present invention was provided realize, create by service switchover type and
Multiple switching examples of the IP compositions of destination host;Switching control platform receives the switching script that user uploads, and according to switching
Switching example corresponding to the affiliated service switchover type of script is transferred to the destination host by script is switched through management and control middleware
Corresponding control terminal;Switching example of the switching control platform according to selected by user is sent out through management and control middleware to control terminal
Play switching command request;After the control terminal receives switching command request, the destination host is triggered according to the switching pin
This execution handover operation.In this way, between the switching control platform and management and control middleware and management and control middleware and control terminal
Carried out data transmission using SOCKET agreements, realize that switching control platform performs effective control of the emergent switching of disaster tolerance to destination host
System, its real-time is good, and privacy degrees are high.
Because the switching between multiple destination hosts has sequencing, script is switched by switching control platform selecting and held
Line mode, such as order perform, and can effectively avoid the order caused by human operational error disorderly, so as to cause the emergent switching of disaster tolerance
Failure is abnormal.
Further, switching control platform is recognized by carrying out rights management to user based on the national treasury mandate interface of 4A systems
Card, it is ensured that disaster tolerance handover operation effectively can be authorized and audited retrospect.
Further, calculated by the expect interactive environments in class Unix system, switching control platform by secure hash
The mode of method (Secure Hash Algorithm, SHA) encryption can realize the distal end using user to control terminal
Silent formula mandate, so as to avoid the potential safety hazard caused by user password leaks.Brief description of the drawings
Fig. 1 is the method implementation process schematic diagram that the embodiment of the present invention realizes the emergent switching of disaster tolerance;
Fig. 2 is that the embodiment of the present invention realizes that the system of the emergent switching of disaster tolerance forms structural representation.
Embodiment
In embodiments of the present invention, the multiple switching examples being made up of the IP of service switchover type and destination host are created;
Switching control platform receives the switching script that user uploads, and the switching according to corresponding to the switching affiliated service switchover type of script
Switching script is transferred to the control terminal corresponding to the destination host by example through management and control middleware;Switching control platform according to
Switching example selected by user initiates switching command request through management and control middleware to control terminal;The control terminal, which receives, to be cut
After changing command request, trigger the destination host and handover operation is performed according to the switching script.
Here, the switching example that creates can be completed by switching control platform;The service switchover type and target
Corresponding relation between the IP of main frame can be one-to-one or one-to-many.
Here, used between the switching control platform and management and control middleware and management and control middleware and control terminal
SOCKET agreements carry out real-time Data Transmission.
Wherein, the control terminal is deployed on destination host, is corresponded with destination host.
Below in conjunction with the accompanying drawings and specific embodiment the present invention is further described in more detail.
Fig. 1 is the method implementation process schematic diagram that the embodiment of the present invention realizes the emergent switching of disaster tolerance, as shown in figure 1, this hair
Bright embodiment realizes that the method for the emergent switching of disaster tolerance includes:
Step S100:Create the multiple switching examples being made up of the IP of service switchover type and destination host;
Here, the switching example that creates can be completed by switching control platform, and the switching example is stored in and cut
Change in the database of the affiliated Web server of control platform;The destination host may need to perform the emergent switching of disaster tolerance to be any
Main frame.
Step S101:Switching control platform receives the switching script that user uploads, and switches industry according to belonging to switching script
The management and control that switching script is transferred to corresponding to the destination host by the switching example corresponding to service type through management and control middleware is whole
End;
Here, the service switchover type and switching script are one-to-one.Therefore, switching control platform is according to switching
Switching example corresponding to the affiliated service switchover type of script can determine the IP of destination host.Further, according to being determined
Destination host IP, switching control platform will switch script through being transferred to through management and control middleware corresponding to the destination host
Control terminal.
Step S102:Switching example of the switching control platform according to selected by user is sent out through management and control middleware to control terminal
Play switching command request;
Here, when including the IP of two or more destination host in selected switching example, switching control platform is passed through
Select to switch script executive mode between each destination host, afterwards, switching control platform is held according to selected switching script
Line mode initiates switching command request successively;Wherein, switching script executive mode includes order execution, performs parallel, Yi Jizhi
It can perform.
Here, before the execution step S102, switching control platform passes through the national treasury mandate interface based on 4A systems
Rights management certification is carried out to user;Wherein, what 4A was referred to is account management (Account), authentication management
(Authentication), empowerment management (Authorization) and security audit (Audit).In this way, by switching
The mode of the national treasury mandate interface of 4A systems is configured in control platform, it is real in switching of the switching control platform according to selected by user
Before example initiates switching command request through management and control middleware to control terminal, national treasury mandate interface is called, can be achieved with based on short
Believe the rights management of identifying code or user password mode, it is ensured that user is effectively authorized.
Step S103:After the control terminal receives switching command request, the destination host is triggered according to the switching
Script performs handover operation.
Here, before step S102 is performed, the application user name for the control terminal that switching control platform authorizes user
SHA encryptions are carried out with password and form ciphertext, afterwards, the ciphertext are transferred to the control terminal through management and control middleware;
Wherein, management and control middleware is deployed in the control main frame of class Unix system.
Correspondingly, in control terminal described in step S103 before triggering the destination host and performing handover operation, to receiving
To the ciphertext be decrypted processing, obtain and described apply username and password.
Here, the control terminal uses is used for the decryption program corresponding with SHA encryptions using user's independent research
Processing is decrypted to the ciphertext.
In this way, the side that SHA encryptions are passed through by the expect interactive environments in class Unix system, switching control platform
Formula can realize the distal end silence formula mandate using user to control terminal, so as to avoid caused by user password leaks
Potential safety hazard.
Further, methods described also includes step S104:The control terminal is by the implementing result of destination host through pipe
Control middleware feeds back to switching control platform.
Correspondingly, switching control platform receives and shows the implementing result, while recording user operation daily record and operation
As a result.
Fig. 2 is that the embodiment of the present invention realizes that the system of the emergent switching of disaster tolerance forms structural representation, as shown in Fig. 2 this hair
Bright embodiment realize the system of the emergent switching of disaster tolerance include switching control platform 10, management and control middleware 11, control terminal 12 and
Destination host 13;Wherein,
The switching control platform 10, for creating the multiple switchings being made up of the IP of service switchover type and destination host
Example;The switching script that user uploads is received, and the switching example according to corresponding to the switching affiliated service switchover type of script will
Switch script transmission to management and control middleware 11;The switching example according to selected by user is additionally operable to initiate to cut to management and control middleware 11
Change command request;
The management and control middleware 11, for receiving and transmitting the switching script to the pipe corresponding to the destination host 13
Control terminal 12;It is additionally operable to receive and transmits the switching command and asks to control terminal 12;
The control terminal 12, for receiving the switching command request, the destination host 13 is triggered afterwards according to institute
State switching script and perform handover operation;
Here, the control terminal is deployed on destination host, typically supports AIX, SUNOS, LINUX and HP-UX etc.
System.In addition, carried out data transmission between control terminal and management and control middleware using internal SOCKET agreements, in this way, real-time
Good, privacy degrees are high.
The destination host 13, for performing handover operation according to the switching script.
Further, the control terminal 12, it is additionally operable to the implementing result of destination host 13 is anti-through management and control middleware 11
Feed switching control platform 10.
Here, the switching control platform 10 also includes selector 101, for when in selected switching example include two
During the IP of individual above destination host, switching script executive mode is determined by the selector 101.
Here, the switching control platform 10 also includes the national treasury mandate interface 102 based on 4A systems, for being cut described
Change control platform 10 and switching command is initiated to control terminal through management and control middleware according to the selected switching example that user selects
Before request, rights management certification is carried out to user by the national treasury mandate interface 102 based on 4A systems.
Here, the switching control platform 10 also includes encryption processor 103, for the control terminal 12 for authorizing user
Application user name, password carries out SHA encryptions and forms ciphertext, and the ciphertext is transferred to through management and control middleware 11 described
Control terminal 12;Correspondingly, the control terminal 12 also includes decryption processor 121, for the ciphertext of reception to be decrypted
Processing, acquisition is described to apply username and password.Wherein, management and control middleware 11 can be deployed in the control main frame of class Unix system
On.
In actual applications, the management and control middleware can independently be disposed, can also be deployed in as a kind of transmission apparatus
On the affiliated Web server of switching control platform.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.
Claims (8)
- A kind of 1. method for realizing the emergent switching of disaster tolerance, it is characterised in that create by service switchover type and the IP of destination host Multiple switching examples of composition;Methods described also includes:Switching control platform receives the switching script that user uploads, and according to corresponding to the switching affiliated service switchover type of script Switching script is transferred to the control terminal corresponding to the destination host by switching example through management and control middleware;Switching example of the switching control platform according to selected by user initiates switching command through management and control middleware to control terminal please Ask;After the control terminal receives switching command request, trigger the destination host and switching behaviour is performed according to the switching script Make;When including the IP of two or more destination host in selected switching example, pin is switched by switching control platform selecting This executive mode, afterwards, switching control platform initiates switching command successively according to selected switching script executive mode asks.
- 2. according to the method for claim 1, it is characterised in that methods described also includes:The control terminal is by target master The implementing result of machine feeds back to switching control platform through management and control middleware.
- 3. method according to claim 1 or 2, it is characterised in that methods described also includes:In the switching control platform Before switching command request being initiated according to the selected switching example that user selects to control terminal through management and control middleware, switching Control platform to user based on the national treasury mandate interface of 4A systems by carrying out rights management certification.
- 4. method according to claim 1 or 2, it is characterised in that methods described also includes:In the switching control platform Before switching command request being initiated according to the selected switching example that user selects to control terminal through management and control middleware, switching The application username and password for the control terminal that control platform authorizes user carries out SHA SHA encryptions and formed Ciphertext, afterwards, the ciphertext is transferred to the control terminal through management and control middleware;Correspondingly, the ciphertext is decrypted before triggering the destination host and performing handover operation for the control terminal Processing, acquisition is described to apply username and password.
- 5. a kind of system for realizing the emergent switching of disaster tolerance, it is characterised in that the system includes:In switching control platform, management and control Between part, control terminal and destination host;Wherein,The switching control platform, for creating the multiple switching examples being made up of the IP of service switchover type and destination host; The switching script that user uploads is received, and the switching example according to corresponding to the switching affiliated service switchover type of script will switch pin Originally it is transferred to management and control middleware;The switching example being additionally operable to according to selected by user please to management and control middleware initiation switching command Ask;The management and control middleware, for receiving and transmitting the switching script to the control terminal corresponding to the destination host; It is additionally operable to receive and transmits the switching command and asks to control terminal;The control terminal, for receiving the switching command request, the destination host is triggered afterwards according to the switching pin This execution handover operation;The destination host, for performing handover operation according to the switching script;The switching control platform also includes selection Device, for when including the IP of two or more destination host in selected switching example, determining to cut by the selecting module This executive mode of the change of feet.
- 6. system according to claim 5, it is characterised in that the control terminal is additionally operable to the execution knot of destination host Fruit feeds back to switching control platform through management and control middleware.
- 7. the system according to claim 5 or 6, it is characterised in that the switching control platform also includes being based on 4A systems National treasury mandate interface, for the selected switching example that is selected in the switching control platform according to user through management and control among Before part initiates switching command request to control terminal, user is weighed by the national treasury mandate interface based on 4A systems Limit administrative authentication.
- 8. the system according to claim 5 or 6, it is characterised in that the switching control platform also includes encryption processor, Application user name, password for the control terminal that authorizes user carry out SHA encryptions and form ciphertext, and by the ciphertext The control terminal is transferred to through management and control middleware;Correspondingly, the control terminal also includes decryption processor, for the ciphertext of reception being decrypted processing, described in acquisition Using username and password.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410162677.5A CN105022681B (en) | 2014-04-22 | 2014-04-22 | A kind of method and system for realizing the emergent switching of disaster tolerance |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410162677.5A CN105022681B (en) | 2014-04-22 | 2014-04-22 | A kind of method and system for realizing the emergent switching of disaster tolerance |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105022681A CN105022681A (en) | 2015-11-04 |
CN105022681B true CN105022681B (en) | 2017-11-21 |
Family
ID=54412670
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410162677.5A Active CN105022681B (en) | 2014-04-22 | 2014-04-22 | A kind of method and system for realizing the emergent switching of disaster tolerance |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105022681B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109726053B (en) * | 2018-11-29 | 2021-08-27 | 网联清算有限公司 | Switching method and device of database control center and computer equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101719259A (en) * | 2009-12-08 | 2010-06-02 | 交通银行股份有限公司 | Maintenance management method, device and system for bank network devices |
CN101807985A (en) * | 2010-03-03 | 2010-08-18 | 交通银行股份有限公司 | Datacenter centralization control switching method and system |
CN102098713A (en) * | 2011-01-25 | 2011-06-15 | 浪潮通信信息系统有限公司 | Method for quickly tolerating disaster for base station in mobile communication network |
CN103685479A (en) * | 2013-11-30 | 2014-03-26 | 国家电网公司 | Informationized mobile control system for infrastructure projects |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060056285A1 (en) * | 2004-09-16 | 2006-03-16 | Krajewski John J Iii | Configuring redundancy in a supervisory process control system |
-
2014
- 2014-04-22 CN CN201410162677.5A patent/CN105022681B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101719259A (en) * | 2009-12-08 | 2010-06-02 | 交通银行股份有限公司 | Maintenance management method, device and system for bank network devices |
CN101807985A (en) * | 2010-03-03 | 2010-08-18 | 交通银行股份有限公司 | Datacenter centralization control switching method and system |
CN102098713A (en) * | 2011-01-25 | 2011-06-15 | 浪潮通信信息系统有限公司 | Method for quickly tolerating disaster for base station in mobile communication network |
CN103685479A (en) * | 2013-11-30 | 2014-03-26 | 国家电网公司 | Informationized mobile control system for infrastructure projects |
Also Published As
Publication number | Publication date |
---|---|
CN105022681A (en) | 2015-11-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109040090B (en) | A kind of data ciphering method and device | |
CN108650082A (en) | The encryption and verification method of information to be verified, relevant apparatus and storage medium | |
CN105978920B (en) | A kind of method and TA accessing trusted application | |
CN104917787A (en) | File secure sharing method and system based on group key | |
US20210144007A1 (en) | Uav authentication method and system | |
CN105933374B (en) | A kind of mobile terminal data backup method, system and mobile terminal | |
US11159329B2 (en) | Collaborative operating system | |
CN110535641B (en) | Key management method and apparatus, computer device, and storage medium | |
CN110785985A (en) | Establishing secure communications over an internet of things (IOT) network | |
CN106888448B (en) | Application downloading method, secure element and terminal | |
US20190137971A1 (en) | Method And Apparatus For Editing, Obtaining, and Protecting Process Of Solar Cell Production Device | |
CN105955784A (en) | Elevator program upgrade and backup methods and systems, and mobile terminals | |
WO2019091071A1 (en) | Railway signal security encryption method and system | |
CN105022681B (en) | A kind of method and system for realizing the emergent switching of disaster tolerance | |
CN105701390A (en) | Encryption terminal remote management method, encryption terminal and manager | |
US20130198835A1 (en) | Method of using an account agent to access superuser account shell of a computer device | |
CN103119559A (en) | Information generation system and method therefor | |
CN103077018B (en) | A kind of control method of the equipment interface based on Android system and system | |
CN107872794A (en) | Channel connection control method and device | |
KR20210081614A (en) | Power distribution security device | |
CN106685931B (en) | Smart card application management method and system, terminal and smart card | |
WO2015180293A1 (en) | Cloud desktop monitoring method and apparatus | |
CN105763518A (en) | B/S architecture-based remote data encryption method | |
US9571467B2 (en) | Information management system, information processing device, and non-transitory computer readable medium | |
WO2016165447A1 (en) | Method, apparatus, and system for remotely controlling terminal |
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 |