CN107395722A - A kind of group system event interaction processing method - Google Patents

A kind of group system event interaction processing method Download PDF

Info

Publication number
CN107395722A
CN107395722A CN201710601220.3A CN201710601220A CN107395722A CN 107395722 A CN107395722 A CN 107395722A CN 201710601220 A CN201710601220 A CN 201710601220A CN 107395722 A CN107395722 A CN 107395722A
Authority
CN
China
Prior art keywords
event
node
modules
csm
group system
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
CN201710601220.3A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710601220.3A priority Critical patent/CN107395722A/en
Publication of CN107395722A publication Critical patent/CN107395722A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/508Network service management, e.g. ensuring proper service fulfilment according to agreements based on type of value added network service under agreement
    • H04L41/5096Network service management, e.g. ensuring proper service fulfilment according to agreements based on type of value added network service under agreement wherein the managed service relates to distributed or central networked applications

Abstract

The invention discloses a kind of group system event interaction processing method, and applied to the group system being made up of multiple controller nodes, each controller node, which includes csm modules, filtering module and agent modules, methods described, to be included:For single controller node, csm modules receive event, and the event to receiving carries out inspection processing, and filtering module is sent an event to after passed examination;Filtering module indexes the destination node recorded in event compared with the index of the controller node where filtering module, if unanimously, event is passed into agent modules;Agent modules receive event, perform event.This method realizes the overall management of cluster.

Description

