CN100395986C - Network management system and network management method - Google Patents
Network management system and network management method Download PDFInfo
- Publication number
- CN100395986C CN100395986C CNB2004100443082A CN200410044308A CN100395986C CN 100395986 C CN100395986 C CN 100395986C CN B2004100443082 A CNB2004100443082 A CN B2004100443082A CN 200410044308 A CN200410044308 A CN 200410044308A CN 100395986 C CN100395986 C CN 100395986C
- Authority
- CN
- China
- Prior art keywords
- network management
- equipment
- integrated
- command
- master communication
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Computer And Data Communications (AREA)
Abstract
本发明涉及通信领域,公开了一种网管系统及网管方法,使得能够简单实现对内部集成设备进行统一的管理。本发明通过代理的方式实现通信系统对内部被集成设备的统一网管;并通过诸如网管命令的前缀、端口、后缀等方式,识别该网管命令是否是转发往内部集成设备的命令。
The invention relates to the communication field, and discloses a network management system and a network management method, which enable the unified management of internal integrated equipment to be simply realized. The invention realizes the unified network management of the internal integrated equipment by the communication system through the proxy mode; and identifies whether the network management command is a command forwarded to the internal integrated equipment through the prefix, port, suffix, etc. of the network management command.
Description
技术领域 technical field
本发明涉及通信领域,特别涉及包含被集成设备的通信系统中的网管技术。The invention relates to the communication field, in particular to the network management technology in the communication system including integrated equipment.
背景技术 Background technique
通信系统网络管理的目标是要最大限度地利用通信系统网络资源,提高通信系统网络的运行质量和效率,向用户提供良好的通信服务。The goal of communication system network management is to maximize the use of communication system network resources, improve the operation quality and efficiency of communication system network, and provide users with good communication services.
网管系统是一个复杂的系统,涉及通信技术和计算机技术等各个领域的内容。目前用于网络管理的技术很多,新的网络管理技术也不断出现。常用的网络管理技术有:基于电信管理网(Telecom Manage Network,简称″TMN″)面向电信网的网络管理技术,基于公共对象请求代理结构(Common ObjectRequest Broker Architecture,简称″CORBA″)面向网管系统互联的网络管理技术,基于简单网络管理协议(Simple Network Management Protocol,简称″SNMP″)面向数据网和计算机网的网络管理技术,基于环球网(简称″Web″)的网络管理技术,等等。The network management system is a complex system, involving various fields such as communication technology and computer technology. Currently, there are many technologies for network management, and new network management technologies are constantly emerging. Commonly used network management technologies include: based on Telecom Manage Network ("TMN" for short) network management technology for telecommunications networks, based on Common Object Request Broker Architecture ("CORBA") for network management system interconnection Network management technology based on Simple Network Management Protocol (Simple Network Management Protocol, referred to as "SNMP") for data networks and computer networks, network management technology based on the World Wide Web (abbreviated as "Web"), and so on.
在实际应用中,我们会遇到一些情况,例如通信系统集成一个交换平台产品、接口产品,而这些产品已经可以作为独立的产品管理,但由于被集成在通信系统内部,需要考虑统一网管界面。In practical applications, we will encounter some situations, such as a communication system integrating a switching platform product and interface products, and these products can already be managed as independent products, but because they are integrated in the communication system, a unified network management interface needs to be considered.
为了解决这个问题,目前常用的一种方法是开发内部接口,完全做到被集成设备的管理与主通信设备的管理风格一致。目前常用的第二种方法是对被集成设备进行独立管理。In order to solve this problem, a commonly used method at present is to develop an internal interface, so that the management style of the integrated device is completely consistent with that of the main communication device. The second method commonly used at present is to independently manage the integrated equipment.
在实际应用中,上述方案存在以下问题:第一种方式的缺点在于,工作量大;第二种方式的缺点在于不符合统一网管的要求。In practical application, the above solution has the following problems: the disadvantage of the first method is that the workload is heavy; the disadvantage of the second method is that it does not meet the requirements of unified network management.
发明内容 Contents of the invention
有鉴于此,本发明的主要目的在于提供一种网管系统及网管方法,使得能够简单地在通信系统中实现对内部集成设备的统一管理。In view of this, the main purpose of the present invention is to provide a network management system and a network management method, so that unified management of internal integrated devices can be easily realized in the communication system.
为实现上述目的,本发明提供了一种网管系统,包含主通信设备、被集成设备、网管设备,其中,所述被集成设备支持第一通信协议,To achieve the above object, the present invention provides a network management system, including a main communication device, an integrated device, and a network management device, wherein the integrated device supports the first communication protocol,
网管设备用于发送具有前缀、端口或后缀的网管命令,以及接收主通信设备转发的回复信息;The network management device is used to send network management commands with a prefix, port or suffix, and to receive reply information forwarded by the main communication device;
所述主通信设备还包含第一代理模块,用于在根据网管设备发送的网管命令中的前缀、端口或后缀确定该命令发往被集成设备后,对所述网管命令进行格式转换,并使用所述第一通信协议将所述网管命令转发给所述被集成设备;以及将所述被集成设备返回的回复信息转发给所述网管设备。The main communication device also includes a first agent module, which is used to convert the format of the network management command after determining that the command is sent to the integrated device according to the prefix, port or suffix in the network management command sent by the network management device, and use The first communication protocol forwards the network management command to the integrated device; and forwards the reply information returned by the integrated device to the network management device.
另外,所述第一通信协议是Telnet协议或SNMP协议。In addition, the first communication protocol is Telnet protocol or SNMP protocol.
所述第一代理模块还用于根据所述网管命令中的前缀、或端口、或后缀,确定该命令不是发往所述被集成设备后,将该网管命令发送到所述主通信设备的相应模块进行处理。The first proxy module is also used to send the network management command to the corresponding corresponding port of the main communication device after determining that the command is not sent to the integrated device according to the prefix, port, or suffix in the network management command. module to process.
本发明还提供了一种网管方法,网管设备通过主通信设备的代理功能,对被集成设备进行管理,并且,所述方法包含以下步骤:The present invention also provides a network management method. The network management device manages the integrated device through the proxy function of the main communication device, and the method includes the following steps:
A当所述主通信设备收到来自所述网管设备的具有前缀、端口或后缀的网管命令时,根据所述网管命令中的前缀、端口或后缀判断该命令是否发往所述被集成设备,如果是,则对所述网管命令进行格式转换,并转发到所述被集成设备;A When the main communication device receives a network management command with a prefix, port or suffix from the network management device, it judges whether the command is sent to the integrated device according to the prefix, port or suffix in the network management command, If yes, perform format conversion on the network management command and forward it to the integrated device;
B当所述主通信设备收到来自所述被集成设备的回复信息时,对所述回复信息进行格式转换,并上报至所述网管设备。B. When the master communication device receives the reply information from the integrated device, it converts the format of the reply information and reports it to the network management device.
所述步骤A中,In said step A,
当所述主通信设备判定所述网管命令不是发往所述被集成设备时,将该网管命令发送到所述主通信设备的相应模块进行处理。When the master communication device determines that the network management command is not sent to the integrated device, it sends the network management command to a corresponding module of the master communication device for processing.
所述步骤A中,In said step A,
所述格式转换包含剥离所述网管命令的前缀或后缀的步骤。The format conversion includes the step of stripping off the prefix or suffix of the network management command.
所述主通信设备使用Telnet协议或SNMP协议将所述网管命令转发给被集成设备。The master communication device forwards the network management command to the integrated device by using the Telnet protocol or the SNMP protocol.
通过比较可以发现,本发明的技术方案与现有技术的区别在于,本发明通过代理的方式实现通信系统对内部被集成设备的统一网管;并通过诸如网管命令的前缀、端口、后缀等方式,识别该网管命令是否是转发往内部集成设备的命令。Through comparison, it can be found that the difference between the technical solution of the present invention and the prior art is that the present invention realizes the unified network management of the internal integrated equipment by the communication system through the proxy mode; Identify whether the network management command is a command forwarded to the internal integration device.
这种技术方案上的区别,带来了较为明显的有益效果,首先,使得通信系统能够对内部集成设备进行简单网管;其次,工作量小;另外,可扩充性好,被集成设备的特性可以独立扩充。The difference in this technical solution has brought obvious beneficial effects. First, it enables the communication system to perform simple network management on the internal integrated equipment; second, the workload is small; in addition, the scalability is good, and the characteristics of the integrated equipment can be Expand independently.
附图说明 Description of drawings
图1是远程登录代理服务示意图;Fig. 1 is a schematic diagram of remote login proxy service;
图2是远程登录代理服务工作流程图;Fig. 2 is a flow chart of remote login proxy service;
图3是根据本发明的一个实施例的网管代理方式的简单实现框架图;Fig. 3 is a simple implementation frame diagram of the network management agent mode according to an embodiment of the present invention;
图4是根据本发明的一个实施例的网管方法中解析代理命令的处理流程图;Fig. 4 is the processing flow diagram of parsing proxy command in the network management method according to an embodiment of the present invention;
图5是根据本发明的一个实施例的网管方法中上报维护信息的处理流程图。Fig. 5 is a flow chart of processing of reporting maintenance information in a network management method according to an embodiment of the present invention.
具体实施方式 Detailed ways
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings.
总的来说,本发明给出一种通过代理的方式简单实现对内部集成设备管理的方法,这种方法基于远程登录(简称″Telnet″)代理。下面先结合图1和图2介绍下Telnet代理的概念。In general, the present invention provides a method for simply implementing the management of internal integrated devices through an agent, which is based on a remote login (abbreviated as "Telnet") agent. The following first introduces the concept of the Telnet proxy in combination with Figure 1 and Figure 2.
如图1所示,远程登录代理服务过程可以简化为三个主要设备构成:客户端10、Telnet代理服务器11和远程服务器12。Telnet是进行远程登录的标准协议和主要方式,它为用户提供了在本地计算机上完成远程主机或者信息节点工作的能力。通过使用Telnet,用户可以与网络上许多支持Telnet功能的远程主机或者信息节点联系。Telnet是使用最为简单的因特网工具之一。As shown in FIG. 1 , the remote login proxy service process can be simplified into three main devices:
在通常情况下,客户端10远程登录到远程服务器12,只需要在客户端10发起Telnet命令。在Unix系统中,要建立一个到远程服务器12的对话,只需在系统提示符下输入命令:Under normal circumstances, the
Telnet远程服务器12Telnet
用户就会看到远程主机或者信息节点的欢迎信息或登录标志。在Windows系统中,用户将以具有图形界面的Telnet客户端程序与远程主机建立Telnet连接。The user will see the welcome message or login sign of the remote host or information node. In the Windows system, the user will use the Telnet client program with a graphical interface to establish a Telnet connection with the remote host.
而在某些情况下,要求客户端10不能直接和远程服务器12相连接,熟悉本领域的技术人员应知道,这种情况包括基于安全的考虑,基于认证计费的考虑,或者基于其它用途的考虑。于是客户端10到远程服务器12间的远程登录需要经过一个代理,这个代理就由图1中的Telnet代理服务器11来实现,需要说明的是,这种Telnet代理功能可以由硬件实现,也可以由软件实现。In some cases, it is required that the
下面结合图2说明图1中客户端10如何经过Telnet代理服务器11来实现和远程服务器12间的远程登录过程。The following describes how the
远程登录代理的工作流程其流程如图2所示,首先,在步骤2000,图1中Telnet代理服务器11远程登录代理服务启动,进程开始运行。The workflow of the remote login proxy is shown in Figure 2. First, in
接下来,在步骤2100,代理进程监听图1中客户端10发来的连接,需要说明的是,此时客户端10在系统提示符下输入命令:Next, in
Telnet远程服务器12Telnet
那么实际上这个连接请求被图1中的Telnet代理服务器11监听并截获,并没有立即送到远程服务器12处。So in fact this connection request is monitored and intercepted by the Telnet
然后,在步骤2200,当客户端10的连接请求到达Telnet代理服务器11后,Telnet代理服务器11对截获的客户端10的连接请求进行分析处理,Telnet代理服务器11根据存在它上面的访问控制文件,以及连接的源和目的地址对连接进行过滤。如果是合法的请求,则进入步骤2300,否则进入步骤2210。Then, in
在步骤2210,由于在步骤2200中判定请求不合法,则予以拒绝,终止此次连接请求。In
随后,在步骤2300,由于在步骤2200中判定请求合法,则Telnet代理服务器11接受客户端10的连接请求,并且Telnet代理服务器11处向远程服务器12发起远程登录的请求。Subsequently, in
此后,在步骤2400,Telnet代理服务器11还需要判断它到远程服务器12的连接是否成功,如果成功,则进入步骤2500,否则退回到步骤2300,等待新的Telnet代理请求到来。Thereafter, in
接着,在步骤2500,由于在步骤2400中Telnet代理服务器11和远程服务器12的连接成功,则用户端10、Telnet代理服务器11、远程服务器12三方的连接接通,Telnet代理服务器11就开始转发客户端10和远程服务器12间的命令及反馈或者其它数据,同时Telnet代理服务器11可以把这些流过它的数据记录下来,写入日志。Then, in
最后,在步骤2600,用户端10、远程服务器12直到有一方退出或超时时,Telnet代理服务器11结束本次远程登录代理服务,关闭双方的连接。Finally, in
下面描述根据本发明的原理,详细说明通信系统实现对内部集成设备管理的一种简单的解决方案。并重点阐述本发明核心内容:通过代理的方式实现对内部集成设备管理的一种简单网管设计方法。The following describes the principles of the present invention, and explains in detail a simple solution for the management of internal integrated devices implemented by the communication system. And emphatically expounds the core content of the present invention: a simple network management design method to realize the management of the internal integrated equipment by means of an agent.
下面介绍本方案的实现框架。The implementation framework of this scheme is introduced below.
如图3所示,这个框架由管理设备30、通信系统31构成,其中通信系统31由主通信设备310和被集成设备320构成。As shown in FIG. 3 , this framework is composed of a management device 30 and a communication system 31 , wherein the communication system 31 is composed of a master communication device 310 and an integrated device 320 .
管理设备30指用户要管理通信系统31以及包含的各种设备所采用的操作维护平台,可以是工作站,也可以是个人电脑,或者是笔记本电脑。The management device 30 refers to the operation and maintenance platform used by the user to manage the communication system 31 and various devices contained therein, and may be a workstation, a personal computer, or a notebook computer.
通信系统31表示在通信网络中承担一定功能的网络设备。The communication system 31 represents network equipment that assumes certain functions in the communication network.
主通信设备310是指集成其余设备的通信系统主体。由于被集成设备320一般已经是一个独立的产品,提供Telnet功能,因此主通信设备310只需要实现Telnet代理功能,管理设备即可对通信系统31内部所有设备进行简单网络管理。The main communication device 310 refers to the main body of the communication system integrating other devices. Since the integrated device 320 is generally an independent product that provides the Telnet function, the main communication device 310 only needs to implement the Telnet proxy function, and the management device can perform simple network management on all devices in the communication system 31 .
被集成设备320,即主通信设备310内部集成通信设备,是指被主通信设备310集成在系统内部的可独立通信设备。需要说明的是图3中被集成设备320只画了一个框图来表示,在实际通信系统中,可以是多个被集成设备集成在主通信设备310中,在逻辑上,主通信设备310和被集成设备320如图3所示是分离的,但是实际系统中,被集成设备320有可能是插在主通信设备310中,或者以其它方式组合在主通信设备310中。还需要说明的是,本方案中有个前提条件,即要求被集成设备320必须支持Telnet功能,这个要求绝大部分被集成设备320是满足的。The integrated device 320 , that is, the integrated communication device inside the main communication device 310 refers to an independent communication device integrated by the main communication device 310 in the system. It should be noted that the integrated device 320 in FIG. 3 only draws a block diagram to represent it. In an actual communication system, multiple integrated devices may be integrated in the master communication device 310. Logically, the master communication device 310 and the slave The integrating device 320 is separated as shown in FIG. 3 , but in an actual system, the integrated device 320 may be inserted into the main communication device 310 or combined in the main communication device 310 in other ways. It should also be noted that there is a prerequisite in this solution, that is, the integrated device 320 must support the Telnet function, and most of the integrated devices 320 meet this requirement.
接下来需要描述本方案中,管理设备30如何通过命令行的格式实现管理命令的输入,保证被集成设备32可以按管理设备30的命令被管理。从界面上来讲,本方案这种简单代理方式,适合于命令行方式的界面,本方案可以通过三种增强命令设计方式实现管理命令的输入,即前缀分析法、特殊端口法、特殊后缀分析法。Next, in this solution, it is necessary to describe how the management device 30 realizes the input of management commands through the format of the command line, so as to ensure that the integrated device 32 can be managed according to the commands of the management device 30 . From the interface point of view, the simple proxy method of this solution is suitable for the command line interface. This solution can realize the input of management commands through three enhanced command design methods, namely prefix analysis method, special port method, and special suffix analysis method .
下面介绍前缀分析法界面。熟悉本领域的技术人员都知道,界面指图3中管理设备30的输入显示屏幕。The interface of the prefix analysis method is introduced below. Those skilled in the art know that the interface refers to the input display screen of the management device 30 in FIG. 3 .
整个通信系统31各个部分代号已经被预先定义好,主通信设备310代号为SGSN,被集成设备320代号为BNET。The codes of each part of the entire communication system 31 have been pre-defined, the main communication device 310 is code-named SGSN, and the integrated device 320 is code-named BNET.
管理设备30的键盘上可以键入如下的管理命令格式:On the keyboard of the management device 30, the following management command format can be entered:
(1)命令输入格式:(1) Command input format:
SGSNBNET [SAVE] telnetSGSNBNET [SAVE] telnet
本条命令的意思是从管理设备30通过主通信设备310的Telnet代理功能向被集成设备320发起远程登录的请求,从本命令格式可以看出,它和前面背景中提到的普通Telnet的命令格式不同。需要说明的是,SAVE打上括号表示它是可选参数。This command means to initiate a remote login request from the management device 30 to the integrated device 320 through the Telnet proxy function of the main communication device 310. As can be seen from the format of this command, it is the same as the common Telnet command format mentioned in the previous background. different. It should be noted that SAVE is marked with brackets to indicate that it is an optional parameter.
(2)命令存储格式(2) Command storage format
SGSNBNET SAVE configSGSNBNET SAVE config
本条命令的意思是存储管理设备30通过主通信设备310的Telnet代理功能对被集成设备320的配置操作完成后的参数,需要说明的是,这些信息可以存储在主通信设备310上,也可以是存在其它设备上。This command means that the storage management device 30 configures the parameters of the integrated device 320 through the Telnet proxy function of the main communication device 310. It should be noted that this information can be stored on the main communication device 310, or it can be exist on other devices.
(3)命令输出格式(3) Command output format
命令输出格式可以按最简单方案输出,即保持原有格式显示telnet返回的字符串结果;也可以通过主通信设备310的格式转换模块统一显示格式。熟悉本领域的技术人员都知道,这个和普通的远程登录得到的回显信息类似,根据不同的命令得到不同的回显信息。The command output format can be output according to the simplest solution, that is, to maintain the original format to display the string result returned by telnet; or to uniformly display the format through the format conversion module of the main communication device 310 . Those skilled in the art know that this is similar to the echo information obtained by ordinary remote login, and different echo information can be obtained according to different commands.
(4)存储命令显示格式(4) Storage command display format
SGSNBNET showSGSNBNET show
本条命令的意思是显示管理设备30通过主通信设备310的Telnet代理功能对被集成设备320操作使用过的各种命令。This command means to display the various commands used by the management device 30 to operate the integrated device 320 through the Telnet proxy function of the master communication device 310 .
(5)命令删除格式(5) Command delete format
SGSNBNET del allSGSNBNET del all
本条命令的意思是删除管理设备30通过主通信设备310的Telnet代理功能对被集成设备320操作使用过的所有命令。This command means to delete all commands used by the management device 30 to operate the integrated device 320 through the Telnet proxy function of the master communication device 310 .
同样的,其它命令格式设计可以参照上面提到五种常用管理命令,这些命令格式就体现了本方案的核心思想,通过代理的方式实现对内部多种被集成设备的简单网络管理。Similarly, the design of other command formats can refer to the five commonly used management commands mentioned above. These command formats embody the core idea of this solution, and realize simple network management of various internal integrated devices through agents.
下面介绍特殊后缀分析法界面,与前缀法的区别仅仅是通过后缀提取。The interface of the special suffix analysis method is introduced below. The difference from the prefix method is only through the suffix extraction.
整个通信系统31同样各个部分代号已经被预先定义好,主通信设备310代号为SGSN,被集成设备320代号为BNET。The whole communication system 31 also has pre-defined codes for each part. The master communication device 310 is code-named SGSN, and the integrated device 320 is code-named BNET.
管理设备30的键盘上可以键入如下的管理命令格式:On the keyboard of the management device 30, the following management command format can be entered:
(1)命令输入格式:(1) Command input format:
telnet SGSNBNET [SAVE]telnet SGSNBNET [SAVE]
本条命令的意思同样是从管理设备30通过主通信设备310的Telnet代理功能向被集成设备320发起远程登录的请求,从本命令格式可以看出,它和前面背景中提到的普通Telnet的命令格式也不同。需要说明的是,SAVE打上括号表示它是可选参数。The meaning of this command is also to initiate a remote login request from the management device 30 to the integrated device 320 through the Telnet proxy function of the main communication device 310. As can be seen from the format of this command, it is the same as the common Telnet command mentioned in the previous background. The format is also different. It should be noted that SAVE is marked with brackets to indicate that it is an optional parameter.
(2)命令存储格式(2) Command storage format
config SGSNBNET SAVEconfig SGSNBNET SAVE
本条命令的意思也是存储管理设备30通过主通信设备310的Telnet代理功能对被集成设备320的配置操作完成后的参数,需要说明的是,这些信息可以存储在主通信设备310上,也可以是存在其它设备上。The meaning of this command is also the parameters after the storage management device 30 configures the integrated device 320 through the Telnet proxy function of the main communication device 310. It should be noted that this information can be stored on the main communication device 310, or it can be exist on other devices.
(3)命令输出格式(3) Command output format
命令输出格式也可以按最简单方案输出,即保持原有格式显示telnet返回的字符串结果;也可以通过主通信设备310的格式转换模块统一显示格式。和前缀分析法界面一样。The command output format can also be output according to the simplest solution, that is, to maintain the original format to display the string result returned by telnet; or to uniformly display the format through the format conversion module of the main communication device 310 . Same as prefix analysis interface.
(4)存储命令显示格式(4) Storage command display format
show SGSNBNETshow SGSNBNET
本条命令的意思同样是显示管理设备30通过主通信设备310的Telnet代理功能对被集成设备320操作使用过的各种命令。The meaning of this command is also to display various commands used by the management device 30 to operate the integrated device 320 through the Telnet proxy function of the master communication device 310 .
(5)命令删除格式(5) Command delete format
del all SGSNBNETdel all SGSNBNET
本条命令的意思也是删除管理设备30通过主通信设备310的Telnet代理功能对被集成设备320操作使用过的所有命令。This command also means to delete all the commands used by the management device 30 to operate the integrated device 320 through the Telnet proxy function of the master communication device 310 .
同样的,其它特殊后缀命令格式设计可以参照上面提到五种常用管理命令,这些命令格式同样体现了本方案的核心思想,通过代理的方式实现对内部多种被集成设备的简单网络管理。Similarly, the format design of other special suffix commands can refer to the five commonly used management commands mentioned above. These command formats also reflect the core idea of this solution, and realize simple network management of various internal integrated devices through agents.
下面介绍特殊端口分析法界面,它适合于根据不同的端口来识别是否发往被集成设备320。The interface of the special port analysis method is introduced below, which is suitable for identifying whether to send to the integrated device 320 according to different ports.
整个通信系统31同样各个部分设备端口已经被预先定义好,主通信设备310端口号定义为65310,被集成设备320代号为65320。需要说明的是,端口不采用已经被习惯定义的知名端口号,知名端口即众所周知的端口号,范围从0到1023,这些端口号一般固定分配给一些服务,比如21端口分配给文件传输协议(File Trasfer Protocol,简称″FTP″)服务,25端口分配给简单邮件传输协议简单邮件传送协议(Simple Mail Transfer Protocol,简称″SMTP″)服务,80端口分配给超文本传输协议(HyperText Transport Protocol,简称″HTTP″)服务等等。The port of each part of the whole communication system 31 is also pre-defined. The port number of the master communication device 310 is defined as 65310, and the code name of the integrated device 320 is 65320. It should be noted that the ports do not use well-known port numbers that have been customarily defined. Well-known ports are well-known port numbers ranging from 0 to 1023. These port numbers are generally assigned to some services. For example, port 21 is assigned to the file transfer protocol ( File Trasfer Protocol, referred to as "FTP") service, port 25 is assigned to Simple Mail Transfer Protocol (Simple Mail Transfer Protocol, referred to as "SMTP") service, port 80 is assigned to HyperText Transport Protocol (HyperText Transport Protocol, referred to as "HTTP") services and the like.
管理设备30的键盘上可以键入如下的管理命令格式:On the keyboard of the management device 30, the following management command format can be entered:
(1)命令输入格式:(1) Command input format:
telnet 65310 65320 [SAVE]telnet 65310 65320 [SAVE]
本条命令的同样实现从管理设备30通过主通信设备310的Telnet代理功能向被集成设备320发起远程登录的请求,需要说明的是,SAVE打上括号表示它是可选参数。The same implementation of this command is to initiate a remote login request from the management device 30 to the integrated device 320 through the Telnet proxy function of the master communication device 310. It should be noted that SAVE is marked with brackets to indicate that it is an optional parameter.
(2)命令存储格式(2) Command storage format
config 65310 65320 SAVEconfig 65310 65320 SAVE
本条命令的意思也是存储管理设备30通过主通信设备310的Telnet代理功能对被集成设备320的配置操作完成后的参数,需要说明的是,这些信息可以存储在主通信设备310上,也可以是存在其它设备上。The meaning of this command is also the parameters after the storage management device 30 configures the integrated device 320 through the Telnet proxy function of the main communication device 310. It should be noted that this information can be stored on the main communication device 310, or it can be exist on other devices.
(3)命令输出格式(3) Command output format
命令输出格式也可以按最简单方案输出,即保持原有格式显示telnet返回的字符串结果;也可以通过主通信设备310的格式转换模块统一显示格式。和前缀分析法界面一样。The command output format can also be output according to the simplest solution, that is, to maintain the original format to display the string result returned by telnet; or to uniformly display the format through the format conversion module of the main communication device 310 . Same as prefix analysis interface.
(4)存储命令显示格式(4) Storage command display format
show 65310 65320show 65310 65320
本条命令的意思同样是显示管理设备30通过主通信设备310的Telnet代理功能对被集成设备320操作使用过的各种命令。The meaning of this command is also to display various commands used by the management device 30 to operate the integrated device 320 through the Telnet proxy function of the master communication device 310 .
(5)命令删除格式(5) Command delete format
del all 65310 65320del all 65310 65320
本条命令的意思也是删除管理设备30通过主通信设备310的Telnet代理功能对被集成设备320操作使用过的所有命令。This command also means to delete all the commands used by the management device 30 to operate the integrated device 320 through the Telnet proxy function of the master communication device 310 .
同样的,其它特殊端口命令格式设计可以参照上面提到五种常用管理命令,这些命令格式也同样体现了本方案的核心思想,通过代理的方式实现对内部多种被集成设备的简单网络管理。Similarly, the design of other special port command formats can refer to the five commonly used management commands mentioned above. These command formats also reflect the core idea of this solution, and realize simple network management of various internal integrated devices through agents.
上面提到的各种分析法,都是本方案的一种具体命令格式实现形式,本方案对主通信设备310的操作维护模块需要做很小修改,使支持Telnet代理功能。但对整体管理维护来说,是一个工作量最小的方案,并且可扩充性好,通过框架设计,使得原有被集成设备的所有维护管理功能都可以被引出。The various analysis methods mentioned above are all implementation forms of a specific command format of this solution. In this solution, the operation and maintenance module of the main communication device 310 needs to be slightly modified to support the Telnet proxy function. But for the overall management and maintenance, it is a solution with the least workload and good scalability. Through the framework design, all the maintenance and management functions of the original integrated equipment can be drawn out.
下面,详细描述对主通信设备310的操作维护模块修改后,主通信设备310解析代理命令和上报维护信息的处理流程。The following describes in detail the processing flow of the master communication device 310 parsing the proxy command and reporting the maintenance information after the operation and maintenance module of the master communication device 310 is modified.
解析代理命令的处理流程图如下:The flow chart of parsing proxy commands is as follows:
如图4所示,首先,在步骤4000,针对图3中的主通信设备310来说,分析管理设备30发来的命令,用前缀分析法,或后缀分析,或端口分析法分析命令格式,以和普通的远程登录命令相区别。As shown in FIG. 4, first, in step 4000, for the main communication device 310 in FIG. 3, analyze the command sent by the management device 30, and use the prefix analysis method, or suffix analysis method, or port analysis method to analyze the command format, To distinguish it from ordinary remote login commands.
接下来,在步骤4100,主通信设备310的修改后Telnet代理进程根据前缀分析法,或后缀分析,或端口分析法分析命令得出的信息,判断是否是发往被集成设备320的命令。如果是则进入步骤4200,否则进入步骤4110。判断是否发往被集成设备的方法,可以和命令设计结合起来,可以采用前缀分析法,如前面的界面举例中描述;特殊端口法,适合于根据不同的端口来识别是否发往被集成设备;特殊后缀法,与前缀法的区别仅仅是通过后缀提取;以及其他可以简单识别的方法。Next, in step 4100, the modified Telnet agent process of the master communication device 310 determines whether the command is sent to the integrated device 320 according to the information obtained by analyzing the command through the prefix analysis method, or suffix analysis method, or port analysis method. If yes, go to step 4200, otherwise go to step 4110. The method of judging whether to send to the integrated device can be combined with the command design, and the prefix analysis method can be used, as described in the previous interface example; the special port method is suitable for identifying whether to send to the integrated device according to different ports; The difference between the special suffix method and the prefix method is only through suffix extraction; and other methods that can be easily identified.
在步骤4110,由于在步骤4100中判定不是发往被集成设备320的命令,则转入其它处理。In step 4110, since it is judged in step 4100 that the command is not sent to the integrated device 320, it goes to other processing.
然后,在步骤4200,由于在步骤4100中是发往被集成设备320的命令,则主通信设备310剥离管理设备30发来的命令中的前缀、后缀或者端口号,变成普通的远程登录命令格式。Then, in step 4200, since the command sent to the integrated device 320 in step 4100, the master communication device 310 strips off the prefix, suffix or port number in the command sent by the management device 30, and becomes an ordinary remote login command Format.
此后,在步骤4300,主通信设备310初始化连接被集成设备320,建立二者之间的通信通道。Thereafter, in step 4300, the master communication device 310 initiates a connection with the integrated device 320, and establishes a communication channel between the two.
接着,在步骤4400,由于在步骤4000中管理设备30已经和主通信设备310的连接成功,在步骤4300,主通信设备310也已经和被集成设备320连接成功,则管理设备30、主通信设备310、被集成设备320三方的连接接通,主通信设备310上的Telnet代理就开始转发管理设备30和被集成设备320间的命令。Next, in step 4400, since the management device 30 has been successfully connected to the main communication device 310 in step 4000, and in step 4300, the main communication device 310 has also been successfully connected to the integrated device 320, then the management device 30, the main communication device 310 , the three-party connection of the integrated device 320 is established, and the Telnet agent on the master communication device 310 starts to forward the commands between the management device 30 and the integrated device 320 .
最后,在步骤4500,管理设备30发出的命令通过主通信设备310代理后到达被集成设备320上,由被集成设备处理。Finally, in step 4500, the command issued by the management device 30 is proxied by the master communication device 310 and then reaches the integrated device 320 for processing by the integrated device.
上报维护信息的处理流程图如下:The flow chart of reporting maintenance information is as follows:
如图5所示,首先,在步骤5000,被集成设备处理远程登录命令,然后按照命令要求把各种信息传到主通信设备。As shown in Fig. 5, first, in
接下来,进入步骤5100,在主通信设备中,对被集成设备上报的信息进行格式转换,统一显示格式。Next, enter
最后,进入步骤5200,主通信设备把转换好的信息上报到网管中心或者本地维护终端。Finally, enter
以上两个流程结合,就详细描述了主通信设备代理如何实现对内部集成设备的网络管理。The combination of the above two processes describes in detail how the master communication device agent realizes the network management of the internal integrated device.
熟悉本领于的技术人员可以理解,本发明中的主通信设备与被集成设备除了支持Telnet协议以外,如果支持简单网络管理协议(Simple NetworkManagement Protocol,简称“SNMP”),同样可以实现本发明所揭示的原理。Those skilled in the art can understand that, in addition to supporting the Telnet protocol, if the main communication device and the integrated device in the present invention support the Simple Network Management Protocol (Simple Network Management Protocol, referred to as "SNMP"), they can also implement the information disclosed in the present invention. principle.
虽然通过参照本发明的某些优选实施例,已经对本发明进行了图示和描述,但本领域的普通技术人员应该明白,可以在形式上和细节上对其作各种各样的改变,而不偏离所附权利要求书所限定的本发明的精神和范围。Although the present invention has been illustrated and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein, and without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (7)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2004100443082A CN100395986C (en) | 2004-05-21 | 2004-05-21 | Network management system and network management method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2004100443082A CN100395986C (en) | 2004-05-21 | 2004-05-21 | Network management system and network management method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1700653A CN1700653A (en) | 2005-11-23 |
| CN100395986C true CN100395986C (en) | 2008-06-18 |
Family
ID=35476528
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB2004100443082A Expired - Fee Related CN100395986C (en) | 2004-05-21 | 2004-05-21 | Network management system and network management method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN100395986C (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102970701B (en) * | 2012-11-21 | 2015-10-28 | 大唐移动通信设备有限公司 | Base station, base control and method |
| CN103152195B (en) * | 2013-02-06 | 2015-12-02 | 大唐移动通信设备有限公司 | Collecting method and device |
| CN113259185B (en) * | 2021-07-07 | 2021-10-26 | 中兴通讯股份有限公司 | Network management agent and network element management platform |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1326280A (en) * | 2000-05-25 | 2001-12-12 | 美国阿尔卡塔尔资源有限合伙公司 | Network node control system and method by extendable representative use |
| US20030131118A1 (en) * | 2002-01-10 | 2003-07-10 | Lee Sung Hee | Apparatus for managing networks operated by different protocols and method thereof |
| CN1437358A (en) * | 2002-02-07 | 2003-08-20 | 华为技术有限公司 | Relay management method of network equipment based on Telnet protocol |
| CN1441569A (en) * | 2002-02-27 | 2003-09-10 | 华为技术有限公司 | Concentrated network equipment managing method |
-
2004
- 2004-05-21 CN CNB2004100443082A patent/CN100395986C/en not_active Expired - Fee Related
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1326280A (en) * | 2000-05-25 | 2001-12-12 | 美国阿尔卡塔尔资源有限合伙公司 | Network node control system and method by extendable representative use |
| US20030131118A1 (en) * | 2002-01-10 | 2003-07-10 | Lee Sung Hee | Apparatus for managing networks operated by different protocols and method thereof |
| CN1437358A (en) * | 2002-02-07 | 2003-08-20 | 华为技术有限公司 | Relay management method of network equipment based on Telnet protocol |
| CN1441569A (en) * | 2002-02-27 | 2003-09-10 | 华为技术有限公司 | Concentrated network equipment managing method |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1700653A (en) | 2005-11-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7136913B2 (en) | Object oriented communication among platform independent systems across a firewall over the internet using HTTP-SOAP | |
| US7505574B2 (en) | Method and system for providing an improved communications channel for telephone conference initiation and management | |
| JP4199670B2 (en) | Communication application server for converged communication services | |
| CN113411215B (en) | Time-sensitive network centralized user configuration method and system based on OPC UA | |
| US20030033406A1 (en) | Apparatus for and a method of network load testing | |
| US20050108387A1 (en) | System and apparatus for a network management system using presence and instant message techniques | |
| US20060013205A1 (en) | Client-based message protocol translation | |
| CN1647451B (en) | Apparatus, method and system for monitoring information in a network environment | |
| JPH09134297A (en) | Remote management system | |
| US11805011B2 (en) | Bulk discovery of devices behind a network address translation device | |
| CN101488890A (en) | Method and system for network attack test | |
| CN101227470A (en) | System and method of business management | |
| CN101626302A (en) | System and method for multimedia conference management based on enterprise converged communication | |
| CN101159731A (en) | Method for Activating Guide Packet Data Protocol and General Packet Radio Service System | |
| CN114268938B (en) | Method, device, equipment and storage medium for managing user front-end equipment | |
| CN100395986C (en) | Network management system and network management method | |
| CN110768870A (en) | Quality monitoring method and device for intelligent special line | |
| CN101888308B (en) | Method for realizing integrated management of multi-board embedded device | |
| Xuefu et al. | Design and implementation of web Instant Message System based on XMPP | |
| US20090157904A1 (en) | Analysis tool for intra-node application messaging | |
| CN108683540A (en) | A kind of lightweight realization method and system that Network Management Protocol channel is cross-platform | |
| EP1758338B1 (en) | Secure communication method and equipment for processing SEND data packets | |
| Goldman | Network communication | |
| CN100375557C (en) | Method for operating and maintaining telecommunication network equipment by using mobile station and mobile network management system thereof | |
| CN100411340C (en) | A method and device for quickly obtaining online enterprise information |
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 | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20080618 Termination date: 20200521 |