CN1917442A - Concentrating type method for managing networked devices based on embedded type TELNET server - Google Patents

Concentrating type method for managing networked devices based on embedded type TELNET server Download PDF

Info

Publication number
CN1917442A
CN1917442A CNA2005100931023A CN200510093102A CN1917442A CN 1917442 A CN1917442 A CN 1917442A CN A2005100931023 A CNA2005100931023 A CN A2005100931023A CN 200510093102 A CN200510093102 A CN 200510093102A CN 1917442 A CN1917442 A CN 1917442A
Authority
CN
China
Prior art keywords
slave
address
agent equipment
management
equipment
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.)
Pending
Application number
CNA2005100931023A
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.)
China Great Wall Computer Shenzhen Co Ltd
Original Assignee
China Great Wall Computer Shenzhen 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 China Great Wall Computer Shenzhen Co Ltd filed Critical China Great Wall Computer Shenzhen Co Ltd
Priority to CNA2005100931023A priority Critical patent/CN1917442A/en
Publication of CN1917442A publication Critical patent/CN1917442A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The method features the following points: connecting an agent device in series between the terminal and the slave device embedded-in a TELNET server; the agent device has serial-port management function or TELNET management function and a forwarding module for data forwarding; public IP address and internal IP address are allocated to the agent device, and for the slave device only a internal IP address located in same network segmentation with the internal IP address of the agent device is allocated. The method thereof comprises: building a connection between the terminal and the agent device, which can use the serial port or TELNET to make remote connection; after the terminal sends a request for managing the slave device, the TELNET connection will be built between the agent device and the slave device.

Description

