[go: up one dir, main page]

CN101437052A - Method for implementing terminal interactive input and output - Google Patents

Method for implementing terminal interactive input and output Download PDF

Info

Publication number
CN101437052A
CN101437052A CNA2008101478443A CN200810147844A CN101437052A CN 101437052 A CN101437052 A CN 101437052A CN A2008101478443 A CNA2008101478443 A CN A2008101478443A CN 200810147844 A CN200810147844 A CN 200810147844A CN 101437052 A CN101437052 A CN 101437052A
Authority
CN
China
Prior art keywords
terminal
input
output
equipment
output equipment
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
Application number
CNA2008101478443A
Other languages
Chinese (zh)
Inventor
左江宏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CHENGDU TIENON TECHNOLOGY Co Ltd
Original Assignee
CHENGDU TIENON TECHNOLOGY Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by CHENGDU TIENON TECHNOLOGY Co Ltd filed Critical CHENGDU TIENON TECHNOLOGY Co Ltd
Priority to CNA2008101478443A priority Critical patent/CN101437052A/en
Publication of CN101437052A publication Critical patent/CN101437052A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method for realizing interactive input and output of a terminal, wherein terminals are connected to a telnetd service in a UNIX server through telnet; the telnetd service controls drive of terminal units; that whether interactive operation is required or not is determined by analyzing terminal screens and keyboard operation of the terminals; output data is transmitted to output devices into an interactive input and output device, and input devices and output devices of the terminals are locked; users judge and input the output information of the interactive input and output devices; the terminals intercept and capture the input of the interactive input and output devices and simulate the input into input of terminal keyboards; and a shell command is called to perform input and output operations. The method overcomes the defect that the prior art can not realize interactive input and output between two terminals, realizes interactive input and output on the two terminals, and improves the use range and the convenience of the terminals because different inputs and outputs do not interfere each other.

Description

