CN102891904A - Method for implementing fast FailOver in cluster system - Google Patents

Method for implementing fast FailOver in cluster system Download PDF

Info

Publication number
CN102891904A
CN102891904A CN2012103386349A CN201210338634A CN102891904A CN 102891904 A CN102891904 A CN 102891904A CN 2012103386349 A CN2012103386349 A CN 2012103386349A CN 201210338634 A CN201210338634 A CN 201210338634A CN 102891904 A CN102891904 A CN 102891904A
Authority
CN
China
Prior art keywords
service
service processes
particular location
processes
sign
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.)
Pending
Application number
CN2012103386349A
Other languages
Chinese (zh)
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.)
PCI Suntek Technology Co Ltd
Original Assignee
PCI Suntek Technology 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 PCI Suntek Technology Co Ltd filed Critical PCI Suntek Technology Co Ltd
Priority to CN2012103386349A priority Critical patent/CN102891904A/en
Publication of CN102891904A publication Critical patent/CN102891904A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention provides a method for implementing fast FailOver in a cluster system. A service progress is identified by using a 32-bit integer. The method is characterized in that a communication protocol carries a service progress identifier; and two parties for communication position a specific position of the service progress according to the identifier, so that a method for sending a service request to a target system is implemented. The method is applied to the cluster system; and when the progress of a server is subjected to abnormal FailOver switching, a new progress of the server can be quickly positioned by a client.

Description

A kind of method that in group system, realizes quick FailOver
Technical field
The invention belongs to the telecommunication technology field, be particularly related in group system the inside, when the service end process exception withdraws from, when FailOver occuring switching, solve client and how to locate fast the problem of new service end process, and the application of the method in value-added telecom services.
Background technology
At present, telecom operators require service was provided in 7*24 hour to operation system, and making up group system is a well selection.When group system just needed a kind of solution service end process that the FailOver switching occurs, how client located the problem of new service end process fast.
Summary of the invention
The objective of the invention is the problem for service end process in the telecommunications group system and client process communication, when the FailOver switching occurs in the service end process, client realizes the service end process switching by obtain new service end progress information from LIST SERVER.
In order to realize goal of the invention, the technical scheme of employing is as follows:
The integer that a kind of use is one 32 is counted the identification service process, and its principle is to identify by carry service processes in communications protocol, and the both sides of communication identify the particular location of positioning service process according to this.
After the service end process entered service, every interval m second was to the LIST SERVER reporting state information.
LIST SERVER is preserved the mapping relations table of a service processes sign and service processes position information.If LIST SERVER is not all received status report, the information that delete this service processes at n*m in second.
The every interval of client x second is upgraded local mapping table to the mapping relations of the process identification (PID) of LIST SERVER request service and service processes position information.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, the below will do simple the introduction to the accompanying drawing of required use in embodiment or the description of the Prior Art, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Figure is the flow chart that the integer of 32 of uses of the present invention is counted the realization FailOver of identification service process.
Embodiment
The enforcement scene of this patent is in a group system, to have two service processes to be deployed in respectively on two physical machines, a LIST SERVER, a client.
Implementing procedure is:
Two service processes (process number is a, and ip is ip_1 and ip_2) every n second to LIST SERVER mode status report.
Client every x second the map information (a:ip_1) to the process identification (PID) of LIST SERVER inquiry service and service end machine.
3. client need to be sent out when request to a, gets access to ip_1 from the mapping table of this locality, sends out request to ip_1.
4. if the machine at ip_1 place is unusual, LIST SERVER after second, is revised mapping relations a:ip_2 at t+n*m.
5. client after second, is revised mapping relations a:ip_2 at t+n*m+x, and follow-up request will send to the machine at ip_2 place
The above only is the specific embodiment of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (5)