Integrated type network equipment management method based on embedded TELNET server
Technical field
The present invention relates to a kind of network device management method, refer to a kind of method of medium or small scale network equipment being carried out cluster management based on embedded TELNET server especially.
Background technology
In order to guarantee normally running in an orderly manner of network, need the equipment in the network be managed.At present, network management has two kinds of implementation methods: a kind ofly be based on special-purpose management software and realize, current more famous have HP OpenView webmastering software, CA Unicenter webmastering software and IBM Tivoli webmastering software; A kind of embedded management system that is based in the network equipment realizes, the embedded management system of some intelligent network device internal can provide some basic management functions such as local serial interface management, TELNET telemanagement etc., along with the popular of WEB technology and development, the increasing network equipment also begins to possess the WEB management function.Above-mentioned two kinds of network managements all exist in actual applications, and complement one another.
With existing network management technology whole network is managed and to mainly contain dual mode: a kind of is distributed management, distributed management is on one's body the multiple devices and a plurality of administrative staff that management role are distributed to a plurality of sites, reach the purpose of the whole network of management, this mode is mainly used in the management of catenet; A kind of is centralized management, and mode is end to end then adopted in centralized management, and equipment is directly managed.For the network of middle and small scale, centralized management more has superiority.Only a network management center need be set, management, the management of the network equipment and the management of network application of being responsible for the host computer system of the whole network get final product.Be distributed in the network equipment of various places if fault all unifies to transfer to the keeper of network management center processing.The advantage of centralized management is unified management, has strengthened the fail safe and the ease of manageability of network management system.But, along with the sharp increase of the network equipment, the shortage of IP address, in order to adapt to the centralized management pattern, simultaneously in order to solve the problem of IP scarcity of resources, the cluster management technology is arisen at the historic moment.
The first generation stack switch that began to occur in 1996 can allow the network manager just can manage many switches as a logical groups by a control desk, and solve the scalability issues of system.Certainly, first generation stack switch also has some shortcomings, at first is just very limited for the management of many switches that are connected in a distribution cabinet; Secondly, in order to obtain to pile up the benefit of management, the user must upgrade to existing switch, because the stack switch needs special-purpose port and cable; At last, most of stack switches, wieldy management interface general because of lacking is eliminated.
In order to enlarge network management capabilities to exchange piling, some companies new cluster management system that released one after another.Hammer View Element management system is the network management system of a cover of Beijing Harbour Networks Ltd. exploitation based on software engineering.Element management system generally provides by the former manufacturer of equipment, realizes fault management, configuration management and performance management to the network equipment, wherein can use the proprietary MIB storehouse of producer, product such as Cisco Works, Hammer View etc.In actual applications, Hammer View Element management system must and be supported the network management system of SNMP, and support the Hammer series of switch of the switch cluster agreement H.Link of its independent research to cooperate, and just can finish cluster management to whole network, limitation is bigger.
Cisco cluster management external member (CMS) also is a kind of cluster management technology, and it is realized based on flush type WEB server.CMS is the software based on WEB that is embedded in some switch of specifying model.By cisco switch cluster management technology, user capture CMS can utilize standard web browser and single IP address, manages the switch of the appointment model of maximum 16 interconnection simultaneously, and no matter these switches are geographical and locational relation how.CMS can realize the management of equipment room one-to-many, and host exchange can send the automatic configuration that equipment is carried out in single order to member switch, but all member devices of whole system all must possess CMS, and its compatibility is restricted.
Summary of the invention
In view of the foregoing, in order to make full use of the TELNET server that existing general webmaster type switch all has, the purpose of this invention is to provide a kind of integrated type network equipment management method based on embedded TELNET server.
To achieve these goals, the present invention is by the following technical solutions: a kind of integrated type network equipment management method based on embedded TELNET server is characterized in that: it is in terminal and is embedded with agent equipment of series connection between the slave of TELNET server; This agent equipment possesses serial interface management or TELNET management function, and the forwarding module that can finish data forwarding, this agent equipment is assigned public network IP address and implicit IP address, and slave only is assigned the implicit IP address that is positioned at the same network segment with the agent equipment implicit IP address.
Described integrated type network equipment management method is as follows:
At first, connect between terminal and agent equipment, this connection can be used serial ports to connect or use TELNET to carry out long-range connection equally; Send the request of management slave when terminal after, the TELNET that sets up again from the agent equipment to the slave connects; Afterwards, agent equipment only is responsible for the instruction of receiving terminal and is sent to slave, and what receive slave simultaneously replys and be transmitted to terminal.
Description of drawings
Fig. 1 is a system configuration schematic diagram of the present invention
Fig. 2 is a program flow diagram of the present invention
Embodiment
In order to realize the cluster management of the network equipment, as shown in Figure 1, need and be embedded with a series connection agent equipment A (Agent) between the slave S (Slave) of TELNET server at terminal T (Terminal).This agent equipment A possesses serial interface management or TELNET management function, and the forwarding module that can finish data forwarding.In order to save the IP resource, agent equipment A is assigned public network IP address and implicit IP address, and slave S only is assigned the implicit IP address that is positioned at the same network segment with agent equipment A implicit IP address.
Suppose that we will manage another slave S by agent equipment A on terminal T, the T-A that at first will between T and A, connect (this connection can be that serial ports connects or the long-range connection of TELNET); Send the request of management S as T after, the TELNET that sets up again from A to S connects; Afterwards, A is responsible for receiving the instruction of T and sends to S, and what receive S simultaneously replys and be transmitted to T.
Need to prove:
1) request of considering this cluster management must not take place, so only increase a forwarding module in agent equipment A, the command triggers of the management slave S that this forwarding module is sent by terminal; Rather than it is made a forwarding server, accept the request of transmitting passively.
2) because the TELNET connection is the TCP connection, so agent equipment A is to the management of slave S, can only be man-to-man in synchronization, that is to say that the user can only occur in after management to current this equipment finishes the management of next device, like this, our cluster management only need be closed when equipment switches and being connected of S1, and sets up then and being connected of S2, and its flow process is the same.
3) in the forwarding module to the data forwarding between terminal T, agent equipment A and the slave S, realize in application layer, only the function that needs using system to provide reads and sends data, and needn't carry out any parsing and operation to other content of message, implements very simple.
For better cluster management function is provided, we have carried out following transformation to the TELNET server on the slave S: for the client that connects to its request, if its IP address is consistent with the IP address (slave can obtain the IP address information of the authorized agency's equipment of oneself by the Topology Discovery agreement) of the agent equipment of this slave unit, then think this connection request from its agent equipment, then need not authentication and direct access arrangement management process; Can the access arrangement management process after the necessary process authentication success under other situations.
The specific implementation of cluster management is as shown in Figure 2:
1) resolve user command, confirm that the user will manage slave S by agent equipment A? if not, carry out flow process to the management of this machine; If then down carry out;
2) obtain the implicit IP address of the slave S that is managed;
3) forwarding module on the startup agent equipment A; Setting up TCP with slave S is connected;
A) judge tentatively whether network can reach: basis for estimation is whether the implicit IP address of the IP address of slave S and agent equipment A is in the same network segment; Be, then carry out next step, not, it is unreachable then to be defined as network, and management slave S failure finishes;
B) a newly-built socket on agent equipment A is used for communicating with slave S;
C) network address of socket and agent equipment A is bound: use the implicit IP address of A, port numbers is selected an idle port arbitrarily;
D) network parameter (the IP address of S, and the specified protocol port 23 of TELNET server) of slave S is set, checks whether this address can be then to send connection request, otherwise withdraw from by telnet;
4) use serverfd and the clientfd filec descriptor as transfer of data, monitoring agent equipment A goes up between simultaneous agent equipment A and the terminal T, and the connection status between agent equipment A and the slave S;
5) when clientfd or serverfd filec descriptor are readable, then stop monitoring, down carry out; Otherwise, execution in step 7);
6) if clientfd is readable, then from clientfd, read total data, be placed in the buffering area, send to terminal equipment T by serverfd then, re-execute step 4); If overtime in the process of reading of data from clientfd, then execution in step 7);
If serverfd is readable, then from serverfd, read total data, be placed in the buffering area, send to slave S by clientfd then, re-execute step 4); If overtime in the process of reading of data from serverfd, then execution in step 7);
7) finish to transmit.
In transmitting the process of data, when taking place, following situation finishes to transmit:
1) wait timeout
In the process of transmitting data, overtime judgement is set simultaneously, at the appointed time interior if two connections all do not have data readable, then disconnect A-S and connect, finish to transmit.
2) A-S connects passive disconnection
When receiving A-S when connecting the signal disconnected, transmit and finish.
3) A-S connects initiatively disconnection
A shortcut is set, allows client to stop management at any time, when receiving this kind information that client sends, transmit and finish slave.
In addition, what need explanation a bit is, for a slave, whether can be simultaneously by many agent equipment management, can be managed simultaneously by how many platform agent equipments at most, depend on the function that the TELNET server provides on the slave, if it supports the multi-user to connect, then it can be managed by many agent equipments simultaneously, otherwise synchronization can only have an agent equipment to its control that conducts interviews; And, only providing the consideration of the interactive mode at text interface for the TELNET server for agent equipment, we are designed to it at a time can only manage a slave.
The present invention compared with prior art has the following advantages:
1, saves public network IP address resources, realized the basic demand of cluster management
Cluster management technical scheme of the present invention, only need specify a public network IP address and a private IP address for agent equipment, and the slave in other cluster management scopes all uses inner private IP address, save the IP resource, and can realize the centralized network ma nagement of one-to-many.
2, technology is simple
TELNET is a kind of telemanagement mode based on ICP/IP protocol, and the present invention realizes the cluster management function by the TELNET server, so need not any special agreement support.
3, compatible good
Because the realization of the technical program is based on embedded TELNET server, and this server, generally all can provide on the webmaster type switch, so search so long as possess the Topology Discovery agreement that the equipment of TELNET server can proxied device uses, it just can be managed by proxied device.
4, to possess the cost of cluster management function little for the existing network increase
Because the present invention possesses compatible good advantage, in the process of transforming existing network, only need to increase by one more powerful topology discovery function is arranged, and the agent equipment of having used cluster management method of the present invention, just can spend less relatively investment, obtain more satisfactory cluster management system.
5, realized the variation management of equipment in the group system
The present invention simulates the function that has realized a TELNET client in agent equipment, make slave of operation just as directly this equipment being carried out telemanagement, the characteristic that has kept the administration interface of slave self, and can carry out independent operation targetedly to every function of all devices.