Realize the method for terminal interaction input and output
Technical field
The present invention relates to input output method, be specifically related to the mutual input output method of terminal.
Background technology
Existing UNIX terminal adopts network terminal band one a cover input equipment and a cover output equipment, finishes all inputs by input equipment.In the cabinet plane system of bank, use the network terminal in a large number.When the teller is client's transacting business, use keyboard, mouse input data, display message on the terminal display of oneself, the client can't see relevant information.And the teller is when typing finishes some information, if can allow the client to wherein some key elements, confirm such as title, passport NO., contact method, time limit etc., not only can reduce the teller because the mistake that the typing mistake is brought, and can allow client participate in supervision, take precautions against operational risk.But can't realize that the client confirms that because the client will see the duplicate information with the teller, and a lot of information wherein are the inside secrets as bank, can not allow the client know by direct display screen in parallel.Still do not have at present a kind of client of allowing and user to show respectively and separately output information have the method for input separately, can not realize mutual input and output between two station terminals.
Summary of the invention
The present invention has overcome the deficiencies in the prior art, and the method that solves the terminal interaction input and output is provided.
For solving above-mentioned technical problem, the present invention by the following technical solutions:
A kind of method that realizes the terminal interaction input and output comprises terminal, unix server and mutual input-output equipment, and terminal itself comprises input equipment and output equipment, according to following steps:
A, terminal are served by the telnetd that telnet is connected in the unix server.
B, telnetd service control terminal drives.
D, terminal screen being analyzed and the keyboard operation of terminal is analyzed, need to be determined whether interactive operation, is step e, otherwise step C;
E, the output equipment in mutual input-output equipment send dateout, and terminal input equipment and output equipment are locked, and can not import by terminal.
F, user judge the output information of mutual input-output equipment, and import with the input equipment of mutual input-output equipment.
The input of mutual input-output equipment is intercepted and captured in G, Terminal Hijacking, is modeled to the input of terminal keyboard.
C, call shell-command and carry out input-output operation.
Further technical scheme is that terminal screen is analyzed as follows:
The zone of the monitoring at J, setting screen interface, i.e. KEY value.
The condition that K, setting detect, i.e. VAL value.
L, the corresponding trigger event of setting.
M, monitoring screen content satisfy the page of KEY value, when the condition of VAL value coincidence detection, trigger event.
N, finish event handling.
Further technical scheme is that the zone of the monitoring at setting screen interface is that the carrying out in a plurality of zones monitored together.
Further technical scheme is that Terminal Hijacking is to set up a pseudo-terminal with ttyexec, and pseudo-terminal is corresponding with mutual input-output equipment, and an end of ttyexec monitoring pseudo-terminal is set up subprocess and carried out other order, the subprocess read-write pseudo-terminal other end.
Further technical scheme is that mutual input-output equipment comprises a display unit and a keyboard.
Further technical scheme is that terminal is the network terminal.
Further technical scheme is that terminal is the dumb terminal.
Compared with prior art, the invention has the beneficial effects as follows and on two station terminals, to realize mutual input and output, between the different inputs, do not interfere between the different output, improved the scope of application and the convenience of terminal.
Description of drawings
Accompanying drawing is a step schematic diagram of the present invention
Embodiment
The present invention is further elaborated below in conjunction with accompanying drawing.
As shown in drawings, a kind of method that realizes the terminal interaction input and output, comprise the network terminal, unix server and mutual input-output equipment, terminal itself comprises input equipment and output equipment, and mutual input-output equipment comprises a display unit and a keyboard.According to following steps:
A, terminal are served by the telnetd that telnet is connected in the unix server.
B, telnetd service control terminal drives.
D, terminal screen being analyzed and the keyboard operation of terminal is analyzed, need to be determined whether interactive operation, is step e, otherwise step C; Concrete steps as
The zone of J, a plurality of monitoring in setting screen interface, i.e. KEY value.
The condition that K, setting detect, i.e. VAL value.
L, the corresponding trigger event of setting.
M, monitoring screen content satisfy the page of KEY value, when the condition of VAL value coincidence detection, trigger event.
N, finish event handling.
E, the output equipment in mutual input-output equipment send dateout, and terminal input equipment and output equipment are locked, and can not import by terminal.
F, user judge the output information of mutual input-output equipment, and import with the input equipment of mutual input-output equipment.
G, Terminal Hijacking are to set up a pseudo-terminal with ttyexec, and pseudo-terminal is corresponding with mutual input-output equipment, and an end of ttyexec monitoring pseudo-terminal is set up subprocess and carried out other order, and the subprocess read-write pseudo-terminal other end is modeled to the input of terminal keyboard
C, call shell-command and carry out input-output operation.

Claims (7)

1, a kind of method that realizes the terminal interaction input and output comprises terminal, unix server and mutual input-output equipment, and terminal itself comprises input equipment and output equipment, according to following steps:
A, terminal are served by the telnetd that telnet is connected in the unix server;
B, telnetd service control terminal drives;
C, call shell-command and carry out input-output operation;
It is characterized in that carrying out Terminal Hijacking between step B and the step C, according to following steps:
D, terminal screen being analyzed and the keyboard operation of terminal is analyzed, need to be determined whether interactive operation, is step e, otherwise step C;
E, the output equipment in mutual input-output equipment send dateout, and terminal input equipment and output equipment are locked, and can not import by terminal;
F, user judge the output information of mutual input-output equipment, and import with the input equipment of mutual input-output equipment;
The input of mutual input-output equipment is intercepted and captured in G, Terminal Hijacking, is modeled to the input of terminal keyboard.
2, the method for realization terminal interaction according to claim 1 input and output is characterized in that described terminal screen being analyzed as follows:
The zone of the monitoring at J, setting screen interface, i.e. KEY value;
The condition that K, setting detect, i.e. VAL value;
L, the corresponding trigger event of setting;
M, monitoring screen content satisfy the page of KEY value, when the condition of VAL value coincidence detection, trigger event;
N, finish event handling.
3, the method for realization terminal interaction according to claim 2 input and output, the zone that it is characterized in that the monitoring at described setting screen interface is that the carrying out in a plurality of zones monitored together.
4, the method for realization terminal interaction according to claim 3 input and output, it is characterized in that described Terminal Hijacking is to set up a pseudo-terminal with ttyexec, pseudo-terminal is corresponding with mutual input-output equipment, one end of ttyexec monitoring pseudo-terminal, set up subprocess and carry out other order, the subprocess read-write pseudo-terminal other end.
5, the method for realization terminal interaction according to claim 4 input and output is characterized in that described mutual input-output equipment comprises a display unit and a keyboard.
6, the method for realization terminal interaction according to claim 5 input and output is characterized in that described terminal is the network terminal.
7, the method for realization terminal interaction according to claim 5 input and output is characterized in that described terminal is the dumb terminal.
CNA2008101478443A 2008-12-15 2008-12-15 Method for implementing terminal interactive input and output Pending CN101437052A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008101478443A CN101437052A (en) 2008-12-15 2008-12-15 Method for implementing terminal interactive input and output

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008101478443A CN101437052A (en) 2008-12-15 2008-12-15 Method for implementing terminal interactive input and output

