CN107332705A - A kind of event processing apparatus - Google Patents

A kind of event processing apparatus Download PDF

Info

Publication number
CN107332705A
CN107332705A CN201710537359.6A CN201710537359A CN107332705A CN 107332705 A CN107332705 A CN 107332705A CN 201710537359 A CN201710537359 A CN 201710537359A CN 107332705 A CN107332705 A CN 107332705A
Authority
CN
China
Prior art keywords
event
message
module
information
processing apparatus
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
CN201710537359.6A
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.)
Dawning Information Industry Beijing Co Ltd
Original Assignee
Dawning Information Industry Beijing 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 Dawning Information Industry Beijing Co Ltd filed Critical Dawning Information Industry Beijing Co Ltd
Priority to CN201710537359.6A priority Critical patent/CN107332705A/en
Publication of CN107332705A publication Critical patent/CN107332705A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • 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/06Management of faults, events, alarms or notifications
    • H04L41/0686Additional information in the notification, e.g. enhancement of specific meta-data

Abstract

The invention discloses a kind of event processing apparatus, the event processing apparatus includes:Event member, message generating module, message transmission module, wherein, message generating module and message transmission module shared events member, event information is provided with event member, message generating module generates announcement information according to event information, message transmission module sends announcement information according to event information.The present invention is by the way that event information specification to be turned to unified event member, message generating module and message transmission module share event member simultaneously, the flow for generating message simultaneously and the flow for sending message are separate, pass through the event member cooperation of specification, it is relatively low so as to the degree of coupling of each intermodule, it is easy to be separately optimized and upgrades, while transmission flow is clear, safeguards simple.

Description