Claims (2)

1, a kind of integrated type network equipment management method based on embedded TELNET server is characterized in that: it is in terminal and is embedded with agent equipment of series connection between the slave of TELNET server; This agent equipment possesses serial interface management or TELNET management function, and the forwarding module that can finish data forwarding, this agent equipment is assigned public network IP address and implicit IP address, and slave only is assigned the implicit IP address that is positioned at the same network segment with the agent equipment implicit IP address;
Described integrated type network equipment management method is: at first, connect between terminal and agent equipment, this connection can be that serial ports connects or the long-range connection of TELNET; Send the request of management slave when terminal after, the TELNET that sets up again from the agent equipment to the slave connects; Afterwards, agent equipment only is responsible for the instruction of receiving terminal and is sent to slave, and what receive slave simultaneously replys and be transmitted to terminal.
2, a kind of integrated type network equipment management method according to claim 1 based on embedded TELNET server, it is characterized in that: described integrated type network equipment management method may further comprise the steps:
1) resolve user command, confirm that the user will manage slave by agent equipment? if not, carry out flow process to the management of this machine; If then down carry out;
2) obtain the implicit IP address of the slave of being managed;
3) forwarding module on the startup agent equipment; Setting up TCP with slave is connected;
A) judge tentatively whether network can reach: basis for estimation is whether the implicit IP address of the IP address of slave and agent equipment is in the same network segment; Be, then carry out next step, not, it is unreachable then to be defined as network, and the failure of management slave finishes;
B) a newly-built socket on agent equipment is used for communicating with slave;
C) network address of socket and agent equipment is bound;
D) network parameter of slave is set, checks whether this address can be then to send connection request, otherwise withdraw from by telnet;
4) use serverfd and clientfd filec descriptor as transfer of data, on the monitoring agent equipment between simultaneous agent equipment and the terminal, and the connection status between agent equipment and the slave;
5) when clientfd or serverfd filec descriptor are readable, then stop monitoring, down carry out; Otherwise, execution in step 7);
6) if clientfd is readable, then from clientfd, read total data, be placed in the buffering area, send to terminal equipment by serverfd then, re-execute step 4); If overtime in the process of reading of data from clientfd, then execution in step 7);
If serverfd is readable, then from serverfd, read total data, be placed in the buffering area, send to slave by clientfd then, re-execute step 4); If overtime in the process of reading of data from serverfd, then execution in step 7);
7) finish to transmit.
CNA2005100931023A 2005-08-19 2005-08-19 Concentrating type method for managing networked devices based on embedded type TELNET server Pending CN1917442A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2005100931023A CN1917442A (en) 2005-08-19 2005-08-19 Concentrating type method for managing networked devices based on embedded type TELNET server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2005100931023A CN1917442A (en) 2005-08-19 2005-08-19 Concentrating type method for managing networked devices based on embedded type TELNET server

