CN106712979A - Network element monitoring method and device - Google Patents

Network element monitoring method and device Download PDF

Info

Publication number
CN106712979A
CN106712979A CN201510420193.0A CN201510420193A CN106712979A CN 106712979 A CN106712979 A CN 106712979A CN 201510420193 A CN201510420193 A CN 201510420193A CN 106712979 A CN106712979 A CN 106712979A
Authority
CN
China
Prior art keywords
network element
identification information
default request
network
response
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.)
Withdrawn
Application number
CN201510420193.0A
Other languages
Chinese (zh)
Inventor
胡良俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201510420193.0A priority Critical patent/CN106712979A/en
Priority to PCT/CN2016/076754 priority patent/WO2016177144A1/en
Publication of CN106712979A publication Critical patent/CN106712979A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a network element monitoring method. The method comprises the steps that when an instruction to start a polling task is detected, a preset request is sent to network elements which need polling successively so that the network elements return responses according to the preset request; whether the responses returned from the network elements are received is determined; and when the responses are received, whether the corresponding network elements are normal is determined according to identification information of the responses. The invention also discloses a network element monitoring device. The method and device can reduce polling time of network management and the thread cost in the polling process of network management.

Description

Network elements monitors method and apparatus
Technical field
The present invention relates to field of network management, more particularly to a kind of network elements monitors method and apparatus.
Background technology
In network management, when needing monitoring network element whether normal, generally all using the method for poll. So-called poll, is that network management system regularly sends query message to its network element, when the network element has response report When text returns to the network management system, illustrate that the network element is normal;But if it exceeds certain hour, institute The response message that network management system is not received by the network element is stated, i.e., described network element does not return to response, then Illustrate that the network element breaks down.When the network element in network management system breaks down, it is desirable to network management system energy Enough quick discovery network element failures, but when the network element of network management system management is larger, such as reach When thousands of up to ten thousand, it is desirable to which the network management system quickly finds that network element failure is to be difficult to accomplish.
Common polling method is using SNMP (Simple Network Management Protocol, letter Single NMP) each network element state in network management system is polled successively, i.e., to a net Unit sends SNMP GET requests, after waiting the network element to return to response or time-out, then to next net Unit takes same manner to be polled.If a network element poll average time is t, network element sum is n, The time of network element poll one time is nt so in network management system, when n values reach thousands of, poll Total time will be very long.Existing Improving ways are to remove poll using multi-thread concurrent.If Thread Count is m, So total time of poll is (nt/m), in the case where n values and t values are certain, to shorten poll time M values can as far as possible be increased, that is, increase Thread Count.But increase thread and be accomplished by more system resources, need Want the hardware supported of higher performance.
The above is only used for auxiliary and understands technical scheme, does not represent and recognizes that the above is Prior art.
The content of the invention
It is a primary object of the present invention to provide a kind of network elements monitors method and device, existing poll skill is solved Art poll time is long, and webmaster is in the big technical problem of polling procedure thread expense.
To achieve the above object, a kind of network elements monitors method that the present invention is provided, including step:
When the instruction for starting polling tasks is detected, to needing the network element of poll to send default request successively, So that the network element returns to response according to the default request;
Judge whether to receive the response that network element is returned;
When the response is received, the identification information according to the response judges that corresponding network element is normal.
Preferably, it is described when the instruction for starting polling tasks is detected, to the network element for needing poll successively Send default request, the step of return to response according to the default request for the network element after, also wrap Including will be added in overtime queue by the identification information of the network element for being transmitted across the default request.
Preferably, described when the response is received, the identification information according to the response judges correspondence The normal step of network element after, also include:
The corresponding identification information of normal network element is removed into the overtime queue;
Whether the identification information number for judging the network element in the overtime queue is zero;
If the identification information number of network element is not zero in the overtime queue, judge whether to have sent default The default request of number of times corresponding to the identification information gives at network element;
If the default request for having sent preset times corresponding to the identification information gives at network element, judge described Network element failure, the overtime queue is removed by the identification information of the network element.
Preferably, if the identification information number of network element is not zero in the overtime queue, judgement is After the step of no default request for having sent preset times is to network element corresponding to the identification information, also wrap Include:
If the default request for not sending preset times corresponding to the identification information gives at network element, to the mark The corresponding network element of knowledge information continues to send the default request.
Preferably, it is described when the instruction for starting polling tasks is detected, to the network element for needing poll successively Default request is sent, so that the network element includes according to the step of the default request return response:
When the instruction for starting polling tasks is detected, instructed to the network element for needing poll successively according to described Send the default request of predetermined number;
After Preset Time is waited, continuing to send the default of predetermined number successively to the network element for needing poll please Ask.
Additionally, to achieve the above object, the present invention also provides a kind of network elements monitors device, the network element prison Surveying device includes:
First sending module, for when the instruction for starting polling tasks is detected, to the net for needing poll Unit sends default request successively, so that the network element returns to response according to the default request;
First judge module, for judging whether receiving the response of network element return;
First determination module, for when the response is received, the identification information according to the response to be sentenced Fixed corresponding network element is normal.
Preferably, the network elements monitors device also includes add module, described default for that will be transmitted across The identification information of the network element of request is added in overtime queue.
Preferably, the network elements monitors device also includes:
Module is removed, for the corresponding identification information of normal network element to be removed into the overtime queue;
Second judge module, whether the identification information number for judging network element in the overtime queue is zero;
3rd judge module, if being not zero for the identification information number of network element in the overtime queue, Judge whether that the default request for having sent preset times corresponding to the identification information gives at network element;
Second determination module, if identification information correspondence is given in the default request for having sent preset times Network element, then judge the network element failure, the identification information of the network element is removed into the overtime queue.
Preferably, the network elements monitors device also includes the second sending module, if for not sending default time Several default requests corresponding to the identification information gives at network element, then to network element corresponding to the identification information after Supervention send the default request.
Preferably, first sending module includes:
First transmitting element, for when detect start polling tasks instruction when, according to it is described instruct to The network element of poll is needed to send the default request of predetermined number successively;
Second transmitting element, for after Preset Time is waited, continuing to needing the network element of poll to send out successively Send the default request of predetermined number.
The present invention passes through webmaster to needing the network element of poll to send default request successively, when network element receives institute Return response after default request is stated, the webmaster is received after the response, according to the response Identification information judges that corresponding network element is normal.I.e. webmaster to a network element after request is sent, it is not necessary to waited until It returns to response and begins to send request to next network element.Reduce the time of webmaster poll and reduce Expense of the webmaster in polling procedure thread.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of network elements monitors method first embodiment of the present invention;
Fig. 2 be the embodiment of the present invention in when detect start polling tasks instruction when, to the net for needing poll Unit sends default request successively, returns to a kind of flow of response according to the default request for the network element Schematic diagram;
Fig. 3 is the schematic flow sheet of network elements monitors method second embodiment of the present invention;
Fig. 4 is the high-level schematic functional block diagram of network elements monitors device first embodiment of the present invention;
Fig. 5 is the refinement high-level schematic functional block diagram of an embodiment of the first sending module in the embodiment of the present invention;
Fig. 6 is the high-level schematic functional block diagram of network elements monitors device second embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will be done further referring to the drawings in conjunction with the embodiments Explanation.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, limit is not used to The fixed present invention.
The primary solutions of the embodiment of the present invention are:When the instruction for starting polling tasks is detected, to Need the network element of poll to send default request successively, rung so that the network element is returned according to the default request Should;Judge whether receiving the response of network element return;When the response is received, according to the sound The identification information answered judges that corresponding network element is normal.By webmaster to needing the network element of poll to send pre- successively If request, response is returned to after network element receives the default request, the webmaster receives the sound After answering, the identification information according to the response judges that corresponding network element is normal.I.e. webmaster is to a net After unit sends request, it is not necessary to begin to ask the transmission of next network element when it returns to response.Reduce The time of webmaster poll and reduce expense of the webmaster in polling procedure thread.
Because in existing network elements monitors method, webmaster is sending SNMP GET requests to a network element Afterwards, after waiting the network element to return to response or the request timed out, a network element sends still further below SNMP GET requests, cause webmaster poll time long, and thread expense is big.
Based on above mentioned problem, the present invention provides a kind of network elements monitors method.
Reference picture 1, Fig. 1 is the schematic flow sheet of network elements monitors method first embodiment of the present invention.
In the present embodiment, the network elements monitors method includes:
Step S10, when the instruction for starting polling tasks is detected, sends successively to the network element of poll is needed Default request, so that the network element returns to response according to the default request;
Webmaster creates different polling tasks according to the type of its network element, and for each polling tasks sets one Individual corresponding polling cycle.When polling cycle then, i.e., described webmaster detect start polling tasks finger When making, start polling tasks, to needing the network element of poll to send default request successively, i.e., described webmaster to After one network element sends default request, response is returned to just according to the default request without when the network element Start to send default request to next network element.The network that the type of the network element can be used according to it come Divide, will be such as put into a table using the network element of 2G networks, one will be put into using the network element of 3G network In individual table, it is put into a table using the network element of 3G network, is that each table sets a kind of polling tasks, Each polling tasks one polling cycle of correspondence, it is also possible to which function, purposes according to the network element etc. are entered Row is divided.Network element scale that the setting of the polling cycle is managed as the webmaster and network-like where it Depending on condition.Polling cycle can be set as one minute as described, i.e., every one minute just to corresponding poll Once, each polling tasks correspond to a timer to task poll, for monitoring whether to reach wheel The time in inquiry cycle.Such as after last polling tasks are gone over one minute, the webmaster is by described fixed When device start polling tasks.The default request includes but is not limited to SNMP GET requests.
As long as the webmaster performs the simple variable that polling tasks inquire about the network element, such as inquire about SysName, the sysName are for table row, variable and the storing process ginseng for storage object name Number.It is type that webmaster inquires about the protocol Data Unit content sent during the network element sysName as described TYPE:0;Request identification information Request ID:Globally unique ID values;Error condition error status: 0;Mistake index error index:0;Variable-Bindings Variable-Bindings:.1.3.6.1.2.1.1.5.0.
Step S20, judges whether to receive the response of network element return;
Step S30, when the response is received, the identification information according to the response judges corresponding net It is first normal.
The webmaster judges whether to receive response of its network element according to its default request return for sending.When When the network element of webmaster management is normal, the network element when the default request that the webmaster sends is received, Can return and corresponding respond to the webmaster.When the webmaster receives the response that the network element is returned, Identification information according to the response judges that corresponding network element is normal.Such as when the webmaster receives the net The SNMP GET responses that unit returns according to the SNMP GET requests, the then SNMP response The content of protocol Data Unit is TYPE:0;Request ID:Globally unique ID values;error status: Inerrancy noError;error index:0;Variable-Bindings:.1.3.6.1.2.1.1.5.0:sysName.
Request identifier Request ID and the webmaster in the SNMP GET responses that the network element is returned Request ID in the SNMP GET requests of transmission are the same, and the webmaster is exactly according to described Request ID determine that SNMP GET response is which network element is sended over.
The present embodiment passes through webmaster to needing the network element of poll to send default request successively, when network element is received Response is returned to after the default request, the webmaster is received after the response, according to the response Identification information judge that corresponding network element is normal.I.e. webmaster to a network element after request is sent, it is not necessary to etc. Response is returned to it to begin to send request to next network element.Reduce time and the reduction of webmaster poll Expense of the webmaster in polling procedure thread.
Reference picture 2, Fig. 2 be the embodiment of the present invention in when detect start polling tasks instruction when, to need The network element of poll is wanted to send default request successively, so that the network element returns to response according to the default request A kind of schematic flow sheet.The step S10 includes:
Step S11, when the instruction for starting polling tasks is detected, instructs to needing poll according to described Network element sends the default request of predetermined number successively;
Step S12, after Preset Time is waited, continues to needing the network element of poll to send predetermined number successively Default request.
When the polling cycle of the network element that webmaster is managed arrives, that is, detect the finger of polling tasks to be started When making, the webmaster according to it is described instruct send the default of predetermined number successively to the network element for needing poll please Ask, after the default request of the predetermined number is sent, wait Preset Time, continue to needs The network element of poll sends the default request of predetermined number.Webmaster is instructed to needing poll according to described as described Network element send the SNMP GET requests of predetermined number successively, as the SNMP GET of the predetermined number After request is sent completely, Preset Time is waited.The webmaster wait Preset Time after, continue to The network element of poll is needed to send the SNMP GET requests of predetermined number successively.The predetermined number and default Time is according to UDP (User Datagram Protocol, User Data Protocol report) protocol stack processing data Ability set because SNMP is based on UDP, as the SNMP GET that the webmaster sends When request number is too many, the udp protocol stack can be processed to come over, and be likely to result in some SNMP GET The loss of request data package, thus need wait Preset Time after, the webmaster just continue to need take turns The network element of inquiry sends the SNMP GET requests of predetermined number successively.Predetermined number is 10 as described, in advance If the time is 20ms.I.e. described webmaster detect start polling tasks instruction when, according to the instruction To needing the network element of poll to send 10 SNMP GET requests successively, 10 SNMP GET are being sent After request, 20ms is waited, it is ensured that after 10 SNMP GET requests are sent, continue 10 SNMP GET requests are sent successively to the network element of poll is needed.
The present embodiment by webmaster successively to need poll network element send predetermined number default request it Afterwards, Preset Time is waited, just continues to send the default request of predetermined number successively to the network element for needing poll, In case causing the loss of packet during the default request data package of transmission, it is ensured that per secondary transmission Request all send, improve the degree of accuracy of network elements monitors method.
Reference picture 3, Fig. 3 is the schematic flow sheet of network elements monitors method second embodiment of the present invention, based on One embodiment proposes network elements monitors method second embodiment of the present invention.
In the present embodiment, after step S10, also include:
Step S40, will be added to overtime queue by the identification information of the network element for being transmitted across the default request In;
Further, after step S30, also include:
Step S50, the overtime queue is removed by the corresponding identification information of normal network element;
Step S60, whether the identification information number for judging network element in the overtime queue is zero;
Step S70, if the identification information number of network element is not zero in the overtime queue, judges whether The default request for sending preset times corresponding to the identification information gives at network element;
After webmaster sends default request to its network element, the network element of the default request will be transmitted across Identification information is added in its overtime queue, and the corresponding identification information of normal network element is removed into the time-out Queue.The webmaster timing detects the identification information number of network element in its overtime queue, judges the time-out Whether the identification information number of network element is zero in queue.I.e. described webmaster is certain at interval by its timer Time period after, detect the identification information number of network element in its overtime queue, such as at interval of 30 seconds detect The once identification information number of the network element inside its overtime queue.If the net in the overtime queue of the webmaster The identification information number of unit is zero, then illustrate do not have the network element for breaking down in this polling tasks, all All it is normal network element.If the webmaster finds the identification information number of the network element in the overtime queue not When being zero, then it represents that the network element in the overtime queue does not have return to respond to the net in time-out time Pipe.Such as when the identification information of the network element in the overtime queue be not moved out of also after a timeout it is super When queue, i.e., described webmaster is not received by the return response of the network element, then it represents that network element time-out. The time-out time be the webmaster send the default request to the response for receiving the network element when Between, if current network is poor, time-out time president a bit, but network transmission is under normal circumstances Quickly, it is sufficient that the general 3 second time.If the identification information of network element in the overtime queue of the webmaster Number is not zero, then further determine whether to be transmitted across the default request of preset times to the overtime team The corresponding network element of row identification information.
Step S80, if the default request for having sent preset times corresponding to the identification information gives at network element, Judge the network element failure, the identification information of the network element is removed into the overtime queue;
Step S90, if the default request for not sending preset times corresponding to the identification information gives at network element, Continue to send the default request to network element corresponding to the identification information.
If the webmaster have sent the default request of preset times to the overtime queue identification information Corresponding network element, then judge the network element failure, and the identification information of the network element is removed into the overtime team Row.If the webmaster does not send the default request of preset times to the overtime queue identification information correspondence Network element, then continue to send the default request to the network element, until reaching preset times.It is described pre- If number of times can be arranged as required to, such as could be arranged to 1 time, 2 times, 3 is inferior, it is preferable that set It is 2 times.Such as when the identification information that there is network element in the overtime queue of webmaster discovery, then determine whether Whether being transmitted across SNMP GET requests twice gives the overtime queue identification information corresponding network element.If It is corresponding to the overtime queue identification information that the webmaster has been transmitted across SNMP GET requests twice Network element, then remove the overtime queue by the identification information of the network element, judges the network element failure.
The present embodiment is by when the identification information number of network element in the overtime queue of webmaster is not zero, carrying out Network element corresponding to the identification information that repeatedly transmit a request in the overtime queue, excludes the request and is passing The situation that defeated process is lost, improves the degree of accuracy of network elements monitors method.
The present invention further provides a kind of network elements monitors device.
Reference picture 4, Fig. 4 is the high-level schematic functional block diagram of network elements monitors device first embodiment of the present invention.
In the present embodiment, the network elements monitors device includes:
First sending module 10, for when the instruction for starting polling tasks is detected, to needing poll Network element sends default request successively, so that the network element returns to response according to the default request;
Webmaster creates different polling tasks according to the type of its network element, and for each polling tasks sets one Individual corresponding polling cycle.When polling cycle then, i.e., described webmaster detect start polling tasks finger When making, start polling tasks, to needing the network element of poll to send default request successively, i.e., described webmaster to After one network element sends default request, response is returned to just according to the default request without when the network element Start to send default request to next network element.The network that the type of the network element can be used according to it come Divide, will be such as put into a table using the network element of 2G networks, one will be put into using the network element of 3G network In individual table, it is put into a table using the network element of 3G network, is that each table sets a kind of polling tasks, Each polling tasks one polling cycle of correspondence, it is also possible to which function, purposes according to the network element etc. are entered Row is divided.Network element scale that the setting of the polling cycle is managed as the webmaster and network-like where it Depending on condition.Polling cycle can be set as one minute as described, i.e., every one minute just to corresponding poll Once, each polling tasks correspond to a timer to task poll, for monitoring whether to reach wheel The time in inquiry cycle.Such as after last polling tasks are gone over one minute, the webmaster is by described fixed When device start polling tasks.The default request includes but is not limited to SNMP GET requests.
As long as the webmaster performs the simple variable that polling tasks inquire about the network element, such as inquire about SysName, the sysName are for table row, variable and the storing process ginseng for storage object name Number.It is type that webmaster inquires about the protocol Data Unit content sent during the network element sysName as described TYPE:0;Request identification information Request ID:Globally unique ID values;Error condition error status: 0;Mistake index error index:0;Variable-Bindings Variable-Bindings:.1.3.6.1.2.1.1.5.0.
First judge module 20, for judging whether to receive the response that network element is returned;
First determination module 30, for when the response is received, according to the identification information of the response Judge that corresponding network element is normal.
The webmaster judges whether to receive response of its network element according to its default request return for sending.When When the network element of webmaster management is normal, the network element when the default request that the webmaster sends is received, Can return and corresponding respond to the webmaster.When the webmaster receives the response that the network element is returned, Identification information according to the response judges that corresponding network element is normal.Such as when the webmaster receives the net The SNMP GET responses that unit returns according to the SNMP GET requests, the then SNMP response The content of protocol Data Unit is TYPE:0;Request ID:Globally unique ID values;error status: Inerrancy noError;error index:0;Variable-Bindings:.1.3.6.1.2.1.1.5.0:sysName. Request identifier Request ID in the SNMP GET responses that the network element is returned send with the webmaster SNMP GET requests in Request ID be the same, the webmaster is exactly according to the Request ID determines that SNMP GET response is which network element is sended over.
The present embodiment passes through webmaster to needing the network element of poll to send default request successively, when network element is received Response is returned to after the default request, the webmaster is received after the response, according to the response Identification information judge that corresponding network element is normal.I.e. webmaster to a network element after request is sent, it is not necessary to etc. Response is returned to it to begin to send request to next network element.Reduce time and the reduction of webmaster poll Expense of the webmaster in polling procedure thread.
Reference picture 5, Fig. 5 is the refinement function mould of an embodiment of the first sending module in the embodiment of the present invention Block schematic diagram.First sending module 10 includes:
First transmitting element 11, for when the instruction for starting polling tasks is detected, according to the instruction Send the default request of predetermined number successively to the network element for needing poll;
Second transmitting element 12, for after Preset Time is waited, continuing to the network element for needing poll successively Send the default request of predetermined number.
When the polling cycle of the network element that webmaster is managed arrives, that is, detect the finger of polling tasks to be started When making, the webmaster according to it is described instruct send the default of predetermined number successively to the network element for needing poll please Ask, after the default request of the predetermined number is sent, wait Preset Time, continue to needs The network element of poll sends the default request of predetermined number.Webmaster is instructed to needing poll according to described as described Network element send the SNMP GET requests of predetermined number successively, as the SNMP GET of the predetermined number After request is sent completely, Preset Time is waited.The webmaster wait Preset Time after, continue to The network element of poll is needed to send the SNMP GET requests of predetermined number successively.The predetermined number and default Time is according to UDP (User Datagram Protocol, User Data Protocol report) protocol stack processing data Ability set because SNMP is based on UDP, as the SNMP GET that the webmaster sends When request number is too many, the udp protocol stack can be processed to come over, and be likely to result in some SNMP GET The loss of request data package, thus need wait Preset Time after, the webmaster just continue to need take turns The network element of inquiry sends the SNMP GET requests of predetermined number successively.Predetermined number is 10 as described, in advance If the time is 20ms.I.e. described webmaster detect start polling tasks instruction when, according to the instruction To needing the network element of poll to send 10 SNMP GET requests successively, 10 SNMP GET are being sent After request, 20ms is waited, it is ensured that after 10 SNMP GET requests are sent, continue 10 SNMP GET requests are sent successively to the network element of poll is needed.
The present embodiment by webmaster successively to need poll network element send predetermined number default request it Afterwards, Preset Time is waited, just continues to send the default request of predetermined number successively to the network element for needing poll, In case causing the loss of packet during the default request data package of transmission, it is ensured that per secondary transmission Request all send, improve the degree of accuracy of network elements monitors method.
Reference picture 6, Fig. 6 is the high-level schematic functional block diagram of network elements monitors device second embodiment of the present invention, base Network elements monitors device second embodiment of the present invention is proposed in first embodiment.
In the present embodiment, the network elements monitors device also includes:
Add module 40 is super for will be added to by the identification information of the network element for being transmitted across the default request When queue in;
Module 50 is removed, for the corresponding identification information of normal network element to be removed into the overtime queue;
Second judge module 60, for judge the overtime queue backing wire unit identification information number whether be Zero;
3rd judge module 70, if being not zero for the identification information number of the overtime queue backing wire unit, Then judge whether that the default request for having sent preset times corresponding to the identification information gives at network element;
After webmaster sends default request to its network element, the network element of the default request will be transmitted across Identification information is added in its overtime queue, and the corresponding identification information of normal network element is removed into the time-out Queue.The webmaster timing detects the identification information number of network element in its overtime queue, judges the time-out Whether the identification information number of network element is zero in queue.I.e. described webmaster is certain at interval by its timer Time period after, detect the identification information number of network element in its overtime queue, such as at interval of 30 seconds detect The once identification information number of the network element inside its overtime queue.If the net in the overtime queue of the webmaster The identification information number of unit is zero, then illustrate do not have the network element for breaking down in this polling tasks, all All it is normal network element.If the webmaster finds the identification information number of the network element in the overtime queue not When being zero, then it represents that the network element in the overtime queue does not have return to respond to the net in time-out time Pipe.Such as when the identification information of the network element in the overtime queue be not moved out of also after a timeout it is super When queue, i.e., described webmaster is not received by the return response of the network element, then it represents that network element time-out. The time-out time be the webmaster send the default request to the response for receiving the network element when Between, if current network is poor, time-out time president a bit, but network transmission is under normal circumstances Quickly, it is sufficient that the general 3 second time.If the identification information of network element in the overtime queue of the webmaster Number is not zero, then further determine whether to be transmitted across the default request of preset times to the overtime team The corresponding network element of row identification information.
Second determination module 80, if for having sent the default request of preset times to the identification information pair The network element answered, then judge the network element failure, and the identification information of the network element is removed into the overtime queue;
Second sending module 90, if for not sending the default request of preset times to the identification information pair The network element answered, then continue to send the default request to network element corresponding to the identification information.
If the webmaster have sent the default request of preset times to the overtime queue identification information Corresponding network element, then judge the network element failure, and the identification information of the network element is removed into the overtime team Row.If the webmaster does not send the default request of preset times to the overtime queue identification information correspondence Network element, then continue to send the default request to the network element, until reaching preset times.It is described pre- If number of times can be arranged as required to, such as could be arranged to 1 time, 2 times, 3 is inferior, it is preferable that set It is 2 times.Such as when the identification information that there is network element in the overtime queue of webmaster discovery, then determine whether Whether being transmitted across SNMP GET requests twice gives the overtime queue identification information corresponding network element.If It is corresponding to the overtime queue identification information that the webmaster has been transmitted across SNMP GET requests twice Network element, then remove the overtime queue by the identification information of the network element, judges the network element failure.
The present embodiment is by when the identification information number of network element in the overtime queue of webmaster is not zero, carrying out Network element corresponding to the identification information that repeatedly transmit a request in the overtime queue, excludes the request and is passing The situation that defeated process is lost, improves the degree of accuracy of network elements monitors method.
Through the above description of the embodiments, those skilled in the art can be understood that above-mentioned Embodiment method can add the mode of required general hardware platform to realize by software, naturally it is also possible to logical Cross hardware, but the former is more preferably implementation method in many cases.It is of the invention based on such understanding The part that technical scheme substantially contributes to prior art in other words can in the form of software product body Reveal and, the computer software product is stored in storage medium (such as ROM/RAM, magnetic disc, a light Disk) in, including some instructions are used to so that a station terminal equipment (can be mobile phone, computer, service Device, air-conditioner, or network equipment etc.) perform method described in each embodiment of the invention.
The preferred embodiments of the present invention are these are only, the scope of the claims of the invention is not thereby limited, it is every The equivalent structure or equivalent flow conversion made using description of the invention and accompanying drawing content, or directly or Connect and be used in other related technical fields, be included within the scope of the present invention.