Publications (1)

Publication Number Publication Date
CN101437052A true CN101437052A (en) 2009-05-20

Family

ID=40711271

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008101478443A Pending CN101437052A (en) 2008-12-15 2008-12-15 Method for implementing terminal interactive input and output

Country Status (1)

Country Link
CN (1) CN101437052A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103198018A (en) * 2013-04-09 2013-07-10 厦门亿联网络技术股份有限公司 Method for fast debugging program codes utilizing telnetd thread
CN103309549A (en) * 2012-03-13 2013-09-18 联想(北京)有限公司 Input and display method and electronic equipment
US9851811B2 (en) 2012-02-20 2017-12-26 Beijing Lenovo Software Ltd. Electronic device and method for controlling the same

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9851811B2 (en) 2012-02-20 2017-12-26 Beijing Lenovo Software Ltd. Electronic device and method for controlling the same
CN103309549A (en) * 2012-03-13 2013-09-18 联想(北京)有限公司 Input and display method and electronic equipment
CN103309549B (en) * 2012-03-13 2017-12-15 联想(北京)有限公司 A kind of method for being inputted and being shown and electronic equipment
CN103198018A (en) * 2013-04-09 2013-07-10 厦门亿联网络技术股份有限公司 Method for fast debugging program codes utilizing telnetd thread

Similar Documents

Publication Publication Date Title
CN103287942B (en) Elevator maintenance maintenance device and elevator maintenance monitoring and managing method
CN103150132A (en) Screen transmission method and electronic equipment
CN101447692B (en) Safe and reliable scheduling operation device in an unattended transformer station
CN102207926B (en) Computer and method for realizing coupling between computers
CN116089514B (en) Data indicator collection and processing method, device, equipment and storage medium thereof
CN106096034A (en) application log management method and device
CN110084561A (en) Breakpoint follow-up method, electronic device and readable storage medium storing program for executing
CN106375134A (en) Computer room IT device operation and maintenance method and system
CN101437052A (en) Method for implementing terminal interactive input and output
CN104133915B (en) Monitoring method and system for operation and maintenance behavior of database administrator
CN105988711B (en) Large-screen interactive system and its exchange method
CN114157584A (en) Cloud mobile phone monitoring method and device, electronic equipment and storage medium
CN103902861A (en) Status switching method and electronic device
CN100450178C (en) A remote monitoring system for general automation equipment based on screen simulation technology
CN103692791A (en) Sealing machine with file conveying function and video call function
CN107763794A (en) Method and device for processing fault data
CN204515527U (en) For the Auto-Test System of elevator control cabinet
CN101699457A (en) Computer interface signal transmission management system and interface monitoring method
CN103761792A (en) Intelligent multifunctional counter system and use method thereof
CN208506806U (en) Mobile-payment system and its finger print acquisition module based on fingerprint recognition
CN208622074U (en) Mobile-payment system and its screen construction based on fingerprint recognition
CN115877109A (en) A system for checking the state of hard platen
CN208506771U (en) Mobile-payment system and its non-visible area domain structure based on fingerprint recognition
CN102929523B (en) Realize disconnecting method, electronic equipment and the system connected with screen
CN113597023B (en) Communication establishing interaction method for wireless screen transmission equipment

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

Open date: 20090520