CN101582800A - Network element connectivity detection device and method in network management system - Google Patents

Network element connectivity detection device and method in network management system Download PDF

Info

Publication number
CN101582800A
CN101582800A CNA200910105823XA CN200910105823A CN101582800A CN 101582800 A CN101582800 A CN 101582800A CN A200910105823X A CNA200910105823X A CN A200910105823XA CN 200910105823 A CN200910105823 A CN 200910105823A CN 101582800 A CN101582800 A CN 101582800A
Authority
CN
China
Prior art keywords
telnet
network element
connectivity
management system
telnet connection
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
CNA200910105823XA
Other languages
Chinese (zh)
Other versions
CN101582800B (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.)
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 CN200910105823XA priority Critical patent/CN101582800B/en
Publication of CN101582800A publication Critical patent/CN101582800A/en
Application granted granted Critical
Publication of CN101582800B publication Critical patent/CN101582800B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a network element connectivity detection device and a method in a network management system. The device comprises a client and a server, and the server comprises a requesting device, a Telnet connection pool adapter, a performance detector and a command issuing device. The method is as follows: the Telnet connection pool adapter obtains a list of network elements for carrying out the performance detection round robin on each network element; the Telnet connection pool adapter obtains Telnet connection and login parameters for bringing into a Telnet connection pool after successful login of the network elements; and the performance detector carries out the performance detection by using the command issuing device for sending a connectivity detection instruction for the Telnet connection, records connectivity detection data of all the network elements and sends a detection result to a requesting party. The requesting party is the requesting device of the client or the server. The requesting party can determine whether to utilize the Telnet connection for issuing a CLI command or not according to the detection result. The invention not only save the Telnet connection resources, but also can determine whether to send the CLI command or not according to the detection result.

Description