A kind of event processing apparatus
Technical field
The present invention relates to computer realm, it particularly relates to a kind of event processing apparatus.
Background technology
, it is necessary to which the running status of monitoring business system, when occurring the event of user's concern, is needed in monitoring management system Message is generated, message content is spliced by the template content fixed and dynamic operation information, predefined by certain Mode (such as mail, short message) notifies user.
However, the technology of existing use template message is when event occurs, template is searched in order, is constructed in outbound message Appearance, inquire-receive person's information, message is sent, and the whole flow process degree of coupling is high, and it extends inconvenience.In addition, in the prior art Construct the process of message content mixed in together with searching recipient information, flow is numerous and diverse, and lookup mould is related in a flow Multiple sub-processes such as plate, replacement content, lookup recipient, lookup reception mode, transmission message, coupling is strong, is unfavorable for message The dilatation and lifting of system, meanwhile, event information is uniformly processed without being inconvenient to of causing of unified standard.
The problem of in correlation technique, effective solution is not yet proposed at present.
The content of the invention
The problem of in correlation technique, the present invention proposes a kind of event processing apparatus, so that the degree of coupling of each intermodule It is relatively low, it is easy to be separately optimized and upgrades, while transmission flow is clear, safeguards simple.
The technical proposal of the invention is realized in this way:
According to an aspect of the invention, there is provided a kind of event processing apparatus.
The event processing apparatus includes:Event member, message generating module, message transmission module, wherein, message generating module With message transmission module shared events member, event information is provided with during event is first, message generating module is according to event information, generation Announcement information, message transmission module sends announcement information according to event information.
According to one embodiment of present invention, event message at least includes:Event type information, recipient information, message Type information.
According to one embodiment of present invention, message generating module includes:First searching modul, for according to shown event Type information, searches template;First replacement module, for replacing the global variable in template;Second replacement module, for replacing Particular variables in module.
According to one embodiment of present invention, the first searching modul searches template from ATL.
According to one embodiment of present invention, message transmission module includes:Second searching modul, for being believed according to recipient Breath, searches the address of recipient;Configuration module, is configured for the transmission form to notification message;Sending module, for root According to address and transmission form, notification message is sent.
According to one embodiment of present invention, message generating module and message transmission module are separately positioned on different services On device.
The advantageous effects of the present invention are:
The present invention is by the way that event information specification to be turned to unified event member, while message generating module and message send mould Block shares event member, while the flow and the flow for sending message that generate message are separate, is assisted by the event member of specification Make, so that the degree of coupling of each intermodule is relatively low, is easy to be separately optimized and upgrades, while transmission flow is clear, safeguard simple.
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 institute in embodiment The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, on the premise of not paying creative work, can also be obtained according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is the schematic diagram of event processing apparatus according to embodiments of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained belongs to what the present invention was protected Scope.
In order to be better understood from the present invention, the everyday expressions to this area below are introduced.
Event refers to the running status situation of change occurred in operation system, and such as server is delayed, and machine, disk write be full, Yong Huti Hand over application etc..
Template message refers to replace the message generated after a small amount of dynamic content by static template.
There is provided a kind of event processing apparatus for embodiments in accordance with the present invention.
As shown in figure 1, event processing apparatus according to embodiments of the present invention includes:Event member, message generating module, message Sending module, wherein, message generating module and message transmission module shared events member are provided with event information during event is first, disappeared Generation module is ceased according to event information, announcement information is generated, and message transmission module sends announcement information according to event information.
By means of the above-mentioned technical proposal of the present invention, by the way that event information specification to be turned to unified event member, disappear simultaneously Breath generation module and message transmission module share event member, while the flow and the flow for sending message that generate message are mutually only It is vertical, cooperated by the event member of specification, so that the degree of coupling of each intermodule is relatively low, is easy to be separately optimized and upgrades, send simultaneously Clear process, safeguards simple.
According to one embodiment of present invention, event message at least includes:Event type information, recipient information, message Type information.
According to one embodiment of present invention, message generating module includes:First searching modul, for according to shown event Type information, searches template;First replacement module, for replacing the global variable in template;Second replacement module, for replacing Particular variables in module.
According to one embodiment of present invention, the first searching modul searches template from ATL.
According to one embodiment of present invention, message transmission module includes:Second searching modul, for being believed according to recipient Breath, searches the address of recipient;Configuration module, is configured for the transmission form to notification message;Sending module, for root According to address and transmission form, notification message is sent.
According to one embodiment of present invention, message generating module and message transmission module are separately positioned on different services On device.
In order to preferably describe technical scheme, it is described in detail below by specific embodiment.
When technical scheme is used for event generation, constructs message content and be simultaneously sent to user, and cause each module Between the degree of coupling it is relatively low, be easy to be separately optimized and upgrade, while transmission flow is clear, safeguard simple.Technical scheme Specifically include generation notification message and the two independent sub-processes that send a notification message, wherein, produce notification message sub-process bag Include lookup template (or first searching modul), replace global variable (or first replacement module), replacing particular variables, (or second replace Change the mold block);The sub-process that sends a notification message includes searching recipient's (or second searching modul), searches (or the configuration of reception mode Module), send message (or sending module).In addition, shared events member between above-mentioned two sub-process, event member includes event Type, type of message, recipient etc., wherein, event type is the particular type of event, such as on server, disk, Yong Huti Hand in terms of applying;Type of message refers to the particular type of the content of the announcement information sent, is such as delayed machine, disk on server Write the type that full, user submits the contents such as application;The recipient refers to the relevant information of the recipient on receiving notification message, Such as recipient address, reception mode.
Above-mentioned two sub-process is described in detail below, specifically:
A searches template:According to event type of the event in first from template library lookup template, wherein, the ATL is in file Separate storage in system or database, while read-only to template in this flow do not write;
B replaces global variable:Global variable identify whole service environment global value, such as the time, system name, keeper, Event type, event title etc..
C replaces event particular variables:Some events have peculiar information, are different from other events, and such as cluster access events have Customer name, the information such as contact person, and equipment alarm event is just without these information, in addition, traveling through all events in event member Particular variables, are replaced in template message;
D searches recipient:Different event needs to notify different recipients, and the mode of the lookup can be according to event member from connecing Receipts person address library lookup;
E, which is searched, receives configuration:Specific reception mode such as mail is searched, address parameter is received, sends the configuration such as limit;
F sends message:Address and sending method according to recipient, the notice for generating the generation of notification message sub-process is disappeared Breath content is sent to recipient.
In summary, by means of the above-mentioned technical proposal of the present invention, by the way that event information specification to be turned to unified event Member, while message generating module and message transmission module share event member, while generating the flow of message and sending message Flow is separate, is cooperated by the event member of specification, so that the degree of coupling of each intermodule is relatively low, is easy to be separately optimized and rises Level, while transmission flow is clear, safeguards simple.Further, it is also possible to realize distributed deployment, message generating module and message are sent out Send module to be arranged on different servers to dispose, also allow for extension.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention God is with principle, and any modification, equivalent substitution and improvements made etc. should be included in the scope of the protection.

Claims (6)