A kind of group system event interaction processing method
Technical field
The present invention relates to Cluster System Technique field, more particularly to a kind of group system event interaction processing method.
Background technology
At present, increasing with server process data, and the raising to server process performance requirement, single node Controller can not gradually meet the needs of user.The group system being made up of more node controllers, there is high performance-price ratio, height The characteristics of availability, high scalability, the needs that mass data is quickly handled can be met in performance.
Multiple node controllers are interconnected by express network, form group system, they as one generally User provides application service.In the group system of more node controllers compositions, it is emphasis to carry out overall management to cluster.Do not have at present There is the event interaction process mechanism in a set of group system, cluster can not be managed as a whole, carry out data processing.
The content of the invention
It is an object of the invention to provide a kind of group system event interaction processing method, to realize the overall management of cluster.
In order to solve the above technical problems, the present invention provides a kind of group system event interaction processing method, applied to by more The group system of individual controller node composition, each controller node include csm modules, filtering module and agent modules, institute The method of stating includes:
For single controller node, csm modules receive event, and the event to receiving carries out inspection processing, check Filtering module is sent an event to after qualified;
Filtering module indexes the destination node recorded in event with the index of the controller node where filtering module to enter Row compares, if unanimously, event is passed into agent modules;
Agent modules receive event, perform event.
Preferably, the csm modules receive event, and the event to receiving carries out inspection processing and included:
Csm modules receive event, and the event to receiving checks authority, legitimacy and internal memory.
Preferably, after the csm modules receive event, and the event to receiving carries out inspection processing, in addition to:
Csm modules record transmitting-receiving time domain in event.
Preferably, the filtering module indexes the destination node recorded in event and the controller section where filtering module After the index of point is compared, in addition to:
If inconsistent, event transmission is terminated.
Preferably, the filtering module is used to filter event.
Preferably, methods described also includes:
In group system, node centered on a controller node is specified, remaining all controller nodes are common section Point;
When ordinary node, which is detected in group system, has data input or group system hardware environment to change, production A raw event;
The csm modules of ordinary node send event into the csm modules of Centroid;
The csm modules of Centroid receive event, and event is numbered by the time is received, hair is broadcasted in group system Send event;
Each ordinary node receives event, and to the event that receives, sequencing is handled by number.
Preferably, after the csm module reception events of the Centroid, in addition to:
The csm modules of Centroid are checked the event received.
A kind of group system event interaction processing method provided by the present invention, is formed applied to by multiple controller nodes Group system, each controller node includes csm modules, filtering module and agent modules, for single controller section Point, csm modules receive event, and the event to receiving carries out inspection processing, and filter module is sent an event to after passed examination Block;Filtering module indexes the destination node recorded in event to be compared with the index of the controller node where filtering module Compared with if unanimously, event is passed into agent modules;Agent modules receive event, perform event.It can be seen that single node controls Processing of the device to event is divided into csm modules, filtering module and agent modules, passes through csm modules, filtering module and agent modules Event interaction process is realized, cluster is managed as a whole using event interaction process mechanism, the event in cluster is effectively managed, improves number According to disposal ability.And in group system, by the interaction of Centroid and ordinary node, further realize the pool of cluster Management.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this The embodiment of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is a kind of flow chart of group system event interaction processing method provided by the present invention.
Embodiment
The core of the present invention is to provide a kind of group system event interaction processing method, to realize the overall management of cluster.
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Fig. 1 is refer to, Fig. 1 is a kind of flow chart of group system event interaction processing method provided by the present invention, should Method is applied to the group system being made up of multiple controller nodes, and each controller node includes csm modules, filtering module With agent modules, this method includes:
S11:For single controller node, csm modules receive event, and the event to receiving carries out inspection processing, Filtering module is sent an event to after passed examination;
S12:Filtering module indexes the destination node recorded in event on the rope with the controller node where filtering module Draw and be compared, if unanimously, event is passed into agent modules;
S13:Agent modules receive event, perform event.
It can be seen that processing of the single node controllers to event is divided into csm modules, filtering module and agent modules, pass through Csm modules, filtering module and agent modules realize event interaction process, and cluster is managed as a whole using event interaction process mechanism, Event effectively in management cluster, improves data-handling capacity.
Based on the above method, further, in step S11, csm modules receive event, and the event to receiving is carried out Check that the process of processing specifically includes:Csm modules receive event, and the event to receiving checks authority, legitimacy and internal memory.
Further, in step S11, after csm modules receive event, and the event to receiving carries out inspection processing, Also include:Csm modules record transmitting-receiving time domain in event.
Further, filtering module indexes the destination node recorded in event and the controller node where filtering module Index be compared, if inconsistent, terminate event transmission.
Wherein, the filtering module is used to filter event.
Further, methods described is further comprising the steps of:
S21:In group system, node centered on a controller node is specified, remaining all controller nodes are general Logical node;
S22:There are data input or group system hardware environment to change when ordinary node is detected in group system When, produce an event;
S23:The csm modules of ordinary node send event into the csm modules of Centroid;
S24:The csm modules of Centroid receive event, and event is numbered by the time is received, wide in group system Broadcast and send event;
Wherein, after the csm module reception events of the Centroid, the csm modules of Centroid are to the thing that receives Part is checked;
S25:Each ordinary node receives event, and to the event that receives, sequencing is handled by number.
This method is in the group system of more piece base site controller composition, establishing event interaction process mechanism.For single Node controllers, event interaction process is realized by csm modules, filtering module and agent modules.And in group system, By the interaction of Centroid and ordinary node, the overall management of cluster is further realized.
Detailed, in this method, in the group system be made up of more piece base site controller, a specified Node Controller is Boss node are Centroid, are responsible for cluster overall management;Remaining Node Controller is that common node are ordinary node, is born Blame specific event handling.Whenever, boss node only have one, and remaining controller is common node.
Wherein, for common node during event handling, csm modules are responsible for transmitting-receiving event, and the thing to receiving Part carries out some routine inspection processing, such as checks authority, legitimacy, internal memory, record transmitting-receiving time domain.Csm modules are examined Look into it is qualified after, event can be passed to call_gate modules i.e. filtering module.
Wherein, call_gate modules play a part of filtering.The module compares the target node index recorded in event With itself node index, when consistent, the event is passed into agent modules;Otherwise, the event transmission is terminated.Agent moulds Modules such as block and hardware, driving, display etc. are associated, and are responsible for the execution of specific event.
Specifically, in group system, in boss node and common node interaction, when there is number in group system During according to input, or when hardware environment changes, common node detect this change, will produce an event. The event is sent to boss node csm modules by common node csm modules.Event is entered by boss node are unified Row distribution processor.
Wherein, boss node csm modules are to the event that receives, after carrying out necessary inspection, by receiving the time by thing Part is numbered, afterwards by event in group system, broadcast transmission.Each common node in group system can connect The event of boss node transmissions is received, sequencing is handled common node by number to the event that receives.
The group system being made up of more node controllers, the needs that mass data is quickly handled can be met in performance. Group system provide the user application service as an entirety during, it is necessary to be managed as a whole to cluster.This method Event interaction process mechanism in the group system of foundation, can manage cluster as a whole, effectively manage the event in cluster, improve number According to disposal ability.
Processing of the single node controllers to event is divided into csm modules, call_gate modules, aagent modules;Cluster system In system, by boss node and common node interaction, the overall management of cluster is realized.
Detailed, for the event interaction process mechanism in group system, processing bag of the single node controllers to event Include following steps:
(1) Csm modules are responsible for transmitting-receiving event, and the event to receiving carries out some routine inspection processing, such as procuratorial authority Limit, legitimacy, internal memory, record transmitting-receiving time domain etc.;After Csm module checks are qualified, event can be passed to call_gate Module;
(2) Call_gate modules, filtering is played a part of;The module compares the target node index recorded in event With itself node index, when consistent, the event is passed into agent modules, reaches step 3;Otherwise, the event is terminated Transmit, skip step (3);
(3) after Agent modules receive event, event is specifically performed.
For the event interaction process mechanism in group system, in group system, pass through boss node and common Node interaction, the overall management of cluster is realized, is comprised the following steps:
Step 1:When there is data input in group system, or when hardware environment changes, common node detections To this change, an event will be produced;
Step 2:The event is sent to boss node csm modules by common node csm modules;
Step 3:Boss node csm modules, will by the time is received after carrying out necessary inspection to the event received Event is numbered;
Step 4:Boss node csm modules by event in group system, broadcast transmission;
Step 5:Each common node in group system can receive the event of boss node transmissions, To the event that receives, sequencing is handled common node by number.
This method establishes event interaction process mechanism in group system, can manage cluster as a whole, effectively manages in cluster Event, improve data-handling capacity.Handling process of the single node controllers to event is established, in group system, is passed through Boss node and common node interaction, realize the overall management design of cluster.Interacted by the event in group system Treatment mechanism, the event in cluster is effectively managed, improves data-handling capacity.
A kind of group system event interaction processing method provided by the present invention is described in detail above.Herein Apply specific case to be set forth the principle and embodiment of the present invention, the explanation of above example is only intended to help Understand the method and its core concept of the present invention.It should be pointed out that for those skilled in the art, do not taking off On the premise of from the principle of the invention, some improvement and modification can also be carried out to the present invention, these are improved and modification also falls into this In invention scope of the claims.