Network element connectivity checkout gear and method in a kind of network management system
Technical field
The invention belongs to field of network management, be specifically related to a kind of apparatus and method of in network management system, network element being carried out the connectivity detection.
Background technology
Network management system generally all has service end and client, just usually said C/S (Client/Server, client/service end) pattern, service end directly and equipment carry out alternately, to equipment be provided with and slave unit on image data, and the data that client collects service end are presented to the webmaster personnel, perhaps send application request by client to service end.
Network management service has multiple to the management means of the network equipment, at present the more of usefulness is SNMP (Simple Network Management Protocol) and Telnet (Telnet) agreement, wherein SNMP is the agreement that designs for webmaster specially, therefore it is used widely in webmaster, but SNMP also can't realize all webmaster demands at present, needs to use the Telnet agreement under many circumstances.Telnet is with TCP (Transfer Control Protocol, transmission control protocol) be connected to the basis, at first to connect, login again after the successful connection, just can issue CLI (Command Line Interface after logining successfully to equipment, command line interface) order is obtained by the configuration and the information that issue CLI order carrying out equipment.With SNMP Comparatively speaking, the Telnet mode needs and connects and the process of login, Telnet connects and the login success or not is the prerequisite that can the CLI order issue success.And the Telnet connectivity is meant the performance that Telnet connects and login is successful, as situations such as speed, stability, it is the principal element that can the CLI order fast issue, simultaneously, the Telnet connectivity of equipment has also reflected the combination property of equipment from another side, be one of the equipment performance that need understand of webmaster personnel.
At present, have only the detection of net element connection state, and do not have the network element connectivity to detect, so just only know whether each network element connects or disconnect, and do not know its connectivity.
Summary of the invention
At above-mentioned shortcoming, the object of the present invention is to provide network element connectivity checkout gear and method in a kind of network management system, solve effectively and only know in the prior art whether each network element connects or disconnect, and do not know the problem of its connectivity.The present invention is under the less situation that takies network management system, network and device resource, can detect the Telnet connectivity of network element in real time, also safeguarded simultaneously Telnet connection pool (the Telnet connection pool is the aggregate that Telnet connects), made the CLI order can utilize Telnet to connect better and issue.
For achieving the above object, the present invention is achieved by the following technical solutions:
Network element connectivity checkout gear comprises client and service end in a kind of network management system, and described service end comprises request unit; Described service end comprises that also Telnet connection pool adapter, property detector and order issue device, and is described:
Telnet connection pool adapter has automatic repair function and keeps function with being connected, and is used for the Telnet parameter of collecting net guard system network element, Telnet in the network management system is connected carry out repeating query and state-maintenance; And be used to receive the request of request unit and feed back the connectivity testing result to request unit, request unit is to client feedback connectivity testing result;
Property detector issues device by described Telnet connection and order and issues connectivity detection instruction to described network element, and receives the connectivity testing result that network element returns;
Order issues device, is used to issue the connectivity detection instruction of property detector and requesting party's CLI order.
Described request side is a client, or the request unit of service end.
Network element connectivity detection method comprises the steps: in a kind of network management system
Steps A .Telnet connection pool adapter is obtained the network element tabulation, and Preset Time carries out the Performance Detection repeating query to each network element;
Step B.Telnet connection pool adapter obtains that Telnet connects and login parameters, includes in the Telnet connection pool after successfully logining network element;
Step C. property detector issues device by order Performance Detection is carried out in Telnet connection transmission connectivity detection instruction, notes each network element connectivity and detects data, and send testing result to the requesting party.
Said method also comprises step D: whether decision utilizes this Telnet connection carrying out CLI order to issue to the requesting party according to testing result.
After Telnet connection pool adapter is obtained network element tabulation in the described steps A, be divided into N network element group according to the sum of network element, N 〉=1, Preset Time carries out the Performance Detection repeating query to each network element group.
Telnet connection pool adapter is to obtain Telnet with connection identifier in the Telnet connection pool to connect among the described step B, obtains the license that conducts interviews after Telnet connects and identifies, identify by after enter step C.
Among the described step C, if detect failure, then Telnet connection pool adapter is designated as off-state with the state that this Telnet connects, and logins again, if not overtime and login successfully, then issue connectivity and detects and instruct detection again; Otherwise the Telnet property detector will this Telnet connection be designated as off-state, waits for repeating query next time; If detects successfully, then the state with this Telnet connection is designated as connected state, and other Telnet connection of repeating query, finishes until repeating query.
Among the described step C,, judge then whether this Telnet connects idle, connect busy then wait for if be in, until connecting the idle Performance Detection of just carrying out if the state that Telnet connects is a connected state.
Among the described step C, connectivity detects instruction and can set according to dissimilar network elements.
The requesting party can be a client among the described step C, also can be the request unit of service end.
Said method, Telnet connection pool adapter sends testing result (detecting data as connectivity) to client, and client can (for example be used figure) by rights and present connectivity.
The present invention has following beneficial effect compared with prior art: the Telnet connection pool that utilization of the present invention issues the CLI order carries out the detection of Telnet switching performance, has saved the Telnet connection resource of equipment on the one hand; Also safeguarded the Telnet connection pool on the other hand, the state that each Telnet in the Telnet connection pool connects can both have been noted in real time relatively with performance, done reference when CLI orders for sending; In addition, connectivity can also be detected data and present in some way, be convenient to the ruuning situation that the webmaster personnel comprehensively understand network element device.
Description of drawings
Fig. 1 is the schematic diagram of network element connectivity checkout gear in the network management system of the present invention;
Fig. 2 is a connectivity detected state transition diagram of the present invention;
Fig. 3 is that connectivity of the present invention detects sequence chart;
Fig. 4 is that connectivity of the present invention detects and order issues device and client interaction diagrams.
Embodiment
In order to understand the present invention better, the present invention is done to describe further below in conjunction with the drawings and specific embodiments.
Being applied in the ZXNM01 of the ZTE Corporation network management system with the present invention is example, is used for that the network equipment (being network element) that support Telnet such as switch and router are connected is carried out connectivity and detects.
See also Fig. 1, the detection of network element connectivity is based on the Telnet connection pool, each network element is kept a Telnet and is connected, consider in the webmaster hugely, adopt a thread to carry out repeating query and may will not handle, therefore Telnet is connected and divide into groups by the quantity of managed network element, be divided into (the grouping of the individual sub-connection pool of N (N 〉=1), be the network element group), each grouping is responsible for repeating query by a thread, by the unified management of Telnet connection pool adapter.
When Telnet connection pool adapter starts, it can collect all by the Telnet parameter of managed network element from network management system, and carry out Telnet one by one and login, login result is carried out record, include in the sub-connection pool of thread management, all saturated as the fruit connection pool, then set up sub-connection pool again, the Telnet connection of newly creating is put into wherein, so just finished the initialization of Telnet connection pool.
The Telnet connection pool can be divided into the individual sub-connection pool of N (N 〉=1), each sub-connection pool is all safeguarded by a thread, thread can preset the time, the sub-connection pool that it is safeguarded carries out repeating query at set intervals, Telnet connection carrying out state-maintenance in the antithetical phrase connection pool, repeating query each time all may be the process of Telnet connection status conversion.When equipment is in the state of disconnection, carrying out Telnet connection request often will spend the long stand-by period (this is because the process that IP network TCP connects is comparatively complicated, the process of experience three-way handshake), will certainly influence the progress that switching performance detects if there are a lot of equipment all to be in off-state, therefore reasonably connection is overtime can to set one on Telnet connection pool adapter, and the overtime foundation that whether disconnects that connects as judgement to set.As shown in Figure 2,, then need to connect, feed back to property detector if connect overtime then will " connect and disconnect " (being off-state) when detecting the situation that Telnet is connected to disconnection; If successful connection is just logined, login " logining " state (being connected state) that successfully then this connection is changed to, further judge this moment and whether connect occupied (promptly whether idle), connect busy condition then wait for if be in, until the detection thread that connects idle ability wake-up waiting, and utilize property detector to carry out Performance Detection.
Telnet connection pool adapter manages the Telnet connection pool, and comprising increases network element and increase that Telnet connects and deletion network element and remove corresponding Telnet and connect, and carries out the distribution and the recovery of resource, and it is the inlet that connectivity detects.As shown in Figure 3, Telnet connection pool adapter obtains connection with connection identifier in the Telnet connection pool, the license that conducts interviews is then identified, just enable property detector to the Telnet of network element connection transmission connectivity detection instruction if can visit, connectivity detects instruction and can set according to dissimilar network elements, it also can be a simple public instruction, therefrom obtain the connectivity data, the time spent that instruction is simultaneously carried out also can be used as a part of connectivity data.To Telnet connection pool adapter feedback connectivity data, Telnet connection pool adapter then sends the connectivity data to the requesting party to final property detector by asynchronous system, and the requesting party can be a client, also can be the request unit of service end.
The data that connectivity detects generally offer the performance that the webmaster personnel check equipment, promptly show connectivity in some way in client; Can also be as whether ordering the index that issues by this Telnet connection carrying out CLI.As shown in Figure 4, property detector provides performance video data (as presenting with figure) by the data published method to client, circulate a notice of order by the state notifying mode and issue device, when being connected to off-state, then notification command issues the unavailable corresponding connection of device and carries out order and issue, further provide performance data whether to reach the transmitting order to lower levels requirement when being connected to login during success status, and if reached requirement notification command issue device can be with corresponding connection transmitting order to lower levels, otherwise also unavailable.
The above only is preferred embodiment of the present invention;, not should be pointed out that for the person of ordinary skill of the art in order to restriction the present invention; any modification of being done within every the spirit and principles in the present invention, be equal to and replace or improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. network element connectivity checkout gear in the network management system comprises client and service end, and described service end comprises request unit; It is characterized in that described service end comprises that also Telnet connection pool adapter, property detector and order issue device, and is described:
Telnet connection pool adapter has automatic repair function and keeps function with being connected, and is used for the Telnet parameter of collecting net guard system network element, Telnet in the network management system is connected carry out repeating query and state-maintenance; And be used to receive the request of request unit and feed back the connectivity testing result to request unit, request unit is to client feedback connectivity testing result;
Property detector issues device by described Telnet connection and order and issues connectivity detection instruction to described network element, and receives the connectivity testing result that network element returns;
Order issues device, is used to issue the connectivity detection instruction of property detector and requesting party's CLI order.
2. network element connectivity checkout gear is characterized in that in the network management system according to claim 1, and described request side is a client, or the request unit of service end.
3. network element connectivity detection method in the network management system is characterized in that, comprises the steps:
Steps A .Telnet connection pool adapter is obtained the network element tabulation, and Preset Time carries out the Performance Detection repeating query to each network element;
Step B.Telnet connection pool adapter obtains that Telnet connects and login parameters, includes in the Telnet connection pool after successfully logining network element;
Step C. property detector issues device by order Performance Detection is carried out in Telnet connection transmission connectivity detection instruction, notes each network element connectivity and detects data, and send testing result to the requesting party.
4. network element connectivity detection method is characterized in that in the network management system according to claim 3, also comprises step D: whether decision utilizes this Telnet connection carrying out CLI order to issue to the requesting party according to testing result.
5. network element connectivity detection method in the network management system according to claim 3, it is characterized in that, after Telnet connection pool adapter is obtained the network element tabulation in the described steps A, sum according to network element is divided into N network element group, N 〉=1, Preset Time carries out the Performance Detection repeating query to each network element group.
6. network element connectivity detection method in the network management system according to claim 3, it is characterized in that, Telnet connection pool adapter is to obtain Telnet with connection identifier in the Telnet connection pool to connect among the described step B, obtain the license that conducts interviews after Telnet connects and identify, identify by after enter step C.
7. according to network element connectivity detection method in each described network management system of claim 3~6, it is characterized in that, among the described step C, if detect failure, then Telnet connection pool adapter is designated as off-state with the state that this Telnet connects, and login again, if not overtime and login successfully, then issue connectivity and detect and instruct detection again; Otherwise the Telnet property detector will this Telnet connection be designated as off-state, waits for repeating query next time; If detects successfully, then the state with this Telnet connection is designated as connected state, and other Telnet connection of repeating query, finishes until repeating query.
8. network element connectivity detection method in the network management system according to claim 7, it is characterized in that, among the described step C, if the state that Telnet connects is a connected state, judge then whether this Telnet connects idle, connect busy then wait for if be in, until connecting the idle Performance Detection of just carrying out.
9. network element connectivity detection method is characterized in that in the network management system according to claim 8, and among the described step C, connectivity detects instruction and can set according to dissimilar network elements.
10. network element connectivity detection method is characterized in that in the network management system according to claim 9, and the requesting party is a client among the described step C, or the request unit of service end.
CN200910105823XA 2009-02-24 2009-02-24 Network element connectivity detection device and method in network management system Active CN101582800B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910105823XA CN101582800B (en) 2009-02-24 2009-02-24 Network element connectivity detection device and method in network management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910105823XA CN101582800B (en) 2009-02-24 2009-02-24 Network element connectivity detection device and method in network management system

