CN108810174A - A kind of long-range control method and device - Google Patents
A kind of long-range control method and device Download PDFInfo
- Publication number
- CN108810174A CN108810174A CN201810895523.5A CN201810895523A CN108810174A CN 108810174 A CN108810174 A CN 108810174A CN 201810895523 A CN201810895523 A CN 201810895523A CN 108810174 A CN108810174 A CN 108810174A
- Authority
- CN
- China
- Prior art keywords
- distance host
- host
- distance
- long
- pending order
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
Abstract
This application discloses a kind of long-range control method and device, which includes:Obtain the information of multiple distance hosts and pending order corresponding with the distance host;Each distance host in the multiple distance host is established with the distance host and connected according to the information of the distance host, pending order corresponding with the distance host of connection has been established is handed down to the distance host.In a present invention at least embodiment, remote control is carried out to distance host batch, improves control efficiency.
Description
Technical field
The present invention relates to network technology, espespecially a kind of long-range control method and device.
Background technology
Remote control refers to the host that need to be controlled by network connection, and relevant operation is executed to the host controlled.When
When needing to carry out remote control there are large batch of host, user needs to be attached each host, the operations such as transmitting order to lower levels,
Need to carry out a large amount of repetitive operation, inefficiency, user experience is bad.
Invention content
A present invention at least embodiment provides a kind of long-range control method and device, improves efficiency, improves user experience.
A present invention at least embodiment provides a kind of long-range control method, including:
Obtain the information of multiple distance hosts and pending order corresponding with the distance host;
It is and described long-range according to the information of the distance host to each distance host in the multiple distance host
Host establishes connection, and pending order corresponding with the distance host of connection has been established is handed down to the distance host.
A present invention at least embodiment provides a kind of remote control apparatus, including:
Input module, the information for obtaining multiple distance hosts and pending order corresponding with the distance host;
Execution module is used for each distance host in the multiple distance host, according to the letter of the distance host
Breath is established with the distance host and is connected;Pending order corresponding with the distance host of connection has been established is handed down to
The distance host.
A present invention at least embodiment provides a kind of remote control apparatus, including memory and processor, the memory
It has program stored therein, described program realizes the long-range control method described in any embodiment when reading execution by the processor.
Compared with the relevant technologies, in a present invention at least embodiment, remote control is carried out to distance host batch, is improved
Control efficiency.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification
It obtains it is clear that understand through the implementation of the invention.The purpose of the present invention and other advantages can be by specification, rights
Specifically noted structure is realized and is obtained in claim and attached drawing.
Description of the drawings
Attached drawing is used for providing further understanding technical solution of the present invention, and a part for constitution instruction, with this
The embodiment of application technical solution for explaining the present invention together, does not constitute the limitation to technical solution of the present invention.
Fig. 1 is the long-range control method flow chart that one embodiment of the invention provides;
Fig. 2 is the remote control apparatus block diagram that one embodiment of the invention provides;
Fig. 3 is the remote control Organization Chart that one embodiment of the invention provides;
Fig. 4 is the remote control apparatus block diagram that another embodiment of the present invention provides.
Specific implementation mode
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention
Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application
Feature mutually can arbitrarily combine.
Step shown in the flowchart of the accompanying drawings can be in the computer system of such as a group of computer-executable instructions
It executes.Also, although logical order is shown in flow charts, and it in some cases, can be with suitable different from herein
Sequence executes shown or described step.
A present invention at least embodiment provides a kind of long-range control method, as shown in Figure 1, including:
Step 101, the information of multiple distance hosts and pending order corresponding with the distance host are obtained;
Step 102, to each distance host in the multiple distance host, according to the information of the distance host, with
The distance host establishes connection, pending order corresponding with the distance host of connection has been established is handed down to described remote
Journey host.
Long-range control method provided in this embodiment carries out remote control to distance host batch, and user only needs to input
Distance host information and pending order subtract significantly without being attached one by one to each distance host, issuing pending order
Workload is lacked, especially when distance host quantity is more, for example has needed long-range main in tens, Shang Baitai or even thousands of
When machine executes certain operation, workload can be greatly reduced using the application.
Wherein, the information of the distance host is some information established with distance host needed for connection.In an embodiment
In, the information of the distance host includes at least one of:Procotol (the Internet of the distance host
Protocol, IP) address, the title of the distance host, user name, password.Some hosts can not need user name and close
Code, alternatively, using default user name, at this point it is possible to not input username and password.
Wherein, the information of the distance host can be inputted by user in operation interface, alternatively, file is read, from text
The information of distance host is obtained in part, this document can be preserved by preset format, subsequently can be with after this document is generated in advance
It imports this document and therefrom obtains the information of distance host and pending order.
In one embodiment, the pending order includes at least one of:It transmits file, modification configuration, obtain day
Will (daily record for obtaining distance host).It should be noted that merely illustrative herein, pending order can be set as needed
It sets, can be any required operation executed on distance host, for example, can also be modification file, etc..Wherein it is possible to
All distance hosts correspond to identical pending order, for example, need to a large amount of distance hosts execute same operation when, can also
Corresponding different pending order, when corresponding to identical pending order, user can merely enter a pending order.Its
In, whether some configuration is correct, transmits some file, changes a certain configuration etc. is such as checked in pending order.
In one embodiment, the method further includes:The implementing result that the distance host returns is received, by the execution
As a result it is stored or is exported to display screen.For example, when distance host is more, user has little time to check, can will execute knot
Fruit stores hereof, is subsequently checked for user.It is of course also possible to display screen is directly output to, for user's instantaneously browsing.
In one embodiment, the implementing result is the notice for running succeeded or failing, alternatively, on the distance host
Data.Wherein, it runs succeeded or the notice of failure is such as modification configuration successful, change configuration failure, transmission file success passes
Defeated file failure etc., the data on the distance host are such as the daily record etc. on the distance host.
Wherein, it in step 102, can be executed, i.e., according to the information of a distance host, be carried out in a circulating manner
Connection, after issuing pending order, further according to the information of next distance host, is attached and issues pending order, directly
It is finished to all distance hosts.It is of course also possible to which concurrent fashion executes, i.e., the company to one group of distance host is initiated simultaneously
Pending order is connect and issues, then initiate the connection to next group of distance host and issue pending order, etc..
As shown in Fig. 2, one embodiment of the invention provides a kind of remote control apparatus, including:
Input module 201, the information for obtaining multiple distance hosts and pending life corresponding with the distance host
It enables;
Execution module 202 is used for each distance host in the multiple distance host, according to the distance host
Information is established with the distance host and is connected;Pending order corresponding with the distance host of connection has been established is issued
To the distance host.
In one embodiment, the execution module 202 includes that link block 2021, long-range execute issue module 2022 and defeated
Go out module 2023, wherein:
The link block 2021 is used for, to each distance host in the multiple distance host, according to described long-range
The information of host is established with the distance host and is connected;
The long-range execution issues module 2022 and is used for, will be corresponding with the distance host of connection has been established pending
Order is handed down to the distance host, receives the implementing result that the distance host returns, the implementing result is sent to institute
State output module;
The output module 2023 is used for, and is stored or exported implementing result to display screen.
In one embodiment, the implementing result is the notice for running succeeded or failing, alternatively, being returned for the distance host
The data returned.
In one embodiment, the information of the distance host includes at least one of:The network of the distance host is assisted
Discuss address, the title of the distance host, user name, password.
When the application is applied to the control scene with extensive host, it can greatly simplify collector journal, batch
Change the workload of the research and development such as file or configuration, test and operation maintenance personnel.Higher work is measured especially for repetition, for example,
It needs, when tens, Shang Baitai or even thousands of distance hosts execute certain operation, to utilize side provided in an embodiment of the present invention
Case can greatly reduce workload.
As shown in figure 3, one embodiment of the invention provides a kind of long-range control method.Specific implementation process is as follows:
Local host 301 (host for being used for carrying out remote control) is communicated to the network of distance host 302 first,
Input module obtains IP address, user name and the password that user inputs all distance hosts to be operated, pending order.So
Cycle executes operations described below afterwards:
Link block initiates the connection to distance host according to IP address, user name and password, after successful connection, notice
Long-range execute issues module;Local host and distance host can be based on SSH (Secure Shell, Secure Shell) agreement and establish
Connection.It should be noted that illustrating only a distance host in Fig. 3, practical distance host is multiple.
Long-range execution issues module and pending order is handed down to distance host, and the implementing result of distance host is passed
Give output module;
Output module receives the long-range content for issuing module and sending that executes and (can run succeeded or fail
Notice, can also go up the result of inquiry) after, it is output to display screen and is shown, checked for user.
The present embodiment, when carrying out the remote control of extensive host, greatly to simplify collector journal, batch modification
The exploitation such as file or configuration, test and maintenance work amoun.
Scheme provided in this embodiment can avoid repeating host service function etc. by platform with large batch of remote operation host
Sex work.Secondly, rear three modules are packaged in together, and user only needs to input information needed by input module, is not required to
It to go to execute connection, the operations such as transmitting order to lower levels and result displaying again.
As shown in figure 4, one embodiment of the invention provides a kind of remote control apparatus 40, including memory 410 and processor
420, the memory 410 has program stored therein, and described program realizes any implementation when reading execution by the processor 420
Long-range control method described in example.
One embodiment of the invention provides a kind of computer readable storage medium, and the computer-readable recording medium storage has
One or more program, one or more of programs can be executed by one or more processor, to realize any reality
Apply the long-range control method described in example.
It will appreciated by the skilled person that whole or certain steps in method disclosed hereinabove, system, dress
Function module/unit in setting may be implemented as software, firmware, hardware and its combination appropriate.In hardware embodiment,
Division between the function module/unit referred in the above description not necessarily corresponds to the division of physical assemblies;For example, one
Physical assemblies can have multiple functions or a function or step that can be executed by several physical assemblies cooperations.Certain groups
Part or all components may be implemented as by processor, such as the software that digital signal processor or microprocessor execute, or by
It is embodied as hardware, or is implemented as integrated circuit, such as application-specific integrated circuit.Such software can be distributed in computer-readable
On medium, computer-readable medium may include computer storage media (or non-transitory medium) and communication media (or temporarily
Property medium).As known to a person of ordinary skill in the art, term computer storage medium is included in for storing information (such as
Computer-readable instruction, data structure, program module or other data) any method or technique in the volatibility implemented and non-
Volatibility, removable and nonremovable medium.Computer storage media include but not limited to RAM, ROM, EEPROM, flash memory or its
His memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storages, magnetic holder, tape, disk storage or other
Magnetic memory apparatus or any other medium that can be used for storing desired information and can be accessed by a computer.This
Outside, known to a person of ordinary skill in the art to be, communication media generally comprises computer-readable instruction, data structure, program mould
Other data in the modulated data signal of block or such as carrier wave or other transmission mechanisms etc, and may include any information
Delivery media.
Claims (10)
1. a kind of long-range control method, which is characterized in that including:
Obtain the information of multiple distance hosts and pending order corresponding with the distance host;
To each distance host in the multiple distance host, according to the information of the distance host, with the distance host
Connection is established, pending order corresponding with the distance host of connection has been established is handed down to the distance host.
2. long-range control method according to claim 1, which is characterized in that the method further includes:It receives described long-range
The implementing result that host returns, the implementing result is stored or is exported to display screen.
3. long-range control method according to claim 2, which is characterized in that the implementing result is to run succeeded or fail
Notice, alternatively, the data on the distance host.
4. long-range control method according to any one of claims 1 to 3, which is characterized in that the packet of the distance host
Include at least one of:The internet protocol address of the distance host, the title of the distance host, user name, password.
5. long-range control method according to any one of claims 1 to 3, which is characterized in that it is described it is pending order include with
It is at least one lower:It transmits file, modification configuration, obtain daily record.
6. a kind of remote control apparatus, which is characterized in that including:
Input module, the information for obtaining multiple distance hosts and pending order corresponding with the distance host;
Execution module, for each distance host in the multiple distance host, according to the information of the distance host, with
The distance host establishes connection;Pending order corresponding with the distance host of connection has been established is handed down to described remote
Journey host.
7. remote control apparatus according to claim 6, which is characterized in that the execution module includes link block, remote
Cheng Zhihang issues module and output module, wherein:
The link block is used for, to each distance host in the multiple distance host, according to the letter of the distance host
Breath is established with the distance host and is connected;
The long-range execution issues module and is used for, and pending order corresponding with the distance host of connection has been established is issued
To the distance host, the implementing result that the distance host returns is received, the implementing result is sent to the output mould
Block;
The output module is used for, and is stored or exported the implementing result to display screen.
8. remote control apparatus according to claim 7, which is characterized in that the implementing result is to run succeeded or fail
Notice, alternatively, for the distance host return data.
9. according to any remote control apparatus of claim 6 to 8, which is characterized in that the packet of the distance host
Include at least one of:The internet protocol address of the distance host, the title of the distance host, user name, password.
10. a kind of remote control apparatus, which is characterized in that including memory and processor, the memory has program stored therein, institute
Program is stated when reading execution by the processor, realizes the long-range control method as described in claim 1 to 5 is any.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810895523.5A CN108810174A (en) | 2018-08-08 | 2018-08-08 | A kind of long-range control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810895523.5A CN108810174A (en) | 2018-08-08 | 2018-08-08 | A kind of long-range control method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108810174A true CN108810174A (en) | 2018-11-13 |
Family
ID=64079538
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810895523.5A Pending CN108810174A (en) | 2018-08-08 | 2018-08-08 | A kind of long-range control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108810174A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109450687A (en) * | 2018-11-14 | 2019-03-08 | 沈文策 | A kind of data distributing method, device, electronic equipment and storage medium |
CN115396248A (en) * | 2022-08-31 | 2022-11-25 | 杭州程天科技发展有限公司 | Remote equipment control method, device, system, electronic device and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102523124A (en) * | 2011-12-26 | 2012-06-27 | 北京蓝汛通信技术有限责任公司 | Method and apparatus for carrying out batch processing on lots of hosts in CDN network |
CN104461709A (en) * | 2014-12-12 | 2015-03-25 | 北京国双科技有限公司 | Method and device for controlling task plans |
CN105516256A (en) * | 2015-11-27 | 2016-04-20 | 北京锐安科技有限公司 | Batch command operation method and device of Linux host |
US20160364101A1 (en) * | 2015-06-15 | 2016-12-15 | Ricardo Spear | Method for controlling remote user display |
CN106302644A (en) * | 2016-07-29 | 2017-01-04 | 四川天邑康和通信股份有限公司 | A kind of telnet command performs system and the method for execution |
CN107580024A (en) * | 2017-08-04 | 2018-01-12 | 北京奇虎科技有限公司 | The control method and device of a kind of distance host |
-
2018
- 2018-08-08 CN CN201810895523.5A patent/CN108810174A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102523124A (en) * | 2011-12-26 | 2012-06-27 | 北京蓝汛通信技术有限责任公司 | Method and apparatus for carrying out batch processing on lots of hosts in CDN network |
CN104461709A (en) * | 2014-12-12 | 2015-03-25 | 北京国双科技有限公司 | Method and device for controlling task plans |
US20160364101A1 (en) * | 2015-06-15 | 2016-12-15 | Ricardo Spear | Method for controlling remote user display |
CN105516256A (en) * | 2015-11-27 | 2016-04-20 | 北京锐安科技有限公司 | Batch command operation method and device of Linux host |
CN106302644A (en) * | 2016-07-29 | 2017-01-04 | 四川天邑康和通信股份有限公司 | A kind of telnet command performs system and the method for execution |
CN107580024A (en) * | 2017-08-04 | 2018-01-12 | 北京奇虎科技有限公司 | The control method and device of a kind of distance host |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109450687A (en) * | 2018-11-14 | 2019-03-08 | 沈文策 | A kind of data distributing method, device, electronic equipment and storage medium |
CN115396248A (en) * | 2022-08-31 | 2022-11-25 | 杭州程天科技发展有限公司 | Remote equipment control method, device, system, electronic device and storage medium |
CN115396248B (en) * | 2022-08-31 | 2024-03-15 | 杭州程天科技发展有限公司 | Remote device control method, device, system, electronic device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10972362B2 (en) | Network service configuration method and network management device | |
EP4032207B1 (en) | State machine handling at a proxy node in an ethernet-based fronthaul network | |
CN108200018B (en) | Flow forwarding method and equipment, computer equipment and readable medium in cloud computing | |
CN107431651A (en) | The life cycle management method and equipment of a kind of network service | |
CN111008135B (en) | APP test method, device, equipment and storage medium | |
CN106878199A (en) | The collocation method and device of a kind of access information | |
US20200260277A1 (en) | Method for wireless access authentication | |
CN108810174A (en) | A kind of long-range control method and device | |
CN104270204A (en) | Testing method and testing equipment for wireless communication module | |
CN110049118A (en) | Information push method, device, equipment and storage medium | |
CN104956351A (en) | Virtual desktop access using wireless devices | |
CN109062820A (en) | A kind of software performance testing method and device | |
CN110048875A (en) | A kind of method and apparatus of upgrading driving | |
US9542200B2 (en) | Dynamic port naming in a chassis | |
CN107944985A (en) | Order retransmission method, device, server and readable storage medium storing program for executing | |
CN110620706B (en) | Parameter adjusting method and equipment | |
CN107172048A (en) | A kind of multi-channel implementation method and device based on SMB agreements | |
CN109450689A (en) | A kind of log Method of printing, device, storage medium and computer equipment | |
KR102093923B1 (en) | Apparatus and method for monitering integration of message in tactical data link | |
CN112788576A (en) | Equipment offline processing method and system, storage medium and electronic device | |
EP3276914A1 (en) | Data sharing method and device for virtual desktop | |
CN113472878B (en) | Method and device for realizing file dragging transmission in VNC by using browser plug-in | |
CN112543109A (en) | Cloud host creation method, system, server and storage medium | |
CN109271454A (en) | A kind of method and the network equipment that data are synchronous | |
CN109672718A (en) | File delivery method, server, storage medium and device between system |
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 |
Application publication date: 20181113 |
|
RJ01 | Rejection of invention patent application after publication |