Claims (10)

1. a kind of network elements monitors method, it is characterised in that the network elements monitors method is comprised the following steps:
When the instruction for starting polling tasks is detected, to needing the network element of poll to send default request successively, So that the network element returns to response according to the default request;
Judge whether to receive the response that network element is returned;
When the response is received, the identification information according to the response judges that corresponding network element is normal.
2. network elements monitors method as claimed in claim 1, it is characterised in that described when detecting beginning During the instruction of polling tasks, to needing the network element of poll to send default request successively, for the network element root After the step of returning to response according to the default request, also including the net of the default request will be transmitted across The identification information of unit is added in overtime queue.
3. network elements monitors method as claimed in claim 2, it is characterised in that described described when receive During response, the identification information according to the response is judged after the normal step of corresponding network element, is also included:
The corresponding identification information of normal network element is removed into the overtime queue;
Whether the identification information number for judging network element in the overtime queue is zero;
If the identification information number of network element is not zero in the overtime queue, judge whether to have sent default The default request of number of times corresponding to the identification information gives at network element;
If the default request for having sent preset times corresponding to the identification information gives at network element, judge described Network element failure, the overtime queue is removed by the identification information of the network element.
4. network elements monitors method as claimed in claim 3, it is characterised in that if the overtime team The identification information number of network element is not zero in row, then judge whether to have sent the default request of preset times to After the step of network element corresponding to the identification information, also include:
If the default request for not sending preset times corresponding to the identification information gives at network element, to the mark The corresponding network element of knowledge information continues to send the default request.
5. the network elements monitors method as described in any one of Claims 1-4, it is characterised in that described to work as When detecting the instruction for starting polling tasks, to needing the network element of poll to send default request successively, for The step of network element returns to response according to the default request includes:
When the instruction for starting polling tasks is detected, instructed to the network element for needing poll successively according to described Send the default request of predetermined number;
After Preset Time is waited, continuing to send the default of predetermined number successively to the network element for needing poll please Ask.
6. a kind of network elements monitors device, it is characterised in that the network elements monitors device includes:
First sending module, for when the instruction for starting polling tasks is detected, to the net for needing poll Unit sends default request successively, so that the network element returns to response according to the default request;
First judge module, for judging whether receiving the response of network element return;
First determination module, for when the response is received, the identification information according to the response to be sentenced Fixed corresponding network element is normal.
7. network elements monitors device as claimed in claim 6, it is characterised in that the network elements monitors device Also include add module, it is super for will be added to by the identification information of the network element for being transmitted across the default request When queue in.
8. network elements monitors device as claimed in claim 7, it is characterised in that the network elements monitors device Also include:
Module is removed, for the corresponding identification information of normal network element to be removed into the overtime queue;
Second judge module, whether the identification information number for judging network element in the overtime queue is zero;
3rd judge module, if being not zero for the identification information number of network element in the overtime queue, Judge whether that the default request for having sent preset times corresponding to the identification information gives at network element;
Second determination module, if identification information correspondence is given in the default request for having sent preset times Network element, then judge the network element failure, the identification information of the network element is removed into the overtime queue.
9. network elements monitors device as claimed in claim 8, it is characterised in that the network elements monitors device Also include the second sending module, if for not sending the default request of preset times to the identification information pair The network element answered, then continue to send the default request to network element corresponding to the identification information.
10. the network elements monitors method as described in any one of claim 6 to 9, it is characterised in that described First sending module includes:
First transmitting element, for when detect start polling tasks instruction when, according to it is described instruct to The network element of poll is needed to send the default request of predetermined number successively;
Second transmitting element, for after Preset Time is waited, continuing to needing the network element of poll to send out successively Send the default request of predetermined number.
CN201510420193.0A 2015-07-16 2015-07-16 Network element monitoring method and device Withdrawn CN106712979A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510420193.0A CN106712979A (en) 2015-07-16 2015-07-16 Network element monitoring method and device
PCT/CN2016/076754 WO2016177144A1 (en) 2015-07-16 2016-03-18 Network element monitoring method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510420193.0A CN106712979A (en) 2015-07-16 2015-07-16 Network element monitoring method and device