Publications (2)

Publication Number Publication Date
CN101582800A true CN101582800A (en) 2009-11-18
CN101582800B CN101582800B (en) 2012-02-08

Family

ID=41364775

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910105823XA Active CN101582800B (en) 2009-02-24 2009-02-24 Network element connectivity detection device and method in network management system

Country Status (1)

Country Link
CN (1) CN101582800B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101982949A (en) * 2010-11-04 2011-03-02 杭州东信北邮信息技术有限公司 Detection system of intelligent network equipment and method
CN102523531A (en) * 2011-12-08 2012-06-27 深圳市同洲视讯传媒有限公司 Access entity which processes session in video on demand system and method thereof
CN103888297A (en) * 2014-03-21 2014-06-25 醴陵恒茂电子科技有限公司 Interchanger network management method and system
CN104769888A (en) * 2012-10-09 2015-07-08 适应性频谱和信号校正股份有限公司 Method and system for connectivity diagnostics in communication systems
CN105323088A (en) * 2014-07-16 2016-02-10 中兴通讯股份有限公司 Springboard processing method and springboard processing device
CN105530321A (en) * 2016-02-15 2016-04-27 上海斐讯数据通信技术有限公司 Method, client, server and system for accessing equipment by browser client
CN110231913A (en) * 2018-03-05 2019-09-13 中兴通讯股份有限公司 Data processing method, device and equipment, computer readable storage medium
CN110661671A (en) * 2018-06-28 2020-01-07 中兴通讯股份有限公司 Service detection method, device and equipment and storage medium
CN112532403A (en) * 2019-09-17 2021-03-19 中盈优创资讯科技有限公司 Network element adaptive drive service device, network element adaptive method and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1301606C (en) * 2001-10-30 2007-02-21 中兴通讯股份有限公司 Method of managing transmission network via terminal
CN1917442A (en) * 2005-08-19 2007-02-21 中国长城计算机深圳股份有限公司 Concentrating type method for managing networked devices based on embedded type TELNET server
CN100496055C (en) * 2006-05-09 2009-06-03 杭州华三通信技术有限公司 Branch service communication access method and system and a network apparatus

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101982949A (en) * 2010-11-04 2011-03-02 杭州东信北邮信息技术有限公司 Detection system of intelligent network equipment and method
CN102523531A (en) * 2011-12-08 2012-06-27 深圳市同洲视讯传媒有限公司 Access entity which processes session in video on demand system and method thereof
CN104769888A (en) * 2012-10-09 2015-07-08 适应性频谱和信号校正股份有限公司 Method and system for connectivity diagnostics in communication systems
CN104769888B (en) * 2012-10-09 2018-04-10 适应性频谱和信号校正股份有限公司 It is used for the method and system of connective diagnosis in communication system
CN103888297A (en) * 2014-03-21 2014-06-25 醴陵恒茂电子科技有限公司 Interchanger network management method and system
CN105323088A (en) * 2014-07-16 2016-02-10 中兴通讯股份有限公司 Springboard processing method and springboard processing device
CN105530321A (en) * 2016-02-15 2016-04-27 上海斐讯数据通信技术有限公司 Method, client, server and system for accessing equipment by browser client
CN105530321B (en) * 2016-02-15 2019-08-16 上海斐讯数据通信技术有限公司 Method, client, server and system for accessing equipment by browser client
CN110231913A (en) * 2018-03-05 2019-09-13 中兴通讯股份有限公司 Data processing method, device and equipment, computer readable storage medium
CN110661671A (en) * 2018-06-28 2020-01-07 中兴通讯股份有限公司 Service detection method, device and equipment and storage medium
CN112532403A (en) * 2019-09-17 2021-03-19 中盈优创资讯科技有限公司 Network element adaptive drive service device, network element adaptive method and system
CN112532403B (en) * 2019-09-17 2023-08-08 中盈优创资讯科技有限公司 Network element adaptation driving service device, network element adaptation method and system