1. a kind of event processing apparatus, it is characterised in that including:Event member, message generating module, message transmission module, wherein, The message generating module and the message transmission module, which are shared in the event member, the event member, is provided with event information, The message generating module generates announcement information according to the event information, and the message transmission module is believed according to the event Breath, the announcement information is sent.
2. event processing apparatus according to claim 1, it is characterised in that the event message at least includes:Event class Type information, recipient information, message type information.
3. event processing apparatus according to claim 2, it is characterised in that the message generating module includes:
First searching modul, for according to shown event type information, searching template;
First replacement module, for replacing the global variable in the template;
Second replacement module, for replacing the particular variables in the module.
4. event processing apparatus according to claim 3, it is characterised in that first searching modul is looked into from ATL Look for the template.
5. event processing apparatus according to claim 3, it is characterised in that the message transmission module includes:
Second searching modul, for according to the recipient information, searching the address of recipient;
Configuration module, is configured for the transmission form to the notification message;
Sending module, for according to the address and the transmission form, the notification message to be sent.
6. event processing apparatus according to claim 2, it is characterised in that the message generating module and message hair Module is sent to be separately positioned on different servers.
CN201710537359.6A 2017-07-04 2017-07-04 A kind of event processing apparatus Pending CN107332705A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710537359.6A CN107332705A (en) 2017-07-04 2017-07-04 A kind of event processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710537359.6A CN107332705A (en) 2017-07-04 2017-07-04 A kind of event processing apparatus

Publications (1)

Publication Number Publication Date
CN107332705A true CN107332705A (en) 2017-11-07

Family

ID=60197951

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710537359.6A Pending CN107332705A (en) 2017-07-04 2017-07-04 A kind of event processing apparatus

Country Status (1)

Country Link
CN (1) CN107332705A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110138574A (en) * 2019-03-26 2019-08-16 北京达佳互联信息技术有限公司 Group managing means, device, electronic equipment and readable storage medium storing program for executing
CN111049727A (en) * 2019-11-22 2020-04-21 用友网络科技股份有限公司 Message processing method, message processing apparatus, and computer-readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140156830A1 (en) * 2012-12-04 2014-06-05 International Business Machines Corporation Correlating computing network events
CN106713476A (en) * 2017-01-01 2017-05-24 国云科技股份有限公司 Message transmission implementation method based on message template
CN106789195A (en) * 2016-12-02 2017-05-31 华为技术有限公司 A kind of event-handling method and Network Management Equipment, server

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140156830A1 (en) * 2012-12-04 2014-06-05 International Business Machines Corporation Correlating computing network events
CN106789195A (en) * 2016-12-02 2017-05-31 华为技术有限公司 A kind of event-handling method and Network Management Equipment, server
CN106713476A (en) * 2017-01-01 2017-05-24 国云科技股份有限公司 Message transmission implementation method based on message template

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110138574A (en) * 2019-03-26 2019-08-16 北京达佳互联信息技术有限公司 Group managing means, device, electronic equipment and readable storage medium storing program for executing
CN110138574B (en) * 2019-03-26 2021-10-26 北京达佳互联信息技术有限公司 Group management method, device, electronic equipment and readable storage medium
CN111049727A (en) * 2019-11-22 2020-04-21 用友网络科技股份有限公司 Message processing method, message processing apparatus, and computer-readable storage medium

Similar Documents

Publication Publication Date Title
CN102640162B (en) Dynamic access control to the document in electronic communication in cloud computing environment
US8918424B2 (en) Managing homeowner association messages
CN104378341B (en) Template acquisition methods, template provider method, Apparatus and system
CN109155758A (en) Virtual base framework
US20130167199A1 (en) On-Demand Authorization Management
US20110004667A1 (en) Method and system for providing order status information using an update status flag
CA3100810C (en) Multicast encryption scheme for data-ownership platform
US7444596B1 (en) Use of template messages to optimize a software messaging system
KR20070065358A (en) Purchasing alert methods and apparatus
US20140222707A1 (en) Distributed commerce system
CN108805661A (en) Multi-party number method for secret protection, device, equipment and computer storage media
US20050246424A1 (en) Apparatus and method for generating alert messages in a message exchange network
CN104378282A (en) Information sending method and information forwarding method, device and system
CN101098315A (en) Computer data communications in a high speed, low latency data communications environment
CN102594716B (en) A kind of transmission method, system and equipment of instant communication message
CN108768837A (en) Message treatment method and relevant apparatus
US20140229558A1 (en) Method and system for postal services incorporating electronic mail options
CN103827901A (en) Logistics information safety transmission method and system
CN103457802A (en) Information transmission system and method
US20200228479A1 (en) Managing graphic and/or audio elements in a messaging system
CN107332705A (en) A kind of event processing apparatus
TW201832176A (en) Method for obtaining logistics document information, and related device
US20050120077A1 (en) Method for dynamically targeted instant messaging
CN106845968A (en) Logistics method of payment and system
CN103854196A (en) Business object processing method and system based on third-party platform

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