1. realize quick FailOver in a group system, it is characterized in that using one 32 integer to count the identification service process, carry the service processes sign in communications protocol, the both sides of communication identify the particular location of positioning service process according to this, thereby realize service request is sent to a kind of method of goal systems.
2. integer according to claim 1 32 is counted the service processes sign, and its feature is used for identifying main COS at high 16, and low 16 are used for sign sub-services type, and different sub-services types can be shared a service processes.
3. according to claim 1ly a kind ofly count the method that service processes comes the particular location of positioning service process with integer, it is characterized in that, the client network element need to be safeguarded the mapping table of the particular location of a process identification (PID) and service processes, the tram that will obtain by mapping table service processes when at every turn sending service request to the service end process.
4. the mapping table of the particular location of a kind of process identification (PID) according to claim 3 and service processes is characterized in that, the client network element needs regularly to the mapping relations of LIST SERVER query procedure sign with the particular location of service processes.
5. preserved the mapping table of the particular location of process identification (PID) and service processes on the LIST SERVER according to claim 4, it is characterized in that, the client network element needs regularly to report to LIST SERVER the state information of oneself.
CN2012103386349A 2012-09-07 2012-09-07 Method for implementing fast FailOver in cluster system Pending CN102891904A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012103386349A CN102891904A (en) 2012-09-07 2012-09-07 Method for implementing fast FailOver in cluster system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012103386349A CN102891904A (en) 2012-09-07 2012-09-07 Method for implementing fast FailOver in cluster system

Publications (1)

Publication Number Publication Date
CN102891904A true CN102891904A (en) 2013-01-23

Family

ID=47535265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012103386349A Pending CN102891904A (en) 2012-09-07 2012-09-07 Method for implementing fast FailOver in cluster system

Country Status (1)

Country Link
CN (1) CN102891904A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105592045A (en) * 2015-08-24 2016-05-18 杭州华三通信技术有限公司 Service connection method and device in distributed system
CN107436831A (en) * 2016-05-26 2017-12-05 北京京东尚科信息技术有限公司 Monitoring method and device for client server system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101403983A (en) * 2008-11-25 2009-04-08 北京航空航天大学 Resource monitoring method and system for multi-core processor based on virtual machine
CN102104628A (en) * 2010-12-29 2011-06-22 北京新媒传信科技有限公司 Server cluster system and management method thereof
CN102340410A (en) * 2010-07-21 2012-02-01 中兴通讯股份有限公司 Cluster management system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101403983A (en) * 2008-11-25 2009-04-08 北京航空航天大学 Resource monitoring method and system for multi-core processor based on virtual machine
CN102340410A (en) * 2010-07-21 2012-02-01 中兴通讯股份有限公司 Cluster management system and method
CN102104628A (en) * 2010-12-29 2011-06-22 北京新媒传信科技有限公司 Server cluster system and management method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105592045A (en) * 2015-08-24 2016-05-18 杭州华三通信技术有限公司 Service connection method and device in distributed system
CN107436831A (en) * 2016-05-26 2017-12-05 北京京东尚科信息技术有限公司 Monitoring method and device for client server system

Similar Documents

Publication Publication Date Title
CN103024008B (en) The method, apparatus and system of transfer of data in Internet of Things
CN101227710B (en) Equipment and method for synchronizing locating trigger information
CN102238534A (en) Terminal identifier notification and maintenance methods and equipment
CN104243182A (en) Directional traffic charging method and directional traffic charging system
CN101325781B (en) Lawful snooping method, system and network equipment
CN104754637A (en) Wireless device throughput capacity and machine loading capacity measurement method and system
CN101877656A (en) Network management and monitoring system and method for realizing parallel processing of fault alarms thereof
CN104796880A (en) Subscriber identity module (SIM) card resource allocation method, related device and system
CN101227339A (en) Method for monitoring data traffic based on contents and/or IP address
CN105554730A (en) Communication method, server and terminal
CN102238530A (en) Method and apparatus for expanding user equipment identities of machine-type communication devices
CN102891904A (en) Method for implementing fast FailOver in cluster system
CN102215457B (en) A kind of Dynamic Configuration of mobile terminal group and system
CN105516250A (en) Internet-of-things service invoking platform and system
CN102098642B (en) System and method for realizing short message transfer in mobile network
CN102577480A (en) Method for intercepting mobile user's location and interception system
CN104506743A (en) Method and device for dynamically intercepting call
CN102769495A (en) Optical access network equipment communication method, device and system
CN102568179B (en) Two-channel wireless transmission power monitoring system and monitoring method thereof
CN104079440A (en) Synchronous configuration method of primary equipment and stand-by equipment and SNMP (Simple Network Management Protocol) system
CN102325335A (en) End-to-end monitoring method for client gathering business
CN104579967A (en) Transmission path control equipment
CN102761914A (en) M2M platform, and method and system for processing terminal business data
CN102487399A (en) Software data operating method, system, terminal and service server
CN102577316B (en) Method, device and system of data interception

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C05 Deemed withdrawal (patent law before 1993)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130123