CN108259242A - Data exchange management method, terminal, system and computer readable storage medium based on duoble computer disaster-tolerance back-up security mechanism - Google Patents
Data exchange management method, terminal, system and computer readable storage medium based on duoble computer disaster-tolerance back-up security mechanism Download PDFInfo
- Publication number
- CN108259242A CN108259242A CN201810031483.XA CN201810031483A CN108259242A CN 108259242 A CN108259242 A CN 108259242A CN 201810031483 A CN201810031483 A CN 201810031483A CN 108259242 A CN108259242 A CN 108259242A
- Authority
- CN
- China
- Prior art keywords
- client
- data exchange
- operation information
- computer
- duoble
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
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/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0663—Performing the actions predefined by failover planning, e.g. switching to standby network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0817—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
-
- 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/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Computer And Data Communications (AREA)
- Hardware Redundancy (AREA)
Abstract
The embodiment of the invention discloses a kind of data exchange management method, terminal, system and computer readable storage medium based on duoble computer disaster-tolerance back-up security mechanism, wherein method includes the system operation information of journal file in acquisition system;According to system operation information judge the first client whether normal operation;If the first client operation exception, the operation for starting and asking and interrupt the first client is sent to the second client;It asks to start and run the second client according to described start.The embodiment of the present invention can solve the problems, such as that available data exchanges the service operation occurred in management and interrupts, and ensure that data exchange system continues to provide normal data transfer service and reduces unnecessary resource occupation, and improve the experience of user.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of data friendships based on duoble computer disaster-tolerance back-up security mechanism
Change management method, terminal, system and computer readable storage medium.
Background technology
With the rise of SOA (Service-Oriented Architecture, service-oriented Technical Architecture) in recent years,
More and more application systems proceed by distributed design and deployment.During the design and deployment of application system, need
To consider the problems of that data exchange is transmitted in system;The transmission of existing data exchange using single data exchange service mode into
Row, for example, one is only disposed for exchanging the host of data, when data exchange service once when breaking down, it will cause to count
According to exchange transmission process be interrupted at once, and need after failure is handled, can just continue the transmission of data exchange,
It can not ensure in application system that data are continual to swap, seriously affect the usage experience of user.
Invention content
The embodiment of the present invention provide a kind of data exchange management method based on duoble computer disaster-tolerance back-up security mechanism, terminal,
System and computer readable storage medium can solve the problem in available data Exchange Service, ensure data exchange system
Data of normal people transmission of uniting services and reduces unnecessary resource occupation, and improve the experience of user.
In a first aspect, an embodiment of the present invention provides a kind of data exchange management based on duoble computer disaster-tolerance back-up security mechanism
Method, this method include:
The system operation information of journal file in acquisition system;
According to system operation information judge the first client whether normal operation;
If the first client operation exception, the fortune for starting and asking and interrupt the first client is sent to the second client
Row;
It asks to start and run the second client according to described start.
Further, the system operation information is client log, and journal file is in the acquisition system
System operation information, including:
The client log of journal file in acquisition system.
Further, it is described according to system operation information judge the first client whether normal operation, including:
The extracting parameter value from the system operation information;
According to the parameter value judge the first client whether normal operation.
Further, it is described that the operation for starting and asking and interrupt the first client is sent to the second client, including:
When judging the first client operation exception, the data link between the second client is established;
It is sent by the data link established to second client and starts request.
Second aspect, an embodiment of the present invention provides a kind of data exchange management based on duoble computer disaster-tolerance back-up security mechanism
System, the system main-control end, the first client and the second client, the master control end are objective with the first client and second respectively
Family end connects, wherein,
The master control end, for the system operation information of journal file in acquisition system, according to the system operation information
Judge the first client whether normal operation;
If first client for the first client operation exception, receives the interrupt instruction at master control end and interrupts fortune
Row;
Second client, for receive master control end transmission startup request, and start the second client operation with
Guarantee system continues offer normal data transfer service.
The third aspect, an embodiment of the present invention provides a kind of data exchange management based on duoble computer disaster-tolerance back-up security mechanism
Terminal, the terminal include:
Acquiring unit, for the system operation information of journal file in acquisition system;
Judging unit, for according to system operation information judge the first client whether normal operation;
Transmitting element if for the first client operation exception, sends to start to the second client and asks and interrupt
The operation of first client;
Start running unit, for asking to start and run the second client according to described start.
Further, the system operation information is client log, and the acquiring unit is specifically used for:Obtain system
The client log of journal file in system.
Further, the judging unit, including:
Extraction unit, for the extracting parameter value from the system operation information;
Judgment sub-unit, for according to the parameter value judge the first client whether normal operation.
Further, the transmitting element, including:
Unit is established, for when judging the first client operation exception, establishing the number between the second client
According to link;
Transmission sub-unit sends startup request for passing through established data link to second client.
Fourth aspect, an embodiment of the present invention provides another terminal, including processor, input equipment, output equipment and
Memory, the processor, input equipment, output equipment and memory are connected with each other, wherein, the memory is for storage branch
The computer program that terminal performs the above method is held, the computer program includes program instruction, and the processor is configured to use
In calling described program instruction, the method for performing above-mentioned first aspect.
5th aspect, an embodiment of the present invention provides a kind of computer readable storage medium, the computer storage media
Computer program is stored with, the computer program includes program instruction, and described program instruction makes institute when being executed by a processor
State the method that processor performs above-mentioned first aspect.
In conclusion system operation information of the embodiment of the present invention by journal file in acquisition system;It is transported according to system
Row information judge the first client whether normal operation;If the first client operation exception, opened to the transmission of the second client
The dynamic operation asked and interrupt the first client;It asks to start and run the second client according to described start.The present invention is implemented
Example can solve the problems, such as that the service operation occurred in available data Exchange Service interrupts, and ensure that data exchange system continues to provide
Normal data transfer service and the unnecessary resource occupation of reduction, and improve the experience of user.
Description of the drawings
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description
Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is some embodiments of the present invention, general for this field
For logical technical staff, without creative efforts, other attached drawings are can also be obtained according to these attached drawings.
Fig. 1 is a kind of data exchange management method based on duoble computer disaster-tolerance back-up security mechanism provided in an embodiment of the present invention
Schematic flow diagram;
Fig. 2 is a kind of data exchange management based on duoble computer disaster-tolerance back-up security mechanism that another embodiment of the present invention provides
The schematic flow diagram of method;
Fig. 3 is a kind of data exchange management based on duoble computer disaster-tolerance back-up security mechanism that another embodiment of the present invention provides
The schematic flow diagram of method;
Fig. 4 is a kind of data exchange management terminal based on duoble computer disaster-tolerance back-up security mechanism provided in an embodiment of the present invention
Schematic block diagram;
Fig. 5 is a kind of data exchange management terminal based on duoble computer disaster-tolerance back-up security mechanism provided in an embodiment of the present invention
Another schematic block diagram;
Fig. 6 is a kind of data exchange management terminal based on duoble computer disaster-tolerance back-up security mechanism provided in an embodiment of the present invention
Another schematic block diagram;
Fig. 7 is a kind of data exchange management system based on duoble computer disaster-tolerance back-up security mechanism provided in an embodiment of the present invention
Schematic block diagram;
Fig. 8 is a kind of terminal schematic block diagram that another embodiment of the present invention provides.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without making creative work
Example, shall fall within the protection scope of the present invention.
It should be appreciated that ought use in this specification and in the appended claims, term " comprising " and "comprising" instruction
Described feature, entirety, step, operation, the presence of element and/or component, but one or more of the other feature, whole is not precluded
Body, step, operation, element, component and/or its presence or addition gathered.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment
And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and the appended claims is
Refer to any combinations and all possible combinations of one or more of the associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the terminal described in the embodiment of the present invention is including but not limited to such as with touch sensitive surface
The mobile phone, laptop computer or tablet computer of (for example, touch-screen display and/or touch tablet) etc it is other just
Portable device.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but with tactile
Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch tablet).
In discussion below, the terminal including display and touch sensitive surface is described.It is, however, to be understood that
It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.
Terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application journey
Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application
Program, telephony application, videoconference application, email application, instant messaging applications, exercise
Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application
Program, digital music player application and/or video frequency player application program.
The various application programs that can be performed in terminal can use at least one public of such as touch sensitive surface
Physical user-interface device.It can adjust and/or change among applications and/or in corresponding application programs and touch sensitive table
The corresponding information shown in the one or more functions and terminal in face.In this way, the public physical structure of terminal is (for example, touch
Sensing surface) it can support the various application programs with user interface intuitive and transparent for a user.
It is that the embodiment of the present invention provides a kind of data exchange management based on duoble computer disaster-tolerance back-up security mechanism referring to Fig. 1
The schematic flow diagram of method, as shown in the figure, this method may include S101~S104.
S101, the system operation information of journal file in acquisition system.
In embodiments of the present invention, the system refers to the data exchange management based on duoble computer disaster-tolerance back-up security mechanism
System, data exchange management system that should be based on duoble computer disaster-tolerance back-up security mechanism include master control end, the first client and the
Two clients, wherein, master control end is connect respectively with the first client, the second client, and the first client is exchanged as master data
Server-side, the second client is used as from data exchange service end, in the data exchange pipe based on duoble computer disaster-tolerance back-up security mechanism
It manages in system operation, system and the data exchange of external equipment is realized by master data Exchange Service end, from data exchange
When there is operation troubles or operation exception as backup machine at master data Exchange Service end in server-side, will be invoked and run with
Ensure the normal operation of system data Exchange Service.
It should be noted that in the acquisition system journal file system operation information, wherein, system operation letter
The log for client log, i.e. master data Exchange Service end is ceased, which records about master
Therefore the normal or anomalous event at data exchange service end, master data is will be seen that by obtaining the client log
Whether Exchange Service end breaks down, so as to easily determine that the server-side is normal operation or operation exception.
S102, according to system operation information judge the first client whether normal operation.
In embodiments of the present invention, the system operation information is client log, which is for suffix
.log file, normal or anomalous event of the .log file records about master data server-side, so as to pass through the client
Log may determine that the first client whether normal operation.
It should be noted that master control end passes through FTP (the File Transfer in built-in data exchange transmission module
Protocol, File Transfer Protocol) agreement is used as support, and .log texts are accessed by the way of ping nodes every scheduled duration
Part, with detect the first client whether normal operation, wherein, the scheduled duration can be 3 minutes, 10 minutes or other pre-
Timing is long, and specific duration can be not limited thereto by user's self-defining.
S103 if the first client operation exception, sends to start to the second client and asks and interrupt the first client
The operation at end.
In embodiments of the present invention, if master control end is utilized by the File Transfer Protocol in built-in data exchange transmission module
The mode of ping nodes accesses .log files and detects the first client operation exception, will pass through data exchange transmission module
It is sent to the second client and starts request, and send interrupt instruction to the first client to interrupt the data of the first client simultaneously
Exchange Service.
S104 asks to start and run the second client according to described start.
In embodiments of the present invention, due in the data exchange management system based on duoble computer disaster-tolerance back-up security mechanism,
Master control end is connected to the second client, and the second client is used as from data exchange service end, that is, as backup machine in main number
When there is operation troubles or operation exception according to Exchange Service end, if receiving the startup request at master control end, it will be invoked and transport
The normal operation gone to ensure system data Exchange Service.
Need what is illustrated, when the first client normal operation, master control end can be every 10 minutes by the first client
The second client is backed up to the data exchange record of external equipment, therefore, when the second client is invoked and is run,
Second client records the first client and all data exchanges of external equipment record, and operation is interrupted in the first client
Afterwards, the second client is connect with external equipment, and will ensure the data exchange management system based on duoble computer disaster-tolerance back-up security mechanism
System continues to provide normal data transfer service.
As seen from the above, the system operation information that the embodiment of the present invention passes through journal file in acquisition system;According to system
Operation information judge the first client whether normal operation;If the first client operation exception, sent to the second client
Start the operation for asking and interrupting the first client;It asks to start and run the second client according to described start.It is of the invention real
Applying example can solve the problems, such as that the service operation occurred in available data Exchange Service interrupts, and ensure that data exchange system continues to carry
For normal data transfer service and unnecessary resource occupation is reduced, and improve the experience of user.
It is a kind of data exchange pipe based on duoble computer disaster-tolerance back-up security mechanism provided in an embodiment of the present invention referring to Fig. 2
The schematic flow diagram of reason method, as shown in the figure, this method includes the following steps S201~S205.
S201, the system operation information of journal file in acquisition system.
In embodiments of the present invention, the system refers to the data exchange management based on duoble computer disaster-tolerance back-up security mechanism
System, data exchange management system that should be based on duoble computer disaster-tolerance back-up security mechanism include master control end, the first client and the
Two clients, wherein, master control end is connect respectively with the first client, the second client, and the first client is exchanged as master data
Server-side, the second client is used as from data exchange service end, in the data exchange pipe based on duoble computer disaster-tolerance back-up security mechanism
It manages in system operation, system and the data exchange of external equipment is realized by master data Exchange Service end, from data exchange
When there is operation troubles or operation exception as backup machine at master data Exchange Service end in server-side, will be invoked and run with
Ensure the normal operation of system data Exchange Service.
It should be noted that in the acquisition system journal file system operation information, wherein, system operation letter
The log for client log, i.e. master data Exchange Service end is ceased, which records about master
Therefore the normal or anomalous event at data exchange service end, master data is will be seen that by obtaining the client log
Whether Exchange Service end breaks down, so as to easily determine that the server-side is normal operation or operation exception.
S202, the extracting parameter value from the system operation information.
In embodiments of the present invention, the parameter value refers to that master control end accesses .log texts by way of ping nodes
Part, so as to extract in .log files about the normal or anomalous event of the first client.
S203, according to the parameter value judge the first client whether normal operation.
It in embodiments of the present invention, can if extracting the event about the first client operation exception from .log files
To judge that the first client is in the state of operation exception, first client will be interrupted by master control end.
S204 if the first client operation exception, sends to start to the second client and asks and interrupt the first client
The operation at end.
In embodiments of the present invention, if master control end is utilized by the File Transfer Protocol in built-in data exchange transmission module
The mode of ping nodes accesses .log files and detects the first client operation exception, will pass through data exchange transmission module
It is sent to the second client and starts request, and send interrupt instruction to the first client to interrupt the data of the first client simultaneously
Exchange Service.
S205 asks to start and run the second client according to described start.
In embodiments of the present invention, due in the data exchange management system based on duoble computer disaster-tolerance back-up security mechanism,
Master control end is connected to the second client, and the second client is used as from data exchange service end, that is, as backup machine in main number
When there is operation troubles or operation exception according to Exchange Service end, if receiving the startup request at master control end, it will be invoked and transport
The normal operation gone to ensure system data Exchange Service.
Need what is illustrated, when the first client normal operation, master control end can be every 10 minutes by the first client
The second client is backed up to the data exchange record of external equipment, therefore, when the second client is invoked and is run,
Second client records the first client and all data exchanges of external equipment record, and operation is interrupted in the first client
Afterwards, the second client is connect with external equipment, and will ensure the data exchange management system based on duoble computer disaster-tolerance back-up security mechanism
System continues to provide normal data transfer service.
It is a kind of data exchange pipe based on duoble computer disaster-tolerance back-up security mechanism provided in an embodiment of the present invention referring to Fig. 3
The schematic flow diagram of reason method, as shown in the figure, this method includes the following steps S301~S305.
S301, the system operation information of journal file in acquisition system.
In embodiments of the present invention, the system refers to the data exchange management based on duoble computer disaster-tolerance back-up security mechanism
System, data exchange management system that should be based on duoble computer disaster-tolerance back-up security mechanism include master control end, the first client and the
Two clients, wherein, master control end is connect respectively with the first client, the second client, and the first client is exchanged as master data
Server-side, the second client is used as from data exchange service end, in the data exchange pipe based on duoble computer disaster-tolerance back-up security mechanism
It manages in system operation, system and the data exchange of external equipment is realized by master data Exchange Service end, from data exchange
When there is operation troubles or operation exception as backup machine at master data Exchange Service end in server-side, will be invoked and run with
Ensure the normal operation of system data Exchange Service.
It should be noted that in the acquisition system journal file system operation information, wherein, system operation letter
The log for client log, i.e. master data Exchange Service end is ceased, which records about master
Therefore the normal or anomalous event at data exchange service end, master data is will be seen that by obtaining the client log
Whether Exchange Service end breaks down, so as to easily determine that the server-side is normal operation or operation exception.
S302, according to system operation information judge the first client whether normal operation.
In embodiments of the present invention, the system operation information is client log, which is for suffix
.log file, normal or anomalous event of the .log file records about master data server-side, so as to pass through the client
Log may determine that the first client whether normal operation.
It should be noted that master control end passes through FTP (the File Transfer in built-in data exchange transmission module
Protocol, File Transfer Protocol) agreement is used as support, and .log texts are accessed by the way of ping nodes every scheduled duration
Part, with detect the first client whether normal operation, wherein, the scheduled duration can be 3 minutes, 10 minutes or other pre-
Timing is long, and specific duration can be not limited thereto by user's self-defining.
S303 when judging the first client operation exception, establishes the data link between the second client.
In embodiments of the present invention, master control end will be instructed by File Transfer Protocol to the second client transmission data link establishment,
The physical channel of parsing master control end and the second client is instructed by the data link setup, and is passed through and is parsed the physical channel and build
Found corresponding data link.
S304 is sent to second client by the data link established and starts request.
In embodiments of the present invention, master control end is sent by the data link to second client starts request, tool
Body, the startup request that master control end is sent out will be assigned to by the data link established in corresponding data link, and starting please
It asks by the data link transmission to corresponding second client.
S305 asks to start and run the second client according to described start.
In embodiments of the present invention, due in the data exchange management system based on duoble computer disaster-tolerance back-up security mechanism,
Master control end is connected to the second client, and the second client is used as from data exchange service end, that is, as backup machine in main number
When there is operation troubles or operation exception according to Exchange Service end, if receiving the startup request at master control end, it will be invoked and transport
The normal operation gone to ensure system data Exchange Service.
Need what is illustrated, when the first client normal operation, master control end can be every 10 minutes by the first client
The second client is backed up to the data exchange record of external equipment, therefore, when the second client is invoked and is run,
Second client records the first client and all data exchanges of external equipment record, and operation is interrupted in the first client
Afterwards, the second client is connect with external equipment, and will ensure the data exchange management system based on duoble computer disaster-tolerance back-up security mechanism
System continues to provide normal data transfer service.
It is a kind of data exchange pipe based on duoble computer disaster-tolerance back-up security mechanism provided in an embodiment of the present invention referring to Fig. 4
Manage the schematic block diagram of terminal.The terminal 100 of the present embodiment includes:Acquiring unit 101, transmitting element 103, opens judging unit 102
Dynamic running unit 104.
Wherein, the acquiring unit 101, for the system operation information of journal file in acquisition system.
In embodiments of the present invention, the system refers to the data exchange management based on duoble computer disaster-tolerance back-up security mechanism
System, data exchange management system that should be based on duoble computer disaster-tolerance back-up security mechanism include master control end, the first client and the
Two clients, wherein, master control end is connect respectively with the first client, the second client, and the first client is exchanged as master data
Server-side, the second client is used as from data exchange service end, in the data exchange pipe based on duoble computer disaster-tolerance back-up security mechanism
It manages in system operation, system and the data exchange of external equipment is realized by master data Exchange Service end, from data exchange
When there is operation troubles or operation exception as backup machine at master data Exchange Service end in server-side, will be invoked and run with
Ensure the normal operation of system data Exchange Service.
It should be noted that in the acquisition system journal file system operation information, wherein, system operation letter
The log for client log, i.e. master data Exchange Service end is ceased, which records about master
Therefore the normal or anomalous event at data exchange service end, master data is will be seen that by obtaining the client log
Whether Exchange Service end breaks down, so as to easily determine that the server-side is normal operation or operation exception.
The judging unit 102, for according to system operation information judge the first client whether normal operation.
In embodiments of the present invention, the system operation information is client log, which is for suffix
.log file, normal or anomalous event of the .log file records about master data server-side, so as to pass through the client
Log may determine that the first client whether normal operation.
It should be noted that master control end passes through FTP (the File Transfer in built-in data exchange transmission module
Protocol, File Transfer Protocol) agreement is used as support, and .log texts are accessed by the way of ping nodes every scheduled duration
Part, with detect the first client whether normal operation, wherein, the scheduled duration can be 3 minutes, 10 minutes or other pre-
Timing is long, and specific duration can be not limited thereto by user's self-defining.
The transmitting element 103 if for the first client operation exception, sends to the second client and starts request
And interrupt the operation of the first client.
In embodiments of the present invention, if master control end is utilized by the File Transfer Protocol in built-in data exchange transmission module
The mode of ping nodes accesses .log files and detects the first client operation exception, will pass through data exchange transmission module
It is sent to the second client and starts request, and send interrupt instruction to the first client to interrupt the data of the first client simultaneously
Exchange Service.
The startup running unit 104, for asking to start and run the second client according to described start.
In embodiments of the present invention, due in the data exchange management system based on duoble computer disaster-tolerance back-up security mechanism,
Master control end is connected to the second client, and the second client is used as from data exchange service end, that is, as backup machine in main number
When there is operation troubles or operation exception according to Exchange Service end, if receiving the startup request at master control end, it will be invoked and transport
The normal operation gone to ensure system data Exchange Service.
Need what is illustrated, when the first client normal operation, master control end can be every 10 minutes by the first client
The second client is backed up to the data exchange record of external equipment, therefore, when the second client is invoked and is run,
Second client records the first client and all data exchanges of external equipment record, and operation is interrupted in the first client
Afterwards, the second client is connect with external equipment, and will ensure the data exchange management system based on duoble computer disaster-tolerance back-up security mechanism
System continues to provide normal data transfer service.
As seen from the above, the system operation information that the embodiment of the present invention passes through journal file in acquisition system;According to system
Operation information judge the first client whether normal operation;If the first client operation exception, sent to the second client
Start the operation for asking and interrupting the first client;It asks to start and run the second client according to described start.It is of the invention real
Applying example can solve the problems, such as that the service operation occurred in available data Exchange Service interrupts, and ensure that data exchange system continues to carry
For normal data transfer service and unnecessary resource occupation is reduced, and improve the experience of user.
It is a kind of data exchange pipe based on duoble computer disaster-tolerance back-up security mechanism provided in an embodiment of the present invention referring to Fig. 5
Manage the schematic block diagram of terminal.The terminal 200 of the present embodiment includes:Acquiring unit 201, extraction unit 202, judgment sub-unit 203,
Transmitting element 204 starts running unit 205.
Wherein, the acquiring unit 201, for the system operation information of journal file in acquisition system.
In embodiments of the present invention, the system refers to the data exchange management based on duoble computer disaster-tolerance back-up security mechanism
System, data exchange management system that should be based on duoble computer disaster-tolerance back-up security mechanism include master control end, the first client and the
Two clients, wherein, master control end is connect respectively with the first client, the second client, and the first client is exchanged as master data
Server-side, the second client is used as from data exchange service end, in the data exchange pipe based on duoble computer disaster-tolerance back-up security mechanism
It manages in system operation, system and the data exchange of external equipment is realized by master data Exchange Service end, from data exchange
When there is operation troubles or operation exception as backup machine at master data Exchange Service end in server-side, will be invoked and run with
Ensure the normal operation of system data Exchange Service.
It should be noted that in the acquisition system journal file system operation information, wherein, system operation letter
The log for client log, i.e. master data Exchange Service end is ceased, which records about master
Therefore the normal or anomalous event at data exchange service end, master data is will be seen that by obtaining the client log
Whether Exchange Service end breaks down, so as to easily determine that the server-side is normal operation or operation exception.
The extraction unit 202, for the extracting parameter value from the system operation information.
In embodiments of the present invention, the parameter value refers to that master control end accesses .log texts by way of ping nodes
Part, so as to extract in .log files about the normal or anomalous event of the first client.
The judgment sub-unit 203, for according to the parameter value judge the first client whether normal operation.
It in embodiments of the present invention, can if extracting the event about the first client operation exception from .log files
To judge that the first client is in the state of operation exception, first client will be interrupted by master control end.
The transmitting element 204 if for the first client operation exception, sends to the second client and starts request
And interrupt the operation of the first client.
In embodiments of the present invention, if master control end is utilized by the File Transfer Protocol in built-in data exchange transmission module
The mode of ping nodes accesses .log files and detects the first client operation exception, will pass through data exchange transmission module
It is sent to the second client and starts request, and send interrupt instruction to the first client to interrupt the data of the first client simultaneously
Exchange Service.
The startup running unit 205, for asking to start and run the second client according to described start.
In embodiments of the present invention, due in the data exchange management system based on duoble computer disaster-tolerance back-up security mechanism,
Master control end is connected to the second client, and the second client is used as from data exchange service end, that is, as backup machine in main number
When there is operation troubles or operation exception according to Exchange Service end, if receiving the startup request at master control end, it will be invoked and transport
The normal operation gone to ensure system data Exchange Service.
Need what is illustrated, when the first client normal operation, master control end can be every 10 minutes by the first client
The second client is backed up to the data exchange record of external equipment, therefore, when the second client is invoked and is run,
Second client records the first client and all data exchanges of external equipment record, and operation is interrupted in the first client
Afterwards, the second client is connect with external equipment, and will ensure the data exchange management system based on duoble computer disaster-tolerance back-up security mechanism
System continues to provide normal data transfer service.
It is a kind of data exchange pipe based on duoble computer disaster-tolerance back-up security mechanism provided in an embodiment of the present invention referring to Fig. 6
Manage the schematic block diagram of terminal.The terminal 300 of the present embodiment includes:Acquiring unit 301, judging unit 302 establish unit 303, hair
It send subelement 304, start running unit 305.
Wherein, the acquiring unit 301, for the system operation information of journal file in acquisition system.
In embodiments of the present invention, the system refers to the data exchange management based on duoble computer disaster-tolerance back-up security mechanism
System, data exchange management system that should be based on duoble computer disaster-tolerance back-up security mechanism include master control end, the first client and the
Two clients, wherein, master control end is connect respectively with the first client, the second client, and the first client is exchanged as master data
Server-side, the second client is used as from data exchange service end, in the data exchange pipe based on duoble computer disaster-tolerance back-up security mechanism
It manages in system operation, system and the data exchange of external equipment is realized by master data Exchange Service end, from data exchange
When there is operation troubles or operation exception as backup machine at master data Exchange Service end in server-side, will be invoked and run with
Ensure the normal operation of system data Exchange Service.
It should be noted that in the acquisition system journal file system operation information, wherein, system operation letter
The log for client log, i.e. master data Exchange Service end is ceased, which records about master
Therefore the normal or anomalous event at data exchange service end, master data is will be seen that by obtaining the client log
Whether Exchange Service end breaks down, so as to easily determine that the server-side is normal operation or operation exception.
The judging unit 302, for according to system operation information judge the first client whether normal operation.
In embodiments of the present invention, the system operation information is client log, which is for suffix
.log file, normal or anomalous event of the .log file records about master data server-side, so as to pass through the client
Log may determine that the first client whether normal operation.
It should be noted that master control end passes through FTP (the File Transfer in built-in data exchange transmission module
Protocol, File Transfer Protocol) agreement is used as support, and .log texts are accessed by the way of ping nodes every scheduled duration
Part, with detect the first client whether normal operation, wherein, the scheduled duration can be 3 minutes, 10 minutes or other pre-
Timing is long, and specific duration can be not limited thereto by user's self-defining.
It is described to establish unit 303, for when judging the first client operation exception, establish with the second client it
Between data link.
In embodiments of the present invention, master control end will be instructed by File Transfer Protocol to the second client transmission data link establishment,
The physical channel of parsing master control end and the second client is instructed by the data link setup, and is passed through and is parsed the physical channel and build
Found corresponding data link.
The transmission sub-unit 304, please to second client transmission startup for passing through established data link
It asks.
In embodiments of the present invention, master control end is sent by the data link to second client starts request, tool
Body, the startup request that master control end is sent out will be assigned to by the data link established in corresponding data link, and starting please
It asks by the data link transmission to corresponding second client.
The startup running unit 305, for asking to start and run the second client according to described start.
In embodiments of the present invention, due in the data exchange management system based on duoble computer disaster-tolerance back-up security mechanism,
Master control end is connected to the second client, and the second client is used as from data exchange service end, that is, as backup machine in main number
When there is operation troubles or operation exception according to Exchange Service end, if receiving the startup request at master control end, it will be invoked and transport
The normal operation gone to ensure system data Exchange Service.
It is a kind of data exchange pipe based on duoble computer disaster-tolerance back-up security mechanism provided in an embodiment of the present invention referring to Fig. 7
The schematic block diagram of reason system.Data exchange based on the duoble computer disaster-tolerance back-up security mechanism management system 400 of the present embodiment includes:
Master control end 401, the first client 402 and the second client 403, the master control end 401 respectively with the first client 402 and second
Client 403 connects, wherein,
The master control end 401 for obtaining the system operation information of journal file in system 400, is transported according to the system
Row information judge the first client 402 whether normal operation.
If first client 402 for 402 operation exception of the first client, receives the interrupt instruction at master control end 401
And it interrupts.
Second client 403 for receiving the startup request of the transmission of master control end 401, and starts the second client 403
Operation with ensure system 400 continue provide normal data transfer service.
It is a kind of terminal schematic block diagram that another embodiment of the present invention provides referring to Fig. 8.The present embodiment as depicted
In terminal can include:One or more processors 801;One or more input equipments 802, one or more output equipments
803 and memory 804.Above-mentioned processor 801, input equipment 802, output equipment 803 and memory 804 are connected by bus 805
It connects.Memory 804 is for storing computer program, and the computer program includes program instruction, and processor 801 is deposited for performing
The program instruction that reservoir 804 stores.Wherein, processor 801 is configured for that described program instruction is called to perform:
The system operation information of journal file in acquisition system;
According to system operation information judge the first client whether normal operation;
If the first client operation exception, the fortune for starting and asking and interrupt the first client is sent to the second client
Row;
It asks to start and run the second client according to described start.
Further, the system operation information is client log, and journal file is in the acquisition system
System operation information, including:
The client log of journal file in acquisition system.
Further, it is described according to system operation information judge the first client whether normal operation, including:
The extracting parameter value from the system operation information;
According to the parameter value judge the first client whether normal operation.
Further, it is described that the operation for starting and asking and interrupt the first client is sent to the second client, including:
When judging the first client operation exception, the data link between the second client is established;
It is sent by the data link established to second client and starts request.
It should be appreciated that in embodiments of the present invention, alleged processor 801 can be central processing unit (Central
Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
It can also be any conventional processor etc. to manage device.
Input equipment 802 can include Trackpad, fingerprint and adopt sensor (for acquiring the finger print information of user and fingerprint
Directional information), microphone etc., output equipment 803 can include display (LCD etc.), loud speaker etc..
The memory 804 can include read-only memory and random access memory, and to processor 801 provide instruction and
Data.The a part of of memory 804 can also include nonvolatile RAM.For example, memory 804 can also be deposited
Store up the information of device type.
In the specific implementation, processor 801, input equipment 802, the output equipment 803 described in the embodiment of the present invention can
Perform the first embodiment of the data exchange management method provided in an embodiment of the present invention based on duoble computer disaster-tolerance back-up security mechanism
With the realization method described in other embodiment, the realization method of the described terminal of the embodiment of the present invention is also can perform,
This is repeated no more.
A kind of computer readable storage medium, the computer-readable storage medium are provided in another embodiment of the invention
Matter is stored with computer program, and the computer program includes program instruction, and described program instruction is realized when being executed by processor:
The system operation information of journal file in acquisition system;
According to system operation information judge the first client whether normal operation;
If the first client operation exception, the fortune for starting and asking and interrupt the first client is sent to the second client
Row;
It asks to start and run the second client according to described start.
Further, the system operation information is client log, and journal file is in the acquisition system
System operation information, including:
The client log of journal file in acquisition system.
Further, it is described according to system operation information judge the first client whether normal operation, including:
The extracting parameter value from the system operation information;
According to the parameter value judge the first client whether normal operation.
Further, it is described that the operation for starting and asking and interrupt the first client is sent to the second client, including:
When judging the first client operation exception, the data link between the second client is established;
It is sent by the data link established to second client and starts request.
The computer readable storage medium can be the internal storage unit of the terminal described in aforementioned any embodiment, example
Such as the hard disk or memory of terminal.The computer readable storage medium can also be the External memory equipment of the terminal, such as
The plug-in type hard disk being equipped in the terminal, intelligent memory card (Smart Media Card, SMC), secure digital (Secure
Digital, SD) card, flash card (Flash Card) etc..Further, the computer readable storage medium can also be wrapped both
The internal storage unit for including the terminal also includes External memory equipment.The computer readable storage medium is described for storing
Other programs and data needed for computer program and the terminal.The computer readable storage medium can be also used for temporarily
When store the data that has exported or will export.
Those of ordinary skill in the art may realize that each exemplary lists described with reference to the embodiments described herein
Member and algorithm steps can be realized with the combination of electronic hardware, computer software or the two, in order to clearly demonstrate hardware
With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This
A little functions are performed actually with hardware or software mode, specific application and design constraint depending on technical solution.Specially
Industry technical staff can realize described function to each specific application using distinct methods, but this realization is not
It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, the end of foregoing description
End and the specific work process of unit can refer to the corresponding process in preceding method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed terminal and method can pass through it
Its mode is realized.For example, terminal embodiment described above is only schematical, for example, the division of the unit, only
Only a kind of division of logic function can have other dividing mode in actual implementation, such as multiple units or component can be tied
It closes or is desirably integrated into another system or some features can be ignored or does not perform.In addition, shown or discussed phase
Coupling, direct-coupling or communication connection between mutually can be INDIRECT COUPLING or the communication by some interfaces, device or unit
Connection or electricity, the connection of mechanical or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit
The component shown may or may not be physical unit, you can be located at a place or can also be distributed to multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the embodiment of the present invention
Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that each unit is individually physically present or two or more units integrate in a unit.It is above-mentioned integrated
The form that hardware had both may be used in unit is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is independent product sale or uses
When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme of the present invention is substantially
The part to contribute in other words to the prior art or all or part of the technical solution can be in the form of software products
It embodies, which is stored in a storage medium, is used including some instructions so that a computer
Equipment (can be personal computer, server or the network equipment etc.) performs the complete of each embodiment the method for the present invention
Portion or part steps.And aforementioned storage medium includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or replace
It changes, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right
It is required that protection domain subject to.
Claims (10)
1. a kind of data exchange management method based on duoble computer disaster-tolerance back-up security mechanism, which is characterized in that including:
The system operation information of journal file in acquisition system;
According to system operation information judge the first client whether normal operation;
If the first client operation exception, the operation for starting and asking and interrupt the first client is sent to the second client;
It asks to start and run the second client according to described start.
2. according to the method described in claim 1, it is characterized in that, the system operation information be client log, institute
The system operation information of journal file in acquisition system is stated, including:
The client log of journal file in acquisition system.
3. according to the method described in claim 1, it is characterized in that, described judge that the first client is according to system operation information
No normal operation, including:
The extracting parameter value from the system operation information;
According to the parameter value judge the first client whether normal operation.
4. according to the method described in claim 1, it is characterized in that, it is described send to start to the second client ask and interrupt the
The operation of one client, including:
When judging the first client operation exception, the data link between the second client is established;
It is sent by the data link established to second client and starts request.
5. a kind of data exchange management system based on duoble computer disaster-tolerance back-up security mechanism, which is characterized in that including master control end, the
One client and the second client, the master control end are connect respectively with the first client and the second client, wherein,
The master control end for the system operation information of journal file in acquisition system, judges according to the system operation information
First client whether normal operation;
If first client for the first client operation exception, receives the interrupt instruction and interrupt operation at master control end;
Second client for receiving the startup request of master control end transmission, and starts the operation of the second client to ensure
System continues offer normal data transfer service.
6. a kind of data exchange management terminal based on duoble computer disaster-tolerance back-up security mechanism, which is characterized in that the terminal includes:
Acquiring unit, for the system operation information of journal file in acquisition system;
Judging unit, for according to system operation information judge the first client whether normal operation;
Transmitting element if for the first client operation exception, sends to start to the second client and asks and interrupt first
The operation of client;
Start running unit, for asking to start and run the second client according to described start.
7. terminal according to claim 6, which is characterized in that the system operation information be client log, institute
Acquiring unit is stated to be specifically used for:The client log of journal file in acquisition system.
8. terminal according to claim 6, which is characterized in that the judging unit, including:
Extraction unit, for the extracting parameter value from the system operation information;
Judgment sub-unit, for according to the parameter value judge the first client whether normal operation;
The transmitting element, including:
Unit is established, for when judging the first client operation exception, establishing the data-link between the second client
Road;
Transmission sub-unit sends startup request for passing through established data link to second client.
9. a kind of terminal, which is characterized in that the processor, defeated including processor, input equipment, output equipment and memory
Enter equipment, output equipment and memory to be connected with each other, wherein, the memory is used to store computer program, the computer
Program includes program instruction, and the processor is configured for calling described program instruction, perform such as any one of claim 1-4
The method.
10. a kind of computer readable storage medium, which is characterized in that the computer storage media is stored with computer program,
The computer program includes program instruction, and described program instruction makes the processor perform such as right when being executed by a processor
It is required that 1-4 any one of them methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810031483.XA CN108259242B (en) | 2018-01-12 | 2018-01-12 | Data exchange management method, terminal, system and computer readable storage medium based on dual-computer disaster recovery backup guarantee mechanism |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810031483.XA CN108259242B (en) | 2018-01-12 | 2018-01-12 | Data exchange management method, terminal, system and computer readable storage medium based on dual-computer disaster recovery backup guarantee mechanism |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108259242A true CN108259242A (en) | 2018-07-06 |
CN108259242B CN108259242B (en) | 2022-08-12 |
Family
ID=62726516
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810031483.XA Active CN108259242B (en) | 2018-01-12 | 2018-01-12 | Data exchange management method, terminal, system and computer readable storage medium based on dual-computer disaster recovery backup guarantee mechanism |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108259242B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101876924A (en) * | 2009-04-30 | 2010-11-03 | 升东网络科技发展(上海)有限公司 | Database fault automatic detection and transfer method |
CN102902615A (en) * | 2012-09-18 | 2013-01-30 | 曙光信息产业(北京)有限公司 | Failure alarm method and system for Lustre parallel file system |
CN103986608A (en) * | 2014-05-29 | 2014-08-13 | 浪潮电子信息产业股份有限公司 | J2EE application virtualization management method based on Itanium Linux application containers |
CN104239164A (en) * | 2013-06-19 | 2014-12-24 | 国家电网公司 | Cloud storage based disaster recovery backup switching system |
-
2018
- 2018-01-12 CN CN201810031483.XA patent/CN108259242B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101876924A (en) * | 2009-04-30 | 2010-11-03 | 升东网络科技发展(上海)有限公司 | Database fault automatic detection and transfer method |
CN102902615A (en) * | 2012-09-18 | 2013-01-30 | 曙光信息产业(北京)有限公司 | Failure alarm method and system for Lustre parallel file system |
CN104239164A (en) * | 2013-06-19 | 2014-12-24 | 国家电网公司 | Cloud storage based disaster recovery backup switching system |
CN103986608A (en) * | 2014-05-29 | 2014-08-13 | 浪潮电子信息产业股份有限公司 | J2EE application virtualization management method based on Itanium Linux application containers |
Also Published As
Publication number | Publication date |
---|---|
CN108259242B (en) | 2022-08-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107844189A (en) | A kind of method, system, terminal and computer-readable recording medium for reducing blank screen power consumption | |
US20120209921A1 (en) | Instant Message Management Method and Apparatus | |
CN107301051A (en) | The caching of terminal dynamic data and exchange method, terminal, system and computer-readable recording medium | |
CN107633014A (en) | A kind of date storage method and server | |
CN106569585A (en) | Method and terminal of managing application program process | |
CN107608724A (en) | A kind of method, terminal and computer-readable recording medium for managing application program | |
CN108366091A (en) | Network request processing method, terminal and computer-readable medium | |
CN107358114A (en) | A kind of method and terminal for preventing user data loss | |
CN107479806A (en) | The method and terminal of a kind of changing interface | |
CN107656750A (en) | Update of plug-in method and device | |
CN108804175A (en) | Multilingual adaptation method, mobile terminal and computer readable storage medium | |
CN107888663A (en) | A kind of method of distribution of document, equipment and computer-readable medium | |
CN117472321B (en) | Audio processing method and device, storage medium and electronic equipment | |
CN108920704A (en) | File access pattern method, file restoring device and mobile terminal | |
CN112711955B (en) | NFC information transmission method, NFC information transmission device and terminal | |
CN107704734A (en) | A kind of recognition methods of user account and its equipment | |
CN108171063A (en) | Method, terminal and the computer readable storage medium of access safety element | |
CN108366298A (en) | Video broadcasting method, mobile terminal and computer readable storage medium | |
CN110245016B (en) | Data processing method, system, device and terminal equipment | |
CN107515666A (en) | A kind of data managing method and terminal | |
CN106775835A (en) | Obtain method, server and the terminal of upgrade file | |
EP2981882A1 (en) | Removable storage device identity and configuration information | |
CN106502858A (en) | A kind of multiple subsystem power consumption determines method and terminal | |
CN108259242A (en) | Data exchange management method, terminal, system and computer readable storage medium based on duoble computer disaster-tolerance back-up security mechanism | |
CN106507413B (en) | Method for sending message, mobile terminal and playing device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |