Check patentability & draft patents in minutes with Patsnap Eureka AI!

Method for realizing telnet of shell for vxWorks system

A vxworks, system implementation technology, applied in transmission systems, electrical components, etc., can solve problems such as disorder, inability to realize shell redirection, and inability to use normally, saving time, improving debugging efficiency and problem location efficiency.

Active Publication Date: 2012-11-28
FENGHUO COMM SCI & TECH CO LTD
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] 1. The method of input and output redirection through vxworks is very complicated, and it is related to the implementation structure of the specific command line module. In some cases, this method cannot realize the redirection of the shell, and it is impossible to log in to the shell through telnet
[0006] 2. In this way, the command line and the shell cannot be used at the same time, which brings certain difficulties to debugging
[0007] To sum up, there are many problems in the current method of trying to remotely telnet into the shell of the vxWorks system. When switching directly to the shell mode, the output characters are out of order and cannot be used normally; and in this mode, even the normal command line unavailable

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for realizing telnet of shell for vxWorks system
  • Method for realizing telnet of shell for vxWorks system
  • Method for realizing telnet of shell for vxWorks system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments.

[0019] Such as figure 1 As shown, the vxWorks system of the present invention realizes the method for remote login shell, comprising the following steps:

[0020] S1. When customizing the vxworks component, increase the Telnet server port component, and transfer its default TCP (Transmission Control Protocol, Transmission Control Protocol) port protocol to another TCP port, as the port number used by telnet to enter the shell, and the default The TCP port continues to be used as the login port for the command line. In this embodiment, the default TCP port 23 protocol is used to port number 4001 as the port number used by telnet to enter the shell, named as TELNET_SHELL_PORT, and the default TCP port 23 continues to be used as the login port of the command line, so the port used by the shell The number and the login port of the command line a...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method for realizing telnet of a shell for a vxWorks system, comprising the following steps of: S1, additionally arranging a Telnet server port assembly in a vxworks assembly and protocoling a defaulted transmission control protocol port protocol to another transmission control protocol port as a port number used when a telnet enters the shell; S2, additionally arranging a starting / finishing order in a system order row to be used for calling when the telnet enters or the shell is closed; and S3, after the telnet logs in a conventional order row, executing the starting order and starting a background shell task; logging in a shell environment through a login port of the order row and carrying out shell operation; and after the operation is finished, executing the finishing order and stopping the background shell task. According to the method disclosed by the invention, the order row and the shell can be used at the same time, so as to be convenient for processing a long-distance fault and debugging a function, and accelerate the processing speed of a long-distance problem.

Description

technical field [0001] The invention relates to the field of the vxWorks operating system, and specifically relates to a method for the vxWorks system to realize a remote login shell. Background technique [0002] vxWorks is a set of real-time embedded operating system developed by American Wind River Corporation (WindRiver). Because of its excellent performance, it is widely used in various embedded devices, especially network devices such as EPON, GPON, routers, and switches; shell It is a command parser provided by vxWorks, which is used to directly call various functions and applications of the system. [0003] As we all know, usually any network device with vxWorks operating system has a relatively complete command line system and also supports remote telnet login. During the use of network equipment, there are often problems or failures. When locating and dealing with these problems, it is difficult to locate and solve them only by the upper-level command line or netw...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L29/08
Inventor 艾滨汪俊飞
Owner FENGHUO COMM SCI & TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More