CN101808112A - Remote device maintenance method based on TELNET and proxy - Google Patents
Remote device maintenance method based on TELNET and proxy Download PDFInfo
- Publication number
- CN101808112A CN101808112A CN201010107286A CN201010107286A CN101808112A CN 101808112 A CN101808112 A CN 101808112A CN 201010107286 A CN201010107286 A CN 201010107286A CN 201010107286 A CN201010107286 A CN 201010107286A CN 101808112 A CN101808112 A CN 101808112A
- Authority
- CN
- China
- Prior art keywords
- telnet
- equipment
- remote
- terminal server
- maintenance
- 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
Links
Images
Landscapes
- Computer And Data Communications (AREA)
Abstract
The invention relates to a remote device maintenance method based on TELNET and proxy, which is suitable for remote maintenance and fault diagnosis for networked devices and devices losing or not possessing networking capability. The method comprises a computer client for remote maintenance, a maintained device, and a proxy device connected between the remote computer and the maintained device. The invention realizes the remote maintenance on the network hardware interface and the serial interface through a unified software interface in a proxy mode, thereby greatly reducing the work load for software development, simplifying the programming interface and enhancing the reusability and maintainability of the software. The invention can realize remote maintenance on networked devices as well as the devices losing or not possessing the networking capability but comprising serial interfaces for detection and maintenance; and thus, the invention can effectively widen the range of the objects of remote maintenance and perform the function of remote maintenance, and has high economic benefit and social benefit.
Description
Technical field
The present invention relates to a kind of remote equipment maintaining method, be applicable to networked devices, and lose networked capabilities or do not have the remote maintenance and the failure diagnosis of networked capabilities equipment based on TELNET and agency.
Background technology
The remote maintenance technology is to utilize network in the strange land field apparatus to be monitored, and calls online diagnosis resource or strange land expertise, the technology of carrying out failure diagnosis and plant maintenance according to Monitoring Data.The remote maintenance of equipment causes concern in every field and subject as a kind of maintenance mode easily and efficiently, and be applied to computer network, a plurality of fields such as manufacturing industry, electric power system, electromechanical engineering.Its advantage mainly shows:
1. advanced technology.The remote maintenance technology is the comprehensive of technology such as network technology, computer technology, the communication technology and automatic technology.The interface that the network-based remote maintenance system provides by controlled terminal system and application program, under the situation that obtains access authorization, in theory all can be by the controlled realization maintenance function of bringing in of remote operation.
2. information is concentrated.Can realize some systems or system part are carried out scatter gather control, maintenance and management, make the maintenance and management scientification of decision-making, thereby obtain high economic benefit and maintenance efficiency.
3. resource-sharing.Remote maintenance system not only can be integrated with related system such as supervisory control system, and realize resource-sharing in whole integrated system scope, improves the utilance of system, avoided overlapping development, reduces the investment aspect data acquisition and monitoring.
4. increase the benefit.Can improve the average non-failure operation time of maintenance efficiency and institute's maintenance system, improve the reliability of system, reduce the maintenance cost of system, improve the maintenance service quality.
The remote condition monitoring and the maintenance that develop rapidly and popularize to realizing equipment of Internet provide strong technical foundation, and the network-based remote maintenance technology also reaches its maturity.Yet, if equipment may lose networked capabilities because of fault or this equipment does not have networked capabilities, can't effectively detect, safeguard and repair equipment, also just be difficult to bring into play the effect of remote maintenance and monitoring.
Summary of the invention
The present invention is directed to the remote maintenance problem of the equipment of no networked capabilities, proposed remote device maintenance method, can realize networked devices simultaneously and not have the remote maintenance of the equipment of networked capabilities based on TELNET and agency.
The technical scheme that the present invention is adopted for achieving the above object is: a kind of remote device maintenance method based on TELNET and agency, comprise: be used for remote maintenance computer client, maintained equipment, be connected in the agent equipment between remote computer and the maintained equipment, it is characterized in that this method comprises the steps:
1. agent equipment starts agency service, monitors Terminal Server Client and connects;
2. Terminal Server Client sends connection request;
3. agent equipment is according to the access control file, and the source and destination address that connects filters connection, judge connect whether legal, if illegal connection is then refused;
4. agent equipment is set up being connected of Terminal Server Client and maintained equipment;
5. after connecting, Terminal Server Client sends maintenance command;
6. agent equipment is transmitted to maintained equipment with the order of Terminal Server Client, and the feedback of maintained equipment is transmitted to Terminal Server Client, up to having a side to withdraw from or overtime end agency service.
Described Terminal Server Client is the computer that remote client software has been installed on the Internet.
Described maintained equipment detects and maintenance serial port for having network interface or manufacturer predefined being used for.
Described agent equipment has the function of the data parsing of TELNET and network interface, serial communication.
Communicating by letter between described Terminal Server Client and the agent equipment adopted the TELNET agreement.
Communicating by letter between described agent equipment and the maintained equipment adopted network interface or serial communication.
The invention has the beneficial effects as follows: adopt agent way to finish remote maintenance, thereby significantly reduced the workload of software development, the DLL (dynamic link library) of simplification, the reusability that has improved software and maintainability network and two kinds of hardware interfaces of serial ports by unified software interface.The present invention both can realize the remote maintenance of networked devices, can or not possess networked capabilities to the forfeiture networked capabilities yet, but have the remote maintenance of equipment that is used to detect and safeguards the serial ports of usefulness, can effectively enlarge the scope of the object of remote maintenance, the effect of performance remote maintenance has high economic benefit and social benefit.
Description of drawings
The present invention is described in detail below in conjunction with drawings and Examples.
Fig. 1 is the remote maintenance schematic diagram;
Fig. 2 is the agency service workflow diagram;
Embodiment
At present, equipment all has predefined detection of manufacturer and maintenance interface mostly, and these interfaces generally include: based on network SNMP, the self-defining serial ports direct communication of TELNET, producer Network Based and serial ports.Based on network SNMP can be directly used in the remote maintenance of network, and the self-defining serial ports direct communication of producer can be mapped as the TELNET based on serial ports.Therefore, the present invention has studied Network Based and TELNET long-distance maintenance method serial ports.
The TELNET agreement is an application layer protocol in the ICP/IP protocol storehouse.Its effect is to allow client computer to set up TCP with a station server to be connected, the operation of client computer keyboard is directly passed to the command interpreter of this server system, simultaneously the output of this server is transferred back on client's the screen, the keyboard that just looks like the user is directly linked on this server the same with screen.
TELNET control desk manager is in TELNET Control state when starting, TELNET Control continues to monitor TELNET port 23, when listening to connection request, setting up a TCP with TELNET Client end is connected, TELNET control desk manager is in accepts user's logging status, when the user uses user name and user password to login, whether TELNETLogin Control checking user login is effective, unsuccessful (user name and user password do not match if the user logins, reasons such as the user is not created) and login times less than 3 times, TELNET control desk manager still is in accepts this user's logging status; If the user logins unsuccessful and login times surpasses 3 times, then TELNET control desk manager is removed this TCP connection.If the user successfully logins, TELNET control desk manager will enter the mode of operation that takes orders so, TELNET control desk manager at first reads in user's order from Network Virtual Terminal keyboard by In/OutControl, use parser to command keyword with parameter is analyzed and preliminary treatment then, if order is by checking, then use the function of Session Log to carry out the command log registration, call the executive program of this order at last. if order is not by checking, then TELNET control desk manager is to NVT screen output error message, and waits for the Next Command of user's input.When the user keyed in the logout order, the control desk manager will be cleared up a user's field data, and the TCP that removes this user connects, and enters TELNET Control state then.
The design original intention of TELNET agreement is the remote interaction that is used to user and equipment, therefore this agreement provides is actually " man machine interface " for user's use, in the present invention, this " man machine interface " is used for mutual between process, for this reason, need between Terminal Server Client and maintained equipment, increase an agency, finish syntax parsing, be used for becoming the serial port command of standard to send to maintained equipment the instruction transformation of client, simultaneously, also to from the information that maintained equipment feeds back, extract the various data that client needs, as shown in Figure 1.
Fig. 2 realizes the flow process of remote maintenance for adopting method of the present invention, and step is as follows:
1. start agency service on agent equipment, monitor Terminal Server Client and connect, this service can manually boot, and also can start automatically;
2. Terminal Server Client sends the TELNET connection request, the replying of waiting agents equipment;
3. agent equipment is according to the access control file, and the source and destination address that connects filters connection, judge connect whether legal, if illegal connection is then refused;
4. to legal connection, agent equipment is set up being connected of Terminal Server Client and maintained equipment;
5. after connecting, Terminal Server Client sends maintenance command;
6. agent equipment is transmitted to maintained equipment with the order of Terminal Server Client, and the feedback of maintained equipment is transmitted to Terminal Server Client, up to having a side to withdraw from or overtime end agency service.
Claims (6)
1. remote device maintenance method based on TELNET and agency, comprise: be used for remote maintenance computer client, maintained equipment, be connected in the agent equipment between remote computer and the maintained equipment, it is characterized in that this method comprises the steps:
A, agent equipment start agency service, monitor Terminal Server Client and connect;
B, Terminal Server Client send connection request;
C, agent equipment be according to the access control file, and the source and destination address that connects filters connection, judge connect whether legal, if illegal connection is then refused;
D, agent equipment are set up being connected of Terminal Server Client and maintained equipment;
E, connect after, Terminal Server Client sends maintenance command;
F, agent equipment are transmitted to maintained equipment with the order of Terminal Server Client, and the feedback of maintained equipment is transmitted to Terminal Server Client, up to having a side to withdraw from or overtime end agency service.
2. a kind of remote device maintenance method based on TELNET and agency according to claim 1 is characterized in that, described Terminal Server Client is the computer that remote client software has been installed on the Internet.
3. a kind of remote device maintenance method based on TELNET and agency according to claim 1 is characterized in that, described maintained equipment detects and maintenance serial port for having network interface or manufacturer predefined being used for.
4. a kind of remote device maintenance method based on TELNET and agency according to claim 1 is characterized in that, described agent equipment has the function of the data parsing of TELNET and network interface, serial communication.
5. a kind of remote device maintenance method based on TELNET and agency according to claim 1 is characterized in that, communicating by letter between described Terminal Server Client and the agent equipment adopted the TELNET agreement.
6. a kind of remote device maintenance method based on TELNET and agency according to claim 1 is characterized in that, communicating by letter between described agent equipment and the maintained equipment adopted network interface or serial communication.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010107286A CN101808112A (en) | 2010-02-06 | 2010-02-06 | Remote device maintenance method based on TELNET and proxy |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010107286A CN101808112A (en) | 2010-02-06 | 2010-02-06 | Remote device maintenance method based on TELNET and proxy |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101808112A true CN101808112A (en) | 2010-08-18 |
Family
ID=42609732
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010107286A Pending CN101808112A (en) | 2010-02-06 | 2010-02-06 | Remote device maintenance method based on TELNET and proxy |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101808112A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103516752A (en) * | 2012-06-25 | 2014-01-15 | 3M创新有限公司 | Terminal equipment and execution method thereof |
CN104065732A (en) * | 2014-06-30 | 2014-09-24 | 江苏华大天益电力科技有限公司 | Telnet proxy forwarding mechanism |
CN104283713A (en) * | 2014-10-13 | 2015-01-14 | 杭州华三通信技术有限公司 | Remote management method and converting device |
CN104486309A (en) * | 2014-12-06 | 2015-04-01 | 北京银信长远科技股份有限公司 | Terminal emulation communication protocol recording method |
CN106302586A (en) * | 2015-05-25 | 2017-01-04 | 中兴通讯股份有限公司 | A kind of realization method and system of remote terminal instrument |
CN103647826B (en) * | 2013-12-10 | 2017-04-12 | 国家电网公司 | Instruction level user permission control method in Telnet mode |
CN109510725A (en) * | 2018-11-28 | 2019-03-22 | 迈普通信技术股份有限公司 | Fault testing system of communication equipment and method |
CN110602256A (en) * | 2019-10-08 | 2019-12-20 | 杭州领克信息科技有限公司 | Safety protection method for remote maintenance of industrial equipment |
CN112838934A (en) * | 2019-11-22 | 2021-05-25 | 武汉神州数码云科网络技术有限公司 | System and method for realizing remote access to switch serial port |
CN114710300A (en) * | 2020-10-20 | 2022-07-05 | 厦门快快网络科技有限公司 | Novel Windows remote security protection method |
-
2010
- 2010-02-06 CN CN201010107286A patent/CN101808112A/en active Pending
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103516752B (en) * | 2012-06-25 | 2017-03-15 | 3M创新有限公司 | A kind of terminal unit and its method for execution |
CN103516752A (en) * | 2012-06-25 | 2014-01-15 | 3M创新有限公司 | Terminal equipment and execution method thereof |
CN103647826B (en) * | 2013-12-10 | 2017-04-12 | 国家电网公司 | Instruction level user permission control method in Telnet mode |
CN104065732A (en) * | 2014-06-30 | 2014-09-24 | 江苏华大天益电力科技有限公司 | Telnet proxy forwarding mechanism |
CN104283713A (en) * | 2014-10-13 | 2015-01-14 | 杭州华三通信技术有限公司 | Remote management method and converting device |
CN104486309A (en) * | 2014-12-06 | 2015-04-01 | 北京银信长远科技股份有限公司 | Terminal emulation communication protocol recording method |
CN106302586A (en) * | 2015-05-25 | 2017-01-04 | 中兴通讯股份有限公司 | A kind of realization method and system of remote terminal instrument |
CN109510725A (en) * | 2018-11-28 | 2019-03-22 | 迈普通信技术股份有限公司 | Fault testing system of communication equipment and method |
CN109510725B (en) * | 2018-11-28 | 2022-05-17 | 迈普通信技术股份有限公司 | Communication equipment fault detection system and method |
CN110602256A (en) * | 2019-10-08 | 2019-12-20 | 杭州领克信息科技有限公司 | Safety protection method for remote maintenance of industrial equipment |
CN112838934A (en) * | 2019-11-22 | 2021-05-25 | 武汉神州数码云科网络技术有限公司 | System and method for realizing remote access to switch serial port |
CN114710300A (en) * | 2020-10-20 | 2022-07-05 | 厦门快快网络科技有限公司 | Novel Windows remote security protection method |
CN114710300B (en) * | 2020-10-20 | 2023-11-28 | 厦门快快网络科技有限公司 | Novel Windows remote safety protection method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101808112A (en) | Remote device maintenance method based on TELNET and proxy | |
CN104065731B (en) | A kind of ftp file Transmission system and transmission method | |
CN102035904B (en) | Method for converting TCP network communication server into client | |
CN102035880B (en) | Method and device for maintaining connection | |
CN106506585B (en) | The method and system of router is remotely controlled by browser | |
CN102752131B (en) | Task-driven based power telecommunication network data acquisition method | |
CN102006307A (en) | Application proxy-based network management system isolation control device | |
CN101291343B (en) | Remote controlling method and system based on transparent proxy equipment | |
CN104093080A (en) | Intelligent television remote debugging system and method | |
CN105245596A (en) | Remote control method, server and network attached storage device | |
CN103368809A (en) | Internet reverse penetration tunnel implementation method | |
CN103138985A (en) | Method and system of process of service host computer of supporting network | |
CN112019477A (en) | Method and device for establishing and managing SSH connection | |
CN112929188B (en) | Device connection method, system, apparatus and computer readable storage medium | |
CN113098851B (en) | Method, device, system, equipment and medium for implementing virtual firewall | |
CN103701928A (en) | Method applied to load balancer for improving operating efficiency of servers and SSL (Secure Sockets Layer) gateway | |
CN112104476B (en) | Method and system for automatic intelligent configuration of wide area network networking | |
CN103475491A (en) | Remote maintenance system which is logged in to safely without code and achieving method | |
CN102088455A (en) | ASN (attack security interaction) and implementation method thereof | |
CN103139276B (en) | Web page and the method and system of graphic user interface client two-way communication | |
CN106850816A (en) | A kind of remote network control system based on VLAN | |
CN103139187A (en) | Method and device for interacting with telnet servers | |
CN104426890A (en) | Network element accessing method and system based on B/S framework | |
CN104243253B (en) | The control method and system of a kind of client access device | |
CN109150666B (en) | Method for preventing website downtime |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20100818 |