CN103763400A - Scheduling method for providing uninterrupted service in distributed system - Google Patents

Scheduling method for providing uninterrupted service in distributed system Download PDF

Info

Publication number
CN103763400A
CN103763400A CN201410054520.0A CN201410054520A CN103763400A CN 103763400 A CN103763400 A CN 103763400A CN 201410054520 A CN201410054520 A CN 201410054520A CN 103763400 A CN103763400 A CN 103763400A
Authority
CN
China
Prior art keywords
service
server
request
distributed system
servers
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
CN201410054520.0A
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.)
CHENGDU ZHIYUN SCIENCE & TECHNOLOGY Co Ltd
Original Assignee
CHENGDU ZHIYUN SCIENCE & 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 CHENGDU ZHIYUN SCIENCE & TECHNOLOGY Co Ltd filed Critical CHENGDU ZHIYUN SCIENCE & TECHNOLOGY Co Ltd
Priority to CN201410054520.0A priority Critical patent/CN103763400A/en
Publication of CN103763400A publication Critical patent/CN103763400A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Hardware Redundancy (AREA)

Abstract

The invention discloses a scheduling method for providing uninterrupted service in a distributed system. The scheduling method mainly solves the problems that in the prior art, a scheduling method of servers in a distributed system is low in resource utilization rate, cannot guarantee seamless connection of system service and is not beneficial to user experience. According to the scheduling method for providing uninterrupted service in the distributed system, multiple servers in the distributed system are divided into service groups including more than two servers, various functions needing to be undertaken by the system are distributed to different service groups respectively, one server is selected from the purpose service group to serve as a processing server when the purpose service group receives that a request server provides service, information of the selected server is fed back to the request server at the same time and alternative servers in and out of the purpose service group, and therefore it is guaranteed that the alternative servers can continue to provide service when the processing server fails. By means of the scheme, the purposes of high work efficiency, high processing capacity, safety, reliability and uninterrupted service providing are achieved, and the method has high practical value and promotional value.

Description

In distributed system, realize the dispatching method of persistent service
Technical field
The present invention relates to a kind of dispatching method, specifically, relate to realize in a kind of distributed system the dispatching method of persistent service.
Background technology
In distributed system, conventionally by the multiple server collaborative works in network, completing user request, but when software or hardware fault appear in certain server, cannot provide service, cause user to ask to interrupt, system service fault, must again recover, after software or hardware fault, could continue to provide service, user is experienced and caused harmful effect.
In order to improve system reliability, traditional solution adopts the mode of active/standby server to work conventionally, two-server is provided, and one in running order, and another is in standby condition, the continuous testing machine of preparation machine state, when discovering after working machine fault, oneself is become to operating state, take over subsequent service request, after former working machine service recovery, as new preparation machine, prepare for failover next time.This mode has shortened the time of service disruption to a certain extent, but because the mutual detection of service state has certain delay, and according to the application type difference of server carrying, active/standby server have switching time long have short, during this convalescence, system cannot be served completely, for high concurrent system, can lose very a large amount of user's requests.Meanwhile, active/standby server only has a server in work, and the level of resources utilization is also very low, and in addition, active/standby mode has also brought the synchronous problem of data, and no matter cold standby or temperature are standby, seamless connection that all the time cannot safeguards system service.
Summary of the invention
The object of the present invention is to provide the dispatching method of realizing persistent service in a kind of distributed system, the dispatching method resource utilization that mainly solves the Services in Distributed System device existing in prior art is lower, cannot guarantee the seamless connection of system service, be unfavorable for the problem that user experiences.
To achieve these goals, the technical solution used in the present invention is as follows:
The dispatching method of realizing persistent service in distributed system, comprises the following steps:
(1) more than two server in distributed system is divided into more than one service groups, in each service groups, comprises more than two server, and required system each function of bearing is distributed to respectively to different service groups;
(2) request server provides before service, according to the required functional characteristic of service that provides to corresponding object service groups request allocation process server;
(3) object service groups is from organizing server of interior selection as processing server, and the server info of selection is fed back to another server in request server and group simultaneously, using this another server as alternative services device;
(4) request server is preserved processing server and alternative services device information, and send request to the processing server distributing, start working, if processing server breaks down, request server mails to alternative services device according to alternative services device information by service request again, works on.
In order further to guarantee the reliability of work, in described step (3), object service groups is one or more from organizing interior selection as the number of servers of alternative services device.It is multiple to be that alternative services device can be, thereby fully guarantees the realization of persistent service.
Compared with prior art, the present invention has following beneficial effect:
(1) in the present invention, as long as distributed system is in running order, system service is just in line states, in the course of work, there is not break period and switching interval, when fault occurs, in system, most of request can not interrupted because Single Point of Faliure disturbs, and the request that is subject to fault interference also can be switched to rapidly the alternative services device in same group, can not affect user and experience, be applicable to very much high concurrent large-scale distributed system.
(2) in the present invention, in group, server is all in running order, and resource utilization is higher, and each function is distributed in different service groups, and the workload of each service groups is less, and operating efficiency is higher, thereby entire system disposal ability is stronger, more can meet technical need.
(3) the application of the invention, without data synchronization mechanism is provided, and can realize online dilatation, uses flexibility higher, and autgmentability is stronger, has outstanding substantive distinguishing features and marked improvement, is applicable to large-scale promotion application.
Accompanying drawing explanation
Fig. 1 is schematic flow sheet of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the invention will be further described, and embodiments of the present invention include but not limited to the following example.
Embodiment
In the present invention, by the each server in distributed system, according to system function division, be multiple service groups, each service groups is born specific function in system, in each group, comprise more than two server, system interaction has been cooperated by service groups, by this kind of setting, as shown in Figure 1, the dispatching method of service is as follows:
Each request server starts to provide before service, and to object service groups request allocation process server, object service groups is distributed suitable processing server and returned to request server, returns to available alternative services device in this group simultaneously; Request server is preserved alternative services device information, and sends request to the processing server distributing, and starts working; When a certain processing server breaks down, the request server that connects this server according to alternative services device list service request is mail to alternative services device again, work on, other request server work are unaffected.
For example: suppose to have two service groups: Control Service and Data Service, in Control Service, there are C1 ~ C4 tetra-station servers, in Data Service, there are D1 ~ D3 tri-station servers, when organizing each server, Control Service sends when request to Data Service group, Data Service group is the processing server that each server-assignment is suitable, and informs other information as alternative services device of its this group;
Request server is preserved service groups alternative services device information, and sends request to the processing server distributing, and as when C1 sends request to D1, can record D2, D3 as alternative; When C2 sends request to D2, can record D1, D3 as alternative;
After so arranging, if processing server, as D2 breaks down, C2, C3 detect after fault, can respectively request be sent to alternative services device D1 and D3 and work on, thereby not affect C1, the work of C4.
According to above-described embodiment, just can realize well the present invention.