Publications (1)

Publication Number Publication Date
CN106712979A true CN106712979A (en) 2017-05-24

Family

ID=57217502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510420193.0A Withdrawn CN106712979A (en) 2015-07-16 2015-07-16 Network element monitoring method and device

Country Status (2)

Country Link
CN (1) CN106712979A (en)
WO (1) WO2016177144A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109634252A (en) * 2018-11-06 2019-04-16 华为技术有限公司 A kind of method, apparatus because of diagnosis
CN110505286A (en) * 2019-08-01 2019-11-26 京信通信系统(中国)有限公司 The monitoring method of equipment on-line, apparatus and system
CN111200833A (en) * 2018-11-19 2020-05-26 大唐移动通信设备有限公司 Method and device for determining network element state
CN112433872A (en) * 2020-10-23 2021-03-02 深圳点猫科技有限公司 Interface request timeout reminding method, system and storage medium
CN113453371A (en) * 2021-08-31 2021-09-28 蘑菇物联技术(深圳)有限公司 Method, base station, and computer storage medium for wireless communication

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116431558B (en) * 2023-06-12 2023-09-29 太初(无锡)电子科技有限公司 AXI protocol-based request response method, device, system and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859183A (en) * 2005-12-30 2006-11-08 华为技术有限公司 Method and device for realizing equipment state polling
CN102082689A (en) * 2011-01-10 2011-06-01 武汉烽火网络有限责任公司 Method for generating equipment alarm information by adopting asynchronous poling mode

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060064730A1 (en) * 2004-09-17 2006-03-23 Jacob Rael Configurable entertainment network
CN104408068A (en) * 2014-10-29 2015-03-11 中国建设银行股份有限公司 Report form data processing method and related equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859183A (en) * 2005-12-30 2006-11-08 华为技术有限公司 Method and device for realizing equipment state polling
CN102082689A (en) * 2011-01-10 2011-06-01 武汉烽火网络有限责任公司 Method for generating equipment alarm information by adopting asynchronous poling mode

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109634252A (en) * 2018-11-06 2019-04-16 华为技术有限公司 A kind of method, apparatus because of diagnosis
CN109634252B (en) * 2018-11-06 2020-06-26 华为技术有限公司 Root cause diagnosis method and device
CN111200833A (en) * 2018-11-19 2020-05-26 大唐移动通信设备有限公司 Method and device for determining network element state
CN111200833B (en) * 2018-11-19 2021-11-30 大唐移动通信设备有限公司 Method and device for determining network element state
CN110505286A (en) * 2019-08-01 2019-11-26 京信通信系统(中国)有限公司 The monitoring method of equipment on-line, apparatus and system
CN110505286B (en) * 2019-08-01 2022-05-06 京信网络系统股份有限公司 Equipment on-line monitoring method, device and system
CN112433872A (en) * 2020-10-23 2021-03-02 深圳点猫科技有限公司 Interface request timeout reminding method, system and storage medium
CN113453371A (en) * 2021-08-31 2021-09-28 蘑菇物联技术(深圳)有限公司 Method, base station, and computer storage medium for wireless communication
CN113453371B (en) * 2021-08-31 2021-12-03 蘑菇物联技术(深圳)有限公司 Method, base station, and computer storage medium for wireless communication

