WO2016188172A1 - 一种远程终端工具的实现方法及系统 - Google Patents
一种远程终端工具的实现方法及系统 Download PDFInfo
- Publication number
- WO2016188172A1 WO2016188172A1 PCT/CN2016/075348 CN2016075348W WO2016188172A1 WO 2016188172 A1 WO2016188172 A1 WO 2016188172A1 CN 2016075348 W CN2016075348 W CN 2016075348W WO 2016188172 A1 WO2016188172 A1 WO 2016188172A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- terminal
- tool
- session
- virtual
- client side
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 230000001360 synchronised effect Effects 0.000 claims description 6
- 230000001960 triggered effect Effects 0.000 claims description 5
- 238000004891 communication Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000000977 initiatory effect Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 235000006719 Cassia obtusifolia Nutrition 0.000 description 1
- 235000014552 Cassia tora Nutrition 0.000 description 1
- 244000201986 Cassia tora Species 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/08—Protocols specially adapted for terminal emulation, e.g. Telnet
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
Definitions
- the present application relates to, but is not limited to, the field of communications, and in particular, to a method and system for implementing a remote terminal tool.
- the interface of the communication device mainly includes a remote terminal protocol Telnet interface, a secure shell protocol (SSH, Secure Shell) interface, a network configuration protocol (NETCONF, Network Configuration Protocol) interface, a QX interface, etc., wherein the Telnet interface and the SSH interface are Intuitive and effective, it becomes the standard Command Line Interface (CLI) for all kinds of communication equipment.
- Telnet interface Secure Shell
- NETCONF Network Configuration Protocol
- QX QX interface
- Existing terminal tools require a reachable CLI route between the terminal tool and the terminal (including the use of a proxy), but on the client/server (C/S, Client/)
- the terminal tool functions as a client-side tool and is not reachable by the network element, so that the terminal tool cannot connect to the network element.
- the CLI route is established between the terminal tool and the network element by establishing a CLI proxy (such as the TELNET/SSH service of the gateway Linux server) on the gateway.
- a CLI proxy such as the TELNET/SSH service of the gateway Linux server
- the embodiment of the invention provides a method and a system for implementing a remote terminal tool, which can solve the problem that the CLI operation cannot be performed normally when there is no TELNET/SSH routing between the terminal tool and the network element in the prior art, and there is no CLI route.
- the embodiment of the present invention provides a method for implementing a remote terminal tool, including: establishing a virtual terminal tool on the server side; and establishing a terminal session by using the virtual terminal tool according to the operation request initiated by the terminal tool on the client side After the terminal session is successfully established, triggering the The client side establishes a virtual terminal session and synchronizes the terminal session to the virtual terminal session.
- the embodiment of the present invention further provides a method for implementing a remote terminal tool, which includes: a client side remotely triggers a server side to establish a virtual terminal tool; the client side terminal tool initiates an operation request, triggering the virtual terminal tool to be in the The server side establishes a terminal session; after the terminal session is successfully established, the client side establishes a virtual terminal session and synchronizes with the terminal session.
- the embodiment of the present invention further provides an implementation system of a remote terminal tool, which is disposed on the server side, and includes: a virtual terminal tool establishment module, which is configured to: establish a virtual terminal tool on the server side; and set a terminal session establishment module, according to: An operation request initiated by the terminal tool on the client side, the terminal session is established on the server side by the virtual terminal tool; the virtual terminal session triggering module is configured to: after the terminal session is successfully established, trigger the client The side establishes a virtual terminal session and synchronizes the terminal session to the virtual terminal session.
- a virtual terminal tool establishment module which is configured to: establish a virtual terminal tool on the server side
- set a terminal session establishment module according to: An operation request initiated by the terminal tool on the client side, the terminal session is established on the server side by the virtual terminal tool
- the virtual terminal session triggering module is configured to: after the terminal session is successfully established, trigger the client
- the side establishes a virtual terminal session and synchronizes the terminal session to the virtual terminal session.
- the embodiment of the present invention further provides a system for implementing a remote terminal tool, which is disposed on the client side, and includes: a virtual terminal tool triggering module, which is configured to: remotely trigger the server side to establish a virtual terminal tool; and the terminal session triggering module is set to: The virtual terminal tool is triggered to establish a terminal session on the server side according to the operation request initiated by the terminal tool on the client side; the virtual terminal session establishing module is configured to: after the terminal session is successfully established, in the client The end side establishes a virtual terminal session and synchronizes with the terminal session.
- a virtual terminal tool triggering module which is configured to: remotely trigger the server side to establish a virtual terminal tool
- the terminal session triggering module is set to: The virtual terminal tool is triggered to establish a terminal session on the server side according to the operation request initiated by the terminal tool on the client side; the virtual terminal session establishing module is configured to: after the terminal session is successfully established, in the client The end side establishes a virtual terminal session and synchronizes
- an embodiment of the present invention further provides a computer readable storage medium storing computer executable instructions, which are implemented to implement an implementation method of the remote terminal tool applied to a server side.
- an embodiment of the present invention further provides a computer readable storage medium storing computer executable instructions, which are implemented to implement an implementation method of the remote terminal tool applied to a client side.
- the server side establishes a virtual terminal tool; according to the operation request initiated by the terminal tool on the client side, the server side establishes a terminal session through the virtual terminal tool; when the terminal session is successfully established, the client side is triggered to be established. Virtual terminal session and synchronize terminal session to virtual terminal session.
- the terminal tool on the client side interacts with the server side, there is no need to establish a CLI route, so that the overall client side TELNET/SSH terminal tool and the network element complete the CLI communication without the CLI route, and manage the remote. Terminals, thereby expanding the use of terminal tools, Meet specific scenario management requirements, such as C/S network management scenarios.
- FIG. 1 is a flowchart of a method for implementing a remote terminal tool according to an embodiment of the present invention
- FIG. 2 is another flowchart of a method for implementing a remote terminal tool according to an embodiment of the present invention
- FIG. 3 is a schematic diagram of an implementation system of a remote terminal tool according to an embodiment of the present invention.
- FIG. 4 is another schematic diagram of an implementation system of a remote terminal tool according to an embodiment of the present invention.
- FIG. 5 is a schematic diagram of application of a system for implementing a remote terminal tool according to an embodiment of the present invention
- FIG. 6 is a flowchart of opening a terminal tool according to an embodiment of the present invention.
- FIG. 7 is a flowchart of a terminal tool initiating a connection request according to an embodiment of the present invention.
- FIG. 1 is a flowchart of a method for implementing a remote terminal tool according to an embodiment of the present invention. As shown in FIG. 1 , a method for implementing a remote terminal tool according to an embodiment of the present invention is applied to a server side, and includes the following steps:
- Step 11 The virtual terminal tool is established on the server side.
- the virtual terminal tool synchronizes all operations of the terminal tool on the client side.
- Step 12 According to the operation request initiated by the terminal tool on the client side, the server side establishes a terminal session through the virtual terminal tool.
- the terminal tools on the client side include a Telnet terminal tool and an SSH terminal tool.
- the terminal session includes a physical CLI session.
- Step 13 After the terminal session is successfully established, the client side is triggered to establish a virtual terminal session, and the terminal session is synchronized to the virtual terminal session.
- the method further includes: closing the connection request initiated by the terminal tool on the client side, and closing the terminal session on the server side.
- FIG. 2 is another flowchart of a method for implementing a remote terminal tool according to an embodiment of the present invention. As shown in FIG. 2, the implementation method of the remote terminal tool provided by the embodiment of the present invention is applied to the client side, and includes the following steps:
- Step 21 The client side remotely triggers the server side to establish a virtual terminal tool.
- the method further includes: synchronizing the operation of the terminal tool on the client side to the virtual terminal tool.
- Step 22 The terminal tool on the client side initiates an operation request, and triggers the virtual terminal tool to establish a terminal session on the server side.
- the terminal tools on the client side include a Telnet terminal tool and an SSH terminal tool.
- the terminal session includes a physical CLI session.
- Step 23 After the terminal session is successfully established, the client side establishes a virtual terminal session and synchronizes with the terminal session.
- the method further includes: closing the connection request initiated by the terminal tool on the client side, and closing the virtual terminal session on the client side.
- the embodiment of the present invention further provides an implementation system of a remote terminal tool, which is disposed on a server side, and includes: a virtual terminal tool establishment module, which is configured to: establish a virtual terminal tool on the server side; and establish a terminal session.
- the module is configured to establish a terminal session on the server side by using the virtual terminal tool according to the operation request initiated by the terminal tool on the client side;
- the virtual terminal session triggering module is configured to: after the terminal session is successfully established And triggering the client side to establish a virtual terminal session, and synchronizing the terminal session to the virtual terminal session.
- the terminal tools on the client side include a Telnet terminal tool and an SSH terminal tool.
- the terminal session includes a physical CLI session.
- system further includes a terminal session closing module, configured to: close the terminal session on the server side according to the close connection request initiated by the terminal tool on the client side.
- an embodiment of the present invention further provides an implementation system of a remote terminal tool, which is disposed on a client side, and includes: a virtual terminal tool triggering module, which is configured to: remotely trigger a server side to build The virtual terminal tool is configured to: trigger the virtual terminal tool to establish a terminal session on the server side according to the operation request initiated by the terminal tool on the client side; and set the virtual terminal session establishment module to: After the terminal session is successfully established, a virtual terminal session is established on the client side and synchronized with the terminal session.
- a virtual terminal tool triggering module which is configured to: remotely trigger a server side to build
- the virtual terminal tool is configured to: trigger the virtual terminal tool to establish a terminal session on the server side according to the operation request initiated by the terminal tool on the client side; and set the virtual terminal session establishment module to: After the terminal session is successfully established, a virtual terminal session is established on the client side and synchronized with the terminal session.
- the terminal tools on the client side include a Telnet terminal tool and an SSH terminal tool.
- the terminal session includes a physical CLI session.
- the virtual terminal tool triggering module is further configured to: after the virtual terminal tool is established on the remote trigger server side, synchronize the operation of the terminal tool on the client side to the virtual terminal tool.
- system further includes a virtual terminal session closing module, configured to: close the virtual terminal session on the client side according to the close connection request initiated by the terminal tool on the client side.
- FIG. 5 is a schematic diagram of application of an implementation system of a remote terminal tool according to an embodiment of the present invention.
- the implementation system of the remote terminal tool provided by the embodiment of the present invention is implemented by, for example, a remote method invocation (RMI), a remote method invocation, and an internal object request proxy protocol (RMI-IIOP).
- RMI remote method invocation
- RMI-IIOP internal object request proxy protocol
- Remote Method Invocation Internet Inter-ORB Protocol, Common Object Request Broker Architecture (CORBA), Sun's JavaEE server-side component model (EJB, Enterprise JavaBean), WEB-SERVICE, etc.
- FIG. 6 is a flow chart of opening a terminal tool according to an embodiment of the present invention. As shown in FIG. 6, the above process includes the following steps:
- Step 301 Open a terminal tool interface on the client side
- Step 302 The server side establishes a virtual terminal tool.
- Step 303 Synchronize all operations of the terminal tool and the virtual terminal tool, for example, real-time monitoring All operations of the terminal tool on the client side, and synchronized to the virtual terminal tool.
- FIG. 7 is a flowchart of a terminal tool initiating a connection request according to an embodiment of the present invention. As shown in FIG. 7, the above process includes the following steps:
- Step 401 The terminal tool on the client side initiates a network element connection request.
- Step 402 Real-time synchronization of the operation of the terminal tool on the client side to the virtual terminal tool on the server side, where the virtual terminal tool on the server side initiates the network element connection request;
- Step 403 The virtual terminal tool successfully establishes a terminal session on the server side;
- Step 404 The client side establishes a virtual terminal session, and synchronizes the terminal session to the virtual terminal session in real time. In this way, the client side can perform the CLI operation by using the virtual terminal session on the server side.
- multiple network elements can be connected, multiple terminal sessions can be established, and commands and display results can be sent.
- the client side closes the virtual terminal session, and the server side synchronizes the terminal session synchronously.
- the server side closes the terminal session, and the client side synchronously closes the virtual terminal session and synchronizes the state of the terminal tool and the virtual terminal tool.
- the method and system for implementing the remote terminal tool provided by the embodiment of the present invention, by separating the display and control of the terminal tool, real-time synchronization between the client side and the server side, thereby realizing the terminal on the client side.
- the NE can be successfully connected to the CLI and the CLI can be used to meet the functions of the C/S carrier-class network management software terminal tool. This provides a higher security access to the NE.
- the embodiment of the present invention further provides a client, including: a display and a processor, the display is configured to: display a terminal tool interface; the processor is configured to: remotely trigger a server to establish a virtual terminal tool; The tool initiated operation request triggers the virtual terminal tool to establish a terminal session on the server side; and, after the terminal session is successfully established, establishes a virtual terminal session and synchronizes with the terminal session.
- a client including: a display and a processor
- the display is configured to: display a terminal tool interface
- the processor is configured to: remotely trigger a server to establish a virtual terminal tool
- the tool initiated operation request triggers the virtual terminal tool to establish a terminal session on the server side; and, after the terminal session is successfully established, establishes a virtual terminal session and synchronizes with the terminal session.
- an embodiment of the present invention further provides a computer readable storage medium storing computer executable instructions, which are implemented to implement an implementation method of the remote terminal tool applied to a server side.
- an embodiment of the present invention further provides a computer readable storage medium storing computer executable instructions, which are implemented to implement an implementation method of the remote terminal tool applied to a client side.
- each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function.
- This application is not limited to any specific combination of hardware and software.
- the embodiment of the invention provides a method and a system for implementing a remote terminal tool, and the terminal tool on the client side does not need to establish a CLI route when interacting with the server side, thereby satisfying the overall client side TELNET/SSH terminal tool and network element.
- the CLI communication is completed, and the remote terminal is managed, thereby expanding the scope of use of the terminal tool to meet specific scenario management requirements, such as a C/S network management scenario.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
Abstract
一种远程终端工具的实现方法,包括:服务端侧建立虚拟终端工具;根据客户端侧的终端工具发起的操作请求,服务端侧通过所述虚拟终端工具建立终端会话;当所述终端会话建立成功后,触发所述客户端侧建立虚拟终端会话,并同步所述终端会话至所述虚拟终端会话。上述方法能够解决现有技术中终端工具与网元之间没有TELNET/SSH路由,也没有CLI路由的情况下无法正常进行CLI操作的问题。
Description
本申请涉及但不限于通信领域,尤其涉及一种远程终端工具的实现方法及系统。
目前,通信设备的接口主要有远程终端协议Telnet接口、安全外壳协议(SSH,Secure Shell)接口、网络配置协议(NETCONF,Network Configuration Protocol)接口、QX接口等,其中,Telnet接口与SSH接口以其直观有效,成为各类通信设备的标配命令行接口(CLI,Command Line Interface)。现有的终端工具(如软件SecureCRT、Windows Telnet等)都要求终端工具与终端之间有可达的CLI路由(包括使用代理的情形),但在客户端/服务端(C/S,Client/Server)网管软件中,终端工具作为客户端(Client)侧工具,与网元无可达的CLI路由,从而使得终端工具无法连接到网元。在现有方法中,通常通过在网关上建立CLI代理(如开启网关Linux服务器的TELNET/SSH服务),如此在终端工具与网元之间建立CLI路由。然而,若终端工具与网元之间没有TELNET/SSH路由,也没有CLI路由,则无法正常进行CLI操作。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本发明实施例提供一种远程终端工具的实现方法及系统,能够解决现有技术中终端工具与网元之间没有TELNET/SSH路由,也没有CLI路由的情况下无法正常进行CLI操作的问题。
本发明实施例提供一种远程终端工具的实现方法,包括:服务端侧建立虚拟终端工具;根据客户端侧的终端工具发起的操作请求,所述服务端侧通过所述虚拟终端工具建立终端会话;当所述终端会话建立成功后,触发所述
客户端侧建立虚拟终端会话,并同步所述终端会话至所述虚拟终端会话。
本发明实施例还提供一种远程终端工具的实现方法,包括:客户端侧远程触发服务端侧建立虚拟终端工具;所述客户端侧的终端工具发起操作请求,触发所述虚拟终端工具在所述服务端侧建立终端会话;当所述终端会话建立成功后,所述客户端侧建立虚拟终端会话,并与所述终端会话同步。
本发明实施例还提供一种远程终端工具的实现系统,设置于服务端侧,包括:虚拟终端工具建立模块,设置为:在服务端侧建立虚拟终端工具;终端会话建立模块,设置为:根据客户端侧的终端工具发起的操作请求,通过所述虚拟终端工具在所述服务端侧建立终端会话;虚拟终端会话触发模块,设置为:当所述终端会话建立成功后,触发所述客户端侧建立虚拟终端会话,并同步所述终端会话至所述虚拟终端会话。
本发明实施例还提供一种远程终端工具的实现系统,设置于客户端侧,包括:虚拟终端工具触发模块,设置为:远程触发服务端侧建立虚拟终端工具;终端会话触发模块,设置为:根据客户端侧的终端工具发起的操作请求,触发所述虚拟终端工具在所述服务端侧建立终端会话;虚拟终端会话建立模块,设置为:当所述终端会话建立成功后,在所述客户端侧建立虚拟终端会话,并与所述终端会话同步。
此外,本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现应用于服务端侧的所述远程终端工具的实现方法。
此外,本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现应用于客户端侧的所述远程终端工具的实现方法。
在本发明实施例中,服务端侧建立虚拟终端工具;根据客户端侧的终端工具发起的操作请求,服务端侧通过虚拟终端工具建立终端会话;当终端会话建立成功后,触发客户端侧建立虚拟终端会话,并同步终端会话至虚拟终端会话。如此,客户端侧的终端工具在与服务端侧进行交互时,无需建立CLI路由,从而满足整体客户端侧TELNET/SSH终端工具与网元在没有CLI路由的情况下,完成CLI通信,管理远程终端,从而扩大终端工具的使用范围,
满足特定场景管理需求,如C/S网管场景等。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
图1为本发明实施例提供的远程终端工具的实现方法的流程图;
图2为本发明实施例提供的远程终端工具的实现方法的另一流程图;
图3为本发明实施例提供的远程终端工具的实现系统的示意图;
图4为本发明实施例提供的远程终端工具的实现系统的另一示意图;
图5为本发明一实施例提供的远程终端工具的实现系统的应用示意图;
图6为本发明一实施例中,打开终端工具的流程图;
图7为本发明一实施例中,终端工具发起连接请求的流程图。
以下结合附图对本发明的实施例进行详细说明,应当理解,以下所说明的实施例仅用于说明和解释本申请,并不用于限定本申请。
图1为本发明实施例提供的远程终端工具的实现方法的流程图。如图1所示,本发明实施例提供的远程终端工具的实现方法,应用于服务端侧,包括以下步骤:
步骤11:服务端侧建立虚拟终端工具。
于本实施例中,虚拟终端工具同步有客户端侧的终端工具的所有操作。
步骤12:根据客户端侧的终端工具发起的操作请求,服务端侧通过虚拟终端工具建立终端会话。
其中,客户端侧的终端工具包括Telnet终端工具、SSH终端工具。终端会话包括物理CLI会话。
步骤13:当终端会话建立成功后,触发客户端侧建立虚拟终端会话,并同步终端会话至虚拟终端会话。
于本步骤之后,该方法还包括:根据客户端侧的终端工具发起的关闭连接请求,服务端侧关闭终端会话。
图2为本发明实施例提供的远程终端工具的实现方法的另一流程图。如图2所示,本发明实施例提供的远程终端工具的实现方法,应用于客户端侧,包括以下步骤:
步骤21:客户端侧远程触发服务端侧建立虚拟终端工具。
于本步骤之后,该方法还包括:同步客户端侧的终端工具的操作至虚拟终端工具。
步骤22:客户端侧的终端工具发起操作请求,触发虚拟终端工具在服务端侧建立终端会话。
其中,客户端侧的终端工具包括Telnet终端工具、SSH终端工具。终端会话包括物理CLI会话。
步骤23:当终端会话建立成功后,客户端侧建立虚拟终端会话,并与终端会话同步。
于本步骤之后,该方法还包括:根据客户端侧的终端工具发起的关闭连接请求,客户端侧关闭虚拟终端会话。
如图3所示,本发明实施例还提供一种远程终端工具的实现系统,设置于服务端侧,包括:虚拟终端工具建立模块,设置为:在服务端侧建立虚拟终端工具;终端会话建立模块,设置为:根据客户端侧的终端工具发起的操作请求,通过所述虚拟终端工具在所述服务端侧建立终端会话;虚拟终端会话触发模块,设置为:当所述终端会话建立成功后,触发所述客户端侧建立虚拟终端会话,并同步所述终端会话至所述虚拟终端会话。
其中,客户端侧的终端工具包括Telnet终端工具、SSH终端工具。终端会话包括物理CLI会话。
于一实施例中,上述系统还包括终端会话关闭模块,设置为:根据所述客户端侧的终端工具发起的关闭连接请求,在所述服务端侧关闭终端会话。
如图4所示,本发明实施例还提供一种远程终端工具的实现系统,设置于客户端侧,包括:虚拟终端工具触发模块,设置为:远程触发服务端侧建
立虚拟终端工具;终端会话触发模块,设置为:根据客户端侧的终端工具发起的操作请求,触发所述虚拟终端工具在所述服务端侧建立终端会话;虚拟终端会话建立模块,设置为:当所述终端会话建立成功后,在所述客户端侧建立虚拟终端会话,并与所述终端会话同步。
其中,客户端侧的终端工具包括Telnet终端工具、SSH终端工具。终端会话包括物理CLI会话。
其中,虚拟终端工具触发模块,还设置为:在远程触发服务端侧建立虚拟终端工具之后,同步所述客户端侧的终端工具的操作至所述虚拟终端工具。
于一实施例中,上述系统还包括虚拟终端会话关闭模块,设置为:根据所述客户端侧的终端工具发起的关闭连接请求,在所述客户端侧关闭虚拟终端会话。
图5为本发明一实施例提供的远程终端工具的实现系统的应用示意图。如图5所示,本发明实施例提供的远程终端工具的实现系统例如通过以下方式实现:远程方法调用(RMI,Remote Method Invocation)、远程方法调用-互联网内部对象请求代理协议(RMI-IIOP,Remote Method Invocation Internet Inter-ORB Protocol)、公共对象请求代理体系结构(CORBA,Common Object Request Broker Architecture)、sun的JavaEE服务器端组件模型(EJB,Enterprise JavaBean)、WEB-SERVICE等。在本实施例中,通过在服务端侧建立虚拟终端工具,使得客户端侧的终端工具的一切操作无缝操作到虚拟终端工具上,从而使得在客户端侧的操作,可以在服务端侧同步,由于服务端侧同网元间存在CLI路由,从而可以成功建立物理CLI会话,而通过在客户端侧建立虚拟CLI会话,自动同步服务端侧的物理CLI会话,从而可以完成所有CLI交互。
图6为本发明一实施例中,打开终端工具的流程图。如图6所示,上述过程包括如下步骤:
步骤301:在客户端侧打开终端工具界面;
步骤302:服务端侧建立虚拟终端工具;
步骤303:同步终端工具与虚拟终端工具的所有操作,例如,实时监听
客户端侧的终端工具的所有操作,并同步到虚拟终端工具上。
图7为本发明一实施例中,终端工具发起连接请求的流程图。如图7所示,上述过程包括如下步骤:
步骤401:客户端侧的终端工具发起网元连接请求;
步骤402:实时同步客户端侧的终端工具的操作至服务端侧的虚拟终端工具,于此,服务端侧的虚拟终端工具发起网元连接请求;
步骤403:虚拟终端工具在服务端侧成功建立终端会话;
步骤404:客户端侧建立虚拟终端会话,并实时同步终端会话至虚拟终端会话,如此,客户端侧可以利用服务端侧的虚拟终端会话进行CLI操作。
其中,通过重复上述步骤,可以连接多个网元,建立多个终端会话,进行下发命令以及显示结果等。
此外,当客户端侧的终端工具发起关闭连接请求时,客户端侧关闭虚拟终端会话,服务端侧同步关闭终端会话。或者,当网元主动断开会话(如网络中断)时,服务端侧关闭终端会话,客户端侧同步关闭虚拟终端会话,并同步终端工具与虚拟终端工具的状态。
综上所述,本发明实施例提供的远程终端工具的实现方法及系统,通过将终端工具的显示与控制分离,在客户端侧与服务端侧进行实时同步,从而实现在客户端侧的终端工具与网元无直接CLI路由的情况下,能够成功连接网元,并进行CLI操作,满足了C/S电信级网管软件终端工具功能,提供了更高的安全性访问网元的方式。
此外,本发明实施例还提供一种客户端,包括:显示器以及处理器,所述显示器设置为:显示终端工具界面;所述处理器设置为:远程触发服务端侧建立虚拟终端工具;根据终端工具发起的操作请求,触发所述虚拟终端工具在所述服务端侧建立终端会话;以及,当所述终端会话建立成功后,建立虚拟终端会话,并与所述终端会话同步。
此外,本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现应用于服务端侧的所述远程终端工具的实现方法。
此外,本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现应用于客户端侧的所述远程终端工具的实现方法。
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本申请不限制于任何特定形式的硬件和软件的结合。
以上显示和描述了本申请的基本原理和主要特征和本发明的优点。本申请不受上述实施例的限制,上述实施例和说明书中描述的只是说明本申请的原理,在不脱离本申请精神和范围的前提下,本申请还会有各种变化和改进,这些变化和改进都落入要求保护的本申请范围内。
本发明实施例提供一种远程终端工具的实现方法及系统,客户端侧的终端工具在与服务端侧进行交互时,无需建立CLI路由,从而满足整体客户端侧TELNET/SSH终端工具与网元在没有CLI路由的情况下,完成CLI通信,管理远程终端,从而扩大终端工具的使用范围,满足特定场景管理需求,如C/S网管场景等。
Claims (16)
- 一种远程终端工具的实现方法,包括:服务端侧建立虚拟终端工具;根据客户端侧的终端工具发起的操作请求,所述服务端侧通过所述虚拟终端工具建立终端会话;当所述终端会话建立成功后,触发所述客户端侧建立虚拟终端会话,并同步所述终端会话至所述虚拟终端会话。
- 如权利要求1所述的方法,其中,所述客户端侧的终端工具包括远程终端协议Telnet终端工具、安全外壳协议SSH终端工具。
- 如权利要求1所述的方法,所述当所述终端会话建立成功后,触发所述客户端侧建立虚拟终端会话,并同步所述终端会话至所述虚拟终端会话之后,所述方法还包括:根据所述客户端侧的终端工具发起的关闭连接请求,所述服务端侧关闭所述终端会话。
- 一种远程终端工具的实现方法,包括:客户端侧远程触发服务端侧建立虚拟终端工具;所述客户端侧的终端工具发起操作请求,触发所述虚拟终端工具在所述服务端侧建立终端会话;当所述终端会话建立成功后,所述客户端侧建立虚拟终端会话,并与所述终端会话同步。
- 如权利要求4所述的方法,其中,所述客户端侧的终端工具包括远程终端协议Telnet终端工具、安全外壳协议SSH终端工具。
- 如权利要求4所述的方法,所述客户端侧远程触发服务端侧建立虚拟终端工具之后,所述方法还包括:同步所述客户端侧的终端工具的操作至所述虚拟终端工具。
- 如权利要求4所述的方法,所述当所述终端会话建立成功后,所述客户端侧建立虚拟终端会话,并与所述终端会话同步之后,所述方法还包括:根据所述客户端侧的终端工具发起的关闭连接请求,所述客户端侧关闭所述 虚拟终端会话。
- 一种远程终端工具的实现系统,设置于服务端侧,包括:虚拟终端工具建立模块,设置为:在服务端侧建立虚拟终端工具;终端会话建立模块,设置为:根据客户端侧的终端工具发起的操作请求,通过所述虚拟终端工具在所述服务端侧建立终端会话;虚拟终端会话触发模块,设置为:当所述终端会话建立成功后,触发所述客户端侧建立虚拟终端会话,并同步所述终端会话至所述虚拟终端会话。
- 如权利要求8所述的系统,其中,所述客户端侧的终端工具包括Telnet终端工具、SSH终端工具。
- 如权利要求8所述的系统,所述系统还包括终端会话关闭模块,设置为:根据所述客户端侧的终端工具发起的关闭连接请求,在所述服务端侧关闭所述终端会话。
- 一种远程终端工具的实现系统,设置于客户端侧,包括:虚拟终端工具触发模块,设置为:远程触发服务端侧建立虚拟终端工具;终端会话触发模块,设置为:根据客户端侧的终端工具发起的操作请求,触发所述虚拟终端工具在所述服务端侧建立终端会话;虚拟终端会话建立模块,设置为:当所述终端会话建立成功后,在所述客户端侧建立虚拟终端会话,并与所述终端会话同步。
- 如权利要求11所述的系统,其中,所述客户端侧的终端工具包括远程终端协议Telnet终端工具、安全外壳协议SSH终端工具。
- 如权利要求11所述的系统,其中,所述虚拟终端工具触发模块,还设置为:在远程触发服务端侧建立虚拟终端工具之后,同步所述客户端侧的终端工具的操作至所述虚拟终端工具。
- 如权利要求11所述的系统,所述系统还包括虚拟终端会话关闭模块,设置为:根据所述客户端侧的终端工具发起的关闭连接请求,在所述客户端侧关闭所述虚拟终端会话。
- 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机 可执行指令被执行时实现权利要求1至3任一项所述的方法。
- 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现权利要求4至7任一项所述的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510272829.1 | 2015-05-25 | ||
CN201510272829.1A CN106302586A (zh) | 2015-05-25 | 2015-05-25 | 一种远程终端工具的实现方法及系统 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016188172A1 true WO2016188172A1 (zh) | 2016-12-01 |
Family
ID=57392442
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/075348 WO2016188172A1 (zh) | 2015-05-25 | 2016-03-02 | 一种远程终端工具的实现方法及系统 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106302586A (zh) |
WO (1) | WO2016188172A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114024998A (zh) * | 2021-11-11 | 2022-02-08 | 瑞斯康达科技发展股份有限公司 | 一种基于netconf协议的支持多会话的方法和装置 |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108769135B (zh) * | 2018-05-07 | 2021-01-12 | 广州杰赛科技股份有限公司 | 云桌面连接方法、装置、设备及系统 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101192977A (zh) * | 2006-11-20 | 2008-06-04 | 中兴通讯股份有限公司 | 一种网管平台接入远端射频单元的方法 |
CN101764709A (zh) * | 2009-12-29 | 2010-06-30 | 福建星网锐捷网络有限公司 | 基于snmp的网络物理拓扑发现方法及网管服务器 |
CN101980481A (zh) * | 2010-11-05 | 2011-02-23 | 杭州思福迪信息技术有限公司 | 一种安全终端仿真协议监控时实现会话复制和跟踪的方法 |
CN103139187A (zh) * | 2011-12-02 | 2013-06-05 | 中兴通讯股份有限公司 | 与远程登陆服务器的交互方法及装置 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8812640B2 (en) * | 2002-08-06 | 2014-08-19 | Sheng Tai (Ted) Tsao | Method and system for providing multi-layers item list in browsers with supporting of concurrent multiple users |
CN101272278B (zh) * | 2008-04-09 | 2012-09-05 | 中兴通讯股份有限公司 | 一种网管系统中下发命令行接口命令的系统及方法 |
CN101808112A (zh) * | 2010-02-06 | 2010-08-18 | 大连大学 | 一种基于telnet和代理的设备远程维护方法 |
CN103840983A (zh) * | 2014-01-09 | 2014-06-04 | 中国科学技术大学苏州研究院 | 基于协议行为分析的web隧道检测方法 |
-
2015
- 2015-05-25 CN CN201510272829.1A patent/CN106302586A/zh not_active Withdrawn
-
2016
- 2016-03-02 WO PCT/CN2016/075348 patent/WO2016188172A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101192977A (zh) * | 2006-11-20 | 2008-06-04 | 中兴通讯股份有限公司 | 一种网管平台接入远端射频单元的方法 |
CN101764709A (zh) * | 2009-12-29 | 2010-06-30 | 福建星网锐捷网络有限公司 | 基于snmp的网络物理拓扑发现方法及网管服务器 |
CN101980481A (zh) * | 2010-11-05 | 2011-02-23 | 杭州思福迪信息技术有限公司 | 一种安全终端仿真协议监控时实现会话复制和跟踪的方法 |
CN103139187A (zh) * | 2011-12-02 | 2013-06-05 | 中兴通讯股份有限公司 | 与远程登陆服务器的交互方法及装置 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114024998A (zh) * | 2021-11-11 | 2022-02-08 | 瑞斯康达科技发展股份有限公司 | 一种基于netconf协议的支持多会话的方法和装置 |
CN114024998B (zh) * | 2021-11-11 | 2023-05-23 | 瑞斯康达科技发展股份有限公司 | 一种基于netconf协议的支持多会话的方法和装置 |
Also Published As
Publication number | Publication date |
---|---|
CN106302586A (zh) | 2017-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10666639B2 (en) | Customer-centric workflow for initial on-boarding of an OpenFlow enabled switch | |
US8117317B2 (en) | Systems and methods for integrating local systems with cloud computing resources | |
US11075777B2 (en) | Providing on-demand VPN connectivity on a per application basis | |
US20080104252A1 (en) | Resuming a computing session when rebooting a computing device | |
US20150326425A1 (en) | Recording, analyzing, and restoring network states in software-defined networks | |
US9983813B2 (en) | Maintenance of a fabric priority during synchronous copy operations | |
EP2521335B1 (en) | Synchronizing sequence numbers | |
US20070130346A1 (en) | Method for maintaining telnet session, telnet agency and computer network system | |
WO2016188172A1 (zh) | 一种远程终端工具的实现方法及系统 | |
CN108347450B (zh) | 一种远程登录的方法及设备 | |
CN112929225A (zh) | 会话异常处理方法、装置、计算机设备和存储介质 | |
US9736027B2 (en) | Centralized enterprise image upgrades for distributed campus networks | |
WO2022042545A1 (zh) | Tsn工业应用服务器、客户端、系统、服务方法及储存介质 | |
KR102170160B1 (ko) | Opc-ua 기반의 단방향 데이터 송신 장치 및 방법 | |
US20060190560A1 (en) | Remote maintenance/management system for SIP device | |
KR20050112912A (ko) | 소켓 어플리케이션 프로그램을 이용한 데이터 중계 시스템및 데이터 중계 방법 | |
US11563721B2 (en) | Methods and systems for network address translation (NAT) traversal using a meet-in-the-middle proxy | |
US10560307B2 (en) | Method and system for management of an openflow agent in openflow devices | |
US20210089330A1 (en) | Autonomously Re-Initializing Applications Based on Detecting Periodic Changes in Device State | |
JP2014154112A (ja) | 通信データ中継装置およびプログラム | |
WO2016206381A1 (zh) | 文件处理方法及装置 | |
US10834205B2 (en) | Network appliance having forwarding traffic mode to reduce traffic loss and related methods | |
JP2017173995A (ja) | サーバ装置、クラウドシステムおよびウェブアプリケーション切り替え方法 | |
RU2541118C2 (ru) | Система и способ обработки соединения с использованием временного порта | |
CN102843281B (zh) | 一种访问局域网的方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16799061 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16799061 Country of ref document: EP Kind code of ref document: A1 |