CN104679692B - Infrastructure services layer arbitration device and method - Google Patents
Infrastructure services layer arbitration device and method Download PDFInfo
- Publication number
- CN104679692B CN104679692B CN201310632531.8A CN201310632531A CN104679692B CN 104679692 B CN104679692 B CN 104679692B CN 201310632531 A CN201310632531 A CN 201310632531A CN 104679692 B CN104679692 B CN 104679692B
- Authority
- CN
- China
- Prior art keywords
- arbitration
- active
- standby
- state
- infrastructure services
- 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
Landscapes
- Computer And Data Communications (AREA)
- Hardware Redundancy (AREA)
Abstract
The present invention relates to a kind of infrastructure services layer arbitration device and method, including:Receiving module, for receiving the active and standby requests for arbitration of at least two processes of application layer transmission;Arbitration modules, it is connect with the receiving module, for according to the time sequencing of each active and standby requests for arbitration that receives, the corresponding process arbitration of the active and standby requests for arbitration being initially received is main state process, is for state course by the corresponding process arbitration of other active and standby requests for arbitration.By infrastructure services layer arbitration device according to the time sequencing of each active and standby requests for arbitration received, the corresponding process of the active and standby requests for arbitration being initially received is arbitrated into the process that is main state, it is standby state course by the corresponding process arbitration of other active and standby requests for arbitration, according to infrastructure services layer arbitration device provided by the invention and method, application layer can be made to obtain reliable mediation service, improve the reliability of communication service.
Description
Technical field
The present invention relates to the communications field more particularly to a kind of infrastructure services layer arbitration device and methods.
Background technology
With the popularization of communication cloud concept, service application layer and infrastructure services(English:Infrastructure as
A Service, abbreviation:IaaS)Layer separation, the layer architecture of decoupling are widely applied to communication system.Hardware device is by IaaS
Layer-management, transparent to service application, service application generally operates in virtual machine(English:Virtual Machine, abbreviation:VM)
In.
One characteristic feature of communications applications is highly reliable, and communication system is usually realized high by the active and standby mutual assistance of business process
Reliably.For example, what is be configured on VM1 is host process, what is be configured on VM2 is standby process, and host process processing business is not handled for process
Business, standby process is from host process synchronous regime and data.Meanwhile dispose managing process, to the business process that is run in system into
Row monitoring, is responsible for process status management and active and standby arbitration.To ensure high reliability, managing process can also be disposed active and standby.It is being layered
Under framework, managing process is arbitrated generally by photos and sending messages mutual between active and standby managing process.For example, the managing process of VM1 with
The managing process of VM2 mutually sends out heartbeat, and active and standby arbitration is carried out according to the time of process initiation, based on morning process initiation time into
Journey, it is standby process to start late.If former Mastermanager failure, former standby managing process becomes host process.
Mutually make up one's mind between the prior art two managing process of dependence and jump into the active and standby arbitration of row, easily generate accidentally arbitration.VM2 is managed
Reason process can not receive the heartbeat of VM1 managing process, and there are many reason possibility, such as the event of VM1 managing process failure, VM1 network interfaces
Barrier or VM2 network interface failures etc..It cannot be mutual between VM1 managing process and VM2 managing process if causing because of network interface failure
Send heartbeat, then two managing process all will be considered to it as host process, so as to which two Mastermanagers will occur in system, cause be
System error.
Invention content
Technical problem
In view of this, the technical problem to be solved by the present invention is to mutually make up one's mind between two managing process of application layer and jump into
The problem of arbitration and thus caused communication service reliability reduction are missed caused by the active and standby arbitration of row.
Solution
In order to solve the above-mentioned technical problem, it is secondary to provide a kind of infrastructure services layer for an embodiment according to the present invention
Device is cut out, including:
Receiving module, for receiving the active and standby requests for arbitration of at least two processes of application layer transmission;
Arbitration modules are connect with the receiving module, for according to the time of each active and standby requests for arbitration received
Sequentially, the corresponding process of the active and standby requests for arbitration being initially received is arbitrated into the process that is main state, by other active and standby requests for arbitration
Corresponding process arbitration is standby state course.
In a kind of possible embodiment, the arbitration modules are configured as:
It is suitable according to the time of each active and standby requests for arbitration received when detecting the major state process exception
Sequence, the corresponding process of active and standby requests for arbitration for selecting to be initially received from the standby state course is as major state process.
In a kind of possible embodiment, the receiving module is configured as:Receive the communication service arbitration of application layer
The request mediation service address message that Address requests device is sent, the request mediation service address message include the application layer
At least two processes grouping user name;The infrastructure services layer arbitration device further includes:
Sending module is connect with the receiving module, for according to the grouping user name, sending with returning to mediation service
Location message is described to return in mediation service address message with carrying the mediation service to the arbitration address request unit
Location, the active and standby requests for arbitration are that the process is sent according to the mediation service address.
In a kind of possible embodiment, the receiving module is configured as:
The major state process and the heartbeat message sent respectively for state course are received, the heartbeat message is used to represent
The running state of a process.
In a kind of possible embodiment, the receiving module is configured as:
Receive the active and standby requests for arbitration sent after former major state process execution is restarted;And
The arbitration modules are configured as:It is standby state course by the former major state process arbitration.
In a kind of possible embodiment, the sending module is configured as:
For sending device failure notification to the major state process, the major state process is managing process, it is described manage into
Journey is used to arbitrating business process into be main state business process or standby state service process, and the equipment fault notifies to notify
Standby state service process arbitration is main state, and the major state business that will be deployed on faulty equipment by the major state process
Process or arbitration are malfunction.
In order to solve the above-mentioned technical problem, according to another embodiment of the present invention, a kind of infrastructure services layer is provided
Referee method, including:
Infrastructure services layer arbitration device receives the active and standby requests for arbitration that at least two processes of application layer are sent;
The infrastructure services layer arbitration device, will according to the time sequencing of each active and standby requests for arbitration received
The corresponding process arbitration of the active and standby requests for arbitration that is initially received is main state process, by other active and standby requests for arbitration it is corresponding into
Journey arbitration is standby state course.
In a kind of possible embodiment, the infrastructure services layer arbitration device according to receive it is each described in
The corresponding process of the active and standby requests for arbitration being initially received is arbitrated the process that is main state by the time sequencing of active and standby requests for arbitration,
After being standby state course by the corresponding process arbitration of other active and standby requests for arbitration, further include:
When detecting the major state process exception, the infrastructure services layer arbitration device is each according to what is received
The time sequencing of the active and standby requests for arbitration selects the active and standby requests for arbitration being initially received to correspond to from the standby state course
Process as major state process.
In a kind of possible embodiment, at least the two of application layer are received in the infrastructure services layer arbitration device
Before the active and standby requests for arbitration that a process is sent, further include:
What the communication service arbitration address request unit that the infrastructure services layer arbitration device receives application layer was sent
Mediation service address message is asked, the request mediation service address message includes point of at least two processes of the application layer
Group user name;
The infrastructure services layer arbitration device sends according to the grouping user name and returns to mediation service address message
To the arbitration address request unit, the mediation service address is carried in the return mediation service address message, it is described
Active and standby requests for arbitration is that the process is sent according to the mediation service address.
In a kind of possible embodiment, the infrastructure services layer arbitration device according to receive it is each described in
The corresponding process of the active and standby requests for arbitration being initially received is arbitrated the process that is main state by the time sequencing of active and standby requests for arbitration,
After being standby state course by the corresponding process arbitration of other active and standby requests for arbitration, further include:
The heart that the infrastructure services layer arbitration device receives the major state process and standby state course is sent respectively
Message is jumped, the heartbeat message is used to represent the running state of a process.
In a kind of possible embodiment, when detecting the major state process exception, the infrastructure services
Layer arbitration device selects at first according to the time sequencing of each active and standby requests for arbitration received from the standby state course
After the corresponding process of active and standby requests for arbitration received is as major state process, further include:
The infrastructure services layer arbitration device receives the active and standby arbitration sent after former major state process execution is restarted please
It asks;And
It is standby state course by the former major state process arbitration.
In a kind of possible embodiment, when the active state process is managing process, the managing process is used for
By business process arbitration be main state business process or standby state service process when, further include:
The infrastructure services layer arbitration device sending device failure notification to the major state process, the equipment therefore
Standby state service process arbitration is main state, and will be deployed in faulty equipment by barrier notice for notifying the major state process
On major state business process or arbitration for malfunction.
Advantageous effect
It, will by infrastructure services layer arbitration device according to the time sequencing of each active and standby requests for arbitration received
The corresponding process arbitration of the active and standby requests for arbitration that is initially received is main state process, by other active and standby requests for arbitration it is corresponding into
Journey arbitration is standby state course, according to infrastructure services layer arbitration device provided by the invention and method, can make application layer
Reliable mediation service is obtained, improves the reliability of communication service.
According to below with reference to the accompanying drawings becoming to detailed description of illustrative embodiments, other feature of the invention and aspect
It is clear.
Description of the drawings
Comprising in the description and the attached drawing of a part for constitution instruction and specification together illustrate the present invention's
Exemplary embodiment, feature and aspect, and principle for explaining the present invention.
Fig. 1 shows the structure diagram of infrastructure services layer arbitration device according to an embodiment of the invention;
Fig. 2 shows the flow charts of infrastructure services layer referee method according to an embodiment of the invention;
Fig. 3 shows the flow chart of infrastructure services layer referee method according to another embodiment of the present invention;
Fig. 4 shows the flow chart of step S313-S315 in the embodiment of the present invention;
Fig. 5 shows the structure diagram of infrastructure services layer arbitration device according to an embodiment of the invention.
Specific embodiment
Below with reference to attached drawing various exemplary embodiments, feature and the aspect that the present invention will be described in detail.It is identical in attached drawing
Reference numeral represent functionally the same or similar element.Although the various aspects of embodiment are shown in the drawings, remove
It non-specifically points out, it is not necessary to attached drawing drawn to scale.
Dedicated word " exemplary " means " being used as example, embodiment or illustrative " herein.Here as " exemplary "
Illustrated any embodiment should not necessarily be construed as preferred or advantageous over other embodiments.
In addition, in order to better illustrate the present invention, numerous details is given in specific embodiment below.
It will be appreciated by those skilled in the art that without certain details, the present invention can equally be implemented.In some instances, for
Method well known to those skilled in the art, means, element and circuit are not described in detail, in order to highlight the purport of the present invention.
Embodiment 1
Fig. 1 shows a kind of structure diagram of infrastructure services layer arbitration device according to an embodiment of the invention.Such as
Shown in Fig. 1, which mainly includes:Receiving module 101, arbitration modules 102.
Receiving module 101, for receiving the active and standby requests for arbitration of at least two processes of application layer transmission;
Arbitration modules 102 are connect with the receiving module 101, for according to each active and standby requests for arbitration received
Time sequencing, the arbitration of the active and standby requests for arbitration being initially received corresponding process is main state process, will be other active and standby secondary
It is standby state course to cut out and ask corresponding process arbitration.
In a kind of possible realization method, the arbitration modules 102 are configured as:When detecting the major state process
When abnormal, according to the time sequencing of each active and standby requests for arbitration received, select to connect at first from the standby state course
The corresponding process of active and standby requests for arbitration received is as major state process.
In a kind of possible realization method, the receiving module 101 is configured as:The communication service for receiving application layer is secondary
The request mediation service address message that Address requests device is sent is cut out, the request mediation service address message includes the application
The grouping user name of at least two processes of layer;The device 10 further includes:Sending module 103, sending module 103 and the reception
Module 101 connects, for according to the grouping user name, sending and returning to mediation service address message to the arbitration Address requests
Device, described return in mediation service address message carry the mediation service address, and the active and standby requests for arbitration is described
Process is sent according to the mediation service address.
In a kind of possible realization method, the receiving module 101 is configured as:Receive the major state process and standby
The heartbeat message that state course is sent respectively, the heartbeat message are used to represent the running state of a process.
In a kind of possible realization method, the receiving module 101 is configured as:It receives former major state process and performs weight
The active and standby requests for arbitration sent after opening;And the arbitration modules are configured as:It is by the former major state process arbitration
Standby state course.
In a kind of possible realization method, the sending module 103 is configured as:Sending device failure notification is to described
Major state process, the major state process are managing process, and the managing process is used to business process arbitrating the industry that is main state
Business process or standby state service process, the equipment fault notice for notifying the major state process, will standby state service into
Journey arbitration is main state, and is malfunction by the major state business process being deployed on faulty equipment or arbitration.
In this way, according to infrastructure services layer arbitration device provided by the invention, it can obtain application layer reliable secondary
Service is cut out, improves the reliability of communication service.
Embodiment 2
Fig. 2 shows a kind of flow charts of infrastructure services layer referee method according to an embodiment of the invention.Such as Fig. 2 institutes
Show, this method includes:
Step S201, infrastructure services layer arbitration device receives the active and standby arbitration that at least two processes of application layer are sent
Request.
Step S202, infrastructure services layer arbitration device is suitable according to the time of each active and standby requests for arbitration received
The corresponding process of the active and standby requests for arbitration being initially received is arbitrated the process that is main state, by other active and standby requests for arbitration pair by sequence
The process arbitration answered is standby state course.
Wherein described process can be managing process, or business process.
It is in this way, suitable according to the time of each active and standby requests for arbitration received by infrastructure services layer arbitration device
The corresponding process of the active and standby requests for arbitration being initially received is arbitrated the process that is main state, by other active and standby requests for arbitration pair by sequence
The process arbitration answered is standby state course, according to infrastructure services layer referee method provided by the invention, can make application layer
Reliable mediation service is obtained, improves the reliability of communication service.
Embodiment 3
Fig. 3 shows a kind of flow chart of infrastructure services layer referee method according to another embodiment of the present invention.Such as Fig. 3
Shown, this method includes:
Step S301, the communication service of application layer is arbitrated address request unit and is sent to infrastructure services layer arbitration device
Mediation service address message is asked, which includes the grouping user name using layer process;Application layer
Communication service arbitration address request unit can be operation and maintenance unit(English:Operation an Maintenance
Unit, abbreviation:OMU).
Step S302, infrastructure services layer arbitration device sends according to the grouping user name and returns to mediation service address
Message carries mediation service address to address request unit is arbitrated in the return mediation service address message.
Step S303, first process transmission of the communication service arbitration address request unit of application layer to application layer notifies secondary
Cut out the message of address of service.
Step S304, the first process of application layer is sent out according to mediation service address to infrastructure services layer arbitration device
Send active and standby requests for arbitration.
Step S305, infrastructure services layer arbitration device is according to the active and standby requests for arbitration received, according to scheduled plan
Slightly, such as according to the time sequencing of active and standby requests for arbitration received, by the active and standby requests for arbitration being initially received it is corresponding into
Journey arbitration is main state process, and the corresponding process arbitration of other active and standby requests for arbitration is for state course or will first be started
Process arbitration be main state process, the process arbitration started afterwards is standby state course.
Step S306, after the first process is as major state process, periodically the heart is sent to infrastructure services layer arbitration device
Message is jumped, heartbeat message is for the first running state of process of report.
Step S307, second process transmission of the communication service arbitration address request unit of application layer to application layer notifies secondary
Cut out the message of address of service.Second process can be one or more.
Step S308, the second process of application layer is sent out according to mediation service address to infrastructure services layer arbitration device
Send active and standby requests for arbitration.
Step S309, infrastructure services layer arbitration device is according to the active and standby requests for arbitration received, according to scheduled plan
Slightly arbitration is standby state course.Such as send out active and standby requests for arbitration after being the discovery that or the process that starts after being the discovery that, then arbitrate
For standby state course.
Step S310, it after the second process of application layer presses standby process initiation success, periodically arbitrates and fills to infrastructure services layer
Transmission heartbeat message is put, heartbeat message is sent and reports the operating status of oneself.
Step S311, when detecting the first process exception, infrastructure services layer arbitration device according to predetermined policy, from
One is selected in second process as major state process.
First process of application layer then will not normally send heartbeat if there is failure again, such as not send heartbeat or not
Heartbeat is sent according to agreed frequency.At this point, if the second process is one, infrastructure services layer arbitration device is secondary by the second process
Sanction is main state process.If the second process is multiple, infrastructure services layer arbitration device is according to predetermined policy, from the second process
It is middle to select one as major state process.Such as it according to the time sequencing of active and standby requests for arbitration received, will be initially received
The arbitration of active and standby requests for arbitration corresponding process be main state and process or the process first started arbitration be main state process.
Step S312, it after the first process detection is restarted to process exception execution, arbitrates fill to infrastructure services layer again
It puts and sends active and standby requests for arbitration;The arbitration result that infrastructure services layer arbitration device is sent is received again, and arbitration result is standby
State course.
Fig. 4 is the flow chart of step S313-S315 in the embodiment of the present invention.As shown in figure 4, the first process is application layer
Major state managing process, and the first business process of application layer will be arbitrated the business process that is main state by the first managing process, it will
The arbitration of second business process is standby state service process, further, when equipment such as virtual machine breaks down, infrastructure clothes
Business layer arbitration device can also notify application layer managing process, specifically include:
Step S313, infrastructure services layer arbitration device sending device failure notification is described to set to first process
Standby failure notification is for notifying second business process arbitration is main state by the first process business process and will be deployed in hair
The first business process arbitration in the equipment of raw failure is malfunction.
Step S314, the first process is notified according to the equipment fault, using as the second business of standby state service process into
Journey arbitrates the business process that is main state.
Step S315, it is malfunction by the first business process being deployed in the equipment to break down arbitration.
Application layer major state process receive that infrastructure service layer arbitration device sends about physical machine, virtual-machine fail
Notice can carry out quick master-slave swap to the process on fault virtual machine.Specially:The first business process of application layer and second
Application layer business process is active and standby each other, and the first business process is deployed on virtual machine 1.When infrastructure services layer arbitration device is supervised
When controlling 1 failure of virtual machine, then application layer major state managing process, i.e. the first process are notified, application layer major state process is found
First business process is deployed on virtual machine 1, then is upgraded to major state using layer service by second, while arbitrate the first business process
For malfunction.
Based on previous embodiment, it should be understood by those skilled in the art that application layer process status be not necessarily known as major state and
Standby state can be any appellation for representing to distinguish similar entity different conditions, for example, be properly termed as preferred process and from
Category process.
It is in this way, suitable according to the time of each active and standby requests for arbitration received by infrastructure services layer arbitration device
First process is arbitrated the process that is main state by sequence, is standby state course by the arbitration of the second process, and in the first process exception,
Masterslave switchover is provided, according to infrastructure services layer referee method provided by the invention, can obtain application layer reliable secondary
Service is cut out, improves the reliability of communication service.
Embodiment 4
Fig. 5 shows a kind of structure diagram of infrastructure services layer arbitration device of an alternative embodiment of the invention.
The infrastructure services layer arbitration device 1100 can be the host server for having computing capability, personal computer PC or
The portable portable computer of person or terminal etc..The specific embodiment of the invention does not limit the specific implementation of calculate node
It is fixed.
The infrastructure services layer arbitration device 1100 includes processor (processor) 1110, communication interface
(Communications Interface) 1120, memory (memory) 1130 and bus 1140.Wherein, processor 1110,
Communication interface 1120 and memory 1130 complete mutual communication by bus 1140.
Communication interface 1120 is used for and network device communications, and wherein the network equipment includes such as Virtual Machine Manager center, is total to
Enjoy storage etc..
Processor 1110 is used to perform program.Processor 1110 may be a central processor CPU or special collection
Into circuit ASIC(Application Specific Integrated Circuit)Or it is arranged to implement the present invention
One or more integrated circuits of embodiment.
Memory 1130 is used to store file.Memory 1130 may include high-speed RAM memory, it is also possible to further include non-
Volatile memory (non-volatile memory), for example, at least a magnetic disk storage.Memory 1130 can also be deposited
Memory array.Memory 1130 is also possible to by piecemeal, and described piece can be combined into virtual volume by certain rule.
In a kind of possible embodiment, above procedure can be the program code for including computer-managed instruction.The journey
Sequence is particularly used in:
Infrastructure services layer arbitration device receives the active and standby requests for arbitration that at least two processes of application layer are sent;
The infrastructure services layer arbitration device, will according to the time sequencing of each active and standby requests for arbitration received
The corresponding process arbitration of the active and standby requests for arbitration that is initially received is main state process, by other active and standby requests for arbitration it is corresponding into
Journey arbitration is standby state course.
In a kind of possible embodiment, the infrastructure services layer arbitration device according to receive it is each described in
The corresponding process of the active and standby requests for arbitration being initially received is arbitrated the process that is main state by the time sequencing of active and standby requests for arbitration,
After being standby state course by the corresponding process arbitration of other active and standby requests for arbitration, which is additionally operable to:
When detecting the major state process exception, the infrastructure services layer arbitration device is each according to what is received
The time sequencing of the active and standby requests for arbitration selects the active and standby requests for arbitration being initially received to correspond to from the standby state course
Process as major state process.
In a kind of possible embodiment, at least the two of application layer are received in the infrastructure services layer arbitration device
Before the active and standby requests for arbitration that a process is sent, which is additionally operable to:
What the communication service arbitration address request unit that the infrastructure services layer arbitration device receives application layer was sent
Mediation service address message is asked, the request mediation service address message includes point of at least two processes of the application layer
Group user name;
The infrastructure services layer arbitration device sends according to the grouping user name and returns to mediation service address message
To the arbitration address request unit, the mediation service address is carried in the return mediation service address message, it is described
Active and standby requests for arbitration is that the process is sent according to the mediation service address.
In a kind of possible embodiment, the infrastructure services layer arbitration device according to receive it is each described in
The corresponding process of the active and standby requests for arbitration being initially received is arbitrated the process that is main state by the time sequencing of active and standby requests for arbitration,
After being standby state course by the corresponding process arbitration of other active and standby requests for arbitration, which is additionally operable to:
The heart that the infrastructure services layer arbitration device receives the major state process and standby state course is sent respectively
Message is jumped, the heartbeat message is used to represent the running state of a process.
In a kind of possible embodiment, when detecting the major state process exception, the infrastructure services
Layer arbitration device selects at first according to the time sequencing of each active and standby requests for arbitration received from the standby state course
After the corresponding process of active and standby requests for arbitration received is as major state process, which is additionally operable to:
The infrastructure services layer arbitration device receives the active and standby arbitration sent after former major state process execution is restarted please
It asks;And
It is standby state course by the former major state process arbitration.
In a kind of possible embodiment, when the active state process is managing process, the managing process is used for
By business process arbitration be main state business process or standby state service process when, which is additionally operable to:
The infrastructure services layer arbitration device sending device failure notification to the major state process, the equipment therefore
Standby state service process arbitration is main state, and will be deployed in faulty equipment by barrier notice for notifying the major state process
On major state business process or arbitration for malfunction.
Those of ordinary skill in the art may realize that each exemplary cells and algorithm in embodiment described herein
Step can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions actually with hardware also
It is software form to realize, specific application and design constraint depending on technical solution.Professional technician can be directed to
It is specific to realize described function using different methods is selected, but this realization is it is not considered that beyond model of the invention
It encloses.
If in the form of computer software come realize the function and be independent product sale or in use, if
To a certain extent it is believed that all or part of technical scheme of the present invention(Such as to part that the prior art contributes)It is
It embodies in form of a computer software product.The computer software product is generally stored inside computer-readable non-volatile
In storage medium, used including some instructions so that computer equipment(Can be that personal computer, server or network are set
It is standby etc.)Perform all or part of step of various embodiments of the present invention method.And aforementioned storage medium include USB flash disk, mobile hard disk,
Read-only memory(ROM, Read-Only Memory), random access memory(RAM, Random Access Memory), magnetic
The various media that can store program code such as dish or CD.
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 change or replacement, should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention described should be subject to the protection scope in claims.
Claims (10)
1. a kind of infrastructure services layer arbitration device, which is characterized in that including:
Receiving module, for receiving the active and standby requests for arbitration of at least two processes of application layer transmission;
Arbitration modules are connect with the receiving module, for according to the time sequencing of each active and standby requests for arbitration that receives,
The corresponding process of the active and standby requests for arbitration being initially received is arbitrated into the process that is main state, other active and standby requests for arbitration are corresponding
Process arbitration is standby state course;
The receiving module is configured as:Receive the request arbitration clothes that the communication service arbitration address request unit of application layer is sent
Business address message, the request mediation service address message include the grouping user name of at least two processes of the application layer;
The infrastructure services layer arbitration device further includes:
Sending module is connect with the receiving module, for according to the grouping user name, sending return mediation service address and disappearing
Breath to the arbitration address request unit, described return in mediation service address message carries the mediation service address, institute
It is that the process is sent according to the mediation service address to state active and standby requests for arbitration.
2. infrastructure services layer arbitration device according to claim 1, which is characterized in that the arbitration modules are configured
For:
When detecting the major state process exception, according to the time sequencing of each active and standby requests for arbitration received, from
The corresponding process of active and standby requests for arbitration for selecting to be initially received in the standby state course is as major state process.
3. infrastructure services layer arbitration device according to claim 1, which is characterized in that the receiving module is configured
For:
The major state process and the heartbeat message sent respectively for state course are received, the heartbeat message is used to represent described
Running state of a process.
4. infrastructure services layer arbitration device according to claim 2, which is characterized in that the receiving module is configured
For:
Receive the active and standby requests for arbitration sent after former major state process execution is restarted;And
The arbitration modules are configured as:It is standby state course by the former major state process arbitration.
5. infrastructure services layer arbitration device according to any one of claims 1-4, which is characterized in that the transmission
Module is configured as:
For sending device failure notification to the major state process, the major state process is managing process, and the managing process is used
In business process to be arbitrated to be main state business process or standby state service process, the equipment fault notice is described for notifying
Standby state service process arbitration is main state, and the major state business process that will be deployed on faulty equipment by major state process
Or arbitration is malfunction.
6. a kind of infrastructure services layer referee method, which is characterized in that including:
Infrastructure services layer arbitration device receives the active and standby requests for arbitration that at least two processes of application layer are sent;
The infrastructure services layer arbitration device, will at first according to the time sequencing of each active and standby requests for arbitration received
The corresponding process arbitration of the active and standby requests for arbitration that receives is main state process, and the corresponding process of other active and standby requests for arbitration is secondary
It cuts out as standby state course;
The infrastructure services layer arbitration device receive application layer at least two processes send active and standby requests for arbitration it
Before, it further includes:
The infrastructure services layer arbitration device receives the request that the communication service arbitration address request unit of application layer is sent
Mediation service address message, the grouping of at least two processes that the request mediation service address message includes the application layer are used
Name in an account book;
The infrastructure services layer arbitration device sends according to the grouping user name and returns to mediation service address message to institute
Arbitration address request unit is stated, the mediation service address is carried in the return mediation service address message, it is described active and standby
Requests for arbitration is that the process is sent according to the mediation service address.
7. infrastructure services layer referee method according to claim 6, which is characterized in that in the infrastructure services
Layer arbitration device is according to the time sequencing of each active and standby requests for arbitration received, the active and standby requests for arbitration that will be initially received
The arbitration of corresponding process is main state process, will the corresponding process arbitration of other active and standby requests for arbitration be for after state course,
It further includes:
When detecting the major state process exception, the infrastructure services layer arbitration device according to receive it is each described in
The time sequencing of active and standby requests for arbitration, select the active and standby requests for arbitration being initially received corresponding from the standby state course into
Journey is main state process.
8. infrastructure services layer referee method according to claim 6, which is characterized in that in the infrastructure services
Layer arbitration device is according to the time sequencing of each active and standby requests for arbitration received, the active and standby requests for arbitration that will be initially received
The arbitration of corresponding process is main state process, will the corresponding process arbitration of other active and standby requests for arbitration be for after state course,
It further includes:
The heartbeat that the infrastructure services layer arbitration device receives the major state process and sent respectively for state course disappears
Breath, the heartbeat message are used to represent the running state of a process.
9. infrastructure services layer referee method according to claim 7, which is characterized in that when detecting the major state
During process exception, the infrastructure services layer arbitration device is suitable according to the time of each active and standby requests for arbitration received
Sequence, selected from the standby state course the corresponding process of active and standby requests for arbitration being initially received as major state process it
Afterwards, it further includes:
The infrastructure services layer arbitration device receives the active and standby requests for arbitration sent after former major state process execution is restarted;With
And
It is standby state course by the former major state process arbitration.
10. the infrastructure services layer referee method according to claim 6-9 any one, which is characterized in that when described
Major state process is managing process, and the managing process is used to arbitrating business process into be main state business process or standby state industry
During business process, further include:
The infrastructure services layer arbitration device sending device failure notification to the major state process, lead to by the equipment fault
Know for notifying the major state process, standby state service process arbitration is main state, and will be deployed on faulty equipment
Major state business process or arbitration are malfunction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310632531.8A CN104679692B (en) | 2013-11-29 | 2013-11-29 | Infrastructure services layer arbitration device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310632531.8A CN104679692B (en) | 2013-11-29 | 2013-11-29 | Infrastructure services layer arbitration device and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104679692A CN104679692A (en) | 2015-06-03 |
CN104679692B true CN104679692B (en) | 2018-06-19 |
Family
ID=53314765
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310632531.8A Active CN104679692B (en) | 2013-11-29 | 2013-11-29 | Infrastructure services layer arbitration device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104679692B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102073562A (en) * | 2010-12-31 | 2011-05-25 | 山石网科通信技术(北京)有限公司 | Hardware-based main/standby switch arbitration method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040001449A1 (en) * | 2002-06-28 | 2004-01-01 | Rostron Andy E. | System and method for supporting automatic protection switching between multiple node pairs using common agent architecture |
CN1198407C (en) * | 2003-07-08 | 2005-04-20 | 大唐移动通信设备有限公司 | Device and method for realizing high availability in communication system |
-
2013
- 2013-11-29 CN CN201310632531.8A patent/CN104679692B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102073562A (en) * | 2010-12-31 | 2011-05-25 | 山石网科通信技术(北京)有限公司 | Hardware-based main/standby switch arbitration method |
Also Published As
Publication number | Publication date |
---|---|
CN104679692A (en) | 2015-06-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3893114B1 (en) | Fault processing method, related device, and computer storage medium | |
CN111338774B (en) | Distributed timing task scheduling system and computing device | |
EP3116163B1 (en) | Disaster recovery scheme configuration method and apparatus in cloud computing architecture | |
US9639437B2 (en) | Techniques to manage non-disruptive SAN availability in a partitioned cluster | |
EP3288239B1 (en) | Service availability management method and apparatus, and network function virtualization infrastructure thereof | |
CN109743358A (en) | Asynchronous message interface fusing control method, device, computer equipment and storage medium | |
CN106452846A (en) | Fault processing method, virtual architecture management system and business management system | |
JP5796722B2 (en) | Computer server capable of supporting CPU virtualization | |
CN107769932B (en) | Charging method, device and system | |
CN108369544A (en) | The server delayed in computing system restores | |
CN109918320A (en) | A kind of control method of USB device, device and KVM control system | |
CN112948063A (en) | Cloud platform creation method and device, cloud platform and cloud platform implementation system | |
CN110262893A (en) | The method, apparatus and computer storage medium of configuration mirroring memory | |
CN111147600B (en) | Service execution method and terminal under cluster environment | |
CN109327383A (en) | A kind of fault handling method and equipment | |
CN109842526A (en) | A kind of disaster recovery method and device | |
CN113986539A (en) | Method, device, electronic equipment and readable storage medium for realizing pod fixed IP | |
US9317355B2 (en) | Dynamically determining an external systems management application to report system errors | |
CN104679692B (en) | Infrastructure services layer arbitration device and method | |
CN111143027A (en) | Cloud platform management method, system, equipment and computer readable storage medium | |
CN108958980A (en) | Prevent method, electronic device and the computer readable storage medium of Activity life cycle exception | |
CN110069377A (en) | A kind of monitoring method of multi-core processor, terminal and computer storage medium | |
CN116126457A (en) | Container migration method and server cluster | |
TW201201013A (en) | Method and multiple computer system with a failover support to manage shared resources | |
CN114584458A (en) | Cluster disaster recovery management method, system, equipment and storage medium based on ETCD |
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 |