Also Published As

Publication number Publication date
WO2016177144A1 (en) 2016-11-10

Similar Documents

Publication Publication Date Title
CN106712979A (en) Network element monitoring method and device
CN104412640B (en) High layer compression is carried out using low layer signaling
US11071092B2 (en) Response message transmission method and apparatus
CN107872396B (en) Communication method with timeout control, processing device, terminal device and server
EP3021520B1 (en) Method and apparatus for delimiting problem
CN102326366A (en) Method and device for handling of connections between a client and a server via a communication network
EP2892274B1 (en) Fault recovery method of operation and maintenance channel and network management terminal
CN114338650A (en) File transmission method and device, electronic equipment and readable storage medium
CN101018162A (en) Simulated testing system and method of the business processing network element
CN109150659B (en) Processor and BFD message transmission method
CN110311938A (en) Request processing method, device, gateway and system based on redis
EP4154497A1 (en) Improving classification accuracy in user plane function re-selection scenarios
CN101742513B (en) Counter check processing method, system and equipment
CN101702712A (en) Detection technology and voice call backup linkage method and device thereof
CN105681122A (en) Method and system for telecommunication device monitoring
US7715875B2 (en) Base station controller for radio communication network and method of collecting alarm information thereof
CN111884938A (en) Router information acquisition method and device
CN107517493A (en) Connection method, device and the terminal of radio resource control RRC
CN107819599A (en) Message processing method and device
EP2988476B1 (en) Method and apparatus for processing operation on endpoint peripheral
US20150222591A1 (en) Method, Device, and System for Acquiring Internet Protocol Address
EP3065445A1 (en) Method, cse, and system for transmitting m2m application request
CN102487341A (en) Session detection method and apparatus thereof, and session initiation protocol (SIP) server
CN103957079A (en) Negotiation method and equipment in HDLC network
CN101741605A (en) Method, apparatus and system for processing message

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20170524

WW01 Invention patent application withdrawn after publication