CN104717096A - Method and device for processing event - Google Patents
Method and device for processing event Download PDFInfo
- Publication number
- CN104717096A CN104717096A CN201510145408.2A CN201510145408A CN104717096A CN 104717096 A CN104717096 A CN 104717096A CN 201510145408 A CN201510145408 A CN 201510145408A CN 104717096 A CN104717096 A CN 104717096A
- Authority
- CN
- China
- Prior art keywords
- action command
- perform
- strategy
- current
- event
- 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.)
- Granted
Links
Landscapes
- Computer And Data Communications (AREA)
Abstract
The invention provides a method for processing an event. The method is applied to a control center device and includes the steps that the control center device carries out event monitoring; when the event is monitored, if parameters used for strategy matching and carried by the event are matched with strategy matching information in a configured strategy, branch conditions, met by the branch parameters carried by the event, in the matched strategy are determined, and motion commands are executed according to the arrangement sequence of the motion commands in a command list corresponding to the branch conditions. Based on the same invention concept, the invention further provides a device for processing the event, and automation processing of a complex service can be achieved.
Description
Technical field
The present invention relates to communication technical field, particularly a kind of event-handling method and device.
Background technology
Current IT management is tending towards automation direction development, and the complexity of network improves the difficulty of the implementation quality of business, relies on the mode being manually configured change and easily to make mistakes and not in time.
As, how to ensure that multilink runs in the mode of optimum bandwidth? when there is particular service, such as videoconference, how Bandwidth guaranteed is carried out to this business? when network equipment occurs to attack, how does the very first time carry out port shutdown or link switching? these all need Internet technology (IT) keeper manual be configured change, this implementation can need IT management to carry out too much manual intervention, when event change is frequent, the workload of IT keeper can be doubled and redoubled, and is easy to make mistakes in chaos.
Summary of the invention
In view of this, the application provides a kind of event-handling method and device, can not the problem of automatic business processing to solve complicated business.
For solving the problems of the technologies described above, the technical scheme of the application is achieved in that
A kind of event-handling method, be applied on control centre's equipment, the method comprises:
This control centre's Equipments Setting strategy, described strategy comprises: strategy matching information, branch condition, and the action command list that each branch condition is corresponding; The content that described action command list comprises is: M action command, and a described M action command is by performing sequencing arrangement; Or, N number of action command, described N number of action command, by performing sequencing arrangement, performs the parameter value that i-th action command return and stores, using as i-th+1 to entering parameter during action command execution in N number of action command; Wherein, M be greater than 0 integer; N be greater than 1 integer; I is the integer of 1 to N-1;
This control centre's equipment carries out event-monitoring;
When monitoring event, if this event carry for the strategy matching information matches in the parameter of strategy matching and the strategy of configuration, then determine the branch condition that the branch parameter that this event carries meets in the strategy of coupling, and perform each action command according to the putting in order of each action command in instruction list corresponding to described branch condition.
A kind of event processing apparatus, be applied on control centre's equipment, this device comprises: dispensing unit, monitoring unit, processing unit;
Described dispensing unit, for collocation strategy, described strategy comprises: strategy matching information, branch condition, and the action command list that each branch condition is corresponding; The content that described action command list comprises is one of the following or combination: a M action command, and a described M action command is by performing sequencing arrangement; N number of action command, described N number of action command, by performing sequencing arrangement, performs the parameter value that i-th action command return and stores, using as i-th+1 to entering parameter during action command execution in N number of action command; Wherein, M be greater than 0 integer; N be greater than 1 integer; I is the integer of 1 to N-1;
Described monitoring unit, for carrying out event-monitoring;
Described processing unit, for when described monitoring unit monitors event, if determine the strategy matching information matches in the parameter for strategy matching that this event is carried and the strategy that described dispensing unit configures, then determine the branch condition that the branch parameter that this event carries meets in the strategy of coupling, and perform each action command according to the putting in order of each action command in instruction list corresponding to described branch condition.
From technical scheme above, in the application, control centre's equipment is by collocation strategy, enables each event monitored according to the strategy process matched, can realize the automatic business processing of complicated business.
Accompanying drawing explanation
Fig. 1 is event handling schematic flow sheet in the embodiment of the present application;
The policy control central flow schematic diagram that Fig. 2 is is application background with each Service Component of iMC;
Fig. 3 is the apparatus structure schematic diagram being applied to above-mentioned technology in the embodiment of the present application.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, to develop simultaneously embodiment below in conjunction with accompanying drawing, technical scheme of the present invention is described in detail.
Propose a kind of event-handling method in the embodiment of the present application, be applied on control centre's equipment.Control centre's equipment, by collocation strategy, enables each event monitored according to the strategy process matched, can realize the automatic business processing of complicated business.
The function that control centre's equipment that the application provides provides can be that control centre's equipment realizes, and also can be that multiple devices are combined as control centre's equipment, combine the function realizing the application and provide.
Control centre's equipment needs pre-configured strategy, and the strategy of configuration according to current application scene, can configure a strategy or multiple strategy.
Each strategy of control centre's Equipments Setting comprises: strategy matching information, branch condition, and the action command list that each branch condition is corresponding; The content that described action command list comprises is: M action command, and a described M action command is by performing sequencing arrangement; Or N number of action command, described N number of action command, by performing sequencing arrangement, performs the parameter value that i-th action command return and stores, using as i-th+1 to entering parameter during action command execution in N number of action command.
Wherein, M be greater than 0 integer; N be greater than 1 integer; I is the integer of 1 to N-1.
During specific implementation, return value is stored into correspondence position, as in mapping (MAP) pond of correspondence, calls in order to during follow-up execution respective action.
The parameter value that described execution i-th action command returns is stored in MAP pond, using as i-th+1 in N number of action command action command perform time enter parameter, comprising:
Performing the parameter value that i-th action command return is stored in MAP pond, enters parameter during to perform as i-th+1 to Q action command in N number of action command, wherein, Q be greater than 0 integer.
Namely the parameter value that an action command returns is performed, can as one or several action command after this action command in this action command place action command list perform time enter parameter, concrete condition is determined according to the applicable cases of this strategy correspondence of configuration, is exemplified below:
To comprise 8 action commands arranged in order in current instruction list altogether, suppose the result meeting return parameters value of execution the 2nd action command, and this parameter value need enter parameter as the 5th action command, when collocation strategy, execution the 2nd parameter value that action command returns is stored and enters parameter as the 5th action command, when execution the 5th action command, call the described parameter value of storage and perform the 5th action command as entering parameter.
Suppose the result meeting return parameters value of execution the 3rd action command, and this parameter value need as the parameter that enters of 6-8 action command, when collocation strategy, execution the 3rd parameter value that action command returns to be stored and as the parameter that enters of 6-8 action command, when execution 6-8 action command, call the described parameter value of storage and perform 6-8 action command as entering parameter.
M, N, Q in the embodiment of the present application are value that can be concrete according to practical application scene configuration, and the application is not restricted this.
During specific implementation, each strategy can comprise a branch condition, also can comprise multiple branch condition, and the corresponding action lists of each branch condition, each action lists can comprise one or more action command.
When an action command list comprises multiple action command, each action command is according to execution sequence assortment.
May not there is the return value that performs certain action command in each action command in an action lists as what perform subsequent action instruction enters parameter; Also may there is the return value that performs certain action command as what perform subsequent action instruction enters parameter; In an action lists, return value can be one as the action command entering parameter of subsequent action instruction, also can be multiple.
In the embodiment of the present application control centre's Equipments Setting strategy in action command have two kinds of modes, wherein a kind of realization can be used, also can two kinds of combinations realize:
The first implementation: what control centre's equipment configured for an action command is visit information, when needs perform this action command, calls corresponding action command code and perform according to described visit information.Visit information can be a reference address, also can be a port information etc.
The second implementation: what control centre's equipment configured for an action command is exactly the action command directly performed, namely concrete action command.
As can be seen here, open configuration mechanism is provided for action command in the embodiment of the present application, the configuration of an action command can be declarative state transitions (Representational State Transfer, REST) interface, as made interface up/down, can be order line script, instruction code can also be query statement etc.The result performing an action command can be that port is disposed (be port arrangement IP address, upgrade port status), and link switching, user log in, and also can be the instruction that inquiry is relevant, execution result be an acquisition parameter value etc.
Below in conjunction with accompanying drawing, to describe in the application specific embodiment how realization event process in detail.
Be event handling schematic flow sheet in the embodiment of the present application see Fig. 1, Fig. 1.Concrete steps are:
Step 101, control centre's equipment carries out event-monitoring.
When specific implementation, by monitoring parameter, all right configuration monitoring parameter of this control centre's equipment, determines that this control centre equipment needs the event of monitoring.
Step 102, when this control centre's monitoring of tools is to event, if the parameter for strategy matching using this event to carry matches corresponding strategy matching information in the strategy of configuration, then determine the branch condition that the branch parameter that this event is carried meets in the strategy belonging to the strategy matching information of coupling.
When this control centre's monitoring of tools is to event, if the parameter for strategy matching using this time to carry does not match corresponding strategy matching information in the strategy of configuration, then do not process this event monitored.
Step 103, this control centre's equipment performs each action command according to putting in order of each action command in instruction list corresponding to the branch condition that the branch parameter that this event is carried meets.
If the return value that there is execution result in each action command in the instruction list that the branch condition that the branch parameter that this event is carried meets is corresponding as subsequent action instruction enter parameter time, this return value is stored into memory space corresponding to present event, in order to perform configuration call the action command of this return value time, call this return value.
When the action command that arbitrary action command list comprises is for going to dispose, also comprise the content of disposing;
When the branch parameter that this event is carried meets branch condition corresponding to this action command in the strategy mated, if determine current disposed described in go to dispose content, then according to described in go the content of disposing to perform to go deployment operation; Go described in current deployment if determine dispose content, then point out current do not exist described in go dispose content.
When network environment more complicated, the conflict between the different action commands in same strategy may be there is, conflict between the action command that also may occur Different Strategies, also may occur that an action command conflicts mutually with the deployment in advance of control centre equipment in some cases, the application provides following processing mode for this reason:
For the process of the conflict between action command, if when the strategy of control centre's equipment configuration is two or more, is each tactful configuration preference level, and is each action command configuration preference level in each strategy; Concrete processing mode is as follows:
Control centre's equipment is before execution action command, perform this action command if determine and there is with current deployment conflict, and current deployment is the result performing another one action command, then determine whether described another one action command and the current action command that will perform belong to same strategy;
When determining that described another one action command and the current action command that will perform belong to same strategy, then determine that the priority of the current action command that will perform is whether higher than the priority of described another one action command, if so, the current action command that will perform is performed; Otherwise, do not perform the current action command that will perform;
When determining that described another one action command and the current action command that will perform do not belong to same strategy, then determine that the priority of the strategy belonging to the current action command that will perform is whether higher than the priority of the strategy belonging to described another one action command, if so, the current action command that will perform is performed; Otherwise, do not perform the current action command that will perform.
When specific implementation, the deployment of current network is the result performed by which action command, or by the pre-configured deployment result of control centre's equipment, all needs to identify, so that when action command clashes, performs and processes accordingly.
A practical application scene is enumerated for above-mentioned process, specific as follows:
The result of the action command A in implementation strategy A will work as link 1 as optimum link; And the result of action command B in implementation strategy B is using link 2 as optimum link, the priority of collocation strategy A is greater than the priority of tactful B.
If first perform an action instruction A, then the instruction B that performs an action, then when performing an action instruction A, conflicting with current deployment ignore instruction, directly performing, then select link 1 to be optimum link; Perform an action again instruction B time, determine to conflict with current being deployed with, and the current execution result being deployed as action executing A; Because action executing A and action command B belongs to different strategies, and the priority of tactful A is greater than the priority of tactful B, and therefore, no longer perform an action instruction B.
If first perform an action instruction B, then the execution A that performs an action, then when performing an action instruction B, conflicting with current deployment ignore instruction, directly performing, then select link 2 to be optimum link; Perform an action again instruction A time, determine to conflict with current being deployed with, and the current execution result being deployed as action executing B; Because action executing A and action command B belongs to different strategies, and the priority of tactful A is greater than the priority of tactful B, and therefore, perform an action instruction A.
For when conflicting between an action command and the pre-configured deployment of control centre's equipment, concrete processing mode is as follows:
Control centre's equipment, before execution action command, performs this action command and there is with current deployment conflict if determine, and the current deployment deployment that to be this control centre pre-configured, then point out and whether perform this action command;
When receiving the order performing this action command, perform this action command;
When receiving the order not performing this action command, do not perform this action command.
A practical application scene is enumerated for above-mentioned process, specific as follows:
Action command as current execution is, for port one issues internet protocol (IP) address 1.1.1.1; And control centre's equipment is for pre-configured being deployed as of port one, for the IP address of port one configuration is 2.2.2.2; Then point out and whether perform this action command, the content of deployment can also be carried in prompting and show, concrete display mode does not limit.
In the application's specific embodiment, if if certain action command in action lists is because conflict, and when not performing, if this action command place also exists the action command come after this action command in lists, does not all perform, point out to user.
Below in conjunction with accompanying drawing, enumerating several embody rule scene to describe in detail in the embodiment of the present application is how realization event process.
Suppose currently to need the such event of handle link bandwidth alarm, when link bandwidth utilization rate is 60% and 80%, produce chain circuit alarming event, the chain circuit alarming event produced when link bandwidth utilization rate is 60%, then send short message prompt; During the chain circuit alarming event produced when link bandwidth utilization rate is 80%, first obtain the link of current idle, when idle link many, determine the most idle link, then dispose being routed to the most idle link determined.
For above-mentioned application scenarios, the strategy that in the embodiment of the present application, control centre's equipment configures for chain circuit alarming comprises:
Strategy matching information (alarm event mark), branch condition (branch condition 1 and branch condition 2), branch condition 1 is 60%, and the action lists of branch condition 1 correspondence comprises an action command, and this action command is 60% for sending short message prompting current ink bandwidth; Branch condition 2 is 80%, the action lists of branch condition 2 correspondence comprises 2 action commands, first element instruction is the link obtaining current idle, if many, then determine the most idle link, and routing iinformation corresponding for the most idle link is stored, to enter parameter as second action command; Second action command, according to first element instruction store information as entering parameter, carry out route deployment.
When control centre's monitoring of tools is to alarm event, according to the strategy of the marking matched correspondence of alarm event that this alarm event carries, and the branch condition that meets is determined according to the warning value that this alarm event carries, suppose that the warning value of carrying is 80%, then meet alarm conditions 2, the action lists order according to alarm conditions 2 correspondence performs relevant action instruction.
Be control centre's networking schematic diagram in the embodiment of the present application see Fig. 2, Fig. 2.Application scenarios in Fig. 2 is specific as follows:
Leader is accessed by our department's access point, the stream of control centre's equipment to our department's access point reported data centring system is monitored, judge according to the ID of this stream and on-position, issue Flow Policy, make data center systems according to strategy by the described high bandwidth path ingress engine ciphertext data network flowing through convergence device 2 warps.
Common office worker is accessed by our department's access point, the stream of control centre's equipment to our department's access point reported data centring system is monitored, judge according to the ID of this stream and on-position, issue Flow Policy, make data center systems according to strategy by the described high bandwidth path ingress engine ciphertext data network flowing through convergence device 1 warp.
Common office worker goes on business branch, accessed by branch's access point, the stream of control centre's equipment to branch's access point reported data centring system is monitored, judge according to the ID of this stream and on-position, issue Flow Policy, make data center systems, according to strategy, the described convergence device 3 that flows through be entered public data network through path.
Leader goes on business branch, accessed by branch's access point, the stream of control centre's equipment to our department's access point reported data centring system is monitored, judge according to the ID of this stream and on-position, issue Flow Policy, make data center systems according to strategy by the described high bandwidth path ingress engine ciphertext data network flowing through convergence device 2 warps.
For above-mentioned scene configuration strategy in the embodiment of the present application, judge that it is as leader or domestic consumer, determines by the mark of access point the position that active user accesses for different user by its access user mark.The strategy of the embodiment of the present application configuration is specific as follows:
The strategy that user's access events is corresponding, strategy matching information (access events mark), branch condition (branch condition 1, branch condition 2, branch condition 3 and branch condition 4), branch condition 1 is: access user mark respective user is leader, and the corresponding access point of the mark of access point is our department's access point or branch's access point; Branch condition 2 is: access user mark respective user is common employee, and the corresponding access point of the mark of access point is our department's access point; Branch condition 3 is: the user of access user mark correspondence is common employee, and the corresponding access point of the mark of access point is foreign access point; Branch condition 4 is: the user of access user mark correspondence is leader, and the corresponding access point of the mark of access point is foreign access point.
The action lists 1 of branch condition 1 correspondence comprises 1 action command, and this action command is specially the high bandwidth path ingress engine ciphertext data network that the message that access user is sent walks convergence device 2 warps.
The action lists 2 of branch condition 2 correspondence comprises 1 action command, and this action command is specially the low bandwidth path ingress engine ciphertext data network that the message that access user is sent walks convergence device 1 warp.
The action lists 3 of branch condition 3 correspondence comprises 1 action command, and this action command is specially the message that access user is sent and walks the path of convergence device 3 warps to public data network.
The action lists 4 of branch condition 4 correspondence comprises 1 action command, and this action command is specially the high bandwidth path ingress engine ciphertext data storehouse that the message that access user is sent walks convergence device 2 warps.
When control centre's monitoring of tools sends access message to the user A as leader by our department's access point, marking matched to corresponding strategy according to the access events that this message carries, and according to access user mark (user A) and access point identity (mark of our department's access point) that this message carries, determine current monitor to event meet branch condition 1, then perform, even if this access message walks the high bandwidth path ingress engine ciphertext data network of convergence device 2 warps according to the action command in the action lists 1 of branch condition 1 correspondence.
As the user of leader by literary composition that foreign access point is delivered newspaper, domestic consumer is by foreign access point, or the process of literary composition that our department's access point is delivered newspaper is similar, illustrates no longer one by one here.
Based on same inventive concept, in the embodiment of the present application, a kind of event processing apparatus is also proposed.It is the apparatus structure schematic diagram being applied to above-mentioned technology in the embodiment of the present application see Fig. 3, Fig. 3.This device comprises: dispensing unit 301, monitoring unit 302, processing unit 303;
Dispensing unit 301, for collocation strategy, described strategy comprises: strategy matching information, branch condition, and the action command list that each branch condition is corresponding; The content that described action command list comprises is: M action command, and a described M action command is by performing sequencing arrangement; N number of action command, described N number of action command, by performing sequencing arrangement, performs the parameter value that i-th action command return and stores, using as i-th+1 to entering parameter during action command execution in N number of action command; Wherein, M be greater than 0 integer; N be greater than 1 integer; I is the integer of 1 to N-1;
Monitoring unit 302, for carrying out event-monitoring;
Processing unit 303, for when monitoring unit 302 monitors event, if determine the strategy matching information matches in the parameter for strategy matching that this event is carried and the strategy that dispensing unit 301 configures, then determine the branch condition that the branch parameter that this event carries meets in the strategy of coupling, and perform each action command according to the putting in order of each action command in instruction list corresponding to described branch condition.
Preferably,
Dispensing unit 301, the parameter value returned specifically for configuration execution i-th action command stores, using as i-th+1 in N number of action command action command perform time enter parameter time, the parameter value that configuration execution i-th action command returns stores, parameter is entered during to perform as i-th+1 to Q action command in N number of action command, wherein, Q be greater than 0 integer.
Preferably,
Dispensing unit 301, the action command be further used in the strategy configured is visit information, when needs perform this action command, calls corresponding action command code and perform according to described visit information; Or the action command in the strategy of configuration is the action command directly performed.
Preferably,
Processing unit 303, is further used for, when the action command that arbitrary action command list that dispensing unit 301 configures comprises is for going to dispose, also comprising the content of disposing; When the branch parameter that event is carried meets branch condition corresponding to this action command in the strategy mated, if determine current disposed described in go to dispose content, then according to described in go the content of disposing to perform to go deployment operation; Go described in current deployment if determine dispose content, then point out current do not exist described in go dispose content.
Preferably,
Dispensing unit 301, is further used for, when the strategy configured is two or more, is each tactful configuration preference level, and is each action command configuration preference level in each strategy;
Processing unit 303, be further used for before execution action command, perform this action command if determine and there is with current deployment conflict, and current deployment is the result performing another one action command, then determine whether described another one action command and the current action command that will perform belong to same strategy; When determining that described another one action command and the current action command that will perform belong to same strategy, then determine that the priority of the current action command that will perform is whether higher than the priority of described another one action command, if so, the current action command that will perform is performed; Otherwise, do not perform the current action command that will perform; When determining that described another one action command and the current action command that will perform do not belong to same strategy, then determine that the priority of the strategy belonging to the current action command that will perform is whether higher than the priority of the strategy belonging to described another one action command, if so, the current action command that will perform is performed; Otherwise, do not perform the current action command that will perform.
Preferably,
Processing unit 303, is further used for, before execution action command, performing this action command there is with current deployment conflict if determining, and the current deployment deployment that to be this control centre pre-configured, then point out and whether perform this action command; When receiving the order performing this action command, perform this action command; When receiving the order not performing this action command, do not perform this action command.
The unit of above-described embodiment can be integrated in one, and also can be separated deployment; A unit can be merged into, also can split into multiple subelement further.
In sum, the application by collocation strategy by control centre's equipment, is enable each event monitored according to the strategy process matched, can realize the automatic business processing of complicated business.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.
Claims (12)
1. an event-handling method, is characterized in that, be applied on control centre's equipment, the method comprises:
This control centre's Equipments Setting strategy, described strategy comprises: strategy matching information, branch condition, and the action command list that each branch condition is corresponding; The content that described action command list comprises is: M action command, and a described M action command is by performing sequencing arrangement; Or, N number of action command, described N number of action command, by performing sequencing arrangement, performs the parameter value that i-th action command return and stores, using as i-th+1 to entering parameter during action command execution in N number of action command; Wherein, M be greater than 0 integer; N be greater than 1 integer; I is the integer of 1 to N-1;
This control centre's equipment carries out event-monitoring;
When monitoring event, if this event carry for the strategy matching information matches in the parameter of strategy matching and the strategy of configuration, then determine the branch condition that the branch parameter that this event carries meets in the strategy of coupling, and perform each action command according to the putting in order of each action command in instruction list corresponding to described branch condition.
2. method according to claim 1, is characterized in that, parameter value that described execution i-th action command returns stores, and enters parameter during to perform as i-th+1 to the action command in N number of action command, comprising:
Perform the parameter value that i-th action command return to store, to enter parameter in as i-th+1 to N number of action command during Q action command execution, wherein, Q be greater than 0 integer.
3. method according to claim 1, is characterized in that,
Action command in the strategy of configuration is visit information, when needs perform this action command, calls corresponding action command code and perform according to described visit information;
Or the action command in the strategy of configuration is the action command directly performed.
4. method according to claim 1, is characterized in that, described method comprises further:
When the action command that arbitrary action command list comprises is for going to dispose, also comprise the content of disposing;
When the branch parameter that event is carried meets branch condition corresponding to this action command in the strategy mated, if determine current disposed described in go to dispose content, then according to described in go the content of disposing to perform to go deployment operation; Go described in current deployment if determine dispose content, then point out current do not exist described in go dispose content.
5. the method according to claim 1-4 any one, is characterized in that, described method comprises further:
When the strategy configured is two or more, is each tactful configuration preference level, and is each action command configuration preference level in each strategy;
Before execution action command, perform this action command if determine and there is with current deployment conflict, and current deployment is the result performing another one action command, then determine whether described another one action command and the current action command that will perform belong to same strategy;
When determining that described another one action command and the current action command that will perform belong to same strategy, then determine that the priority of the current action command that will perform is whether higher than the priority of described another one action command, if so, the current action command that will perform is performed; Otherwise, do not perform the current action command that will perform;
When determining that described another one action command and the current action command that will perform do not belong to same strategy, then determine that the priority of the strategy belonging to the current action command that will perform is whether higher than the priority of the strategy belonging to described another one action command, if so, the current action command that will perform is performed; Otherwise, do not perform the current action command that will perform.
6. the method according to claim 1-4 any one, is characterized in that, described method comprises further:
Before execution action command, perform this action command if determine and there is with current deployment conflict, and the current deployment deployment that to be this control centre pre-configured, then point out and whether perform this action command;
When receiving the order performing this action command, perform this action command;
When receiving the order not performing this action command, do not perform this action command.
7. an event processing apparatus, is characterized in that, be applied on control centre's equipment, this device comprises: dispensing unit, monitoring unit, processing unit;
Described dispensing unit, for collocation strategy, described strategy comprises: strategy matching information, branch condition, and the action command list that each branch condition is corresponding; The content that described action command list comprises is: M action command, and a described M action command is by performing sequencing arrangement; Or, N number of action command, described N number of action command, by performing sequencing arrangement, performs the parameter value that i-th action command return and stores, using as i-th+1 to entering parameter during action command execution in N number of action command; Wherein, M be greater than 0 integer; N be greater than 1 integer; I is the integer of 1 to N-1;
Described monitoring unit, for carrying out event-monitoring;
Described processing unit, for when described monitoring unit monitors event, if determine the strategy matching information matches in the parameter for strategy matching that this event is carried and the strategy that described dispensing unit configures, then determine the branch condition that the branch parameter that this event carries meets in the strategy of coupling, and perform each action command according to the putting in order of each action command in instruction list corresponding to described branch condition.
8. device according to claim 7, is characterized in that,
Described dispensing unit, the parameter value returned specifically for configuration execution i-th action command stores, using as i-th+1 in N number of action command action command perform time enter parameter time, the parameter value that configuration execution i-th action command returns stores, parameter is entered during to perform as i-th+1 to Q action command in N number of action command, wherein, Q be greater than 0 integer.
9. device according to claim 7, is characterized in that,
Described dispensing unit, the action command be further used in the strategy configured is visit information, when needs perform this action command, calls corresponding action command code and perform according to described visit information; Or the action command in the strategy of configuration is the action command directly performed.
10. device according to claim 7, is characterized in that,
Described processing unit, is further used for, when the action command that arbitrary action command list of described dispensing unit configuration comprises is for going to dispose, also comprising the content of disposing; When the branch parameter that event is carried meets branch condition corresponding to this action command in the strategy mated, if determine current disposed described in go to dispose content, then according to described in go the content of disposing to perform to go deployment operation; Go described in current deployment if determine dispose content, then point out current do not exist described in go dispose content.
11. devices according to claim 7-10 any one, is characterized in that,
Described dispensing unit, is further used for, when the strategy configured is two or more, is each tactful configuration preference level, and is each action command configuration preference level in each strategy;
Described processing unit, be further used for before execution action command, perform this action command if determine and there is with current deployment conflict, and current deployment is the result performing another one action command, then determine whether described another one action command and the current action command that will perform belong to same strategy; When determining that described another one action command and the current action command that will perform belong to same strategy, then determine that the priority of the current action command that will perform is whether higher than the priority of described another one action command, if so, the current action command that will perform is performed; Otherwise, do not perform the current action command that will perform; When determining that described another one action command and the current action command that will perform do not belong to same strategy, then determine that the priority of the strategy belonging to the current action command that will perform is whether higher than the priority of the strategy belonging to described another one action command, if so, the current action command that will perform is performed; Otherwise, do not perform the current action command that will perform.
12. devices according to claim 7-10 any one, is characterized in that,
Described processing unit, is further used for, before execution action command, performing this action command there is with current deployment conflict if determining, and the current deployment deployment that to be this control centre pre-configured, then point out and whether perform this action command; When receiving the order performing this action command, perform this action command; When receiving the order not performing this action command, do not perform this action command.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510145408.2A CN104717096B (en) | 2015-03-31 | 2015-03-31 | A kind of event-handling method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510145408.2A CN104717096B (en) | 2015-03-31 | 2015-03-31 | A kind of event-handling method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104717096A true CN104717096A (en) | 2015-06-17 |
CN104717096B CN104717096B (en) | 2018-10-09 |
Family
ID=53416087
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510145408.2A Active CN104717096B (en) | 2015-03-31 | 2015-03-31 | A kind of event-handling method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104717096B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105354094A (en) * | 2015-09-29 | 2016-02-24 | 北京金山安全软件有限公司 | Output method and device of information prompt bubbles |
CN105653322A (en) * | 2015-12-25 | 2016-06-08 | 上海帝联信息科技股份有限公司 | Operation and maintenance server and server event processing method |
CN108768724A (en) * | 2018-05-30 | 2018-11-06 | 上海顺舟智能科技股份有限公司 | Gateway control method and intelligent gateway |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1584842A (en) * | 2004-06-09 | 2005-02-23 | 中兴通讯股份有限公司 | Method for applied server of computer system |
US20060037022A1 (en) * | 2004-08-10 | 2006-02-16 | Byrd Stephen A | Apparatus, system, and method for automatically discovering and grouping resources used by a business process |
CN101187993A (en) * | 2006-11-17 | 2008-05-28 | 中兴通讯股份有限公司 | Policy management method in enterprise informationization management system |
CN102594783A (en) * | 2011-01-14 | 2012-07-18 | 中国科学院软件研究所 | Network security emergency responding method |
-
2015
- 2015-03-31 CN CN201510145408.2A patent/CN104717096B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1584842A (en) * | 2004-06-09 | 2005-02-23 | 中兴通讯股份有限公司 | Method for applied server of computer system |
US20060037022A1 (en) * | 2004-08-10 | 2006-02-16 | Byrd Stephen A | Apparatus, system, and method for automatically discovering and grouping resources used by a business process |
CN101187993A (en) * | 2006-11-17 | 2008-05-28 | 中兴通讯股份有限公司 | Policy management method in enterprise informationization management system |
CN102594783A (en) * | 2011-01-14 | 2012-07-18 | 中国科学院软件研究所 | Network security emergency responding method |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105354094A (en) * | 2015-09-29 | 2016-02-24 | 北京金山安全软件有限公司 | Output method and device of information prompt bubbles |
CN105653322A (en) * | 2015-12-25 | 2016-06-08 | 上海帝联信息科技股份有限公司 | Operation and maintenance server and server event processing method |
CN105653322B (en) * | 2015-12-25 | 2019-02-26 | 上海帝联信息科技股份有限公司 | The processing method of O&M server and server event |
CN108768724A (en) * | 2018-05-30 | 2018-11-06 | 上海顺舟智能科技股份有限公司 | Gateway control method and intelligent gateway |
CN108768724B (en) * | 2018-05-30 | 2021-11-16 | 上海顺舟智能科技股份有限公司 | Gateway control method and intelligent gateway |
Also Published As
Publication number | Publication date |
---|---|
CN104717096B (en) | 2018-10-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101473783B1 (en) | Method and apparatus for control of dynamic service chaining by using tunneling | |
US20160119253A1 (en) | Method and system of performing service function chaining | |
US11012442B2 (en) | Address resolution protocol response handling | |
CN103763367A (en) | Method and system for designing distributed virtual network in cloud calculating data center | |
CN105765921A (en) | Methods, systems, and computer readable media for DIAMETER routing using software defined network (SDN) functionality | |
CN104253736A (en) | PE (provider edge) equipment and method for notifying same of information | |
US20190273717A1 (en) | Selective port mirroring and in-band transport of network communications for inspection | |
CN105791175A (en) | Method and equipment for controlling transmission resources in software defined network SDN | |
CN106357542B (en) | The method and software defined network controller of multicast service are provided | |
CN103957159B (en) | A kind of method and path-calculating element for determining label switched path | |
CN104065553B (en) | Virtual network moving method and relevant device | |
CN104901881A (en) | Route device, load balancing device, and message distribution method and system | |
US20190199622A1 (en) | Data packet forwarding unit in a data transmission network | |
CN105847185A (en) | Message processing method and apparatus for distributed device and distributed device | |
CN113949537B (en) | Firewall management method and system based on eBPF | |
CN105637806A (en) | Method and apparatus for determining network topology, and centralized network state information storage device | |
US20130124721A1 (en) | Detected IP Link and Connectivity Inference | |
CN104717096A (en) | Method and device for processing event | |
US9300529B2 (en) | Communication system and network relay device | |
CN112333065A (en) | Automatic opening method and device for IPRAN Ethernet private line | |
CN103200033A (en) | Content delivery network (CDN) and network convergence system and selection method of mainly-used scheduling unit and standby scheduling unit thereof | |
CN111327527B (en) | Flow forwarding method and system, SDN controller and computer readable storage medium | |
CN104618157A (en) | Network management method, device and system | |
CN106850268A (en) | A kind of linear protection switching realizes device and method | |
CN106921588A (en) | A kind of flow control methods, device and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant after: Xinhua three Technology Co., Ltd. Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant before: Huasan Communication Technology Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |