CN103458011B - Network card binding method between multi-network card computer in remotely controlling - Google Patents
Network card binding method between multi-network card computer in remotely controlling Download PDFInfo
- Publication number
- CN103458011B CN103458011B CN201310363207.0A CN201310363207A CN103458011B CN 103458011 B CN103458011 B CN 103458011B CN 201310363207 A CN201310363207 A CN 201310363207A CN 103458011 B CN103458011 B CN 103458011B
- Authority
- CN
- China
- Prior art keywords
- computer
- information
- network card
- connection
- successful connection
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 20
- 238000004891 communication Methods 0.000 claims abstract description 14
- 238000012544 monitoring process Methods 0.000 claims description 3
- 230000005540 biological transmission Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides a kind of network card binding method in long-range control between multi-network card computer, comprise the steps: that step 1, computer A are sent to computer B by message server the IP information of network interface cards all in the machine, and on computer A, start a port snoop thread;After step 2, computer B receive all IP information of computer A, connection time-out time is set, and is attached test one by one;After step 3, described computer A receive the connection request of computer B, return successful connection, if step 4 computer B receives the information of successful connection in described time-out time, computer B writes down the IP information of successful connection, by message server, the IP information of this successful connection is sent to computer A again, step 5, the remote login module of computer A are tied to interface registration on the IP address that computer B returns, thus complete IP binding procedure, it is achieved direct point-to-point communication between multi-network card computer in remotely controlling.
Description
[technical field]
The present invention relates to computer communication technology field, particularly relate to many network interface cards in a kind of remotely control and calculate
Network card binding method between machine.
[background technology]
In existing LAN, the message transmission between two computers is it is generally required to pass through a messenger service
Device carries out forwarding (the expansible communication of employing of described message server and presentation protocol, abbreviation XMPP, use
The real-time communication of message between computer), such as, computer A needs to send messages to computer B,
Then, computer A is first sent to message server message, and message server solves from the message received
The target machine separating out message is computer B, is forwarding the message to computer B.But as computer A
And when remotely controlling between computer B, need to transmit substantial amounts of screen between two computers and cut
Diagram data, and it is too long to require that real-time operation can not extend, and in this case, passes through message server
Carry out forwarding and just cannot meet requirement, therefore, directly carry out point-to-point logical between only two computers
News, could meet the demand of remotely control.But for the computer of many network interface cards how to realize point-to-point it
Between communication, there is presently no simple and effective solution.
Publication No. 101917281A, publication date be 2010-12-15 patent of invention " a kind of network interface card from
Dynamic collocation method " disclose and the computer equipment of multiple network interface cards is installed realizes the method that network interface card automatically configures,
Its network corresponding firstly the need of arranging each network interface card, when computer equipment remotely connects, first
Obtain the network interface card and the configuration information of this network interface card currently connected and bound, then resolve the target of this network interface card
IP address, deletes this network interface card route to this Target IP;The completeest finally according to the information above obtained
Becoming to add routing function, initiate to connect to target, after adding this connection entry, configuring this entry to bind
Network interface card can connect destination server smoothly.This patent of invention address only multi-network card computer and automatically adds
Add the problem that route could normally use, it is impossible in solving remotely to control, the point between multi-network card computer
Communication to point.
[summary of the invention]
The technical problem to be solved in the present invention, is to provide in a kind of long-range control between multi-network card computer
Network card binding method, it achieves the binding between multi-network card computer, thus in remotely controlling, many nets
The direct point-to-point communication of card intercomputer.
The present invention is achieved in that
Network card binding method between multi-network card computer in remotely controlling, comprises the steps:
Step 1, computer A are sent to the IP information of network interface cards all in the machine by message server
Computer B, and on computer A, start a port snoop thread;On described computer A at least
It is provided with two network interface cards;
After step 2, described computer B receive all IP information of computer A, connection time-out is set
Time, and from all IP information, an optional IP information is attached test, sends connection request;
If after step 3 described computer A receives the connection request of computer B, then returning successful connection
Information to computer B;If described computer A does not receives the connection request of computer B, do not do
Any response;
If step 4 computer B receives the information of successful connection, computer B in described time-out time
No longer choosing the IP information do not tested and be attached test, computer B writes down the IP information of successful connection,
By described message server, the IP information of this successful connection is sent to computer A again, perform step
5;
If computer B does not receives the information of successful connection in described time-out time, then believe from all IP
Breath continues select another IP information to be attached test, send connection request, return step 3;
Step 5, the remote login module of computer A are tied to what computer B returned interface registration
On IP address, thus complete IP binding procedure, it is achieved point-to-point between computer A and computer B
Communication.
Further, in described step 2, connecting test starts with the IP information chosen and computer A
Port numbers be parameter be attached test.
Further, in described step 1, the port that computer A starts is used for monitoring computer B and is
No have connection request, if there being connection request, then returns the information of successful connection to computer B.
Present invention have the advantage that by the computer B of controlled state to controlled computer A by
Individual transmission connecting test is asked, and once receives the information of computer A successful connection, then computer B writes down
The IP information of successful connection, then by described message server, the IP information of this successful connection is sent to meter
The remote login module of calculation machine A, computer A is tied to, interface registration, the IP address that computer B returns
On, it is achieved thereby that the binding between computer A and computer B, in remotely controlling, computer A with
Computer B can directly carry out point-to-point communication, it is not necessary to message server carries out data relay, shortens
Data transmission period.
[accompanying drawing explanation]
The present invention is further illustrated the most in conjunction with the embodiments.
Fig. 1 is the schematic flow sheet of the inventive method.
[detailed description of the invention]
Referring to Fig. 1, network card binding method between multi-network card computer in remotely controlling, the method is applied
Controlled by computer B, at least provided with a network interface card (on described computer A in a computer A application
The corresponding IP information of network interface card), described method comprises the steps:
Step 1, computer A are sent to the IP information of network interface cards all in the machine by message server
Computer B, and on computer A, start a port snoop thread;The port that computer A starts
For monitoring whether computer B has connection request, if there being connection request, then return to computer B
The information of successful connection;
After step 2, described computer B receive all IP information of computer A, connection time-out is set
Time, and from all IP information, an optional IP information is attached test, sends connection request;
The port numbers that connecting test starts with the IP information chosen and computer A is attached test for parameter.
If after step 3 described computer A receives the connection request of computer B, then returning successful connection
Information to computer B;If described computer A does not receives the connection request of computer B, do not do
Any response;
If step 4 computer B receives the information of successful connection, computer B in described time-out time
No longer choosing the IP information do not tested and be attached test, computer B writes down the IP information of successful connection,
By described message server, the IP information of this successful connection is sent to computer A again, perform step
5;
If computer B does not receives the information of successful connection in described time-out time, then believe from all IP
(another IP information described is not to be connected to continue to select another IP information to be attached test in breath
The IP information of test), send connection request, return step 3;
Step 5, the remote login module of computer A are tied to what computer B returned interface registration
On IP address, thus complete IP binding procedure, it is achieved point-to-point between computer A and computer B
Communication, shortens data transmission period.
The interface registration that computer A is remotely controlled the machine is tied to carry out point-to-point with computer B
On the IP of communication, such computer B (is remotely controlled at computer A by remote method invocation (RMI) object
This object is obtained in the IP information of interface registration binding), it is possible to control computer A.Computer A
On remote login module if it is not known which IP can carry out point-to-point communication with computer B, meter
Calculation machine A is registered on the IP that can not point-to-point with computer B communicate, then computer B will not
Computer A can be controlled.
The present invention sends connecting test by the computer B of controlled state one by one to controlled computer A
Request, once receives the information of computer A successful connection, then computer B writes down the IP letter of successful connection
Breath, then by described message server, the IP information of this successful connection is sent to computer A, computer
The remote login module of A is tied to interface registration on the IP address that computer B returns, it is achieved thereby that
Binding between computer A and computer B, in remotely controlling, computer A and computer B can be directly
Carry out point-to-point communication, it is not necessary to message server carries out data relay, shortens data transmission period.
Although the foregoing describing the detailed description of the invention of the present invention, but it is familiar with the technology people of the art
Member should be appreciated that our described specific embodiment is merely exemplary rather than for this
The restriction of bright scope, those of ordinary skill in the art are in the equivalence made according to the spirit of the present invention
Modify and change, all should contain in the scope of the claimed protection of the present invention.
Claims (3)
1. network card binding method between multi-network card computer in remotely controlling, it is characterised in that include as
Lower step:
Step 1, computer A are sent to the IP information of network interface cards all in the machine by message server
Computer B, and on computer A, start a port snoop thread;On described computer A at least
It is provided with two network interface cards;
After step 2, described computer B receive all IP information of computer A, connection time-out is set
Time, and from all IP information, an optional IP information is attached test, sends connection request;
If after step 3 described computer A receives the connection request of computer B, then returning successful connection
Information to computer B;If described computer A does not receives the connection request of computer B, do not do
Any response;
If step 4 computer B receives the information of successful connection, computer B in described time-out time
No longer choosing the IP information do not tested and be attached test, computer B writes down the IP information of successful connection,
By described message server, the IP information of this successful connection is sent to computer A again, perform step
5;
If computer B does not receives the information of successful connection in described time-out time, then believe from all IP
Breath continues select another IP information to be attached test, send connection request, return step 3;
Step 5, the remote login module of computer A are tied to what computer B returned interface registration
On IP address, thus complete IP binding procedure, it is achieved point-to-point between computer A and computer B
Communication.
Network card binding method between multi-network card computer in long-range control the most according to claim 1,
It is characterized in that: in described step 2, connecting test starts with the IP information chosen and computer A
Port numbers is that parameter is attached test.
Network card binding method between multi-network card computer in long-range control the most according to claim 1,
It is characterized in that: in described step 1, the port that computer A starts is used for whether monitoring computer B
There is connection request, if there being connection request, then returning the information of successful connection to computer B.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310363207.0A CN103458011B (en) | 2013-08-20 | 2013-08-20 | Network card binding method between multi-network card computer in remotely controlling |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310363207.0A CN103458011B (en) | 2013-08-20 | 2013-08-20 | Network card binding method between multi-network card computer in remotely controlling |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103458011A CN103458011A (en) | 2013-12-18 |
CN103458011B true CN103458011B (en) | 2016-09-14 |
Family
ID=49739953
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310363207.0A Expired - Fee Related CN103458011B (en) | 2013-08-20 | 2013-08-20 | Network card binding method between multi-network card computer in remotely controlling |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103458011B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104717310A (en) * | 2015-04-13 | 2015-06-17 | 东信和平科技股份有限公司 | Intelligent card remote detection method and system based on P2P |
CN107347110A (en) * | 2016-05-06 | 2017-11-14 | 杭州云沣科技有限公司 | Intelligent terminal tele-control system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1878147A (en) * | 2006-06-30 | 2006-12-13 | 中国科学院计算技术研究所 | Method for balancing load between multi network cards of network file system server |
CN101262487A (en) * | 2008-04-25 | 2008-09-10 | 北京中企开源信息技术有限公司 | Data transmission processing method and device for point-to-point client |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8949369B2 (en) * | 2007-06-12 | 2015-02-03 | Ux Ltd. | Two-tier architecture for remote access service |
-
2013
- 2013-08-20 CN CN201310363207.0A patent/CN103458011B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1878147A (en) * | 2006-06-30 | 2006-12-13 | 中国科学院计算技术研究所 | Method for balancing load between multi network cards of network file system server |
CN101262487A (en) * | 2008-04-25 | 2008-09-10 | 北京中企开源信息技术有限公司 | Data transmission processing method and device for point-to-point client |
Non-Patent Citations (1)
Title |
---|
基于P2P技术的远程控制系统;王超;《中国优秀硕士学位论文全文数据库(信息科技辑)》;20070915;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN103458011A (en) | 2013-12-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101970054B1 (en) | Method and apparatus for scheduling the cloud servers | |
CN108270855A (en) | A kind of method of platform of internet of things access device | |
TWI363545B (en) | Management method for remote digital signages | |
CN105847108B (en) | Communication means and device between container | |
EP2482552A1 (en) | Method and system for controlling multipoint video conference, central control subsystem and video terminal | |
US10372633B1 (en) | Interconnection of peripheral devices on different electronic devices | |
CN104486146A (en) | Communication method for testing console and testing equipment | |
CN103327051A (en) | Long-distance desktop management system and method | |
CN102098233B (en) | Method and system for controlling communication window in instant messenger | |
US10326659B2 (en) | Device and method for automatic switching of communication protocol of network devices based on user action | |
CN110768862B (en) | Cloud platform physical link connectivity detection device, method and system | |
CN106303429A (en) | Remote configuring method and device | |
CN103458011B (en) | Network card binding method between multi-network card computer in remotely controlling | |
CN109582479A (en) | A kind of OpenDDS distributed communication method based on reflective memory card | |
CN115658218B (en) | Method, device, equipment and storage medium for accessing edge equipment to cloud | |
CN110557598A (en) | Video conference scheduling method and related device | |
US20140040380A1 (en) | System and method for providing push service for reducing network loads | |
JP2017195604A5 (en) | Communication system, communication method and program | |
CN104063451A (en) | Database connection management method and system | |
CN106304241A (en) | A kind of data transmission method, transponder and gateway | |
CN103825767B (en) | The implementation method and bridge of service quality | |
KR20120029617A (en) | System for remote controlling communication equipment with communication interface conversion | |
CN112968812A (en) | Network performance testing method, device, equipment and storage medium | |
CN103546513B (en) | The method and device of communication between a kind of customer terminal webpage | |
CN111858433A (en) | SSH (secure Shell) serial port redirection-based method, system, equipment and medium |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160914 |
|
CF01 | Termination of patent right due to non-payment of annual fee |