Publications (1)

Publication Number Publication Date
CN1917442A true CN1917442A (en) 2007-02-21

Family

ID=37738340

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2005100931023A Pending CN1917442A (en) 2005-08-19 2005-08-19 Concentrating type method for managing networked devices based on embedded type TELNET server

Country Status (1)

Country Link
CN (1) CN1917442A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789980A (en) * 2010-03-05 2010-07-28 武汉烽火网络有限责任公司 Batch upgrading method based on cluster network
CN101582800B (en) * 2009-02-24 2012-02-08 中兴通讯股份有限公司 Network element connectivity detection device and method in network management system
CN102761578A (en) * 2011-04-29 2012-10-31 无锡江南计算技术研究所 Cluster computing system
CN103647826B (en) * 2013-12-10 2017-04-12 国家电网公司 Instruction level user permission control method in Telnet mode
CN107483333A (en) * 2017-09-22 2017-12-15 烽火通信科技股份有限公司 A kind of universal across routed domain interworking unit and method
CN111459632A (en) * 2020-03-30 2020-07-28 南京邮电大学 Serial port agent for calling terminal application program and implementation method
CN111629059A (en) * 2020-05-27 2020-09-04 浪潮电子信息产业股份有限公司 Cluster communication method, system, equipment and computer readable storage medium
CN112838934A (en) * 2019-11-22 2021-05-25 武汉神州数码云科网络技术有限公司 System and method for realizing remote access to switch serial port

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582800B (en) * 2009-02-24 2012-02-08 中兴通讯股份有限公司 Network element connectivity detection device and method in network management system
CN101789980A (en) * 2010-03-05 2010-07-28 武汉烽火网络有限责任公司 Batch upgrading method based on cluster network
CN102761578A (en) * 2011-04-29 2012-10-31 无锡江南计算技术研究所 Cluster computing system
CN102761578B (en) * 2011-04-29 2015-01-14 无锡江南计算技术研究所 Cluster computing system
CN103647826B (en) * 2013-12-10 2017-04-12 国家电网公司 Instruction level user permission control method in Telnet mode
CN107483333A (en) * 2017-09-22 2017-12-15 烽火通信科技股份有限公司 A kind of universal across routed domain interworking unit and method
CN112838934A (en) * 2019-11-22 2021-05-25 武汉神州数码云科网络技术有限公司 System and method for realizing remote access to switch serial port
CN111459632A (en) * 2020-03-30 2020-07-28 南京邮电大学 Serial port agent for calling terminal application program and implementation method
CN111459632B (en) * 2020-03-30 2022-09-23 南京邮电大学 Serial port agent for calling terminal application program and implementation method
CN111629059A (en) * 2020-05-27 2020-09-04 浪潮电子信息产业股份有限公司 Cluster communication method, system, equipment and computer readable storage medium
CN111629059B (en) * 2020-05-27 2022-12-16 浪潮电子信息产业股份有限公司 Cluster communication method, system, equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN1917442A (en) Concentrating type method for managing networked devices based on embedded type TELNET server
CN1266882C (en) A management method of network device
US7292859B2 (en) Apparatus and method for managing device information through networks
CN1290292C (en) Network attached storage SNMP single system image
CN1558606A (en) Network terminal automatic configuration method
CN103927218A (en) Event dispatching method and system
CN1523828A (en) Control point server system and method for admission of effective access for household network devices
CN1625153A (en) Vrrp technology keeping vr confidentiality
CN101047545A (en) Network management system in mobile communication network
CN1083193C (en) Data storage device
CN102325186A (en) Remote service calling method and system
CN1885858A (en) Method for carrying out cluster management on network equipment based on SNMP protocol
CN1917436A (en) Method for realizing concentrating type management for network devices based on Web
CN1946031A (en) Central managing system and method for multiple protocol data and transmission network device
CN1549503A (en) Method for transmitting user position information in network communication system
CN1866879A (en) Method for realizing ADSL CPE tele-management by SNMP
CN1556609A (en) Mobile robot network control platform device
CN1309208C (en) Network safety system of computer network and controlling method thereof
CN103746836A (en) Embedded network management agent system based on ARM
CN1172495C (en) Method for realizing interconnection between devices by using door gateway and its realizing equipment
CN1681251A (en) Managing method of network apparatus based on access controlling layer of Ethernet medium
CN1305259C (en) Method for realizing network management and gateway
CN1113505C (en) Network management method with distributed network agent manager
CN1905476A (en) Managing system and method for terminal products
CN101621528B (en) Conversation system based on Ethernet switch cluster management and method for realizing conversation passage

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication