CN110071975A - The asynchronous dynamic state server management system reported - Google Patents
The asynchronous dynamic state server management system reported Download PDFInfo
- Publication number
- CN110071975A CN110071975A CN201910330208.2A CN201910330208A CN110071975A CN 110071975 A CN110071975 A CN 110071975A CN 201910330208 A CN201910330208 A CN 201910330208A CN 110071975 A CN110071975 A CN 110071975A
- Authority
- CN
- China
- Prior art keywords
- server
- function server
- zookeeper
- function
- zookeeper cluster
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
- H04L67/1074—Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
- H04L67/1078—Resource delivery mechanisms
- H04L67/1085—Resource delivery mechanisms involving dynamic management of active down- or uploading connections
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
- H04L67/30—Profiles
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multi Processors (AREA)
Abstract
The present invention discloses the asynchronous dynamic state server management system reported.The asynchronous dynamic state server management system reported includes zookeeper cluster and function server group, the zookeeper cluster programming zookeeper storage catalogue tree, zookeeper catalogue and function server framework is allowed to form mapping relations, service discovery is converted by zookeeper cluster and coordinates carrier, function server information is written to the zookeeper cluster function server, and the zookeeper cluster pays close attention to the information change notifying of the function server.The present invention is compared with prior art, in function server group change, only need the corresponding function server of open and close, it no longer needs central server modification configuration, update configuration, the complex operations step of switching function server again, to realize the asynchronous dynamical management of function server group, O&M operation is simplified, O&M cost is reduced.
Description
Technical field
The present invention relates to zookeeper cluster management system field more particularly to the asynchronous dynamic state server management reported
System.
Background technique
Game server Managed Solution in the prior art is mainly based upon the configuration feature of central server, coordination service
Relationship between device, this conceptual design is simple, and realization is not difficult, but when dynamic adjusts server architecture, needs center service
New configuration is simultaneously synchronized to Servers-all by device modification configuration.This scheme O&M is complicated for operation, and central server is at whole
Fatal weakness in a management system it is unavailable to will lead to whole system, while largely configuring once central server goes wrong
When update, due to being notified by central server, the inconsistent problem of each server configuration version will lead to.
Summary of the invention
Present invention aim to address central server in the prior art once go wrong will lead to whole system can not
With the problem of and propose the asynchronous dynamic state server management system reported, which can realize that function server group's is asynchronous
Dynamic manages.
Technical scheme is as follows:
The asynchronous dynamic state server management system reported, including zookeeper cluster and function server group, it is described
Zookeeper cluster programming zookeeper storage catalogue tree allows zookeeper catalogue and function server framework to be formed and maps
Relationship converts service discovery for zookeeper cluster and coordinates carrier, and the function server writes function server information
Enter the zookeeper cluster, the zookeeper cluster pays close attention to the information change notifying of the function server;The function
Energy server disposition has application program, and data manipulation specification is packaged into the general source code of all items by the zookeeper cluster
Library.
When new application program needs online, application program is directly initiated, the server application passes through general
Source code library, which obtains itself exploitation from zookeeper, needs other server infos to be used, and establishes the rpc with other servers
Link.
After application program establishes the rpc link of itself needs, registered by general source code library to zookeeper cluster
Self information and itself functional information.
Above-mentioned application program registers the nodal information for itself needing to pay close attention to zookeeper cluster by general source code library,
And it is written in the form of callback method in general source code library.
When function server state changes, general source code library can trigger the callback method of application program registration to locate
Manage function server state change affairs.
Beneficial effects of the present invention: compared with prior art, it is no longer necessary to which central server takes system no longer acceptor center
When business device is unavailable, the not available puzzlement of total system;Each function server manages the configuration of oneself, is no longer limited by center service
Device push realizes self-renewing and each function server manages the configuration information of oneself, has maximally utilized the functional clothes of institute
The resource of business device carrys out synchronized update configuration, solves the problems, such as that each function server configuration version is inconsistent;In function services
When device group changes, it is only necessary to the corresponding function server of open and close, it is no longer necessary to central server modification be gone to configure, more
New configuration, then the complex operations step of switching function server, so that the asynchronous dynamical management of function server group is realized, letter
Change O&M operation, reduces O&M cost.
Detailed description of the invention
Fig. 1 is zookeeper back end organization chart of the present invention;
Fig. 2 is application program of the present invention, source code library and zookeeper interaction diagrams.
Specific embodiment
In order to better illustrate the present invention, it is further described now in conjunction with examples and drawings.
As depicted in figs. 1 and 2, the asynchronous dynamic state server management system reported, including zookeeper cluster and function clothes
Be engaged in device group, zookeeper cluster programming zookeeper storage catalogue tree, allows zookeeper catalogue and function server framework shape
At mapping relations, service discovery is converted by zookeeper cluster and coordinates carrier, in the present embodiment, function server group packet
Include/root node, functional 1 node of server, 2 node of function server, 3 node ... of function server under/root node
Function server n node, wherein functional 1 function a node of server, 1 function b of function server under 1 node of function server
1 function x node of node ... function server has on zookeeper cluster corresponding with 1 function a node of function server respectively
The port interface of 1 function a of function server illustrate list, corresponding 1 function of function server of 1 function b node of function server
Can the port interface of b illustrate list ... the port interface of the corresponding 1 function x of function server of 1 function x node of function server
Illustrate list, there is the ip address date of function server 1 corresponding with 1 node of function server on zookeeper cluster;With this
Analogize.Zookeeper is a set of with ordering system, the data-storage system of the High Availabitity of asynchronous notifications, high consistency.
Zookeeper cluster is written in function server information by function server, and zookeeper cluster pays close attention to function services
The information change notifying of device;Function server is deployed with application program, and data manipulation specification is packaged into institute by zookeeper cluster
There are project generic source code library, referred to as libcm, libcm mainly provides function server information reporting interface, pays close attention to other function
The effect of server info change interface.
When new application program needs online, application program is directly initiated, server application passes through general source code
Library (libcm), which obtains itself exploitation from zookeeper, needs other server infos to be used, and establishes and other servers
Rpc link.After application program establishes the rpc link of itself needs, by general source code library (libcm) to zookeeper
Cluster registers self information and itself functional information.Application program starts the rpc for receiving to be initiated by other servers request, application
Program registers the nodal information for itself needing to pay close attention to zookeeper cluster by general source code library (libcm), and with readjustment side
The form of method is written in general source code library (libcm).
When function server state changes, general source code library (libcm) can trigger the readjustment of application program registration
Method carrys out processing function server state variation affairs, to realize self weight of each function server and each application program
Newly.
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Made any modification, equivalent replacement or improvement etc., should be included within the scope of the present invention within principle.
Claims (5)
1. the asynchronous dynamic state server management system reported, it is characterised in that: including zookeeper cluster and function server
Group, the zookeeper cluster programming zookeeper storage catalogue tree allow zookeeper catalogue and function server framework shape
At mapping relations, service discovery being converted by zookeeper cluster and coordinates carrier, the function server is by function server
The zookeeper cluster is written in information, and the zookeeper cluster pays close attention to the information change notifying of the function server;
The function server is deployed with application program, and data manipulation specification is packaged into all items and led to by the zookeeper cluster
Use source code library.
2. the asynchronous dynamic state server management system reported according to claim 1, it is characterised in that: when new application program
When needing online, application program is directly initiated, the server application is obtained from by general source code library from zookeeper
Body exploitation needs other server infos to be used, and establishes the rpc link with other servers.
3. the asynchronous dynamic state server management system reported according to claim 2, it is characterised in that: when application program is established
After the good rpc link itself needed, self information is registered to zookeeper cluster by general source code library and itself function is believed
Breath.
4. the asynchronous dynamic state server management system reported according to claim 1, it is characterised in that: the application program is logical
It crosses general source code library and registers the nodal information for itself needing to pay close attention to zookeeper cluster, and be written in the form of callback method
Into general source code library.
5. the asynchronous dynamic state server management system reported according to claim 1, it is characterised in that: when function server shape
When state changes, the callback method that general source code library can trigger application program registration carrys out processing function server state variation thing
Business.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910330208.2A CN110071975A (en) | 2019-04-23 | 2019-04-23 | The asynchronous dynamic state server management system reported |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910330208.2A CN110071975A (en) | 2019-04-23 | 2019-04-23 | The asynchronous dynamic state server management system reported |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110071975A true CN110071975A (en) | 2019-07-30 |
Family
ID=67368551
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910330208.2A Pending CN110071975A (en) | 2019-04-23 | 2019-04-23 | The asynchronous dynamic state server management system reported |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110071975A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113559506A (en) * | 2021-09-24 | 2021-10-29 | 深圳易帆互动科技有限公司 | Automatic testing method and device for frame synchronization and readable storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102710554A (en) * | 2012-06-25 | 2012-10-03 | 深圳中兴网信科技有限公司 | Distributed message system and service status detection method thereof |
US20140059162A1 (en) * | 2012-08-24 | 2014-02-27 | Facebook Inc. | Distributed information synchronization |
CN104202434A (en) * | 2014-09-28 | 2014-12-10 | 北京奇虎科技有限公司 | Node access method and device |
WO2015007069A1 (en) * | 2013-07-19 | 2015-01-22 | 蓝盾信息安全技术股份有限公司 | Method for automatically deploying zookeeper cluster based on script program |
CN105306514A (en) * | 2014-07-30 | 2016-02-03 | 北京信威通信技术股份有限公司 | Audio recording file distributed storage method and audio recording file distributed storage system based on Zookeeper |
CN105430030A (en) * | 2014-09-16 | 2016-03-23 | 钛马信息网络技术有限公司 | OSG-based parallel extendable application server |
CN106657354A (en) * | 2016-12-29 | 2017-05-10 | 努比亚技术有限公司 | Load balancing device and method |
CN106815053A (en) * | 2017-01-18 | 2017-06-09 | 努比亚技术有限公司 | A kind of data-updating method, device, data call end and data update system |
CN107343034A (en) * | 2017-06-26 | 2017-11-10 | 杭州铭师堂教育科技发展有限公司 | Redis high-availability systems and method based on QConf |
CN107562522A (en) * | 2017-10-12 | 2018-01-09 | 国电南瑞科技股份有限公司 | A kind of Distributed Application management method based on ZooKeeper |
-
2019
- 2019-04-23 CN CN201910330208.2A patent/CN110071975A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102710554A (en) * | 2012-06-25 | 2012-10-03 | 深圳中兴网信科技有限公司 | Distributed message system and service status detection method thereof |
US20140059162A1 (en) * | 2012-08-24 | 2014-02-27 | Facebook Inc. | Distributed information synchronization |
WO2015007069A1 (en) * | 2013-07-19 | 2015-01-22 | 蓝盾信息安全技术股份有限公司 | Method for automatically deploying zookeeper cluster based on script program |
CN105306514A (en) * | 2014-07-30 | 2016-02-03 | 北京信威通信技术股份有限公司 | Audio recording file distributed storage method and audio recording file distributed storage system based on Zookeeper |
CN105430030A (en) * | 2014-09-16 | 2016-03-23 | 钛马信息网络技术有限公司 | OSG-based parallel extendable application server |
CN104202434A (en) * | 2014-09-28 | 2014-12-10 | 北京奇虎科技有限公司 | Node access method and device |
CN106657354A (en) * | 2016-12-29 | 2017-05-10 | 努比亚技术有限公司 | Load balancing device and method |
CN106815053A (en) * | 2017-01-18 | 2017-06-09 | 努比亚技术有限公司 | A kind of data-updating method, device, data call end and data update system |
CN107343034A (en) * | 2017-06-26 | 2017-11-10 | 杭州铭师堂教育科技发展有限公司 | Redis high-availability systems and method based on QConf |
CN107562522A (en) * | 2017-10-12 | 2018-01-09 | 国电南瑞科技股份有限公司 | A kind of Distributed Application management method based on ZooKeeper |
Non-Patent Citations (1)
Title |
---|
SUNDDENLY: "《ZooKeeper学习第一期---Zookeeper简单介绍》", 《HTTPS://WWW.CNBLOGS.COM/SUNDDENLY/P/4033574.HTML》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113559506A (en) * | 2021-09-24 | 2021-10-29 | 深圳易帆互动科技有限公司 | Automatic testing method and device for frame synchronization and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10776104B2 (en) | Systems and methods for tracking configuration file changes | |
CN107005567B (en) | Implementing communication events | |
CN107209666B (en) | Computer system | |
US8775476B2 (en) | System and method for creating, deploying, integrating, and distributing nodes in a grid of distributed graph databases | |
US9450823B2 (en) | Hybrid network management | |
WO2021017301A1 (en) | Management method and apparatus based on kubernetes cluster, and computer-readable storage medium | |
CN101421726B (en) | Occasionally-connected application server | |
US20140344323A1 (en) | State-based configuration management for distributed systems | |
US20140181306A1 (en) | SYSTEMS AND/OR METHODS FOR SUPPORTING A GENERIC FRAMEWORK FOR INTEGRATION OF ON-PREMISES AND SaaS APPLICATIONS WITH SECURITY, SERVICE MEDIATION, ADMINISTRATIVE, AND/OR MONITORING CAPABILITIES | |
US8380787B2 (en) | Federation of master data management systems | |
US20160294667A1 (en) | System and method for providing an application programming interface manager for use with a service bus runtime | |
CN107203388B (en) | REST architecture style-oriented Web service rapid development method | |
CN109542865A (en) | Distributed cluster system configuration file synchronous method, device, system and medium | |
Dubey et al. | A software platform for fractionated spacecraft | |
RU2734023C1 (en) | Methods for determining a network service descriptor (nsd) for a network service (ns) and orchestrator (nfvo) of network function virtualisation (nfv) using said nsd descriptor | |
US10447553B2 (en) | Systems and methods for service-aware mapping of a system infrastructure | |
US11411830B2 (en) | Systems and methods for determining entry points for mapping a network | |
CN108885564A (en) | Resource in network virtualization scene places control | |
CN112230987A (en) | System and method for realizing distributed modular plug-in framework | |
CN112953982A (en) | Service processing method, service configuration method and related device | |
CN106156932A (en) | Method and apparatus for content resource management | |
CN114826869B (en) | Device management method and device management system | |
CN106775952A (en) | A kind of process management method and device of Android application | |
CN107632885A (en) | The readjustment management method and device of inter-module | |
CN110071975A (en) | The asynchronous dynamic state server management system reported |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190730 |