The content of the invention
For defect of the prior art, the invention provides a kind of news subscribing method, treatment node and bus, can
Realize to the dynamic expansion to messaging bus, the convenient network security product with message event as granularity carries out later maintenance.
In a first aspect, the present invention provides a kind for the treatment of node device, treatment node is to be carried in message using card format
In bus, the treatment node includes:
First acquisition module, for when event source gives out information event by the messaging bus, according to the first configuration
Information obtains message event corresponding with first configuration information in the message event;
Processing module, for the message event obtained according to first configuration information treatment.
Alternatively, the treatment node also includes:
Load-on module, for loading at least one second processing node, generation and the second processing node corresponding second
Configuration information;
The message thing that the second processing node is subscribed to or issued according to second configuration information from the treatment node
Message event corresponding with second configuration information, and the message event that treatment is obtained are obtained in part.
Alternatively, at least one treatment node and at least one second processing node composition binary tree structure;
Or,
At least one treatment node and at least one second processing node composition chain structure.
Alternatively, the treatment node device also includes:
Second acquisition module, for the message subscribed to or issue from another treatment node according to first configuration information
Message event corresponding with first configuration information is obtained in event.
Alternatively, the event source includes following one or more:
It is the event source in network event source in host event source, internet and the first treatment node in server, logical
The messaging bus are crossed to give out information any access system of event.
Alternatively, first configuration information includes following one or more:
Subscribed in the messaging bus and meet the message event of preset rules, delete the message thing for meeting preset rules
Part, addition meet the attribute of message event of preset rules, the event that gives out information, discarding meet preset rules message event,
Forwarding meets the message event of preset rules, system of real name mapping and meets the message event of preset rules, association analysis and meet default
The message event of rule, storage meet the message event of preset rules.
Alternatively, the processing module, specifically for:
The attribute of the message event for obtaining is changed, and the message event issue after attribute will be changed;
Or,
Abandon the message event for obtaining;
Or,
The message event that will be obtained is stored in database;
Or,
Message event according to obtaining carries out traffic statistics analysis or safety statistics analysis;
Or,
Message event according to obtaining is associated analysis;
Or,
Forward the message event for obtaining.
Alternatively, the message event is the message event of MAP message type;
The form of the message event is the key-value key-value forms of dynamic expansion;
And/or,
The attribute of the message event includes:The source IP of the message event, purpose IP, source port number and destination interface
Number.
Second aspect, present invention also offers a kind of bus apparatus, including:
Load-on module, for loading at least one first treatment nodes of card format, and generates the first treatment node
The first configuration information;
Searching modul, for when event source gives out information event by the messaging bus, according to the described first configuration
Information searching message event corresponding with first configuration information;
Sending module, the message event for that will search sends the first treatment node, so that the first treatment section
The message event that point treatment sends.
Optionally, the messaging bus also include:
Removing module, at least one first treatment nodes for deleting loading.
Optionally, the message event is the message event of MAP message type;
The form of the message event is the key-value key-value forms of dynamic expansion;
And/or,
The attribute of the message event includes:The source IP of the message event, purpose IP, source port number and destination interface
Number.
Optionally, the event source includes following one or more:
It is the event source in network event source in host event source, internet and the first treatment node in server, logical
The messaging bus are crossed to give out information any access system of event.
Optionally, first configuration information includes following one or more:
Subscribed in the messaging bus and meet the message event of preset rules, delete the message thing for meeting preset rules
Part, addition meet the attribute of message event of preset rules, the event that gives out information, discarding meet preset rules message event,
Forwarding meets the message event of preset rules, system of real name mapping and meets the message event of preset rules, association analysis and meet default
The message event of rule, storage meet the message event of preset rules.
The third aspect, present invention also offers a kind of news subscribing method, including:
When event source gives out information event by messaging bus, at least one message on the messaging bus is carried in
Event, the message event is that the first treatment node is obtained and described first according to the first configuration information in the message event
The corresponding message event of configuration information;
The message event that the first treatment node is obtained according to first configuration information treatment;
Wherein, the first treatment node is the node being carried in using card format on the messaging bus.
Optionally, methods described also includes:
The first treatment node is additionally operable to load at least one second processing node, generation and the second processing node pair
The second configuration information answered;
The second processing node is according to disappearing that second configuration information is subscribed to or issued from the described first treatment node
Message event corresponding with second configuration information, and the message event that treatment is obtained are obtained in breath event.
Optionally, described at least one first treatment nodes and at least one second processing node composition binary tree knot
Structure;
Or,
Described at least one first treatment nodes and at least one second processing node composition chain structure.
Optionally, methods described also includes:
The first treatment node is subscribed to or issued according to first configuration information from the another first treatment node
Message event corresponding with first configuration information is obtained in message event.
Optionally, the event source includes following one or more:
It is the event source in network event source in host event source, internet and the first treatment node in server, logical
The messaging bus are crossed to give out information any access system of event.
Optionally, at least one first treatment nodes being carried on the messaging bus are according to the first configuration information
Before message event corresponding with first configuration information is obtained in the message event, methods described also includes:
The messaging bus loading at least one first processes node, and generation is matched somebody with somebody with the first treatment node corresponding first
Confidence ceases;
And/or,
First configuration information includes following one or more:
Subscribed in the messaging bus and meet the message event of preset rules, delete the message thing for meeting preset rules
Part, addition meet the attribute of message event of preset rules, the event that gives out information, discarding meet preset rules message event,
Forwarding meets the message event of preset rules, system of real name mapping and meets the message event of preset rules, association analysis and meet default
The message event of rule, storage meet the message event of preset rules.
Optionally, the message event that the first treatment node is obtained according to first configuration information treatment, including:
The attribute of the message event that the first treatment node modification is obtained, and the message event hair after attribute will be changed
Cloth;
Or,
The first treatment node abandons the message event for obtaining;
Or,
The message event that the first treatment node will be obtained is stored in database;
Or,
The first treatment node carries out traffic statistics analysis or safety statistics analysis according to the message event for obtaining;
Or,
The first treatment node is associated analysis according to the message event for obtaining;
Or,
The message event that the first treatment node forwarding is obtained.
Optionally, the message event is the message event of MAP message type;
The form of the message event is the key-value key-value forms of dynamic expansion;
And/or,
The attribute of the message event includes:The source IP of the message event, purpose IP, source port number and destination interface
Number.
Fourth aspect, present invention also offers a kind of news subscribing method, including:
At least one first treatment nodes of messaging bus loading card format, and generate the first of the first treatment node
Configuration information;
When event source gives out information event by the messaging bus, the messaging bus match somebody with somebody confidence according to described first
Breath searches message event corresponding with first configuration information, and the message event that will be searched sends the first treatment node,
So that the message event that the first treatment node processing sends.
Optionally, methods described also includes:
The messaging bus delete at least one first treatment nodes of loading.
Optionally, the message event is the message event of MAP message type;
The form of the message event is the key-value key-value forms of dynamic expansion;
And/or,
The attribute of the message event includes:The source IP of the message event, purpose IP, source port number and destination interface
Number.
Optionally, the event source includes following one or more:
It is the event source in network event source in host event source, internet and the first treatment node in server, logical
The messaging bus are crossed to give out information any access system of event.
Optionally, first configuration information includes following one or more:
Subscribed in the messaging bus and meet the message event of preset rules, delete the message thing for meeting preset rules
Part, addition meet the attribute of message event of preset rules, the event that gives out information, discarding meet preset rules message event,
Forwarding meets the message event of preset rules, system of real name mapping and meets the message event of preset rules, association analysis and meet default
The message event of rule, storage meet the message event of preset rules.
As shown from the above technical solution, news subscribing method of the invention, treatment node device and bus apparatus, by dynamic
The message event that at least one first treatment nodes that state is carried on messaging bus are obtained in messaging bus, and process acquisition
Message event, and then can realize carrying out the message event of input/output in messaging bus dynamic expansion, it is convenient with message event
For the network security product of granularity carries out later maintenance, the efficiency of network security product is improved.
Specific embodiment
With reference to the accompanying drawings and examples, specific embodiment of the invention is described in further detail.Hereinafter implement
Example is not limited to the scope of the present invention for illustrating the present invention.
Wherein, in all embodiments of the invention, "/" represents the relation of "or".
Fig. 1 shows the schematic flow sheet of the news subscribing method that one embodiment of the invention is provided, and Fig. 2 shows the present invention
The schematic diagram of the news subscribing method that another embodiment is provided, with reference to shown in Fig. 1 and Fig. 2, the news subscribing method of the present embodiment
It is as described below.
101st, when event source gives out information event by messaging bus, it is carried on the messaging bus at least one
First treatment node obtains message corresponding with first configuration information according to the first configuration information in the message event
Event.
Wherein, the first treatment node is the node using card format dynamic load on the messaging bus.The
One configuration information can be the configuration information of generation in the treatment node process of messaging bus dynamic load first, and the configuration information is used for
Make the first treatment node that the message event in messaging bus is obtained according to the configuration information.
For example, the event source in the step can be regarded as:The network in host event source, internet in server
Event source, and/or, any access system of the event that given out information by the messaging bus, third party's message event source etc..
The present embodiment the equal of event that can be given out information in messaging bus by way of example only, arbitrarily to event source is managed
Solve the event source for the messaging bus.
102nd, the message event that the first treatment node is obtained according to first configuration information treatment.
In the present embodiment, messaging bus can run in the internal memory of a server, be similar to a stream for broadcast, Ke Yiguang
Any message event is broadcast/issued, but does not store the message event.Can be with the multiple first treatment sections of dynamic load on the messaging bus
Point, as shown in Fig. 2 the first treatment node can subscribe to the message event broadcasted in messaging bus according to the first configuration information.
First treatment node can be abandoned to the message event in messaging bus, be deleted message event, add message
Attribute, storage message event etc..The present embodiment is not defined to the first treatment node, and the first treatment node can be regarded as
The treatment to message event in messaging bus is realized in the plug-in unit insertion realized in a software form within hardware.For example, the first treatment
Node can be subscription plug-in unit, news release plug-in unit etc..
If the first treatment node is to the event that given out information in messaging bus, it is believed that the first treatment node is the message
One event source of bus.
It should be noted that the form of the message event in the present embodiment in messaging bus is key-value form, i.e. key-
Value forms.
News subscribing method in the present embodiment, at least one first treatment sections by dynamic load on messaging bus
Point obtains the message event in messaging bus, and processes the message event of acquisition, and then can realize to input in messaging bus/defeated
The message event for going out carries out dynamic expansion, and the convenient network security product with message event as granularity carries out later maintenance, improves
The efficiency of network security product.
Additionally, message event can be the message event of MAP types in the messaging bus shown in above-mentioned Fig. 2, MAP is movement
The signaling of message is transmitted between entity, MAP message can be to include TCAP Transaction Capability Application Part (Transaction
Capabilities Application Part, abbreviation TCAP), SCCP (Signaling Connection
Control Part, abbreviation SCCP), media transmission protocol (Media Transfer Protocol, abbreviation MTP) protocol layer
Protocol data.
In the flow chart shown in Fig. 1, methods described also includes:Can also mutually be subscribed between multiple first treatment nodes
Message event, i.e. the first treatment node is subscribed to or issued according to first configuration information from the another first treatment node
Message event corresponding with first configuration information is obtained in message event.
As shown in figure 3, the first treatment node a2 is according to disappearing that the first configuration information can be subscribed to from the first treatment node a1
Message event corresponding with the first configuration information is obtained in breath event.
For example, in figure 3, if the first treatment node a1 is that source IP is 198.102.151.11 in subscribing to messaging bus
Message event, and will subscribe to message event storage.Now, the first treatment node a2 can be subscribed to from the first treatment node a1
Meet the message event of demand.Because the first treatment node a1 is that the message event storage that will be subscribed to is processed, then the first treatment is saved
Point a2 can subscribe to all message events that the first treatment node a1 had subscribed to.
If the message event that source IPs of the first treatment node a1 not to subscribing to is 198.102.151.11 is put in storage
Treatment, the then message event that the first treatment node a2 can only be subscribed in the treatment node of subscription first a1 of dynamic realtime.That is, first
Treatment node a2 cannot be subscribed to first before the first treatment node a1 and the first treatment node a2 does not set up subscribing relationship
The message event that treatment node a1 is subscribed to from messaging bus.
Generally, the first treatment node a1 and the first treatment node a2 may be constructed tree, such as binary tree structure, this reality
Apply example by way of example only, be not limited thereof.
Fig. 4 shows the schematic flow sheet of the news subscribing method that another embodiment of the present invention is provided, and Fig. 5 shows this hair
The schematic diagram of the news subscribing method that bright another embodiment is provided, with reference to shown in Fig. 4 and Fig. 5, the message subscribing side of the present embodiment
Method is as described below.
401st, the treatment of messaging bus dynamic load at least one first node, generation first processes node corresponding the with this
One configuration information.
For example, the first configuration information in the present embodiment includes following one or more:
Subscribed in the messaging bus and meet the message event of preset rules, delete the message thing for meeting preset rules
Part, addition meet the attribute of message event of preset rules, the event that gives out information, discarding meet preset rules message event,
Forwarding meets the message event of preset rules, system of real name mapping and meets the message event of preset rules, association analysis and meet default
The message event of rule, storage meet message event of preset rules etc..
402nd, when event source gives out information event by messaging bus, at least one first treatment nodes are matched somebody with somebody according to first
Confidence breath obtains message event corresponding with first configuration information in the message event.
403rd, the message event that the first treatment node is obtained according to first configuration information treatment.
For example, the attribute of the message event that the first treatment node can be obtained according to the modification of the first configuration information, and will modification
Message event issue after attribute;Or, the first treatment node can abandon the message event for obtaining according to the first configuration information;Or
Person, the message event that the first treatment node be able to will be obtained according to the first configuration information is stored in database;Or, the first treatment
Node can carry out traffic statistics analysis or safety statistics analysis according to the message event for obtaining;Or, first treatment node according to
The message event of acquisition is associated analysis (such as name mapping);Or, message event that the first treatment node forwarding is obtained etc.
Deng.How the first treatment node processes the message event of acquisition by way of example only at this, and the present embodiment is not limited thereof,
Can be processed according to actual needs.
404th, the first treatment node is additionally operable to the second processing node of dynamic load at least one, generation and the second processing section
Corresponding second configuration information of point;
The second processing node is according to disappearing that second configuration information is subscribed to or issued from the described first treatment node
Message event corresponding with second configuration information, and the acquired message event for the treatment of are obtained in breath event.
It will be appreciated that M treatment nodes can also dynamically be loaded onto few M+1 treatment node, generation and the M+1
The corresponding M+1 configuration informations for the treatment of node;
The M+1 processes node and is obtained from the message event of M treatment node subscription or issue according to M+1 configuration informations
Message event corresponding with M+1 configuration informations is taken, to process acquired message event.
Above-mentioned M values can be positive integer.
That is, M treatment nodes and M+1 treatment nodes may make up tree, such as binary tree structure;Or,
M processes node and M+1 treatment nodes may make up chain structure, and the present embodiment is not limited thereof, and is illustrated that in Fig. 5
Constitute first treatment node a2 and second processing node b1, b2 of binary tree structure.
In the present embodiment, before event source gives out information event by messaging bus, the messaging bus need dynamic to add
Carry at least one and process node, so that those treatment nodes can be to obtaining the message event in messaging bus.
For example, treatment node can be the plug-in unit of product access, or capture the plug-in unit of a certain source IP flow, or
It is to invade plug-in unit that inspection system is analyzed etc..Those plug-in units can be realized by software, a pre-loaded server
In messaging bus.The messaging bus can issue the message event of consolidation form, for being carried in the multiple on messaging bus
Plug-in unit is subscribed to.
On messaging bus between the subscription of plug-in unit or plug-in unit and plug-in unit subscription with the messaging bus where server/
Main frame is not associated, and is also onrelevant with the network where server/main frame.
It will be appreciated that in any of the above-described embodiment, the attribute of any message event in messaging bus may each comprise this
The information such as the source IP of message event, purpose IP, source port and destination interface.
The message format dynamic extending of the message event in above-described embodiment, and then set up for the message format
A set of messaging bus based on publish-subscribe model, the subscription plug-in unit or issue plug-in unit on messaging bus are in the way of dynamic load
It is suspended on messaging bus, to reach pluggable information mode bus.
Issue plug-in unit is given out information event by messaging bus, and the various subscription plug-in units of dynamic load, right on messaging bus
The message event that issue plug-in unit sends is processed, for example, delete, addition message attributes are issued, abandon etc..
In the embodiment of the present invention conventional network safety system, such as log services can be built based on above-mentioned messaging bus
Device, safety auditing system, flow statistical system etc..
Fig. 6 shows the schematic flow sheet of the news subscribing method that another embodiment of the present invention is provided, as shown in fig. 6, this
The news subscribing method of embodiment is as described below.
601st, at least one first treatment nodes of messaging bus dynamic load card format, and generate the first treatment section
First configuration information of point.
For example, the first configuration information may include following one or more:Subscribed in the messaging bus and met
The message event of preset rules, deletion meet the category that the message event of preset rules, addition meet the message event of preset rules
Property, the event that gives out information, discarding meet the message event of preset rules, forwarding and meet message event, the system of real name of preset rules
Mapping meet the message event of preset rules, association analysis meet preset rules message event, storage meet preset rules
Message event etc..
602nd, when event source gives out information event by the messaging bus, the messaging bus are matched somebody with somebody according to described first
Information searching message event corresponding with first configuration information is put, the message event that will be searched sends the first treatment section
Point, so that the message event that the first treatment node processing sends.
For example, message event described in the present embodiment is the message event of MAP message type;
The form of the message event is the key-value form (key-value) of dynamic expansion;The attribute of message event can be wrapped
Include:The source IP of the message event, purpose IP, source port number and destination slogan.
Event source in step 602 can be following one or more:In host event source, internet in server
Event source in network event source and the first treatment node, third party's event source, given out information event by the messaging bus
Any access system etc..
Alternatively, in a particular application, the step of method shown in above-mentioned Fig. 6 may also include not shown in following figures 603:
603rd, at least one first treatment nodes of loading are deleted.
The news subscribing method of the present embodiment, the treatment node of messaging bus dynamic load at least one first, and then to extremely
Few one first treatment node sends the message event in the messaging bus that the first treatment node is subscribed to, so that at least one the
The message event that one treatment node processing is obtained, and then can realize entering action to the message event of input/output in messaging bus
State extends, and the convenient network security product with message event as granularity carries out later maintenance, improves the efficiency of network security product.
Messaging bus ftms in any of the above-described embodiment can be understood as a stml for main frame, and messaging bus broadcast has
The message event of uniform type is defined, many plug-in units can be defined on messaging bus and is processed node, each plug-in unit can be offseted
Breath event is added, deletes or changes.The messaging bus are similar to physical bus, the message broadcasted on the messaging bus
Event is not stored, after the treatment node that is carried on the messaging bus be total message before cannot knowing treatment node loading
The content broadcasted in line.
Multiple treatment nodes are loaded with the messaging bus of the present embodiment, in concrete application, those treatment nodes can be to adopt
It is carried on messaging bus with card format.
Fig. 7 shows a kind of structural representation for processing node device provided in an embodiment of the present invention, as shown in fig. 7, should
Treatment node device includes:First acquisition module 71 and processing module 72.
First acquisition module 71 is used for when event source gives out information event by the messaging bus, according to the first configuration
Information obtains message event corresponding with first configuration information in the message event;
Processing module 72 is used for the message event obtained according to first configuration information treatment.
Alternatively, the treatment node device also includes the load-on module not shown in figure;The load-on module, for loading
At least one second processing node, generates the second configuration information corresponding with the second processing node;
The message thing that the second processing node is subscribed to or issued according to second configuration information from the treatment node
Message event corresponding with second configuration information, and the message event that treatment is obtained are obtained in part.
For example, first configuration information includes following one or more:
Subscribed in the messaging bus and meet the message event of preset rules, delete the message thing for meeting preset rules
Part, addition meet the attribute of message event of preset rules, the event that gives out information, discarding meet preset rules message event,
Forwarding meets the message event of preset rules, system of real name mapping and meets the message event of preset rules, association analysis and meet default
The message event of rule, storage meet the message event of preset rules.
In the present embodiment, at least one treatment node and at least one second processing node composition binary tree
Structure;
Or,
At least one treatment node and at least one second processing node composition chain structure.
In another possible implementation, the treatment node device may also include the second acquisition mould not shown in figure
Block, second acquisition module, for the message thing subscribed to or issue from another treatment node according to first configuration information
Message event corresponding with first configuration information is obtained in part.
Event source in the present embodiment may include following one or more:
It is the event source in network event source in host event source, internet and the first treatment node in server, logical
The messaging bus are crossed to give out information any access system of event.
It will be appreciated that processing module in the present embodiment can be specifically for:The attribute of the message event for obtaining is changed, and
The message event issue after attribute will be changed;Or, abandon the message event for obtaining;Or, the message event storage that will be obtained
In database;Or, traffic statistics analysis or safety statistics analysis are carried out according to the message event for obtaining;Or, according to obtaining
The message event for taking is associated analysis;Or, forward the message event for obtaining.
Message event in any of the above-described embodiment can be the message event of MAP message type;
The form of the message event is the key-value key-value forms of dynamic expansion;
And/or, the attribute of the message event includes:The source IP of the message event, purpose IP, source port number and purpose
Port numbers.
The message event that the treatment node processing of the present embodiment is obtained, and then can realize to input/output in messaging bus
Message event carry out dynamic expansion, the convenient network security product with message event as granularity carries out later maintenance, improves net
The efficiency of network safety product.
Fig. 8 shows a kind of structural representation of bus apparatus provided in an embodiment of the present invention, as shown in figure 8, the bus
Equipment includes:Load-on module 81, generation module 82, searching modul 83 and sending module 84;
Load-on module 81 is used to load at least one first treatment nodes of card format;
Generation module 82 is used at least one first treatment nodes loaded according to the load-on module, generates this at first
Manage the first configuration information of node;
Searching modul 83 is used for when event source gives out information event by the messaging bus, according to the described first configuration
Information searching message event corresponding with first configuration information;
The message event that sending module 84 is used to search sends the first treatment node, so that the first treatment section
The message event that point treatment sends.
Alternatively, the messaging bus may also include the removing module not shown in figure, and the removing module 84 is used to delete
At least one first treatment nodes of loading.
For example, the message event is the message event of MAP message type;
The form of the message event is the key-value key-value forms of dynamic expansion;And/or, the message event
Attribute includes:The source IP of the message event, purpose IP, source port number and destination slogan.
In the present embodiment, event source may include following one or more:
It is the event source in network event source in host event source, internet and the first treatment node in server, logical
The messaging bus are crossed to give out information any access system of event.
First configuration information includes following one or more:Subscribed in the messaging bus and meet preset rules
Message event, deletion meet preset rules message event, addition meet preset rules message event attribute, issue disappear
Breath event, discarding meet preset rules message event, forwarding meet preset rules message event, system of real name mapping meet pre-
If the message event of rule, association analysis meet the message event that the message event of preset rules, storage meet preset rules.
Bus in the present embodiment can be realized carrying out the message event of input/output dynamic expansion, convenient with message thing
Part carries out later maintenance for the network security product of granularity, improves the efficiency of network security product.
Embodiment of the invention discloses that:
A1, a kind for the treatment of node device, the treatment node is to be carried on messaging bus using card format, the place
Reason node includes:
First acquisition module, for when event source gives out information event by the messaging bus, according to the first configuration
Information obtains message event corresponding with first configuration information in the message event;
Processing module, for the message event obtained according to first configuration information treatment.
A2, the treatment node device according to A1, the treatment node device also include:
Load-on module, for loading at least one second processing node, generation and the second processing node corresponding second
Configuration information;
The message thing that the second processing node is subscribed to or issued according to second configuration information from the treatment node
Message event corresponding with second configuration information, and the message event that treatment is obtained are obtained in part.
A3, the treatment node device according to A2, at least one treatment node and described at least one second
Reason node composition binary tree structure;
Or,
At least one treatment node and at least one second processing node composition chain structure.
A4, according to any described treatment node devices of A1 to A3, the treatment node device also includes:
Second acquisition module, for the message subscribed to or issue from another treatment node according to first configuration information
Message event corresponding with first configuration information is obtained in event.
A5, the treatment node device according to A1 to A3 is any, the event source includes following one or more:
It is the event source in network event source in host event source, internet and the first treatment node in server, logical
The messaging bus are crossed to give out information any access system of event.
A6, according to any described treatment node devices of A1 to A5, first configuration information include following one kind or
It is various:
Subscribed in the messaging bus and meet the message event of preset rules, delete the message thing for meeting preset rules
Part, addition meet the attribute of message event of preset rules, the event that gives out information, discarding meet preset rules message event,
Forwarding meets the message event of preset rules, system of real name mapping and meets the message event of preset rules, association analysis and meet default
The message event of rule, storage meet the message event of preset rules.
A7, according to any described treatment node devices of A1 to 6A, the processing module, specifically for:
The attribute of the message event for obtaining is changed, and the message event issue after attribute will be changed;
Or,
Abandon the message event for obtaining;
Or,
The message event that will be obtained is stored in database;
Or,
Message event according to obtaining carries out traffic statistics analysis or safety statistics analysis;
Or,
Message event according to obtaining is associated analysis;
Or,
Forward the message event for obtaining.
A8, the treatment node device according to A1 to A7 is any, the message event is the message thing of MAP message type
Part;
The form of the message event is the key-value key-value forms of dynamic expansion;
And/or,
The attribute of the message event includes:The source IP of the message event, purpose IP, source port number and destination interface
Number.
B9, a kind of bus apparatus, including:
Load-on module, at least one first treatment nodes for loading card format;
Generation module, at least one first treatment nodes loaded according to the load-on module, generates this at first
Manage the first configuration information of node;
Searching modul, for when event source gives out information event by the messaging bus, according to the described first configuration
Information searching message event corresponding with first configuration information;
Sending module, the message event for that will search sends the first treatment node, so that the first treatment section
The message event that point treatment sends.
B10, the bus apparatus according to B9, the messaging bus equipment also include:
Removing module, at least one first treatment nodes for deleting loading.
B11, the bus apparatus according to B9 or B10, the message event are the message event of MAP message type;
The form of the message event is the key-value key-value forms of dynamic expansion;
And/or,
The attribute of the message event includes:The source IP of the message event, purpose IP, source port number and destination interface
Number.
B12, the bus apparatus according to B9 to B11 is any, the event source includes following one or more:
It is the event source in network event source in host event source, internet and the first treatment node in server, logical
The messaging bus are crossed to give out information any access system of event.
B13, according to any described bus apparatus of B9 to B12,
First configuration information includes following one or more:
Subscribed in the messaging bus and meet the message event of preset rules, delete the message thing for meeting preset rules
Part, addition meet the attribute of message event of preset rules, the event that gives out information, discarding meet preset rules message event,
Forwarding meets the message event of preset rules, system of real name mapping and meets the message event of preset rules, association analysis and meet default
The message event of rule, storage meet the message event of preset rules.
C14, a kind of news subscribing method, including:
When event source gives out information event by messaging bus, on the messaging bus at least one first are carried in
Treatment node obtains message event corresponding with first configuration information according to the first configuration information in the message event;
The message event that the first treatment node is obtained according to first configuration information treatment;
Wherein, the first treatment node is the node being carried in using card format on the messaging bus.
C15, the method according to C14, methods described also include:
The first treatment node is additionally operable to load at least one second processing node, generation and the second processing node pair
The second configuration information answered;
The second processing node is according to disappearing that second configuration information is subscribed to or issued from the described first treatment node
Message event corresponding with second configuration information, and the message event that treatment is obtained are obtained in breath event.
C16, the method according to C15, described at least one first treatment node and at least one second processings
Node constitutes binary tree structure;
Or,
Described at least one first treatment nodes and at least one second processing node composition chain structure.
C17, according to any described methods of C14 to C16, methods described also includes:
The first treatment node is subscribed to or issued according to first configuration information from the another first treatment node
Message event corresponding with first configuration information is obtained in message event.
C18, the method according to C14 to C16 is any, the event source includes following one or more:
It is the event source in network event source in host event source, internet and the first treatment node in server, logical
The messaging bus are crossed to give out information any access system of event.
C19, according to any described methods of C14 to C18, it is described be carried on the messaging bus at least one first
Treatment node obtains message event corresponding with first configuration information according to the first configuration information in the message event
Before, methods described also includes:
The messaging bus loading at least one first processes node, and generation is matched somebody with somebody with the first treatment node corresponding first
Confidence ceases;
And/or,
First configuration information includes following one or more:
Subscribed in the messaging bus and meet the message event of preset rules, delete the message thing for meeting preset rules
Part, addition meet the attribute of message event of preset rules, the event that gives out information, discarding meet preset rules message event,
Forwarding meets the message event of preset rules, system of real name mapping and meets the message event of preset rules, association analysis and meet default
The message event of rule, storage meet the message event of preset rules.
C20, according to any described methods of C14 to C19, the first treatment node according to first configuration information at
The message event for obtaining is managed, including:
The attribute of the message event that the first treatment node modification is obtained, and the message event hair after attribute will be changed
Cloth;
Or,
The first treatment node abandons the message event for obtaining;
Or,
The message event that the first treatment node will be obtained is stored in database;
Or,
The first treatment node carries out traffic statistics analysis or safety statistics analysis according to the message event for obtaining;
Or,
The first treatment node is associated analysis according to the message event for obtaining;
Or,
The message event that the first treatment node forwarding is obtained.
C21, the method according to C14 to C20 is any, the message event is the message event of MAP message type;
The form of the message event is the key-value key-value forms of dynamic expansion;
And/or,
The attribute of the message event includes:The source IP of the message event, purpose IP, source port number and destination interface
Number.
D22, a kind of news subscribing method, including:
At least one first treatment nodes of messaging bus loading card format, and generate the first of the first treatment node
Configuration information;
When event source gives out information event by the messaging bus, the messaging bus match somebody with somebody confidence according to described first
Breath searches message event corresponding with first configuration information, and the message event that will be searched sends the first treatment node,
So that the message event that the first treatment node processing sends.
D23, the method according to D22, methods described also include:
The messaging bus delete at least one first treatment nodes of loading.
D24, the method according to D22 or D23, the message event are the message event of MAP message type;
The form of the message event is the key-value key-value forms of dynamic expansion;
And/or,
The attribute of the message event includes:The source IP of the message event, purpose IP, source port number and destination interface
Number.
D25, the method according to D22 to D24 is any, the event source includes following one or more:
It is the event source in network event source in host event source, internet and the first treatment node in server, logical
The messaging bus are crossed to give out information any access system of event.
D26, the method according to D22 to D25 is any, first configuration information include following one or more:
Subscribed in the messaging bus and meet the message event of preset rules, delete the message thing for meeting preset rules
Part, addition meet the attribute of message event of preset rules, the event that gives out information, discarding meet preset rules message event,
Forwarding meets the message event of preset rules, system of real name mapping and meets the message event of preset rules, association analysis and meet default
The message event of rule, storage meet the message event of preset rules.
Above-mentioned treatment node, messaging bus can perform the flow of foregoing embodiment of the method, and the present invention is no longer to above-mentioned place
Reason node and messaging bus carry out detailed illustration.