CN104679692A - Device and method for arbitrating infrastructure service layer - Google Patents

Device and method for arbitrating infrastructure service layer Download PDF

Info

Publication number
CN104679692A
CN104679692A CN201310632531.8A CN201310632531A CN104679692A CN 104679692 A CN104679692 A CN 104679692A CN 201310632531 A CN201310632531 A CN 201310632531A CN 104679692 A CN104679692 A CN 104679692A
Authority
CN
China
Prior art keywords
arbitration
standby
active
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.)
Granted
Application number
CN201310632531.8A
Other languages
Chinese (zh)
Other versions
CN104679692B (en
Inventor
陈选辉
姚弋宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310632531.8A priority Critical patent/CN104679692B/en
Publication of CN104679692A publication Critical patent/CN104679692A/en
Application granted granted Critical
Publication of CN104679692B publication Critical patent/CN104679692B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Hardware Redundancy (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention relates to a device and a method for arbitrating an infrastructure service layer. The device comprises a receiving module for receiving primary and standby arbitration requests sent by at least two processes of an application layer, and an arbitration module connected with the receiving module, and used for arbitrating the process corresponding to the firstly received primary and standby arbitration request as a primary state process and the processes corresponding to other primary and standby arbitration request as standby state processes according to the time sequence of the various received primary and standby arbitration requests. According to the device for arbitrating the infrastructure service layer, the process corresponding to the firstly received primary and standby arbitration request is arbitrated as a primary state process and the processes corresponding to other primary and standby arbitration request are arbitrated as standby state processes according to the time sequence of the various received primary and standby arbitration requests; according to the device and the method for arbitrating an infrastructure service layer, the applicable layer is capable of obtaining reliable arbitration services and the reliability of the communication services can be improved.

Description

Infrastructure services layer arbitration device and method
Technical field
The present invention relates to the communications field, particularly relate to a kind of infrastructure services layer arbitration device and method.
Background technology
Along with the popularization of communication cloud concept, service application layer and infrastructure services (English: Infrastructure as a Service, abbreviation: IaaS) layer is separated, and the layer architecture of decoupling zero is widely applied to communication system.Hardware device is by IaaS layer-management, transparent to service application, and service application generally operates in virtual machine (English: Virtual Machine, abbreviation: VM).
A characteristic feature of communications applications is highly reliable, communication system usually by business process active and standby help each other realize highly reliable.Such as, the upper configuration of VM1 be host process, the upper configuration of VM2 be standby process, host process process business, standby process does not process business, for process from host process synchronous regime and data.Meanwhile, dispose managing process, the business process run in system is monitored, be responsible for process status management and active and standby arbitration.For guaranteeing high reliability, managing process also can be disposed active and standby.Under layer architecture, managing process is generally arbitrated by photos and sending messages mutual between active and standby managing process.Such as, the managing process of VM1 and the managing process of VM2 are made up one's mind mutually and are jumped, and the time according to process initiation carries out active and standby arbitration, the process initiation time early be host process, what start evening is for process.If former Mastermanager fault, then former standby managing process becomes host process.
Prior art relies on to make up one's mind mutually between two managing processs jumps into the active and standby arbitration of row, easily produces arbitration by mistake.VM2 managing process can not receive the heartbeat of VM1 managing process, and its reason may have multiple, such as VM1 managing process fault, VM1 network interface fault or VM2 network interface fault etc.If because network interface fault causes to send heartbeat mutually between VM1 managing process and VM2 managing process, then two managing processs all will think that it is host process, thus system is by appearance two Mastermanagers, causes system fault.
Summary of the invention
technical matters
In view of this, the technical problem to be solved in the present invention is, makes up one's mind mutually and jump into the mistake arbitration of row active and standby arbitrated house generation between two managing processs of application layer, and the problem that the communication service reliability caused thus reduces.
solution
In order to solve the problems of the technologies described above, according to one embodiment of the invention, provide a kind of infrastructure services layer arbitration device, comprising:
Receiver module, the active and standby requests for arbitration that at least two processes for receiving application layer send;
Arbitration modules, be connected with described receiver module, for the time sequencing according to each described active and standby requests for arbitration received, be main state process corresponding for the active and standby requests for arbitration received at first arbitration process, is standby state course by process corresponding for other active and standby requests for arbitration arbitration.
In a kind of possible embodiment, described arbitration modules is configured to:
When described major state process exception being detected, according to the time sequencing of each described active and standby requests for arbitration received, from the described process corresponding for the active and standby requests for arbitration selecting state course to receive at first as major state process.
In a kind of possible embodiment, described receiver module is configured to: the request mediation service address message that the communication service arbitration address request unit receiving application layer sends, and described request mediation service address message comprises the grouping user name of at least two processes of described application layer; Described infrastructure services layer arbitration device also comprises:
Sending module, be connected with described receiver module, for according to described grouping user name, transmission returns mediation service address message to described arbitration address request unit, described returning in mediation service address message carries described mediation service address, and described active and standby requests for arbitration is that described process sends according to described mediation service address.
In a kind of possible embodiment, described receiver module is configured to:
The heartbeat message receiving described major state process and send respectively for state course, described heartbeat message is for representing described running state of a process.
In a kind of possible embodiment, described receiver module is configured to:
Receive former major state process and perform the active and standby requests for arbitration of restarting rear transmission; And
Described arbitration modules is configured to: arbitrate described former major state process for standby state course.
In a kind of possible embodiment, described sending module is configured to:
Transmitting apparatus failure notification is to described major state process, described major state process is managing process, described managing process is used for business process arbitration to be main state business process or standby state service process, described equipment failure notice is used for notifying described major state process, to be main state for the arbitration of state service process, and be malfunction by the major state business process be deployed on faulty equipment or arbitration.
In order to solve the problems of the technologies described above, according to another embodiment of the present invention, provide a kind of infrastructure services layer referee method, comprising:
The active and standby requests for arbitration that at least two processes that infrastructure services layer arbitration device receives application layer send;
Described infrastructure services layer arbitration device is according to the time sequencing of each described active and standby requests for arbitration received, be main state process corresponding for the active and standby requests for arbitration received at first arbitration process, is standby state course by process corresponding for other active and standby requests for arbitration arbitration.
In a kind of possible embodiment, in the time sequencing of described infrastructure services layer arbitration device according to each described active and standby requests for arbitration received, be main state process corresponding for the active and standby requests for arbitration received at first arbitration process, by process corresponding for other active and standby requests for arbitration arbitration for after standby state course, also comprise:
When described major state process exception being detected, described infrastructure services layer arbitration device is according to the time sequencing of each described active and standby requests for arbitration received, and the process selecting the active and standby requests for arbitration that receives at first corresponding from described standby state course is as major state process.
In a kind of possible embodiment, receive the active and standby requests for arbitration of at least two processes transmissions of application layer at described infrastructure services layer arbitration device before, also comprise:
The request mediation service address message that the communication service arbitration address request unit that described infrastructure services layer arbitration device receives application layer sends, described request mediation service address message comprises the grouping user name of at least two processes of described application layer;
Described infrastructure services layer arbitration device is according to described grouping user name, transmission returns mediation service address message to described arbitration address request unit, described returning in mediation service address message carries described mediation service address, and described active and standby requests for arbitration is that described process sends according to described mediation service address.
In a kind of possible embodiment, in the time sequencing of described infrastructure services layer arbitration device according to each described active and standby requests for arbitration received, be main state process corresponding for the active and standby requests for arbitration received at first arbitration process, by process corresponding for other active and standby requests for arbitration arbitration for after standby state course, also comprise:
The heartbeat message that described infrastructure services layer arbitration device receives described major state process and send respectively for state course, described heartbeat message is for representing described running state of a process.
In a kind of possible embodiment, when described major state process exception being detected, described infrastructure services layer arbitration device is according to the time sequencing of each described active and standby requests for arbitration received, from the described process corresponding for the active and standby requests for arbitration selecting state course to receive at first as after major state process, also comprise:
Described infrastructure services layer arbitration device receives former major state process and performs the active and standby requests for arbitration of restarting rear transmission; And
Described former major state process is arbitrated as standby state course.
In a kind of possible embodiment, when described active state process is managing process, when described managing process is used for business process arbitration being main state business process or standby state service process, also comprise:
Described infrastructure services layer arbitration device transmitting apparatus failure notification is to described major state process, described equipment failure notice is used for notifying described major state process, to be main state for the arbitration of state service process, and be malfunction by the major state business process be deployed on faulty equipment or arbitration.
beneficial effect
By the time sequencing of infrastructure services layer arbitration device according to each described active and standby requests for arbitration received, be main state process corresponding for the active and standby requests for arbitration received at first arbitration process, process corresponding for other active and standby requests for arbitration is arbitrated for standby state course, 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.
According to below with reference to the accompanying drawings to detailed description of illustrative embodiments, further feature of the present invention and aspect will become clear.
Accompanying drawing explanation
Comprise in the description and form the accompanying drawing of a part for instructions and instructions together illustrates exemplary embodiment of the present invention, characteristic sum aspect, and for explaining principle of the present invention.
Fig. 1 illustrates the structural representation of infrastructure services layer arbitration device according to an embodiment of the invention;
Fig. 2 illustrates the process flow diagram of infrastructure services layer referee method according to an embodiment of the invention;
Fig. 3 illustrates the process flow diagram of infrastructure services layer referee method according to another embodiment of the present invention;
Fig. 4 illustrates the process flow diagram of step S313-S315 in the embodiment of the present invention;
Fig. 5 illustrates the structured flowchart of infrastructure services layer arbitration device according to an embodiment of the invention.
Embodiment
Various exemplary embodiment of the present invention, characteristic sum aspect is described in detail below with reference to accompanying drawing.The same or analogous element of Reference numeral presentation function identical in accompanying drawing.Although the various aspects of embodiment shown in the drawings, unless otherwise indicated, accompanying drawing need not be drawn in proportion.
Word " exemplary " special here means " as example, embodiment or illustrative ".Here need not be interpreted as being better than or being better than other embodiment as any embodiment illustrated by " exemplary ".
In addition, in order to better the present invention is described, in embodiment hereafter, give numerous details.It will be appreciated by those skilled in the art that do not have some detail, the present invention can implement equally.In some instances, the method known for those skilled in the art, means, element and circuit are not described in detail, so that highlight purport of the present invention.
embodiment 1
Fig. 1 illustrates a kind of according to an embodiment of the invention structural representation of infrastructure services layer arbitration device.As shown in Figure 1, this device 10 mainly comprises: receiver module 101, arbitration modules 102.
Receiver module 101, the active and standby requests for arbitration that at least two processes for receiving application layer send;
Arbitration modules 102, be connected with described receiver module 101, for the time sequencing according to each described active and standby requests for arbitration received, be main state process corresponding for the active and standby requests for arbitration received at first arbitration process, is standby state course by process corresponding for other active and standby requests for arbitration arbitration.
In a kind of possible implementation, described arbitration modules 102 is configured to: when described major state process exception being detected, according to the time sequencing of each described active and standby requests for arbitration received, from the described process corresponding for the active and standby requests for arbitration selecting state course to receive at first as major state process.
In a kind of possible implementation, described receiver module 101 is configured to: the request mediation service address message that the communication service arbitration address request unit receiving application layer sends, and described request mediation service address message comprises the grouping user name of at least two processes of described application layer; This device 10 also comprises: sending module 103, sending module 103 is connected with described receiver module 101, for according to described grouping user name, transmission returns mediation service address message to described arbitration address request unit, described returning in mediation service address message carries described mediation service address, and described active and standby requests for arbitration is that described process sends according to described mediation service address.
In a kind of possible implementation, described receiver module 101 is configured to: the heartbeat message receiving described major state process and send respectively for state course, described heartbeat message is for representing described running state of a process.
In a kind of possible implementation, described receiver module 101 is configured to: receive former major state process and perform the active and standby requests for arbitration of restarting rear transmission; And described arbitration modules is configured to: described former major state process is arbitrated for standby state course.
In a kind of possible implementation, described sending module 103 is configured to: transmitting apparatus failure notification is to described major state process, described major state process is managing process, described managing process is used for business process arbitration to be main state business process or standby state service process, described equipment failure notice is used for notifying described major state process, to be main state for the arbitration of state service process, and be malfunction by the major state business process be deployed on faulty equipment or arbitration.
Like this, according to infrastructure services layer arbitration device provided by the invention, application layer can be made to obtain reliable mediation service, improve the reliability of communication service.
embodiment 2
Fig. 2 illustrates a kind of according to an embodiment of the invention process flow diagram of infrastructure services layer referee method.As shown in Figure 2, the method comprises:
The active and standby requests for arbitration that at least two processes that step S201, infrastructure services layer arbitration device receive application layer send.
Step S202, infrastructure services layer arbitration device are according to the time sequencing of each described active and standby requests for arbitration received, be main state process corresponding for the active and standby requests for arbitration received at first arbitration process, is standby state course by process corresponding for other active and standby requests for arbitration arbitration.
Wherein said process can be managing process, also can be business process.
Like this, by the time sequencing of infrastructure services layer arbitration device according to each described active and standby requests for arbitration received, be main state process corresponding for the active and standby requests for arbitration received at first arbitration process, process corresponding for other active and standby requests for arbitration is arbitrated for standby state course, according to infrastructure services layer referee method provided by the invention, application layer can be made to obtain reliable mediation service, improve the reliability of communication service.
embodiment 3
Fig. 3 illustrates a kind of according to another embodiment of the present invention process flow diagram of infrastructure services layer referee method.As shown in Figure 3, the method comprises:
The communication service arbitration address request unit of step S301, application layer sends request mediation service address message to infrastructure services layer arbitration device, and this request mediation service address message comprises the grouping user name of application layer process; The communication service arbitration address request unit of application layer can be operation and maintenance unit (English: Operation an Maintenance unit, abbreviation: OMU).
Step S302, infrastructure services layer arbitration device are according to this grouping user name, and send and return mediation service address message to arbitration address request unit, this returns in mediation service address message and carries mediation service address.
The message of address request unit to the first process transmission notice mediation service address of application layer is arbitrated in the communication service of step S303, application layer.
First process of step S304, application layer, according to mediation service address, sends active and standby requests for arbitration to infrastructure services layer arbitration device.
Step S305, infrastructure services layer arbitration device are according to the active and standby requests for arbitration received, according to predetermined strategy, such as according to the time sequencing of the active and standby requests for arbitration received, be main state process corresponding for the active and standby requests for arbitration received at first arbitration process, process corresponding for other active and standby requests for arbitration is arbitrated for standby state course, or be main state the process first started arbitration process, the process arbitration of rear startup is standby state course.
Step S306, the first process are as after major state process, and timing sends heartbeat message to infrastructure services layer arbitration device, and heartbeat message is for reporting the first running state of process.
The message of address request unit to the second process transmission notice mediation service address of application layer is arbitrated in the communication service of step S307, application layer.Second process can be one or more.
Second process of step S308, application layer, according to mediation service address, sends active and standby requests for arbitration to infrastructure services layer arbitration device.
Step S309, infrastructure services layer arbitration device, according to the active and standby requests for arbitration received, are standby state course according to the arbitration of predetermined strategy.Such as discovery sends active and standby requests for arbitration after being, or discovery is the process of rear startup, then arbitration is standby state course.
Step S310, application layer second process are by after standby process initiation success, and timing sends heartbeat message to infrastructure services layer arbitration device, send the running status of heartbeat message report oneself.
Step S311, when the first process exception being detected, infrastructure services layer arbitration device according to predetermined policy, from the second process select one as major state process.
First process of application layer if there is fault, then normally can not send heartbeat again, such as, do not send heartbeat or do not send heartbeat according to agreed frequency.Now, if the second process is one, the second process is arbitrated the process that is main state by infrastructure services layer arbitration device.If the second process is multiple, infrastructure services layer arbitration device, according to predetermined policy, selects one as major state process from the second process.Such as according to the time sequencing of the active and standby requests for arbitration received, be main state process corresponding for the active and standby requests for arbitration received at first arbitration process, or the process that the process first started arbitration is main state.
Step S312, the first process detection send active and standby requests for arbitration to infrastructure services layer arbitration device after restarting to process exception execution again; Again receive the arbitration result that infrastructure services layer arbitration device sends, arbitration result is standby state course.
Fig. 4 is the process flow diagram of step S313-S315 in the embodiment of the present invention.As shown in Figure 4, first process is the major state managing process of application layer, and the first business process arbitration of the first managing process just application layer is main state business process, second business process is arbitrated for standby state service process, further, when equipment breaks down as virtual machine, infrastructure services layer arbitration device can also notify application layer managing process, specifically comprises:
Step S313, infrastructure services layer arbitration device transmitting apparatus failure notification are to described first process, and described equipment failure notice is for notifying that described second business process arbitration to be main state business process be malfunction by the first business process arbitration be deployed on the equipment that breaks down by the first process.
Step S314, the first process notify according to this equipment failure, and the second business process as standby state service process is arbitrated the business process that is main state.
Step S315, be malfunction by the first business process arbitration of being deployed on the equipment that breaks down.
What application layer major state process as received basis Infrastructure service layer arbitration device sent notifies about physical machine, virtual-machine fail, can carry out quick master-slave swap to the process on fault virtual machine.Be specially: application layer first business process and the second application layer business process active and standby each other, the first business process is deployed on virtual machine 1.When infrastructure services layer arbitration device monitors virtual machine 1 fault, then notify application layer major state managing process, i.e. the first process, application layer major state process finds that the first business process is deployed on virtual machine 1, then the second application layer business is upgraded to major state, arbitrate the first business process is malfunction simultaneously.
Based on previous embodiment, those skilled in the art are to be understood that application layer process status is not necessarily called major state and standby state, can be that any one represents the appellation distinguishing similar entity different conditions, such as, can be called first-selected process and dependent processes.
Like this, by the time sequencing of infrastructure services layer arbitration device according to each described active and standby requests for arbitration received, be main state the first process arbitration process, second process is arbitrated for standby state course, and when the first process exception, provide masterslave switchover, according to infrastructure services layer referee method provided by the invention, application layer can be made to obtain reliable mediation service, improve the reliability of communication service.
embodiment 4
Fig. 5 shows the structured flowchart of a kind of infrastructure services layer arbitration device of an alternative embodiment of the invention.Described infrastructure services layer arbitration device 1100 can be possess the host server of computing power, personal computer PC or portable portable computer or terminal etc.The specific embodiment of the invention does not limit the specific implementation of computing node.
Described infrastructure services layer arbitration device 1100 comprises processor (processor) 1110, communication interface (Communications Interface) 1120, storer (memory) 1130 and bus 1140.Wherein, processor 1110, communication interface 1120 and storer 1130 complete mutual communication by bus 1140.
Communication interface 1120 for network device communications, wherein the network equipment comprise such as Virtual Machine Manager center, share store etc.
Processor 1110 is for executive routine.Processor 1110 may be a central processor CPU, or application-specific integrated circuit ASIC (Application Specific Integrated Circuit), or is configured to the one or more integrated circuit implementing the embodiment of the present invention.
Storer 1130 is for storing documents.Storer 1130 may comprise high-speed RAM storer, still may comprise nonvolatile memory (non-volatile memory), such as at least one magnetic disk memory.Storer 1130 also can be memory array.Storer 1130 also may by piecemeal, and described piece can become virtual volume by certain principle combinations.
In a kind of possible embodiment, said procedure can be the program code comprising computer-managed instruction.This program specifically can be used for:
The active and standby requests for arbitration that at least two processes that infrastructure services layer arbitration device receives application layer send;
Described infrastructure services layer arbitration device is according to the time sequencing of each described active and standby requests for arbitration received, be main state process corresponding for the active and standby requests for arbitration received at first arbitration process, is standby state course by process corresponding for other active and standby requests for arbitration arbitration.
In a kind of possible embodiment, in the time sequencing of described infrastructure services layer arbitration device according to each described active and standby requests for arbitration received, be main state process corresponding for the active and standby requests for arbitration received at first arbitration process, by process corresponding for other active and standby requests for arbitration arbitration for after standby state course, this program also for:
When described major state process exception being detected, described infrastructure services layer arbitration device is according to the time sequencing of each described active and standby requests for arbitration received, and the process selecting the active and standby requests for arbitration that receives at first corresponding from described standby state course is as major state process.
In a kind of possible embodiment, before the active and standby requests for arbitration that at least two processes receiving application layer at described infrastructure services layer arbitration device send, this program also for:
The request mediation service address message that the communication service arbitration address request unit that described infrastructure services layer arbitration device receives application layer sends, described request mediation service address message comprises the grouping user name of at least two processes of described application layer;
Described infrastructure services layer arbitration device is according to described grouping user name, transmission returns mediation service address message to described arbitration address request unit, described returning in mediation service address message carries described mediation service address, and described active and standby requests for arbitration is that described process sends according to described mediation service address.
In a kind of possible embodiment, in the time sequencing of described infrastructure services layer arbitration device according to each described active and standby requests for arbitration received, be main state process corresponding for the active and standby requests for arbitration received at first arbitration process, by process corresponding for other active and standby requests for arbitration arbitration for after standby state course, this program also for:
The heartbeat message that described infrastructure services layer arbitration device receives described major state process and send respectively for state course, described heartbeat message is for representing described running state of a process.
In a kind of possible embodiment, when described major state process exception being detected, described infrastructure services layer arbitration device is according to the time sequencing of each described active and standby requests for arbitration received, the process selecting the active and standby requests for arbitration that receives at first corresponding from described standby state course as after major state process, this program also for:
Described infrastructure services layer arbitration device receives former major state process and performs the active and standby requests for arbitration of restarting rear transmission; And
Described former major state process is arbitrated as standby state course.
In a kind of possible embodiment, when described active state process is managing process, when described managing process is used for business process arbitration being main state business process or standby state service process, this program also for:
Described infrastructure services layer arbitration device transmitting apparatus failure notification is to described major state process, described equipment failure notice is used for notifying described major state process, to be main state for the arbitration of state service process, and be malfunction by the major state business process be deployed on faulty equipment or arbitration.
Those of ordinary skill in the art can recognize, each exemplary cell in embodiment described herein and algorithm steps, can realize with the combination of electronic hardware or computer software and electronic hardware.These functions realize with hardware or software form actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can realize described function for specific application choice diverse ways, but this realization should not thought and exceeds scope of the present invention.
If using the form of computer software realize described function and as independently production marketing or use time, then can think that all or part of (such as to the part that prior art contributes) of technical scheme of the present invention embodies in form of a computer software product to a certain extent.This computer software product is stored in the non-volatile memory medium of embodied on computer readable usually, comprises all or part of step of some instructions in order to make computer equipment (can be personal computer, server or the network equipment etc.) perform various embodiments of the present invention method.And aforesaid storage medium comprise USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection domain of claim.

Claims (12)

1. an infrastructure services layer arbitration device, is characterized in that, comprising:
Receiver module, the active and standby requests for arbitration that at least two processes for receiving application layer send;
Arbitration modules, be connected with described receiver module, for the time sequencing according to each described active and standby requests for arbitration received, be main state process corresponding for the active and standby requests for arbitration received at first arbitration process, is standby state course by process corresponding for other active and standby requests for arbitration arbitration.
2. infrastructure services layer arbitration device according to claim 1, it is characterized in that, described arbitration modules is configured to:
When described major state process exception being detected, according to the time sequencing of each described active and standby requests for arbitration received, from the described process corresponding for the active and standby requests for arbitration selecting state course to receive at first as major state process.
3. infrastructure services layer arbitration device according to claim 1 and 2, it is characterized in that, described receiver module is configured to: the request mediation service address message that the communication service arbitration address request unit receiving application layer sends, and described request mediation service address message comprises the grouping user name of at least two processes of described application layer; Described infrastructure services layer arbitration device also comprises:
Sending module, be connected with described receiver module, for according to described grouping user name, transmission returns mediation service address message to described arbitration address request unit, described returning in mediation service address message carries described mediation service address, and described active and standby requests for arbitration is that described process sends according to described mediation service address.
4. infrastructure services layer arbitration device according to claim 1, it is characterized in that, described receiver module is configured to:
The heartbeat message receiving described major state process and send respectively for state course, described heartbeat message is for representing described running state of a process.
5. infrastructure services layer arbitration device according to claim 2, it is characterized in that, described receiver module is configured to:
Receive former major state process and perform the active and standby requests for arbitration of restarting rear transmission; And
Described arbitration modules is configured to: arbitrate described former major state process for standby state course.
6. the infrastructure services layer arbitration device according to claim 3-5, it is characterized in that, described sending module is configured to:
Transmitting apparatus failure notification is to described major state process, described major state process is managing process, described managing process is used for business process arbitration to be main state business process or standby state service process, described equipment failure notice is used for notifying described major state process, to be main state for the arbitration of state service process, and be malfunction by the major state business process be deployed on faulty equipment or arbitration.
7. an infrastructure services layer referee method, is characterized in that, comprising:
The active and standby requests for arbitration that at least two processes that infrastructure services layer arbitration device receives application layer send;
Described infrastructure services layer arbitration device is according to the time sequencing of each described active and standby requests for arbitration received, be main state process corresponding for the active and standby requests for arbitration received at first arbitration process, is standby state course by process corresponding for other active and standby requests for arbitration arbitration.
8. infrastructure services layer referee method according to claim 7, it is characterized in that, in the time sequencing of described infrastructure services layer arbitration device according to each described active and standby requests for arbitration received, be main state process corresponding for the active and standby requests for arbitration received at first arbitration process, by process corresponding for other active and standby requests for arbitration arbitration for after standby state course, also comprise:
When described major state process exception being detected, described infrastructure services layer arbitration device is according to the time sequencing of each described active and standby requests for arbitration received, and the process selecting the active and standby requests for arbitration that receives at first corresponding from described standby state course is as major state process.
9. the infrastructure services layer referee method according to claim 7 or 8, is characterized in that, before receiving the active and standby requests for arbitration of at least two processes transmissions of application layer, also comprises at described infrastructure services layer arbitration device:
The request mediation service address message that the communication service arbitration address request unit that described infrastructure services layer arbitration device receives application layer sends, described request mediation service address message comprises the grouping user name of at least two processes of described application layer;
Described infrastructure services layer arbitration device is according to described grouping user name, transmission returns mediation service address message to described arbitration address request unit, described returning in mediation service address message carries described mediation service address, and described active and standby requests for arbitration is that described process sends according to described mediation service address.
10. infrastructure services layer referee method according to claim 7, it is characterized in that, in the time sequencing of described infrastructure services layer arbitration device according to each described active and standby requests for arbitration received, be main state process corresponding for the active and standby requests for arbitration received at first arbitration process, by process corresponding for other active and standby requests for arbitration arbitration for after standby state course, also comprise:
The heartbeat message that described infrastructure services layer arbitration device receives described major state process and send respectively for state course, described heartbeat message is for representing described running state of a process.
11. infrastructure services layer referee method according to claim 8, it is characterized in that, when described major state process exception being detected, described infrastructure services layer arbitration device is according to the time sequencing of each described active and standby requests for arbitration received, from the described process corresponding for the active and standby requests for arbitration selecting state course to receive at first as after major state process, also comprise:
Described infrastructure services layer arbitration device receives former major state process and performs the active and standby requests for arbitration of restarting rear transmission; And
Described former major state process is arbitrated as standby state course.
12. infrastructure services layer referee method according to claim 7-11, it is characterized in that, when described active state process is managing process, when described managing process is used for business process arbitration being main state business process or standby state service process, also comprise:
Described infrastructure services layer arbitration device transmitting apparatus failure notification is to described major state process, described equipment failure notice is used for notifying described major state process, to be main state for the arbitration of state service process, and be malfunction by the major state business process be deployed on faulty equipment or arbitration.
CN201310632531.8A 2013-11-29 2013-11-29 Infrastructure services layer arbitration device and method Active CN104679692B (en)

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 true CN104679692A (en) 2015-06-03
CN104679692B 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 (3)

* Cited by examiner, † Cited by third party
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
CN1476178A (en) * 2003-07-08 2004-02-18 大唐移动通信设备有限公司 Device and method for realizing high availability in communication system
CN102073562A (en) * 2010-12-31 2011-05-25 山石网科通信技术(北京)有限公司 Hardware-based main/standby switch arbitration method

Patent Citations (3)

* Cited by examiner, † Cited by third party
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
CN1476178A (en) * 2003-07-08 2004-02-18 大唐移动通信设备有限公司 Device and method for realizing high availability in communication system
CN102073562A (en) * 2010-12-31 2011-05-25 山石网科通信技术(北京)有限公司 Hardware-based main/standby switch arbitration method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李小平 等: ""时间片随机到达的轮转调度算法分析"", 《哈尔滨理工大学学报》 *
邱爽: ""民航空管***ATC3000的设计与实现"", 《中国优秀硕士学位论文全文数据库工程科技II辑》 *

Also Published As

Publication number Publication date
CN104679692B (en) 2018-06-19

Similar Documents

Publication Publication Date Title
US10642704B2 (en) Storage controller failover system
US9639437B2 (en) Techniques to manage non-disruptive SAN availability in a partitioned cluster
JP6636142B2 (en) Scale-out association method and apparatus and system
US20170280437A1 (en) Mobile Terminal and Resource Management Method of Mobile Terminal
US10541862B2 (en) VNF processing policy determining method, apparatus, and system
US20160179635A1 (en) System and method for performing efficient failover and virtual machine (vm) migration in virtual desktop infrastructure (vdi)
CN102571452A (en) Multi-node management method and system
CN104408071A (en) Distributive database high-availability method and system based on cluster manager
US10223183B2 (en) Rapid fault detection method and device
US9110861B2 (en) Managing host computing devices with a host control component
CN109918320A (en) A kind of control method of USB device, device and KVM control system
CN112804330B (en) Application communication method and device
CN103634128A (en) A configuration method of a virtual machine placing strategy and an apparatus
CN101262479B (en) A network file share method, server and network file share system
CN104123183A (en) Cluster assignment dispatching method and device
CN103561089A (en) Virtual machine desktop log-in method, device and system
CN109324549A (en) A kind of dual master control equipment configuration method and dual master control equipment
US9317355B2 (en) Dynamically determining an external systems management application to report system errors
CN102546250B (en) File publishing method and system based on main/standby mechanism
CN111143027A (en) Cloud platform management method, system, equipment and computer readable storage medium
WO2023029485A1 (en) Data processing method and apparatus, computer device, and computer-readable storage medium
CN104679692A (en) Device and method for arbitrating infrastructure service layer
Garraghan et al. Byzantine fault-tolerance in federated cloud computing
WO2021244500A1 (en) Backup state determination method, apparatus and system
CN109189566A (en) A kind of method and Related product for realizing the upper layer android driving IO

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