Method for implementing remote Shell based on VxWorks operating system
An operating system and remote technology, applied in the direction of program control devices, etc., can solve the problems of not supporting direct telnet protocol communication, debugging personnel unable to log in remotely, and unable to generally use the actual application environment, etc., to achieve the effect of convenient positioning and solution
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Publication Date
- 2010-04-14
- Estimated Expiration
- Not applicable · inactive patent
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] The invention relates to a method for realizing a remote Shell by a VxWorks operating system. Background technique
[0002] The VxWorks operating system is a well-known embedded operating system widely used in the communication industry. It provides a Shell tool, which can be used to run any debugging function in the system, which is convenient for locating and solving problems.
[0003] The main disadvantage of the Shell tool provided by VxWorks is that debuggers can use the Shell tool only if they use the telnet tool to remotely log in to the front desk board with VxWorks. In the actual application environment, debuggers often cannot remotely log in to the foreground. For example, in the CDMA2000 wireless access network, direct telnet protocol communication is not supported between the operation and maintenance background and the BTS-side board, so debuggers cannot remotely log in from the operation and maintenance background to the front-end board ...
Examples
Embodiment Construction
[0020] Main idea of the present invention:
[0021] A process resides on the foreground board to receive, analyze, and execute debugging function requests from the background. The execution results of the debugging functions are transmitted through the named pipe, and the named pipe guardian task is responsible for outputting to the background;
[0022] The background is responsible for sending the request for running the debugging function to the specific board and displaying the execution result of the debugging function.
[0023] The present invention is achieved like this:
[0024] The system is mainly divided into foreground module and background module. (Such as figure 1 shown)
[0025] The foreground module runs on VxWorks, and consists of three small modules: remote shell transfer process, remote shell proxy process and named pipe daemon task. The remote Shell transfer process resides on the BSC side board, and is responsible for forwarding background debugging f...