Claims (7)

1. a kind of group system event interaction processing method, it is characterised in that applied to the collection being made up of multiple controller nodes Group's system, each controller node, which includes csm modules, filtering module and agent modules, methods described, to be included:
For single controller node, csm modules receive event, and the event to receiving carries out inspection processing, passed examination After send an event to filtering module;
Filtering module indexes the destination node recorded in event to be compared with the index of the controller node where filtering module Compared with if unanimously, event is passed into agent modules;
Agent modules receive event, perform event.
2. the method as described in claim 1, it is characterised in that the csm modules receive event, and the event to receiving is entered Row inspection processing includes:
Csm modules receive event, and the event to receiving checks authority, legitimacy and internal memory.
3. method as claimed in claim 2, it is characterised in that the csm modules receive event, and the event to receiving is entered After row inspection processing, in addition to:
Csm modules record transmitting-receiving time domain in event.
4. method as claimed in claim 3, it is characterised in that the filtering module indexes the destination node recorded in event After compared with the index of the controller node where filtering module, in addition to:
If inconsistent, event transmission is terminated.
5. the method as described in claim 1, it is characterised in that the filtering module is used to filter event.
6. the method as described in any one in claim 1 to 5, it is characterised in that also include:
In group system, node centered on a controller node is specified, remaining all controller nodes are ordinary node;
When ordinary node, which is detected in group system, has data input or group system hardware environment to change, one is produced Individual event;
The csm modules of ordinary node send event into the csm modules of Centroid;
The csm modules of Centroid receive event, event are numbered by the time is received, the broadcast transmission thing in group system Part;
Each ordinary node receives event, and to the event that receives, sequencing is handled by number.
7. method as claimed in claim 6, it is characterised in that after the csm module reception events of the Centroid, also wrap Include:
The csm modules of Centroid are checked the event received.
CN201710601220.3A 2017-07-21 2017-07-21 A kind of group system event interaction processing method Pending CN107395722A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710601220.3A CN107395722A (en) 2017-07-21 2017-07-21 A kind of group system event interaction processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710601220.3A CN107395722A (en) 2017-07-21 2017-07-21 A kind of group system event interaction processing method

