CN1581794A - Long-range control method and system for communication device - Google Patents

Long-range control method and system for communication device Download PDF

Info

Publication number
CN1581794A
CN1581794A CN 03143782 CN03143782A CN1581794A CN 1581794 A CN1581794 A CN 1581794A CN 03143782 CN03143782 CN 03143782 CN 03143782 A CN03143782 A CN 03143782A CN 1581794 A CN1581794 A CN 1581794A
Authority
CN
China
Prior art keywords
terminal
operating
operable
operable terminal
command
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.)
Granted
Application number
CN 03143782
Other languages
Chinese (zh)
Other versions
CN1330128C (en
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB031437826A priority Critical patent/CN1330128C/en
Publication of CN1581794A publication Critical patent/CN1581794A/en
Application granted granted Critical
Publication of CN1330128C publication Critical patent/CN1330128C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The method includes following steps: control command to be transferred at operating terminal is transferred to remote communication device i.e. command interpreting part of operation system of operated terminal; command interpreting part of operation system of operated terminal receives control command transferred from operating terminal and processes the command; based processed result, the operated terminal carries out relevant operation so as to realize remote control for operated terminal. The invention also discloses the system including data transmission part, command interpreting part of operation system of operated terminal, and executive part of operated terminal. Advantages are: simplifying server setup at operated terminal; shortening develop cycle; lowering cost of remote controlling system, and raising processing capability of network terminal device.

Description

A kind of method and system of communication apparatus Long-distance Control
Technical field
The present invention relates to the network communications technology field, be specifically related to a kind of method and system of communication apparatus Long-distance Control.
Background technology
Along with developing rapidly of computer, computer has become a kind of indispensable instrument in people's work, the life.
Computer Communication Networks has been deep in our work and life along with the development of computer.
Computer is carrying out in the process used in everyday it as network communication apparatus, often has a certain the demand that computer is operated control in the network.As shown in Figures 1 and 2, in Fig. 1, operating terminal and operable terminal are network-termination device, operating terminal and operable terminal 1, operable terminal 2 are network-termination device in Fig. 2, if the user need operate control to operable terminal at operating terminal among Fig. 1, the user need operate control to operable terminal 1 and operable terminal 2 at operating terminal among Fig. 2, and the user can realize the control to it directly to operating on it its end of controlling.If but can realize that the user utilizes operating terminal that operable terminal is operated control at the operating terminal place, promptly realize the communication apparatus Long-distance Control, can bring a lot of facilities to live and work.
The computer remote control method has two kinds.
First method: share the control of realization computer remote by the network of operable terminal.
Under operating systems such as window or UNIX, share the bookkeeping that to realize the far-end computer file by network.Operable terminal is shared, can operation such as be checked, duplicate the file in the operable terminal, be under the complete state shared at operable terminal can also make amendment to the file of operable terminal storage, operation such as deletion.But, when operable terminal is in shared state, if the executable file of operation operable terminal, then this executable file moves on operating terminal, can not reach executable file and on operable terminal, move living result, and can not be created in the operation effect that executable file produced on the operable terminal.Therefore, utilize network to share and to realize remote computer control fully.
Second method: by client and server realization communication apparatus Long-distance Control being set respectively at operating terminal and operable terminal.
Among Fig. 1, if the user need realize control to operable terminal need and moving a client in the operating terminal setting by operating terminal, in the operable terminal setting and move a server.Server in the operable terminal should be supported fully to the operational order of operating terminal, can finish the order that comes from client transmissions like this.
The user utilizes the client input to wish the order of carrying out on operable terminal at operating terminal, client is transmitted through the network to operable terminal with this order, after the server of operable terminal receives this order, carry out this order by server, and execution result is transmitted through the network to operating terminal, after client on the operating terminal receives execution result, the result is presented on the operating terminal.Thereby realize the communication apparatus Long-distance Control.
Because the operating terminal order of sending need realize by the server on the operable terminal self, thus need the server on the operable terminal to support the order that operating terminal sends fully, so the server on the operable terminal is provided with complexity.Thereby taken the resource of a large amount of operable terminals, the disposal ability of operable terminal is reduced, wasted the resource of network-termination device, and the complexity of the setting of the server on the operable terminal, make the cycle of design and exploitation server long, workload is big, is not easy to realize, thereby makes communication apparatus tele-control system cost height.
In Fig. 2, if the user need need be provided with server respectively by the control of operating terminal realization to operable terminal 1 and operable terminal 2 on operable terminal 1 and operable terminal 2.If the operating system that adopts on operable terminal 1 and the operable terminal 2 is identical, the server that is provided with on operable terminal 1 and operable terminal 2 is identical so.If the operating system that adopts on operable terminal 1 and the operable terminal 2 is different, the operating system of setting operable terminal 1 is Window operating system, and the operating system of operable terminal 2 is Unix operating system.Need a server that be applicable under the Window operating system be set on the operable terminal 1 so, a server that is applicable under the Unix operating system is being set on the operable terminal 2.Because the process of the designing and developing complexity of server, be not easy to realize, designing and developing the server that is applicable to different operating system respectively can make workload significantly increase, and the serviced device of system resource of operable terminal 1 and operable terminal 2 takies in a large number, waste the network-termination device resource, caused the network-termination device disposal ability to descend.
Summary of the invention
The objective of the invention is to, a kind of method and system of communication apparatus Long-distance Control is provided, and to simplify the server setting of operable terminal, advantages of simplicity and high efficiency realizes the communication apparatus Long-distance Control, realize saving the network-termination device resource, improve the purpose of the disposal ability of network-termination device.
For achieving the above object, the method for communication apparatus Long-distance Control provided by the invention comprises:
A, operating terminal control command waiting for transmission is transferred to the command interpretation part that remote communication equipment is the operating system of operable terminal;
The command interpretation of b, operable terminal operating system partly receives the next control command of operating terminal transmission and it is handled;
C, operable terminal carry out corresponding operating according to described result, realize the Long-distance Control to operable terminal.
Described command interpretation partly comprises SHELL (command interpreter).
Described step a comprises:
The input of the command interpretation of operable terminal operating system part is redirected the port that links with operating terminal for operable terminal;
The port that operating terminal control command waiting for transmission is linked by operating terminal and operable terminal sends to the command interpretation part.
Described method also comprises:
D, be the port that links with operating terminal of operable terminal with the output redirection of the command interpretation of operable terminal operating system part.
Described steps d comprises:
The command interpretation that operable terminal is monitored its operating system partly be redirected the data of output and with the data that listen to by the port transmission that links with operating terminal to operating terminal.
Described method also comprises:
Described operating terminal receives and shows the data that the operable terminal transmission comes, and described data are the execution result of operable terminal.
The present invention also provides a kind of system that realizes communication apparatus long-range control method of the present invention, comprising:
Tcp data segment: the command interpretation part that is used for operating terminal control command waiting for transmission is transferred to by operating terminal and linking of operable terminal operable terminal operating system;
The command interpretation part of operable terminal operating system: the reception tcp data segment transmits next control command by described link and it is handled accordingly, result is transferred to the operating part of operable terminal;
The operating part of operable terminal: partly transmit the result of coming according to the command interpretation of operable terminal operating system and operate accordingly, realize Long-distance Control to operable terminal.
Described tcp data segment comprises:
Redirection module: with input, the output redirection of the command interpretation of operable terminal operating system part is the port that links with operating terminal of operable terminal;
Operating terminal data transmission blocks: the command interpretation part that operating terminal control command waiting for transmission is transferred to operable terminal operating system by described link.
Described system also comprises:
Operable terminal tcp data segment: be used to monitor the partly redirected data of exporting of command interpretation of operable terminal operating system and its data that listen to are transferred to operating terminal by described link;
Operating terminal Data Receiving part: reception also shows the data that operable terminal comes by described link transmission.
Utilize the present invention, when needs carry out the communication apparatus Long-distance Control, by operating terminal control command waiting for transmission being transferred to the command interpretation processing section of operable terminal operating system, command interpretation part by operable terminal operating system is handled it, rather than it is handled by the server that is provided with on the operable terminal, simplified the server that is provided with on the operable terminal, alleviated the server design development workload greatly, the cycle of designing and developing of server is shortened; Because server is simple and easy to realize that it is little to take resource space, makes the resource of operable terminal obtain liberation; Thereby realized reducing the cost of communication apparatus tele-control system, the resource of saving network-termination device, the purpose of the disposal ability of raising network-termination device.
Description of drawings
Fig. 1 is a communication apparatus Long-distance Control schematic diagram;
Fig. 2 realizes the Long-distance Control schematic diagram to a plurality of communication apparatus;
Fig. 3 is a communication apparatus tele-control system of the present invention.
Embodiment
The present invention handles by the command process part control command that transmission comes to operating terminal of utilizing operable terminal operating system, and advantages of simplicity and high efficiency realizes the communication apparatus Long-distance Control.Its specific implementation principle is: the command interpretation part that operating terminal control command to be transmitted is transferred to operable terminal operating system, command interpretation part by operable terminal operating system is handled transmitting the control command of coming, operable terminal carries out corresponding operating according to described result, thereby realizes the Long-distance Control of operating terminal to operable terminal.
Its specific implementation method is:
Operating terminal and operable terminal are the network communication terminal equipment, and client is set on operating terminal, and server is set on operable terminal.
The function that server is realized: after starting server, server is at first created a Socket (socket), and Socket is monitored, and waits for the link of the client on the operating terminal.
When the data that listen to the Socket reception are the data of client-requested link, set up the Socket of server and linking of client.
After the linking of the Socket that sets up server and client, server is created a subprocess, this subprocess loads the Shell of its place operable terminal operating system, promptly the execution body of this subprocess is the Shell of server place operable terminal operating system, this subprocess is redirected the input and output of the Shell of operable terminal operating system, allow the control command that Socket receives that is input as of Shell, allow the output of Shell be transferred to Socket.Simultaneously server is created a thread, and this thread is constantly read the output that Shell is redirected, and the output that Shell is redirected is by transferring to the client of operating terminal with linking of operating terminal.
The function that client realizes: after starting client, client is at first created a Socket, and the server on operable terminal sends the link application, sets up with server to link.After successfully linking, wait for the control command that receives user's input with server.After user input control command to operable terminal, receive user's input control command and with its by with the Socket that transfers to server from the Socket of client that links of operable terminal.Simultaneously the client on the operating terminal is created a thread, the data that send over from server end that read that the Socket of client receives, if read the data that the Socket of client receives, client is shown to operating terminal to data.
The user is by the control command of the client on operating terminal input like this, carries out dissection process by the Shell of operable terminal operating system, and operable terminal is operated accordingly and operating result is exported by Shell according to the result of dissection process.The thread of the server establishment on the operable terminal is constantly read the output that Shell is redirected simultaneously, the redirected output of Shell is transmitted through the network to the client of operating terminal, the operating result that comes from Server Transport that will be received by client shows at operating terminal, thereby has realized the communication apparatus Long-distance Control.
When many operable terminals of operating terminal control, if the operating system difference of operable terminal, the server that is provided with on operable terminal so only need load the Shell of its place terminal operating system, be the Shell that subprocess that server is created loads its place operable terminal operating system, just can have realized server.Such server implementation reduces the cycle of designing and developing of server greatly, has reduced the cost of realizing the communication apparatus tele-control system.
Below in conjunction with accompanying drawing communication apparatus tele-control system of the present invention is described in further detail.
Communication apparatus tele-control system of the present invention as shown in Figure 3.
In Fig. 3, the communication apparatus tele-control system comprises: the command interpretation part 330 of operable terminal data transmission blocks 300, operating terminal Data Receiving part 310, redirection module 320, operable terminal operating system, the operating part 340 of operable terminal, operable terminal tcp data segment 350.
Operable terminal data transmission blocks 300 and redirection module 320 are formed tcp data segment.
Redirection module 320 is the port that links with operating terminal of operable terminal with input, the output redirection of the command interpretation part 330 of operable terminal operating system.
Operable terminal data transmission blocks 300 transfers to the user command interpretation part 330 of operable terminal operating system in the control command of operating terminal input.The command interpretation part 330 of operable terminal operating system receives after the control command that operable terminal data transmission blocks 300 transmission comes its processing that makes an explanation, and result is transferred to the operating part 340 of operable terminal.The result that the result that the operating part 340 of operable terminal comes according to transmission is operated accordingly and will be operated sends by the redirected output of the command interpretation part 330 of operable terminal operating system.The command interpretation part 330 that operable terminal tcp data segment 350 is monitored the operable terminal operating systems is redirected the data of output, and with its data that listen to by transferring to operating terminal Data Receiving part 310 with linking of operating terminal.Operating terminal Data Receiving part 310 receives the data that 350 transmission of operable terminal tcp data segment come, and it is shown on operating terminal.
Though described the present invention by embodiment, those of ordinary skills know, the present invention has many distortion and variation and do not break away from spirit of the present invention, wishes that appended claim comprises these distortion and variation.

Claims (9)

1. the method for a communication apparatus Long-distance Control is characterized in that comprising:
A, operating terminal control command waiting for transmission is transferred to the command interpretation part that remote communication equipment is the operating system of operable terminal;
The command interpretation of b, operable terminal operating system partly receives the next control command of operating terminal transmission and it is handled;
C, operable terminal carry out corresponding operating according to described result, realize the Long-distance Control to operable terminal.
2. the method for a kind of communication apparatus Long-distance Control as claimed in claim 1 is characterized in that described command interpretation partly comprises SHELL (command interpreter).
3. the method for a kind of communication apparatus Long-distance Control as claimed in claim 1 or 2 is characterized in that described step a comprises:
The input of the command interpretation of operable terminal operating system part is redirected the port that links with operating terminal for operable terminal;
The port that operating terminal control command waiting for transmission is linked by operating terminal and operable terminal sends to the command interpretation part.
4. the method for a kind of communication apparatus Long-distance Control as claimed in claim 1 is characterized in that described method also comprises:
D, be the port that links with operating terminal of operable terminal with the output redirection of the command interpretation of operable terminal operating system part.
5. the method for a kind of communication apparatus Long-distance Control as claimed in claim 4 is characterized in that described steps d comprises:
The command interpretation that operable terminal is monitored its operating system partly be redirected the data of output and with the data that listen to by the port transmission that links with operating terminal to operating terminal.
6. the method for a kind of communication apparatus Long-distance Control as claimed in claim 5 is characterized in that described method also comprises:
Described operating terminal receives and shows the data that the operable terminal transmission comes, and described data are the execution result of operable terminal.
7. the system of a communication apparatus Long-distance Control is characterized in that comprising:
Tcp data segment: the command interpretation part that is used for operating terminal control command waiting for transmission is transferred to by operating terminal and linking of operable terminal operable terminal operating system;
The command interpretation part of operable terminal operating system: the reception tcp data segment transmits next control command by described link and it is handled accordingly, result is transferred to the operating part of operable terminal;
The operating part of operable terminal: partly transmit the result of coming according to the command interpretation of operable terminal operating system and operate accordingly, realize Long-distance Control to operable terminal.
8. the system of a kind of communication apparatus Long-distance Control as claimed in claim 7 is characterized in that described tcp data segment comprises:
Redirection module: with input, the output redirection of the command interpretation of operable terminal operating system part is the port that links with operating terminal of operable terminal;
Operating terminal data transmission blocks: the command interpretation part that operating terminal control command waiting for transmission is transferred to operable terminal operating system by described link.
9. the system of a kind of communication apparatus Long-distance Control as claimed in claim 8 is characterized in that described system also comprises:
Operable terminal tcp data segment: be used to monitor the partly redirected data of exporting of command interpretation of operable terminal operating system and its data that listen to are transferred to operating terminal by described link;
Operating terminal Data Receiving part: reception also shows the data that operable terminal comes by described link transmission.
CNB031437826A 2003-08-05 2003-08-05 Long-range control method and system for communication device Expired - Lifetime CN1330128C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031437826A CN1330128C (en) 2003-08-05 2003-08-05 Long-range control method and system for communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031437826A CN1330128C (en) 2003-08-05 2003-08-05 Long-range control method and system for communication device

Publications (2)

Publication Number Publication Date
CN1581794A true CN1581794A (en) 2005-02-16
CN1330128C CN1330128C (en) 2007-08-01

Family

ID=34579520

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031437826A Expired - Lifetime CN1330128C (en) 2003-08-05 2003-08-05 Long-range control method and system for communication device

Country Status (1)

Country Link
CN (1) CN1330128C (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1960276B (en) * 2005-11-04 2010-05-12 英业达股份有限公司 Remote control system and method
CN102736936A (en) * 2012-05-31 2012-10-17 东南大学 Method for remotely interacting console programs
CN104391695A (en) * 2014-11-06 2015-03-04 北京凌阳益辉科技有限公司 Method for performing synchronous control through external equipment and device thereof
CN105577831A (en) * 2016-02-02 2016-05-11 明博教育科技股份有限公司 Data communication method and system in mobile teaching of electronic courseware
CN106850731A (en) * 2016-10-14 2017-06-13 水熊有限公司 A kind of method of remote control, server and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8285880B2 (en) * 2001-11-30 2012-10-09 Oracle International Corporation Servicing requests that are issued in a protocol other than the protocol expected by the service
CN1256669C (en) * 2002-12-27 2006-05-17 联想(北京)有限公司 Heterogeneous machine group management system and information processing method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1960276B (en) * 2005-11-04 2010-05-12 英业达股份有限公司 Remote control system and method
CN102736936A (en) * 2012-05-31 2012-10-17 东南大学 Method for remotely interacting console programs
CN102736936B (en) * 2012-05-31 2015-01-28 东南大学 Method for remotely interacting console programs
CN104391695A (en) * 2014-11-06 2015-03-04 北京凌阳益辉科技有限公司 Method for performing synchronous control through external equipment and device thereof
WO2016070847A1 (en) * 2014-11-06 2016-05-12 北京凌阳益辉科技有限公司 Method for performing synchronization control through external device and apparatus thereof
CN104391695B (en) * 2014-11-06 2017-11-24 北京凌阳益辉科技有限公司 A kind of method and its device that control is synchronized by external equipment
CN105577831A (en) * 2016-02-02 2016-05-11 明博教育科技股份有限公司 Data communication method and system in mobile teaching of electronic courseware
CN106850731A (en) * 2016-10-14 2017-06-13 水熊有限公司 A kind of method of remote control, server and system

Also Published As

Publication number Publication date
CN1330128C (en) 2007-08-01

Similar Documents

Publication Publication Date Title
CN1219361C (en) Bluetooth adaptor for infrared interface and communication method therefor
CN1871824A (en) Method and apparatus for translating resource names in a wireless environment
CN1638376A (en) Apparatus and method for sharing services on a network
CN1791037A (en) Method for realizing Web service automatic test
CN1581794A (en) Long-range control method and system for communication device
CN1272724C (en) No.7 layer load equalization method based on socket butt joint in kernel
CN1863210A (en) Apparatus scanning method
CN1881141A (en) Device and method for performing multi-functions using unique port in wireless terminal
CN1838666A (en) Byte sequence switching method for crossing operating system platform
CN1870612A (en) Video differential signal transmission and keyboard/video/mouse switch
CN101052194A (en) Device for realizing maintenance of far end radio frequency terminal by local maintenance terminal
CN1885777A (en) Communication apparatus and communication method
CN1599287A (en) Light receiving and emitting electronic apparatus
CN1224200C (en) Double communication device and method for remote monitoring and controlling
CN1905496A (en) System and method for testing function of communication apparatus
CN1901724A (en) Dispatching method for mobile communication system software version updating
CN1761211A (en) Method and system for managing and controlling network device of supporting wireless mobile communication
CN1129281C (en) Method of raising IP message forwarding speed utilizing slow storage technology
CN1430860A (en) Personal digital assistant, wireless communication system and method of link establishment
CN1787511A (en) Method and system for realizing off-line application of computer
CN1747483A (en) Wireless terminal with double mode and realization thereof
CN101035260A (en) Method and system for accessing the video device
CN1627282A (en) Method and equipment for carrying out synchronous data communication between one or more mobile terminals and computer
CN200953387Y (en) Cable assembly and communication equipment
CN1991745A (en) Method for catching 64 bit information in 64 bit system by using 32 bit master program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term

Granted publication date: 20070801

CX01 Expiry of patent term