Claims (2)

1. the dispatching method of realizing persistent service in distributed system, is characterized in that, comprises the following steps:
(1) more than two server in distributed system is divided into more than one service groups, in each service groups, comprises more than two server, and required system each function of bearing is distributed to respectively to different service groups;
(2) request server provides before service, according to the required functional characteristic of service that provides to corresponding object service groups request allocation process server;
(3) object service groups is from organizing server of interior selection as processing server, and the server info of selection is fed back to another server in request server and group simultaneously, using this another server as alternative services device;
(4) request server is preserved processing server and alternative services device information, and send request to the processing server distributing, start working, if processing server breaks down, request server mails to alternative services device according to alternative services device information by service request again, works on.
2. the dispatching method of realizing persistent service in distributed system according to claim 1, is characterized in that, in described step (3), object service groups is one or more from organizing interior selection as the number of servers of alternative services device.
CN201410054520.0A 2014-02-18 2014-02-18 Scheduling method for providing uninterrupted service in distributed system Pending CN103763400A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410054520.0A CN103763400A (en) 2014-02-18 2014-02-18 Scheduling method for providing uninterrupted service in distributed system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410054520.0A CN103763400A (en) 2014-02-18 2014-02-18 Scheduling method for providing uninterrupted service in distributed system

Publications (1)

Publication Number Publication Date
CN103763400A true CN103763400A (en) 2014-04-30

Family

ID=50530558

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410054520.0A Pending CN103763400A (en) 2014-02-18 2014-02-18 Scheduling method for providing uninterrupted service in distributed system

Country Status (1)

Country Link
CN (1) CN103763400A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020042721A1 (en) * 2000-10-05 2002-04-11 Alcatel Network management client
CN101207520A (en) * 2007-12-14 2008-06-25 上海华为技术有限公司 Method and system for implementation of distributed network management
JP2008204113A (en) * 2007-02-19 2008-09-04 Toshiba Corp Network monitoring system
CN101741616A (en) * 2009-12-03 2010-06-16 北京和利时系统工程有限公司 Data acquisition system and device thereof
CN103580902A (en) * 2012-08-07 2014-02-12 腾讯科技(深圳)有限公司 Computer information system and dynamic disaster recovery method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020042721A1 (en) * 2000-10-05 2002-04-11 Alcatel Network management client
JP2008204113A (en) * 2007-02-19 2008-09-04 Toshiba Corp Network monitoring system
CN101207520A (en) * 2007-12-14 2008-06-25 上海华为技术有限公司 Method and system for implementation of distributed network management
CN101741616A (en) * 2009-12-03 2010-06-16 北京和利时系统工程有限公司 Data acquisition system and device thereof
CN103580902A (en) * 2012-08-07 2014-02-12 腾讯科技(深圳)有限公司 Computer information system and dynamic disaster recovery method thereof

Similar Documents

Publication Publication Date Title
CN102685237B (en) Method for requesting session maintaining and dispatching in cluster environment
CN102819465B (en) Failure recovery method in virtualization environment
CN103957231B (en) A kind of virtual machine distributed task dispatching method under cloud computing platform
CN103546510B (en) Management system based on cloud service and management method
CN103856392A (en) Message push method, outgoing server using message push method and outgoing server system
CN105516292A (en) Hot standby method of cloud platform of intelligent substation
CN104317803A (en) Data access structure and method of database cluster
CN103297543A (en) Job scheduling method based on computer cluster
CN104506357A (en) High-usability cluster node management method
CN103457775A (en) High-availability virtual machine pooling management system based on roles
CN104219288A (en) Multi-thread based distributed data synchronism method and system thereof
CN109245926B (en) Intelligent network card, intelligent network card system and control method
US9350803B2 (en) Information management method and device
CN108469996A (en) A kind of system high availability method based on auto snapshot
CN104092746A (en) Operation and maintenance auditing system and network load balancing method used for system
CN103297502A (en) Load balancing system and method
CN106598700A (en) Second-level high availability realization method of virtual machine based on pacemaker
CN103152420B (en) A kind of method avoiding single-point-of-failofe ofe Ovirt virtual management platform
CN104123183B (en) Cluster job scheduling method and apparatus
CN104424275A (en) Database system and data synchronization method
CN107688512A (en) One kind optimization virtual-machine data backup method and system
CN110515763A (en) A kind of method and system of the virtual machine two-node cluster hot backup based on OpenStack
CN108390919A (en) A kind of message synchronization system and method for highly reliable two-node cluster hot backup
EP2896187B1 (en) Information management method and device
CN107579850B (en) Wired and wireless hybrid networking method based on SDN control for cloud data center

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140430