Publications (1)

Publication Number Publication Date
CN107395722A true CN107395722A (en) 2017-11-24

Family

ID=60336678

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710601220.3A Pending CN107395722A (en) 2017-07-21 2017-07-21 A kind of group system event interaction processing method

Country Status (1)

Country Link
CN (1) CN107395722A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108874322A (en) * 2018-06-29 2018-11-23 郑州云海信息技术有限公司 A kind of event-handling method, device and computer readable storage medium
CN110011857A (en) * 2019-04-12 2019-07-12 苏州浪潮智能科技有限公司 A kind of the cluster event-handling method and relevant apparatus of Node Controller
CN110673793A (en) * 2019-09-12 2020-01-10 苏州浪潮智能科技有限公司 Storage device node event management method and system, electronic device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179516A (en) * 2006-11-10 2008-05-14 北京航空航天大学 Digraph based data distributing method
CN101834796A (en) * 2010-05-06 2010-09-15 中兴通讯股份有限公司 Double-controller communication system and method
CN103780615A (en) * 2014-01-20 2014-05-07 五八同城信息技术有限公司 Sharing method of client conversation data among multiple servers
CN102759977B (en) * 2011-04-29 2015-05-06 无锡江南计算技术研究所 Wireless power supply control system and control method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179516A (en) * 2006-11-10 2008-05-14 北京航空航天大学 Digraph based data distributing method
CN101834796A (en) * 2010-05-06 2010-09-15 中兴通讯股份有限公司 Double-controller communication system and method
CN102759977B (en) * 2011-04-29 2015-05-06 无锡江南计算技术研究所 Wireless power supply control system and control method
CN103780615A (en) * 2014-01-20 2014-05-07 五八同城信息技术有限公司 Sharing method of client conversation data among multiple servers

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108874322A (en) * 2018-06-29 2018-11-23 郑州云海信息技术有限公司 A kind of event-handling method, device and computer readable storage medium
CN110011857A (en) * 2019-04-12 2019-07-12 苏州浪潮智能科技有限公司 A kind of the cluster event-handling method and relevant apparatus of Node Controller
CN110673793A (en) * 2019-09-12 2020-01-10 苏州浪潮智能科技有限公司 Storage device node event management method and system, electronic device and storage medium
CN110673793B (en) * 2019-09-12 2023-01-10 苏州浪潮智能科技有限公司 Storage device node event management method and system, electronic device and storage medium

Similar Documents

Publication Publication Date Title
CN107395722A (en) A kind of group system event interaction processing method
CN109672627A (en) Method for processing business, platform, equipment and storage medium based on cluster server
US6725249B2 (en) Method for economically sub-optimizing interactions in data communications network environments, and a device according to the method
CN105337755B (en) The system of the method and processing business of client/server server and its processing business
CN103763346B (en) A kind of distributed resource scheduling method and device
CN101547150A (en) Method and device for scheduling data communication input port
CN103036721A (en) Traffic statistical method under cloud computing environment
CN108924228B (en) Industrial internet optimization system based on edge calculation
CN106210129A (en) The current-limiting method of a kind of sing on web server configures and system
CN103188160A (en) Flow control method and forwarding unit
CN104410511B (en) A kind of server management method and system
CN106713283A (en) Internetwork secure interaction system and method based on PaaS media technology
CN103595736A (en) An access request processing method and apparatus in a video monitoring system
CN105471770B (en) A kind of message processing method and device based on multi-core processor
CN106601263A (en) Method and system used for acquiring sound of sound card and microphone and audio mixing
CN103188086B (en) A kind of method, Apparatus and system of management and control intranet and extranet bandwidth
CN104753814B (en) Message diversion processing method based on network interface card
CN107291747A (en) A kind of management method of database connection pool, apparatus and system
CN103457784A (en) Performance testing method and device
CN108989116B (en) Big data collection and analysis system and method
CN105656732A (en) Method, device and terminal for supporting multiple network data access
CN102892047B (en) The extended method of a kind of stream media protocol and device
CN204425400U (en) Application server system
CN108536854A (en) The method, apparatus and computer readable storage medium of data interaction
CN107566209A (en) A kind of management system and management method of special vehicle equipment state information

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: 20171124