Also Published As

Publication number Publication date
CN101582800B (en) 2012-02-08

Similar Documents

Publication Publication Date Title
CN101582800B (en) Network element connectivity detection device and method in network management system
CN100471128C (en) Method and device for realizing equipment state polling
EP2645636B1 (en) Home gateway, cloud server, and method for communication therebetween
CN101282237B (en) Synthetic network management system based on SNMP
CN110086652B (en) Management system and method for service network element in 5G core network
CN103974140B (en) Management method and management system of TR069 protocol based large-scale interactive TV terminal
CN107547589A (en) A kind of data acquisition treatment method and device
CN101662383B (en) Method and equipment for configuring maintenance end points
EP3101872B1 (en) Load balancing server for forwarding prioritized traffic from and to one or more prioritized auto-configuration servers
CN101355580A (en) Network video monitoring system with P2P mode and forwarding mode
CN103795554A (en) Terminal state managing method, device and system
WO2012097568A1 (en) Method, system and optical line terminal for acquiring fault information of optical network unit
CN100505641C (en) Method and device for quickly fault detection from point-to-point
CN103795575A (en) Multi-data-centre-oriented system monitoring method
CN103957138B (en) A kind of method for monitoring network, device and its system
CN106533729A (en) Northbound interface management method and system
KR100285952B1 (en) Operation administration and maintenance terminal for adsl transmission system
CN101677278A (en) Method and system for monitoring availability of network information system
CN105357060B (en) A kind of methods, devices and systems obtaining network equipment performance data
JP3293719B2 (en) Network management system
CN101272278A (en) System and method for distributing command line interface command in network management system
CN107659636A (en) Thermal data transmission method and Internet of things system based on compound Internet of Things
CN107809457A (en) Water data transmission method and Internet of things system based on compound Internet of Things
CN1794717A (en) Automatic linking system and method for customer end and server
CN101924655A (en) Method and device for supporting login of multi-serial port terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant