CN104009865A - Network management method and device - Google Patents

Network management method and device Download PDF

Info

Publication number
CN104009865A
CN104009865A CN201410193653.6A CN201410193653A CN104009865A CN 104009865 A CN104009865 A CN 104009865A CN 201410193653 A CN201410193653 A CN 201410193653A CN 104009865 A CN104009865 A CN 104009865A
Authority
CN
China
Prior art keywords
event notification
flow
notification message
elementary streams
stream
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
Application number
CN201410193653.6A
Other languages
Chinese (zh)
Other versions
CN104009865B (en
Inventor
朱林
刘涛
刘宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201410193653.6A priority Critical patent/CN104009865B/en
Publication of CN104009865A publication Critical patent/CN104009865A/en
Application granted granted Critical
Publication of CN104009865B publication Critical patent/CN104009865B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a network management method and device. The method includes the first step of obtaining a pre-established flow model, wherein all flows in the flow model are generated according to event notification messages, the second stop of obtaining a subscription request and obtaining an event notification message corresponding to the subscription request, the third step of determining the flow corresponding to the event notification message according to the event notification message and the pre-established flow model, and the fourth step of obtaining network information according to the flow corresponding to the event notification message and transmitting the network information to a client side. The network management method has the advantages that firstly, standardization management of high-flow network devices can be achieved, management of all the network devices is unified to the flows, and network management is facilitated; secondly, the event notification messages are converted into the flows, human intervention is no longer needed or hardly needed during management of the network devices, and the operation and maintenance cost is greatly lowered; thirdly, the network devices can be unified organically to deal with network changes integrally, and the operation and maintenance efficiency is improved.

Description

Network management and device
Technical field
The present invention relates to network management technology field, relate in particular to a kind of network management and device.
Background technology
At present, NMP NETCONF has numerous advantages in network device management, and by RFC (Request For Comments, a series of with the files that are ranked of numbering, these file collections the software document of relevant the Internet relevant information, UNIX and the Internet community) 6241 become standard.
But, while adopting NETCONF to carry out network device management, need NETCONF client initiatively to initiate management request, such as obtain the network equipment facility information, the network equipment is configured etc., to the management of the network equipment in passive.Thereby, for small-scale network device management, feasible reluctantly, but in the face of the network device management of large magnitude, inefficiency not only, cost is high, and can not pinpoint the problems in time.
Therefore, stipulated the event notification message (notifications) of NETCONF in RFC6470, NETCONF client can realize network device management by subscribing to event notification message.But the problem of existence is at present, has only arranged the primitive of event notification message in RFC6470, does not arrange implementation method.
Summary of the invention
The present invention is intended to solve at least to a certain extent one of technical problem in correlation technique.
For this reason, first object of the present invention is to propose a kind of network management.The method is upper to stream by all-network equipment control unification, facilitates network management, has saved O&M cost, and has improved O&M efficiency.
Second object of the present invention is to propose a kind of network administration apparatus.
To achieve these goals, the network management of first aspect present invention embodiment, comprising: obtain the flow model of setting up in advance, wherein, every stream in described flow model generates according to event notification message; Obtain subscribe request, and obtain event notification message corresponding to described subscribe request; According to described event notification message and the described flow model of setting up in advance, determine the stream that described event notification message is corresponding; The stream corresponding according to described event notification message obtains the network information, and the described network information is sent to client.
The network management of the embodiment of the present invention, event notification message is abstracted into stream, by convection current, process and obtain the network information, and send to client, its implementation procedure to meet the event notification message primitive of RFC6470, there is good interoperability and compatibility, therefore there is following beneficial effect: first, can realize the standardized management of the network equipment of large magnitude, all-network equipment control unification is upper to stream, facilitate network management; Secondly, event notification message is converted to stream, the management of the network equipment no longer needs or seldom needs human intervention, has greatly saved O&M cost; Again, can carry out organic unity to resources such as the network equipments, whole reply network change, improves O&M efficiency.
To achieve these goals, the network administration apparatus of second aspect present invention embodiment, comprising: the first acquisition module, and for obtaining the flow model of setting up in advance, wherein, every stream in described flow model generates according to event notification message; The second acquisition module, for obtaining subscribe request, and obtains event notification message corresponding to described subscribe request; Determination module, for determining according to described event notification message and the described flow model of setting up in advance the stream that described event notification message is corresponding; The 3rd acquisition module, for obtaining the network information according to stream corresponding to described event notification message; Sending module, for sending to client by the described network information.
The network administration apparatus of the embodiment of the present invention, event notification message is abstracted into stream, by convection current, process and obtain the network information, and send to client, its implementation procedure to meet the event notification message primitive of RFC6470, there is good interoperability and compatibility, therefore there is following beneficial effect: first, can realize the standardized management of the network equipment of large magnitude, all-network equipment control unification is upper to stream, facilitate network management; Secondly, event notification message is converted to stream, the management of the network equipment no longer needs or seldom needs human intervention, has greatly saved O&M cost; Again, can carry out organic unity to resources such as the network equipments, whole reply network change, improves O&M efficiency.
The aspect that the present invention is additional and advantage in the following description part provide, and part will become obviously from the following description, or recognize by practice of the present invention.
Accompanying drawing explanation
Above-mentioned and/or the additional aspect of the present invention and advantage will become from the following description of the accompanying drawings of embodiments and obviously and easily understand, wherein,
Fig. 1 is the flow chart of network management according to an embodiment of the invention;
Fig. 2 is the flow chart of setting up according to an embodiment of the invention flow model;
Fig. 3 is the structured flowchart of network administration apparatus according to an embodiment of the invention;
Fig. 4 is the structured flowchart of network administration apparatus in accordance with another embodiment of the present invention.
Embodiment
Describe embodiments of the invention below in detail, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has the element of identical or similar functions from start to finish.Below by the embodiment being described with reference to the drawings, be exemplary, only for explaining the present invention, and can not be interpreted as limitation of the present invention.On the contrary, embodiments of the invention comprise spirit and all changes within the scope of intension, modification and the equivalent that falls into additional claims.
In description of the invention, it will be appreciated that, term " first ", " second " etc. are only for describing object, and can not be interpreted as indication or hint relative importance.In description of the invention, it should be noted that, unless otherwise clearly defined and limited, term " is connected ", " connection " should be interpreted broadly, and for example, can be to be fixedly connected with, and can be also to removably connect, or connects integratedly; Can be mechanical connection, can be to be also electrically connected to; Can be to be directly connected, also can indirectly be connected by intermediary.For the ordinary skill in the art, can concrete condition understand above-mentioned term concrete meaning in the present invention.In addition,, in description of the invention, except as otherwise noted, the implication of " a plurality of " is two or more.
In flow chart or any process of otherwise describing at this or method describe and can be understood to, represent to comprise that one or more is for realizing module, fragment or the part of code of executable instruction of the step of specific logical function or process, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can be not according to order shown or that discuss, comprise according to related function by the mode of basic while or by contrary order, carry out function, this should be understood by embodiments of the invention person of ordinary skill in the field.
How to realize the network management based on event notification message, its difficult point is how to utilize the network information based on event notification message of limited code description complexity.Embodiments of the invention disclose a kind of network management and device, event notification message is abstracted into stream, by convection current, process to describe the network information based on event notification message, thereby reach objects such as facilitating network management, raising O&M efficiency, reduction O&M cost.Below in conjunction with accompanying drawing, specifically describe network management and the device of the embodiment of the present invention.
Fig. 1 is the flow chart of network management according to an embodiment of the invention.
As shown in Figure 1, this network management comprises:
S101, obtains the flow model of setting up in advance, and wherein, every stream in flow model generates according to event notification message.
Particularly, server obtains the flow model of setting up in advance.In an embodiment of the present invention, server can be the multiple network equipment such as switch, router, should be understood that server can also comprise other network equipments, and these embodiments of the invention are not limited.Wherein, flow model is set up in advance in server, and subsequent embodiment will be described the process of establishing of flow model in detail.
In one embodiment of the invention, flow model comprises at least one in elementary streams, extended flow and combined-flow, elementary streams is according to an independently event notification message generation, extended flow is according to one, to meet pre-conditioned event notification message to generate, and combined-flow is to generate according to many dissimilar event notification messages.Specifically describe the feature of elementary streams, extended flow and combined-flow below.
(1) elementary streams: generate an elementary streams according to a separate event notification message of describing the network information.For example, according to the event notification message of a CPU usage, generate a corresponding elementary streams, according to the event notification message of a routing table entry, generate a corresponding elementary streams, etc.Content between these elementary streams is separate, so elementary streams has independently fluid space.
In addition, fluid space comprises elementary streams and the extended flow of the event notification message of describing a certain type, has tree structure in fluid space, and the tree root of fluid space is exactly elementary streams.Corresponding elementary streams and the extended flow of event notification message that for example, can comprise a plurality of CPU usage in the fluid space of the event notification message of description CPU usage.
(2) extended flow: extended flow is that elementary streams is carried out to the derivative stream of information machining, mainly represents the redundancy of the network information.For example, according to the event notification message of a CPU usage, generate a corresponding elementary streams, if what subscribe request was ordered is that CPU usage surpasses 80% event notification message, according to a CPU usage, surpass an extended flow of event notification message generation of 80%.The information of extended flow based on elementary streams is processed and expands, and can improve the validity of event notification message and rich.Wherein, elementary streams and extended flow belong to a fluid space, and all extended flow all generate based on elementary streams.
In addition, the set of all fluid spaces is referred to as basin.
(3) combined-flow: above-mentioned elementary streams, extended flow, fluid space and basin have formed the primary entity of event notification message.Simultaneously, need to consider the association between stream, some stream is by certain condition, to be mutually related, the corresponding elementary streams of the event notification message of a CPU usage for example,, the corresponding elementary streams of the event notification message of device temperature, if the long-term high loaded process of CPU tends to cause device temperature to rise, so when subscribe to CPU usage surpass 80% and temperature higher than 80 degree, two fluid spaces (fluid space that the fluid space that CPU usage is corresponding and device temperature are corresponding) can be associated.Now, use combined-flow the stream in two independent fluid spaces can be associated, therefore, combined-flow is for associated two independent fluid spaces, once and two independently fluid space is by after combined-flow association, these two fluid spaces are merged into a larger fluid space.According to the start-stop of combined-flow, fluid space may experience the process that merges and break.
S102, obtains subscribe request, and obtains event notification message corresponding to subscribe request.
Particularly, as mentioned above, subscribe request can be to subscribe to the event notification message of certain type, as, the subscribe request of subscribing to the event notification message of CPU usage; Or subscribe to the event notification message meet certain pre-conditioned type, as subscribed to CPU usage, surpass the subscribe request of 80% event notification message; Or subscribe to the event notification message of a plurality of types, as subscribe request of the event notification message of subscription CPU usage and device temperature etc.Concrete subscribe request is relevant to actual network management requirement, and above-described embodiment is only that schematically those skilled in the art can expand accordingly or change according to above-described embodiment.
More specifically, client sends subscribe request to server in advance, with the event notification message being produced in Subscriber.In an embodiment of the present invention, the server of client in can network.
S103, determines according to the flow model of event notification message and foundation in advance the stream that event notification message is corresponding.
Particularly, when client is after service end sends subscribe request, while having event notification message corresponding to subscribe request to occur, can determine the stream that event notification message is corresponding according to the flow model of event notification message and foundation in advance in server.For example, if subscribe request surpasses 80% event notification message for subscribing to CPU usage, server can generate an elementary streams by every event notification message of CPU usage, and analyzes subscribe request, according to 80% this threshold value, chooses corresponding elementary streams to generate extended flow again.
S104, the stream corresponding according to event notification message obtains the network information, and the network information is sent to client.
Particularly, server can organically combine stream corresponding to event notification message, and generating network information sends to client, makes client can resolve the network information, to obtain the content in corresponding event notification message.More specifically, server can, by stream corresponding to event notification message obtaining, send to client with the form flowing.
The network management of the embodiment of the present invention, event notification message is abstracted into stream, by convection current, process and obtain the network information, and send to client, its implementation procedure to meet the event notification message primitive of RFC6470, there is good interoperability and compatibility, therefore there is following beneficial effect: first, can realize the standardized management of the network equipment of large magnitude, all-network equipment control unification is upper to stream, facilitate network management; Secondly, event notification message is converted to stream, the management of the network equipment no longer needs or seldom needs human intervention, has greatly saved O&M cost; Again, can carry out organic unity to resources such as the network equipments, whole reply network change, improves O&M efficiency.
In one embodiment of the invention, network management also comprises and sets up flow model.
Fig. 2 is the flow chart of setting up according to an embodiment of the invention flow model.
As shown in Figure 2, setting up flow model comprises:
S201, obtains event notification message, and the type of definite event notification message.
Particularly, while there is event notification message in server, first judge that whether this event notification message is subscribed.
S202, determines according to type whether event notification message needs to set up stream.
Wherein, if this event notification message is subscribed, need to set up stream, continue to carry out S203; If not subscribed, need to delete the stream of setting up, continue to carry out S209.
S203, when determining that needs are set up stream, judges whether to exist corresponding elementary streams.
S204, if judgement does not exist corresponding elementary streams, sets up corresponding elementary streams, and continues to carry out S206.
Wherein, if judgement has existed corresponding elementary streams, continue to carry out S205.
S205, further determines according to subscribe request whether event notification message needs to set up extended flow.
Wherein, if subscribe request comprises the treatment conditions for event notification message, need to set up extended flow.
S206, determining while need to set up extended flow, sets up corresponding extended flow.
Wherein, determining while not needing to set up extended flow, finish to flow process of establishing.
S207, further determines according to subscribe request whether event notification message needs to set up combined-flow.
Wherein, if relate to the event notification message of two types in subscribe request, need to set up combined-flow.
S208, determining while need to set up combined-flow, sets up corresponding combined-flow.
Wherein, determining while not needing to set up extended flow, finish to flow process of establishing.
S209, when determining deletion stream according to type, determines whether to delete corresponding combined-flow.
Wherein, if there is no relate to the subscribe request of the event notification message of two types, for example this subscribe request is cancelled, deletes corresponding combined-flow.
S210, need to delete corresponding combined-flow definite, deletes corresponding combined-flow, and continues to carry out S211.Wherein, determining while not needing to delete corresponding combined-flow, continue to carry out S211.
S211, further determines whether to delete corresponding extended flow.
Wherein, if comprise that the subscribe request for the treatment conditions of event notification message does not exist, for example this subscribe request is cancelled, needs to delete corresponding extended flow.
S212, need to delete corresponding extended flow definite, deletes corresponding extended flow, and continues to carry out S213.Wherein, do not need to delete corresponding extended flow determining, to continue to carry out S213.
S213, further determines whether to delete corresponding elementary streams.
Wherein, if the subscribe request of event notification message does not exist, for example this subscribe request is cancelled, needs to delete corresponding elementary streams.
S214, need to delete corresponding elementary streams definite, deletes corresponding elementary streams.Wherein, definite, do not need to delete corresponding elementary streams, finish to delete stream.
In one embodiment of the invention, setting up corresponding extended flow is S206, comprising: obtain the elementary streams that event notification message is corresponding, and elementary streams is processed, and set up corresponding extended flow according to the elementary streams after processing.Wherein, in one embodiment of the invention, process at least one that comprises in following several: according to pre-conditioned threshold value, screen; According to Preset Time or predeterminated frequency, screen; Allow/forbid; Conversion; Increase additional information; Revise.
In one embodiment of the invention, setting up corresponding combined-flow is S208, comprising: obtain a plurality of extended flow that event notification message is corresponding, and analyze respectively content and the semanteme of a plurality of extended flow, to set up corresponding combined-flow.
Introduce several flow management instruments below, the deletion of flowing by the realization of flow management instrument, foundation, management etc.In conjunction with flow management instrument, be easier to understand the process of S206 and the S208 of above-described embodiment.
(1) stream maker: set up elementary streams and extended flow and can utilize stream maker.Stream maker is responsible for describing a fluid space, comprises Basic Flow and extended flow, if possible, also has combined-flow.Stream maker has the function of analyzing subscribe request, an event notification message can be converted into formation base stream, extended flow or combined-flow.Analytic process is mainly the event notification message primitive based on RFC6470.Wherein, the basic function of stream maker is formation base stream, stream maker also needs the processing through stream handle (describing in detail in subsequent embodiment) when setting up extended flow, and stream maker also needs to flow the processing of blender (describing in detail in subsequent embodiment) when setting up combined-flow.
In addition, stream maker also has the management function of quoting, can be by quoting of elementary streams counted, and when there is no extended flow, elementary streams is eliminated, and whole fluid space is closed.The management function of stream maker is also embodied in the maintenance of extended flow, and when extended flow finishes the subscribe request of use, stream maker need to carry out removing work to extended flow, and detects elementary streams and quote.Finally, stream maker need to carry out the section processes work of combined-flow, combined-flow is the overlapping of fluid space, the information source of combined-flow is in two fluid spaces, when stream maker analyzes the required information of subscribe request from two fluid spaces, can file a request to watershed management device, watershed management device carries out the merging of fluid space, and combined-flow is except will also needing the processing through overcurrent blender through the processing of stream handle.After combined-flow disappears, stream maker, according to quoting, need to be initiated to watershed management device the work of space partition.
(2) stream handle: stream handle is responsible for elementary streams to process, feeds back to stream maker by the stream after processing, to further generate extended flow or combined-flow.The processing that stream handle carries out comprises at least one in following several: according to pre-conditioned threshold value, screen; According to Preset Time or predeterminated frequency, screen; Conversion; Increase additional information; Revise.For example, elementary streams is to subscribe to the event notification message of CPU usage, needing the extended flow generating is to subscribe to CPU usage to surpass 80% event notification message, stream handle can be using 80% as pre-conditioned threshold value, elementary streams is filtered, the elementary streams of filtration is fed back to stream maker, to complete the foundation of extended flow simultaneously.And for example, stream handle also screens according to Preset Time or predeterminated frequency, such as carrying out according to clock information regularly, the associative operation such as overtime, frequency; Allow/forbid to carry out canonical coupling for a certain information of elementary streams, thereby determine to allow/forbid.For another example, conversion, increase additional information, modification etc., conversion is that elementary streams is modified, and is translated into other information, as, elementary streams is to subscribe to the event notification message of CPU usage, through conversion, becomes CPU busy ratio; Increasing additional information is to increase some extra information according to elementary streams, as, elementary streams is to subscribe to the event notification message of routing table content, through additional, can in some route, add serviceable indicia; Modification is the information content of directly revising elementary streams.
(3) stream blender: the effect of stream blender is that two extended flow are merged into a combined-flow, that is to say, does not support to carry out between combined-flow and other stream compound.Stream blender merges at two fluid spaces, the processing of flowing when generating combined-flow.Stream blender need to be analyzed the content of each extended flow and the semanteme of stream handle when carrying out two extended flow, thereby determine two logical relations between extended flow, last, carry out logic and become to optimize with stream, export last combined-flow information, by stream maker, generate combined-flow.
(4) watershed management device: watershed management device is safeguarded some statistical informations of fluid space, and the merging of responsible fluid space and fractionation.When needs build combined-flow with merging fluid space, watershed management device receives the request of stream maker, search basin index, corresponding stream is merged, and upgrade fluid space information, and from flowing the viewpoint of measures of maker, everything is transparent, the merging that does not live through seemingly space is the same, and just the statistics of quoting of combined-flow needs to upgrade; Meanwhile, when generating combined-flow, need to be through overcurrent blender.When combined-flow is quoted vanishing, stream maker sends request to watershed management device, and watershed management device is responsible for the fluid space of merging to split, and from flowing the angle of maker, does not live through seemingly and merge fractionation equally.
In order to realize above-described embodiment, embodiments of the invention also propose a kind of network administration apparatus.
Fig. 3 is the structured flowchart of network administration apparatus according to an embodiment of the invention.
As shown in Figure 3, this network administration apparatus 10 comprises: the first acquisition module 100, the second acquisition module 200, determination module 300 and sending module 400.
Particularly, the first acquisition module 100 is for obtaining the flow model of setting up in advance, and wherein, every stream in flow model generates according to event notification message.More specifically, this network administration apparatus 10 can be server, in an embodiment of the present invention, server can be the multiple network equipment such as switch, router, should be understood that server can also comprise other network equipments, does not limit these embodiments of the invention.Wherein, flow model is set up in advance in network administration apparatus 10.
In one embodiment of the invention, flow model comprises at least one in elementary streams, extended flow and combined-flow, elementary streams is according to an independently event notification message generation, extended flow is according to one, to meet pre-conditioned event notification message to generate, and combined-flow is to generate according to many dissimilar event notification messages.Specifically describe the feature of elementary streams, extended flow and combined-flow below.
(1) elementary streams: generate an elementary streams according to a separate event notification message of describing the network information.For example, according to the event notification message of a CPU usage, generate a corresponding elementary streams, according to the event notification message of a routing table entry, generate a corresponding elementary streams, etc.Content between these elementary streams is separate, so elementary streams has independently fluid space.
In addition, fluid space comprises elementary streams and the extended flow of the event notification message of describing a certain type, has tree structure in fluid space, and the tree root of fluid space is exactly elementary streams.Corresponding elementary streams and the extended flow of event notification message that for example, can comprise a plurality of CPU usage in the fluid space of the event notification message of description CPU usage.
(2) extended flow: extended flow is that elementary streams is carried out to the derivative stream of information machining, mainly represents the redundancy of the network information.For example, according to the event notification message of a CPU usage, generate a corresponding elementary streams, if what subscribe request was ordered is that CPU usage surpasses 80% event notification message, according to a CPU usage, surpass an extended flow of event notification message generation of 80%.The information of extended flow based on elementary streams is processed and expands, and can improve the validity of event notification message and rich.Wherein, elementary streams and extended flow belong to a fluid space, and all extended flow all generate based on elementary streams.
In addition, the set of all fluid spaces is referred to as basin.
(3) combined-flow: above-mentioned elementary streams, extended flow, fluid space and basin have formed the primary entity of event notification message.Simultaneously, need to consider the association between stream, some stream is by certain condition, to be mutually related, the corresponding elementary streams of the event notification message of a CPU usage for example,, the corresponding elementary streams of the event notification message of device temperature, if the long-term high loaded process of CPU tends to cause device temperature to rise, so when subscribe to CPU usage surpass 80% and temperature higher than 80 degree, two fluid spaces (fluid space that the fluid space that CPU usage is corresponding and device temperature are corresponding) can be associated.Now, use combined-flow the stream in two independent fluid spaces can be associated, therefore, combined-flow is for associated two independent fluid spaces, once and two independently fluid space is by after combined-flow association, these two fluid spaces are merged into a larger fluid space.According to the start-stop of combined-flow, fluid space may experience the process that merges and break.
The second acquisition module 200 is for obtaining subscribe request, and obtains event notification message corresponding to subscribe request.Wherein, as mentioned above, subscribe request can be to subscribe to the event notification message of certain type, as, the subscribe request of subscribing to the event notification message of CPU usage; Or subscribe to the event notification message meet certain pre-conditioned type, as subscribed to CPU usage, surpass the subscribe request of 80% event notification message; Or subscribe to the event notification message of a plurality of types, as subscribe request of the event notification message of subscription CPU usage and device temperature etc.Concrete subscribe request is relevant to actual network management requirement, and above-described embodiment is only that schematically those skilled in the art can expand accordingly or change according to above-described embodiment.More specifically, client sends subscribe request to network administration apparatus 10 in advance, with the event notification message being produced in subscribed network management devices 10.In an embodiment of the present invention, the server of client in can network.
Determination module 300 is for determining according to the flow model of event notification message and foundation in advance the stream that event notification message is corresponding.More specifically, when client is after network administration apparatus 10 sends subscribe request, while having event notification message corresponding to subscribe request to occur, can determine the stream that event notification message is corresponding according to event notification message and the flow model of setting up in advance in network administration apparatus 10.For example, if subscribe request surpasses 80% event notification message for subscribing to CPU usage, network administration apparatus 10 can generate an elementary streams by every event notification message of CPU usage, and analyzes subscribe request, according to 80% this threshold value, chooses corresponding elementary streams to generate extended flow again.
The 3rd acquisition module 400 is for obtaining the network information according to stream corresponding to event notification message.Sending module 500 is for sending to client by the network information.More specifically, network administration apparatus 10 can organically combine stream corresponding to event notification message, and generating network information sends to client, makes client can resolve the network information, to obtain the content in corresponding event notification message.More specifically, network administration apparatus 10 can, by stream corresponding to event notification message obtaining, send to client with the form flowing.
The network administration apparatus of the embodiment of the present invention, event notification message is abstracted into stream, by convection current, process and obtain the network information, and send to client, its implementation procedure to meet the event notification message primitive of RFC6470, there is good interoperability and compatibility, therefore there is following beneficial effect: first, can realize the standardized management of the network equipment of large magnitude, all-network equipment control unification is upper to stream, facilitate network management; Secondly, event notification message is converted to stream, the management of the network equipment no longer needs or seldom needs human intervention, has greatly saved O&M cost; Again, can carry out organic unity to resources such as the network equipments, whole reply network change, improves O&M efficiency.
Fig. 4 is the structured flowchart of network administration apparatus in accordance with another embodiment of the present invention.
As shown in Figure 4, this network administration apparatus 10 comprises: the first acquisition module 100, the second acquisition module 200, determination module 300, sending module 400 and set up module 500.
Particularly, set up module 500 for setting up flow model.
In one embodiment of the invention, set up module 500 specifically for: obtain event notification message, and the type of definite event notification message; According to type, determine whether event notification message needs to set up stream; When determine to need setting up stream, judge whether to exist corresponding elementary streams, and when judgement does not exist corresponding elementary streams, set up corresponding elementary streams; Further according to subscribe request, determine whether event notification message needs to set up extended flow; Determining while extended flow need to be set up, set up corresponding extended flow; Further according to subscribe request, determine whether event notification message needs to set up combined-flow; Determining while combined-flow need to be set up, set up corresponding combined-flow.
In one embodiment of the invention, set up module 500 when setting up corresponding extended flow, obtain the elementary streams that event notification message is corresponding, and elementary streams is processed, and set up corresponding extended flow according to the elementary streams after processing.Wherein, in one embodiment of the invention, process at least one that comprises in following several: according to pre-conditioned threshold value, screen; According to Preset Time or predeterminated frequency, screen; Allow/forbid; Conversion; Increase additional information; Revise.
In one embodiment of the invention, set up module 500 when setting up corresponding combined-flow, obtain a plurality of extended flow that event notification message is corresponding, and analyze respectively content and the semanteme of a plurality of extended flow, to set up corresponding combined-flow.
Wherein, the above-mentioned process of setting up module 500 foundation streams can be understood by reference method embodiment, do not repeat them here,
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, a plurality of steps or method can realize with being stored in memory and by software or the firmware of suitable instruction execution system execution.For example, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: have for data-signal being realized to the discrete logic of the logic gates of logic function, the application-specific integrated circuit (ASIC) with suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
In the description of this specification, the description of reference term " embodiment ", " some embodiment ", " example ", " concrete example " or " some examples " etc. means to be contained at least one embodiment of the present invention or example in conjunction with specific features, structure, material or the feature of this embodiment or example description.In this manual, the schematic statement of above-mentioned term is not necessarily referred to identical embodiment or example.And the specific features of description, structure, material or feature can be with suitable mode combinations in any one or more embodiment or example.
Although illustrated and described embodiments of the invention, those having ordinary skill in the art will appreciate that: in the situation that not departing from principle of the present invention and aim, can carry out multiple variation, modification, replacement and modification to these embodiment, scope of the present invention is limited by claim and equivalent thereof.

Claims (12)

1. a network management, is characterized in that, comprising:
Obtain the flow model of setting up in advance, wherein, every stream in described flow model generates according to event notification message;
Obtain subscribe request, and obtain event notification message corresponding to described subscribe request;
According to described event notification message and the described flow model of setting up in advance, determine the stream that described event notification message is corresponding;
The stream corresponding according to described event notification message obtains the network information, and the described network information is sent to client.
2. method according to claim 1, it is characterized in that, described flow model comprises at least one in elementary streams, extended flow and combined-flow, described elementary streams is according to an independently event notification message generation, described extended flow is according to one, to meet pre-conditioned event notification message to generate, and described combined-flow is to generate according to many dissimilar event notification messages.
3. method according to claim 2, is characterized in that, also comprises: set up described flow model, describedly set up described flow model, comprising:
Obtain event notification message, and determine the type of described event notification message;
According to described type, determine whether described event notification message needs to set up stream;
When determine to need setting up stream, judge whether to exist corresponding elementary streams, and when judgement does not exist corresponding elementary streams, set up corresponding elementary streams;
Further according to described subscribe request, determine whether described event notification message needs to set up extended flow;
Determining while extended flow need to be set up, set up corresponding extended flow;
Further according to described subscribe request, determine whether described event notification message needs to set up combined-flow;
Determining while combined-flow need to be set up, set up corresponding combined-flow.
4. method according to claim 3, is characterized in that, the extended flow that described foundation is corresponding, comprising:
Obtain the elementary streams that described event notification message is corresponding, and described elementary streams is processed, and set up corresponding extended flow according to the described elementary streams after processing.
5. method according to claim 4, is characterized in that, described processing comprises at least one in following several:
According to pre-conditioned threshold value, screen;
According to Preset Time or predeterminated frequency, screen;
Allow/forbid;
Conversion;
Increase additional information;
Revise.
6. method according to claim 3, is characterized in that, the combined-flow that described foundation is corresponding, comprising:
Obtain a plurality of extended flow that described event notification message is corresponding, and analyze respectively content and the semanteme of described a plurality of extended flow, to set up corresponding combined-flow.
7. a network administration apparatus, is characterized in that, comprising:
The first acquisition module, for obtaining the flow model of setting up in advance, wherein, every stream in described flow model generates according to event notification message;
The second acquisition module, for obtaining subscribe request, and obtains event notification message corresponding to described subscribe request;
Determination module, for determining according to described event notification message and the described flow model of setting up in advance the stream that described event notification message is corresponding;
The 3rd acquisition module, for obtaining the network information according to stream corresponding to described event notification message;
Sending module, for sending to client by the described network information.
8. device according to claim 7, it is characterized in that, described flow model comprises at least one in elementary streams, extended flow and combined-flow, described elementary streams is according to an independently event notification message generation, described extended flow is according to one, to meet pre-conditioned event notification message to generate, and described combined-flow is to generate according to many dissimilar event notification messages.
9. device according to claim 8, is characterized in that, also comprises:
Set up module, for setting up described flow model;
Wherein, described set up module specifically for:
Obtain event notification message, and determine the type of described event notification message;
According to described type, determine whether described event notification message needs to set up stream;
When determine to need setting up stream, judge whether to exist corresponding elementary streams, and when judgement does not exist corresponding elementary streams, set up corresponding elementary streams;
Further according to described subscribe request, determine whether described event notification message needs to set up extended flow;
Determining while extended flow need to be set up, set up corresponding extended flow;
Further according to described subscribe request, determine whether described event notification message needs to set up combined-flow;
Determining while combined-flow need to be set up, set up corresponding combined-flow.
10. device according to claim 9, it is characterized in that, the described module of setting up, when setting up corresponding extended flow, is obtained the elementary streams that described event notification message is corresponding, and described elementary streams is processed, and set up corresponding extended flow according to the described elementary streams after processing.
11. devices according to claim 10, is characterized in that, described processing comprises at least one in following several:
According to pre-conditioned threshold value, screen;
According to Preset Time or predeterminated frequency, screen;
Allow/forbid;
Conversion;
Increase additional information;
Revise.
12. devices according to claim 9, it is characterized in that, the described module of setting up, when setting up corresponding combined-flow, is obtained a plurality of extended flow that described event notification message is corresponding, and analyze respectively content and the semanteme of described a plurality of extended flow, to set up corresponding combined-flow.
CN201410193653.6A 2014-05-08 2014-05-08 Network management and device Active CN104009865B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410193653.6A CN104009865B (en) 2014-05-08 2014-05-08 Network management and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410193653.6A CN104009865B (en) 2014-05-08 2014-05-08 Network management and device

Publications (2)

Publication Number Publication Date
CN104009865A true CN104009865A (en) 2014-08-27
CN104009865B CN104009865B (en) 2017-07-25

Family

ID=51370361

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410193653.6A Active CN104009865B (en) 2014-05-08 2014-05-08 Network management and device

Country Status (1)

Country Link
CN (1) CN104009865B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021083075A1 (en) * 2019-11-01 2021-05-06 华为技术有限公司 Method and apparatus for subscribing to event stream

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1239252A (en) * 1998-05-27 1999-12-22 国际商业机器公司 Publish and subscribe data processing apparatus, method and computer program product with use of stream to distribute administrative and configuration information
CN101620528A (en) * 2008-06-30 2010-01-06 上海全成通信技术有限公司 Method for structuring workflow system based on XPDL
CN101763253A (en) * 2008-10-10 2010-06-30 新奥特(北京)视频技术有限公司 Television station business system integration method based on process description language
CN102169500A (en) * 2011-04-19 2011-08-31 北京神州数码思特奇信息技术股份有限公司 Dynamic service flow display device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1239252A (en) * 1998-05-27 1999-12-22 国际商业机器公司 Publish and subscribe data processing apparatus, method and computer program product with use of stream to distribute administrative and configuration information
CN101620528A (en) * 2008-06-30 2010-01-06 上海全成通信技术有限公司 Method for structuring workflow system based on XPDL
CN101763253A (en) * 2008-10-10 2010-06-30 新奥特(北京)视频技术有限公司 Television station business system integration method based on process description language
CN102169500A (en) * 2011-04-19 2011-08-31 北京神州数码思特奇信息技术股份有限公司 Dynamic service flow display device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
江来源: ""基于Web的工作流建模与监控系统"", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021083075A1 (en) * 2019-11-01 2021-05-06 华为技术有限公司 Method and apparatus for subscribing to event stream
US11863368B2 (en) 2019-11-01 2024-01-02 Huawei Technologies Co., Ltd. Method and apparatus for subscribing to event streams

Also Published As

Publication number Publication date
CN104009865B (en) 2017-07-25

Similar Documents

Publication Publication Date Title
CN108540483A (en) A kind of apparatus monitoring method and device based on block chain
EP2976854B1 (en) System and method for rule creation and parameter adaptation by data mining in a self-organizing network
CN107959715B (en) Remote terminal information identification software method based on wireless telecommunications
CN109981326B (en) Method and device for positioning household broadband sensing fault
EP3101841A1 (en) System and method for network management automation
JP2012121720A (en) Monitoring master file management method of elevator remote monitoring system
WO2017008619A1 (en) Matrixing method for automatically determining logic of last circuit breaker
CN105281989A (en) Household electrical appliance control method and device
CN105490843A (en) Information processing method and system
CN115001967B (en) Data acquisition method and device, electronic equipment and storage medium
CN106649344B (en) Weblog compression method and device
CN104009865A (en) Network management method and device
CN109710676B (en) Data acquisition method and device of CMDB model and electronic equipment
CN103812688A (en) Alarm determining method and device
CN105045598A (en) Java-based web front-end performance optimization and online method and system
JPWO2014045366A1 (en) Information processing system, management apparatus, management program, and management method
CN111125209A (en) Access configuration system supporting multi-element heterogeneous type data
Cancela et al. Balanced and approximate zero-variance recursive estimators for the network reliability problem
CN104573987B (en) One realizes PCS and electrical network multi-source operation system interoperability integrated approach
CN112217655A (en) Network equipment configuration method and device in SD-WAN system and computer equipment
Sun et al. A multiple multicast tree optimization solution based on software defined network
KR20130068421A (en) System for generating overall information for malicious code and management system for the same
CN101950304A (en) Integration and running and maintenance method and device for information system
US8700954B2 (en) Common trouble case data generating method and non-transitory computer-readable medium storing common trouble case data generating program
CN109584332A (en) A kind of method, computer equipment and storage medium quickly generating low pressure line chart along Butut based on low pressure

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant