CN106598803A - Method for remotely monitoring operation of host system - Google Patents
Method for remotely monitoring operation of host system Download PDFInfo
- Publication number
- CN106598803A CN106598803A CN201610281653.0A CN201610281653A CN106598803A CN 106598803 A CN106598803 A CN 106598803A CN 201610281653 A CN201610281653 A CN 201610281653A CN 106598803 A CN106598803 A CN 106598803A
- Authority
- CN
- China
- Prior art keywords
- host computer
- computer system
- virtual terminal
- remotely
- message
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/3013—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is an embedded system, i.e. a combination of hardware and software dedicated to perform a certain function in mobile devices, printers, automotive or aircraft systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3065—Monitoring arrangements determined by the means or processing involved in reporting the monitored data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2201/00—Indexing scheme relating to error detection, to error correction, and to monitoring
- G06F2201/805—Real-time
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2201/00—Indexing scheme relating to error detection, to error correction, and to monitoring
- G06F2201/815—Virtual
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2201/00—Indexing scheme relating to error detection, to error correction, and to monitoring
- G06F2201/875—Monitoring of systems including the internet
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention relates to a method for remotely monitoring operation of a host system. A virtual terminal and the host system are accessed to a network at first; and then, the virtual terminal remotely logs in the host system. The method comprises the following steps of: (1), judging an input command by the virtual terminal, if the input command is a standard output setting message, sending the standard output setting message to the host system, and entering the step (2); and (2), receiving the standard output setting message by the host system, setting standard output to the virtual terminal or default debugging information output port, and outputting an operation log to the virtual terminal or default debugging information output port by the host system. By means of the method disclosed by the invention, embedded equipment connected onto the network can remotely log in the host system (such as a base station host) through Telnet; software operation log information of the host system can be checked in real time; the maintenance cost is reduced; and the working efficiency is increased.
Description
Technical field
The present invention relates to a kind of method that can remotely monitor host computer system operation.
Background technology
At present, host system software is increasingly complicated, and the mistake thoroughly eliminated in systems soft ware is practically impossible to
, therefore, mistake, Wrong localization field data are found in time, the rapid software error that excludes just becomes very
Important thing, or even be also such in software actual motion environment.Running software daily record is exactly that capture is wrong
Miss a kind of important means of field data.
Most embedded device is designed as serial ports to debug output port, and the port is the standard of system
Output, the running log of software is exported by serial ports, once operation exception, needs attendant to scene
Log information is checked, warping apparatus are processed.In the environment of main process equipment is using position dispersion, set to such
The cost of standby maintenance work will be greatly increased.Equipment for networking, after remote entry system, Ke Yicha
The journal file having been written in storage device is seen, but can not be recorded entirely for limited equipment is stored
The running log in portion, the terminal for causing Telnet is unable to real time inspection log information.
The content of the invention
Present invention is primarily targeted at overcoming drawbacks described above of the prior art, propose that one kind can be logined remotely
Host computer system, the method that can remotely monitor host computer system operation of real time inspection running software daily record.
The present invention is adopted the following technical scheme that:
A kind of method that can remotely monitor host computer system operation, first by virtual terminal and host computer system access network,
Virtual terminal remotely logins host computer system;Step is as follows:
1) virtual terminal judges the order of input, if arranging standard output message, then sends to host computer system
Setting standard output message, into step 2);
2) host computer system receives setting standard output message, and standard output is set to into virtual terminal or acquiescence
Debugging message output port, host computer system exports running log to virtual terminal or acquiescence Debugging message output
Port.
Preferably, in step 1) in, if the order of virtual terminal input is to exit, it sends out to host computer system
Setting standard output is sent to give tacit consent to Debugging message output port, and is exited;Host computer system arranges standard output
To give tacit consent to Debugging message output port.
Preferably, the acquiescence Debugging message output port is serial ports.
Preferably, in step 1) in, described setting standard output message is virtual whole to arrange standard output
End arranges standard output for acquiescence Debugging message output port.
Preferably, in step 1) in, if the order of input is interactive command, to host computer system the friendship is sent
Mutually order, host computer system receives the interactive command and parses.
Preferably, the virtual terminal passes through Telnet Telnet host computer systems.
Preferably, described system operation daily record include key message prompting, warning prompt, miscue,
Fatal problem prompting, debugging log.
Preferably, the host computer system and the virtual terminal carry out interprocess communication by message queue mode.
From the above-mentioned description of this invention, compared with prior art, the present invention has the advantages that:
The present invention can pass through Telnet Telnet main frames system for the embedded device being connected on network
System (such as bastion host), the running software log information of real time inspection host computer system reduces maintenance cost,
Improve work efficiency.
Description of the drawings
Fig. 1 is the operational flow diagram of host computer system of the present invention;
Fig. 2 is the operational flow diagram of virtual terminal of the present invention.
Specific embodiment
Below by way of specific embodiment, the invention will be further described.
A kind of method that can remotely monitor host computer system operation, by virtual terminal and host computer system access network,
Virtual terminal remotely logins host computer system by Telnet.Telnet has been provided the user on the local computer
Complete the ability of remote control host work.Telnet programs are used on virtual terminal, with it master is connected to
Machine system, can be input into order in telnet programs, and these orders can run on the host computer system.
The step of the inventive method, is as follows:
1) virtual terminal judges the order of input, if arranging standard output message, the setting standard output disappears
Breath includes that arranging standard output is virtual terminal or arranges standard output for acquiescence Debugging message output port, then
The setting standard output message is sent to host computer system, into step 2).If the order of virtual terminal input is
Exit, then it sends to host computer system and arranges standard output to give tacit consent to Debugging message output port, and exits,
Access step 3).If the order of input is interactive command, the interactive command is sent to host computer system, entered
Step 4)
2) host computer system receives setting standard output message, and standard output is set to into virtual terminal or acquiescence
Debugging message output port, host computer system exports running log to virtual terminal or acquiescence Debugging message output
Port.
3) host computer system is set to standard output to give tacit consent to Debugging message output port.
4) host computer system receives the interactive command and parses.
Because most of embedded devices design serial ports is debugging output port, the port is the standard of system
Output, the running log of software is exported by serial ports, therefore the acquiescence Debugging message outfan in the present invention
Mouth may be designed as serial ports etc..The present invention host computer system running log include key message prompting, warning prompt,
Miscue, fatal problem prompting, debugging log etc..
Host computer system and virtual terminal carry out interprocess communication by message queue mode.Based on above-mentioned method,
For host computer system and the respective handling process of virtual terminal, Fig. 1 and Fig. 2 can be respectively referred to.APP_A in Fig. 1
Expression operates in the application in host computer system, and APP_B is represented needs what is started after Telnet remote entry systems
The program communicated with APP_A.Both carry out interprocess communication by way of message queue.
The message that thread monitoring reception program APP_B in APP_A is sent, mainly realizes two functions:
One redirects standard output according to the setting message of APP_B transmissions, is set to serial ports or the void having logged on
Intend terminal;Two is the interactive command sent according to APP_B, parses the command information for receiving, and realizes interaction.
The major function of APP_B:One is to send to arrange message to APP_A, realizes the redirection of standard output;
Two is to send command information, and realization is interacted with APP_A's.
The specific embodiment of the present invention is above are only, but the design concept of the present invention is not limited thereto, it is all
The change of unsubstantiality is carried out to the present invention using this design, the row for invading the scope of the present invention all should be belonged to
For.
Claims (8)
1. it is a kind of can remotely to monitor the method that host computer system is run, first by virtual terminal and host computer system access network
Network, virtual terminal remotely logins host computer system;Step is as follows:
1) virtual terminal judges the order of input, if arranging standard output message, then sends to host computer system
Setting standard output message, into step 2);
2) host computer system receives setting standard output message, and standard output is set to into virtual terminal or acquiescence
Debugging message output port, host computer system exports running log to virtual terminal or acquiescence Debugging message output
Port.
It is 2. a kind of as claimed in claim 1 can remotely to monitor the method that host computer system is run, it is characterised in that:
In step 1) in, if the order of virtual terminal input is to exit, it is defeated that it sends setting standard to host computer system
Go out to give tacit consent to Debugging message output port, and exit;Standard output is set to acquiescence debugging letter by host computer system
Breath output port.
It is 3. a kind of as claimed in claim 1 can remotely to monitor the method that host computer system is run, it is characterised in that:
The acquiescence Debugging message output port is serial ports.
It is 4. a kind of as claimed in claim 1 can remotely to monitor the method that host computer system is run, it is characterised in that:
In step 1) in, described setting standard output message is virtual terminal or arranges standard to arrange standard output
It is output as giving tacit consent to Debugging message output port.
It is 5. a kind of as claimed in claim 1 can remotely to monitor the method that host computer system is run, it is characterised in that:
In step 1) in, if the order of input is interactive command, to host computer system the interactive command, main frame are sent
System receives the interactive command and parses.
It is 6. a kind of as claimed in claim 1 can remotely to monitor the method that host computer system is run, it is characterised in that:
The virtual terminal passes through Telnet Telnet host computer systems.
7. a kind of as claimed in claim 1 can remotely to monitor the method that host computer system is run, its tagged word exists
In:Described system operation daily record includes key message prompting, warning prompt, miscue, fatal problem
Prompting, debugging log.
It is 8. a kind of as claimed in claim 1 can remotely to monitor the method that host computer system is run, it is characterised in that:
The host computer system and the virtual terminal carry out interprocess communication by message queue mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610281653.0A CN106598803A (en) | 2016-04-29 | 2016-04-29 | Method for remotely monitoring operation of host system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610281653.0A CN106598803A (en) | 2016-04-29 | 2016-04-29 | Method for remotely monitoring operation of host system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106598803A true CN106598803A (en) | 2017-04-26 |
Family
ID=58555930
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610281653.0A Pending CN106598803A (en) | 2016-04-29 | 2016-04-29 | Method for remotely monitoring operation of host system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106598803A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111162969A (en) * | 2019-12-26 | 2020-05-15 | 联陆智能交通科技(上海)有限公司 | RSU and OBU online debugging method, system and medium |
CN111970364A (en) * | 2020-08-17 | 2020-11-20 | 创新奇智(重庆)科技有限公司 | Hardware debugging execution method and device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070118641A1 (en) * | 2005-11-22 | 2007-05-24 | Dell Products L.P. | Securing serial console redirection via serial-over-LAN (SOL) |
CN102508796A (en) * | 2011-10-14 | 2012-06-20 | 深圳市京华科讯科技有限公司 | Serial port redirection method and system |
CN104363117A (en) * | 2014-11-04 | 2015-02-18 | 浪潮电子信息产业股份有限公司 | Method for realizing serial port redirection based on IPMI |
CN104461953A (en) * | 2014-12-31 | 2015-03-25 | 厦门雅迅网络股份有限公司 | Method and system for carrying out linux log management through virtual serial port |
CN104572421A (en) * | 2015-02-03 | 2015-04-29 | 浪潮电子信息产业股份有限公司 | Method for out-of-band obtaining and recording of server serial interface log independent of SOL |
-
2016
- 2016-04-29 CN CN201610281653.0A patent/CN106598803A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070118641A1 (en) * | 2005-11-22 | 2007-05-24 | Dell Products L.P. | Securing serial console redirection via serial-over-LAN (SOL) |
CN102508796A (en) * | 2011-10-14 | 2012-06-20 | 深圳市京华科讯科技有限公司 | Serial port redirection method and system |
CN104363117A (en) * | 2014-11-04 | 2015-02-18 | 浪潮电子信息产业股份有限公司 | Method for realizing serial port redirection based on IPMI |
CN104461953A (en) * | 2014-12-31 | 2015-03-25 | 厦门雅迅网络股份有限公司 | Method and system for carrying out linux log management through virtual serial port |
CN104572421A (en) * | 2015-02-03 | 2015-04-29 | 浪潮电子信息产业股份有限公司 | Method for out-of-band obtaining and recording of server serial interface log independent of SOL |
Non-Patent Citations (1)
Title |
---|
李彦等: "基于IPMI的虚拟远程串口终端", 《现代机械》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111162969A (en) * | 2019-12-26 | 2020-05-15 | 联陆智能交通科技(上海)有限公司 | RSU and OBU online debugging method, system and medium |
CN111970364A (en) * | 2020-08-17 | 2020-11-20 | 创新奇智(重庆)科技有限公司 | Hardware debugging execution method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107294808B (en) | Interface test method, device and system | |
CN110557187B (en) | Systems and methods for real-time streaming of flight data | |
CN112333044B (en) | Shunting equipment performance test method, device and system, electronic equipment and medium | |
CN111831538A (en) | Debugging method, device and storage medium | |
US8305908B2 (en) | System analysis method, system analysis apparatus, and computer readable storage medium storing system analysis program | |
CN106201745A (en) | The remote debugging method of application program, remote debugging system and terminal | |
CN107957924A (en) | Autonomous controllable startup of server process monitoring diagnostic method based on CPLD and BMC | |
CN106598803A (en) | Method for remotely monitoring operation of host system | |
CN104836831B (en) | A kind of object method of servicing for Internet of Things | |
CN113765712B (en) | Server management method, device, electronic device and readable storage medium | |
CN112769876A (en) | Method, device, equipment and medium for acquiring equipment channel information | |
CN107763794A (en) | Method and device for processing fault data | |
CN107992337A (en) | Method, the system of cross-system remote deployment operation system | |
CN110896489A (en) | Authentication method, device, equipment and storage medium | |
CN104486149B (en) | A kind of finite state machine method for ground test | |
CN104580135B (en) | A kind of terminal real-time control system and method based on UEFI | |
CN106708488A (en) | Multi-application debugging system and method | |
CN110807184B (en) | Method for intelligently recording screen and acquiring behavior data of computer and mobile terminal user | |
CN109728957B (en) | A method and device for interactive operation and maintenance | |
CN105959160A (en) | Debugging information transmission method and apparatus | |
CN114244700B (en) | Port processing method and device, electronic equipment and computer readable storage medium | |
CN110244638B (en) | Data monitoring device and method | |
CN114328353A (en) | WEB interactive serial port communication framework | |
CN113347022B (en) | Civil aircraft airborne information system network security capability detection system and method | |
CN106209839A (en) | The means of defence of invasion message and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170426 |