CN101854363B - Information resource access method based on inter-network segment based on instant communication protocol - Google Patents

Information resource access method based on inter-network segment based on instant communication protocol Download PDF

Info

Publication number
CN101854363B
CN101854363B CN 201010185633 CN201010185633A CN101854363B CN 101854363 B CN101854363 B CN 101854363B CN 201010185633 CN201010185633 CN 201010185633 CN 201010185633 A CN201010185633 A CN 201010185633A CN 101854363 B CN101854363 B CN 101854363B
Authority
CN
China
Prior art keywords
computer
client
local area
area network
lan
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
Application number
CN 201010185633
Other languages
Chinese (zh)
Other versions
CN101854363A (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.)
Beijing Institute of Technology BIT
Original Assignee
Beijing Institute of Technology BIT
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 Beijing Institute of Technology BIT filed Critical Beijing Institute of Technology BIT
Priority to CN 201010185633 priority Critical patent/CN101854363B/en
Publication of CN101854363A publication Critical patent/CN101854363A/en
Application granted granted Critical
Publication of CN101854363B publication Critical patent/CN101854363B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention relates to an information resource access method of an inter-network segment based on an instant communication protocol. The method comprises a software and hardware environment configuration process and an information resource access process. The software and hardware environment configuration process comprises the following steps that: (1) the instant communication protocol is determined; (2) resource management software which comprises a server program and a client program is developed based on the determined instant communication protocol; and (3) the server program is embedded into a server which is deployed outside a local area network W, and the client program is embedded into more or more computers outside and inside the local area network W. The information resource access process comprises the following steps that: (1) the client programs of a computer Ai which is embedded outside the local area network W and a computer Bj which is arranged in the local area network W; (2) a text message is sent to the computer Bj from the computer Ai; and (3) after receiving the text message, the computer Bj analyzes the message, sequentially matches the analysis results with instructions in the pre-saved instruction concentration, executes the instructions if the matching is successful, and sends the execution results to the computer Ai if the execution is successful. Contrarily, the access of the resources of the computer Ai form the computer Bj can be realized.

Description

A kind of information resource access method of the inter-network section based on instant communication protocol
Technical field
The present invention relates to communication between network, resource access field, be specifically related to a kind of information resource access method of the inter-network section based on instant communication protocol.
Background technology
Current, the construction of local area network (LAN) and use are quite universal.For making things convenient for internal user to use, units such as enterprise, school, office have nearly all set up local area network (LAN).In local area network (LAN), the user can shared file, share resource, and access speed is fast.
Local area network (LAN) does not generally externally provide service, and confidentiality is better, is convenient to management.Yet this means a significant limitation simultaneously: local area network (LAN) adopts independent network segment drawn game territory net IP resource, when the user does not insert this local area network (LAN), with being difficult to have access to the resource in this local area network (LAN).For example: outside at certain local area network (LAN) when user's Network Access Point, and this user be need obtain the FTP resource of urgent need the time in this local area network (LAN), and present solution is: through at local area network (LAN) export deployment VPN(Virtual Private Network) device build Virtual Private Network.Virtual Private Network is defined as through a common network (normally internet) and sets up a connection interim, safety, is safe, a stable tunnel that passes chaotic common network.Utilize this tunnel, the user can realize visiting the purpose of local area network (LAN) internal resource.Yet the shortcoming of this mode is: need to buy specialized hardware, the higher and VPN type (VPN comprises SSL VPN and IPSec VPN) that depends on the local area network management person adopted of cost.The manager can be through the visit of concrete resource on the VPN configurable limit computer.
Also there is not other approach to solve above-mentioned inter-network segment information resource access problem at present.
The prior art that the present invention relates to has: instant messaging (Instant messaging), instant communication protocol, MSN.
Instant messaging (Instant messaging is called for short IM) is a terminal service, allows two people or many people to use networking instant transmission message language, document, voice and Video show.
Instant communication protocol be a kind of for realize instant messaging and the procotol used.Instant communication protocol commonly used has: XMPP, Tencent QQ, ICQ, AIM, MSN etc.
MSN is a software of realizing online chatting, interchange through the instant messaging technology.2 kinds of framework forms are arranged at present: a kind of C/S of being (Client/Server; Client/server) framework adopts the client/server form, need download and install client software in user's use; Typical representative has: MSN, QQ, the HI of Baidu, Skype, Gtalk etc.; A kind of in addition is the B/S framework; Adopt browser/service end form; The MSN of this form is that media, client need not to install any software by the Internet directly, both can experience server end and link up dialogue; Generally be used in the service provider of e-commerce website, typical representative has Websitelive, 53KF, live800 etc.
Summary of the invention
The objective of the invention is to overcome the deficiency that present prior art exists, propose a kind of information resource access method of the inter-network section based on instant communication protocol.The present invention is based on instant communication protocol, set up the secure access passage between the inside and outside net of local area network (LAN), reach zero hardware input, do not receive the purpose of resource access of the inter-network section of network manager constraint.
The objective of the invention is to realize through following technical proposals.
A kind of inter-network segment information resource access method based on instant communication protocol is divided into hardware environment layoutprocedure and information resources access process, is respectively:
The concrete operations step of hardware environment layoutprocedure is following:
The 1st step: select a kind of existing or formulate a kind of new instant communication protocol; Said instant communication protocol comprises: XMPP (Extensible Messaging and Presence Protocol, scalable message is handled on-the-spot agreement), Tencent QQ agreement, ICQ agreement, AIM agreement, MSN agreement;
The 2nd step: based on the instant communication protocol that the 1st step was confirmed, develop a kind of resource management software, it adopts C/S (Client/Server, client/server) framework, comprises server and client-side program;
Said resource management software comprises following function: 1. allow 2 people or many people to transmit word message and document through network real-time; 2. client-side program is resolved the Word message that receives, and obtains analysis result, and the concentrated instruction of instructions stored in advance in analysis result and the client-side program is mated successively, if mate successfully, then carrying out should instruction.The instruction that said instructions stored is in advance concentrated comprises: realize whole instructions of other computer resource that visit local computer resource or local computer may have access to.The form of the instruction in the instruction set is: order, and [parameter 1], [parameter 2] ..., [parameter k] }; Wherein, parameter is an option, and k is a positive integer.
The method that said client-side program is resolved the Word message that receives is:
Word content before the 1st space in the Word message that receives resolves to " order "; Word content after the 1st space before to the 2nd space resolves to " parameter 1 "; Word content after the 2nd space before to the 3rd space resolves to " parameter 2 ", and the like, up to last 1 character of the Word message that receives, accomplish and resolve.
The 3rd step: the server of described resource management software of the 2nd step is embedded into is deployed on the outer server of local area network (LAN) W, client-side program is embedded into local area network (LAN) W outer 1 or more than 1 computer A 1~A n(n>=1, n is a positive integer) go up and local area network (LAN) W in 1 or more than 1 computer B 1~B mOn (m>=1, m is a positive integer);
The concrete operations step of information resources access process is following:
The 1st step: operation is embedded in the outer computer A of local area network (LAN) W iComputer B in (1≤i≤n and i are positive integer) and the local area network (LAN) W jThe client-side program of (1≤j≤m and j are positive integer) makes computer A iWith computer B jBe in the state that can transmit word message and document in real time;
The 2nd step: the client-side program through said resource management software is from computer A iTo computer B jSend word message;
The 3rd step: the computer B in local area network (LAN) W jOn client-side program receive the outer computer A of local area network (LAN) W iBehind the word message of sending, it is resolved, obtain analysis result, and the concentrated instruction of instructions stored in advance in analysis result and the client-side program is mated successively,, then carry out and to instruct if mate successfully; If run succeeded, execution result is sent to A on the outer computer of local area network (LAN) W iClient-side program; Otherwise error message is sent to the outer computer A of local area network (LAN) W iOn client-side program.
Through the operation of above-mentioned steps, can realize the computer A outside local area network (LAN) W iComputer B in the visit local area network (LAN) W jLocal resource or computer B jOther computer resource that may have access to.
Opposite operation also can realize the computer B in the local area network (LAN) W jThe outer computer A of visit local area network (LAN) W iLocal resource or computer A iOther computer resource that may have access to.
The word message that the client-side program of said resource management software transmits is divided into two kinds of patterns: chat pattern and command mode.When client-side program sent Word message under two kinds of different patterns, client-side program added different tag marks automatically in the word message that sends; After recipient's client-side program of word message receives word message, at first find this tag mark, and judge that it is word message or the word message under the command mode under the chat pattern; Only the word message under the command mode is resolved then.
Beneficial effect
The present invention is based on instant communication protocol, set up the access path between the inside and outside net of local area network (LAN), can realize zero hardware input, do not receive the purpose of the inter-network section resource access of network manager constraint, use simple, convenient.
Embodiment
According to the said method explanation, the present invention program is elaborated below in conjunction with specific embodiment.
Beijing Institute of Technology's local area network (LAN) provides the authority of the resource outside the visit local area network (LAN) in Beijing Institute of Technology's local area network (LAN), but the resource in the local area network (LAN) is visited in restriction outside Beijing Institute of Technology's local area network (LAN).Use this method to realize that the process of the computer resource in the computer access local area network (LAN) outside the local area network (LAN) of Beijing Institute of Technology is:
The hardware environment layoutprocedure is following:
The 1st step: select the communication protocol of MSN instant communication protocol as resource management software;
The 2nd step: develop a kind of resource management software based on the MSN instant communication protocol, it adopts the C/S framework, comprises server and client-side program; It comprises following function: the 1. instant communication function that possessed of MSN instant communication software; 2. client-side program is resolved the Word message that receives, and obtains analysis result, and the concentrated instruction of instructions stored in advance in analysis result and the client-side program is mated successively, if mate successfully, then carrying out should instruction.Instruction in the instruction set comprises:
1. rdir [remote-dir]: the directory information of current catalogue on the inquiry computer;
2. rdir [remote-dir]: the directory information on the inquiry computer under the remote-dir catalogue;
3. rget remote-file [remote-file] [... ]: utilize file transmitting function, be sent to one or more files on other 1 computer from 1 computer;
4. rftp host [: port] [usrname] [password]: the ftp server that connects appointment;
5. rftpget [ftp-dir] filename: from ftp server, designated directory is downloaded the filename file.
6. rftpget filename: the current directory from ftp server is downloaded this filename file.
The 3rd step: server is embedded on the MSN server that is deployed in outside Beijing Institute of Technology's local area network (LAN), client-side program is embedded into 1 outer computer A of local area network (LAN) W 11 last and Beijing Institute of Technology's local area network (LAN) is interior computer B 1On, computer B 1Can have access to the FTP shared resource on other 1 the computer C in Beijing Institute of Technology's local area network (LAN).
Under above-mentioned hardware environment configuration, the embodiment of resource access process is following:
Example 1: the computer A that Beijing Institute of Technology's local area network (LAN) is outer 1On client-side program give the computer B in Beijing Institute of Technology's local area network (LAN) 1Send command messages: rget Free_Loop.mp3D:.Computer B 1On client-side program receive orders after the message, resolve, analysis result with concentrate in instructions stored in advance the 3. the bar instruction mate successfully, carry out and should instruct, and above-mentioned two files are passed through computer B 1On the file transmitting function of client-side program of resource management software send computer A to 1
Example 2: the computer A that Beijing Institute of Technology's local area network (LAN) is outer 1On client-side program give the computer B in Beijing Institute of Technology's local area network (LAN) 1Send two command messagess: rftp 10.1.0.123:21 ftp password123 and rftpget temp.txt.Wherein IP address 10.1.0.123 is the implicit IP address that the computer C in Beijing Institute of Technology's local area network (LAN) distributes at this local area network (LAN).Computer B 1On client-side program receive orders after the message; Resolve; Analysis result with concentrate in instructions stored in advance the 4. bar and the 5. the bar instruction mate successfully; Carrying out should instruction, connects the ftp server on the computer C, then from computer C download and with the stored in form of temporary file to computer B 1On, after download accomplishing, send the file transmitting function of this file through client-side program to computer A 1
Equally, use the inventive method also can be from the computer resource outside the computer access local area network (LAN) in the local area network (LAN) of Beijing Institute of Technology.
Example 3: the computer B in Beijing Institute of Technology's local area network (LAN) 1On the client-side program of resource management software give Beijing Institute of Technology's local area network (LAN) outer computer A 1Send command messages: rdir C:.Computer A 1On client-side program receive orders after the message, resolve, analysis result with concentrate in instructions stored in advance the 1. the bar instruction mate successfully, carry out to be somebody's turn to do and instruct, and to returning following result:
Directory?of?c:\
04/22/2010 09:48?AM 0?AUTOEXEC.BAT
04/22/2010 09:48?AM 0?CONFIG.SYS
04/22/2010 09:52?AM <DIR> Documents?and?Settings
04/26/2010 09:14?AM <DIR> Program?Files
04/22/2010 10:59?AM <DIR> WINDOWS
2?File(s) 0?bytes
3?Dir(s)39,178,747,904bytes?free
The above only is a preferred implementation of the present invention; Should be understood that; For those skilled in the art, under the prerequisite that does not break away from the principle of the invention, can also make some improvement; Perhaps part technical characterictic wherein is equal to replacement, these improvement and replacement also should be regarded as protection scope of the present invention.

Claims (3)

1. the inter-network segment information resource access method based on instant communication protocol is characterized in that: divide
Be hardware environment layoutprocedure and information resources access process, be respectively:
The concrete operations step of hardware environment layoutprocedure is following:
The 1st step: select a kind of existing instant communication protocol; Said instant communication protocol comprises: XMPP, Tencent QQ agreement, ICQ agreement, AIM agreement, MSN agreement; Said XMPP is the abbreviation of Extensible Messaging and Presence Protocol, and Chinese is: scalable message is handled on-the-spot agreement;
The 2nd step: based on the instant communication protocol that the 1st step was confirmed, develop a kind of resource management software, it adopts the C/S framework, comprises server and client-side program; Said C/S is the abbreviation of Client/Server, and Chinese is: client/server;
Said resource management software comprises following function: 1. allow 2 people or many people to transmit word message and document through network real-time; 2. client-side program is resolved the Word message that receives, and obtains analysis result, and the concentrated instruction of instructions stored in advance in analysis result and the client-side program is mated successively, if mate successfully, then carries out and should instruct; The instruction that said instructions stored is in advance concentrated comprises: realize whole instructions of other computer resource that visit local computer resource or local computer may have access to; The form of the instruction in the instruction set is: order, and [parameter 1], [parameter 2] ..., [parameter k] }; Wherein, parameter is an option, and k is a positive integer;
The 3rd step: the server of described resource management software of the 2nd step is embedded into is deployed on the outer server of local area network (LAN) W, client-side program is embedded into local area network (LAN) W outer 1 or more than 1 computer A 1~A nGo up and local area network (LAN) W in 1 or more than 1 computer B 1~B mOn; Wherein, n>=1, m>=1, m, n are positive integer;
The concrete operations step of information resources access process is following:
The 1st step: operation is embedded in the outer computer A of local area network (LAN) W iWith the computer B in the local area network (LAN) W jClient-side program, make computer A iWith computer B jBe in the state that can transmit word message and document in real time, wherein: 1≤i≤n and i are positive integer, and 1≤j≤m and j are positive integer;
The 2nd step: the client-side program through said resource management software is from computer A iTo computer B jSend word message;
The 3rd step: the computer B in local area network (LAN) W jOn client-side program receive the outer computer A of local area network (LAN) W iBehind the word message of sending, it is resolved, obtain analysis result, and the concentrated instruction of instructions stored in advance in analysis result and the client-side program is mated successively,, then carry out and to instruct if mate successfully; If run succeeded, execution result is sent to A on the outer computer of local area network (LAN) W iClient-side program; Otherwise error message is sent to the outer computer A of local area network (LAN) W iOn client-side program;
Through the operation of above-mentioned steps, can realize the computer A outside local area network (LAN) W iComputer B in the visit local area network (LAN) W jLocal resource or computer B jOther computer resource that may have access to;
Opposite operation also can realize the computer B in the local area network (LAN) W jThe outer computer A of visit local area network (LAN) W iLocal resource or computer A iOther computer resource that may have access to.
2. a kind of inter-network segment information resource access method based on instant communication protocol as claimed in claim 1 is characterized in that: the word message that the client-side program of said resource management software transmits is divided into two kinds of patterns: chat pattern and command mode; When client-side program sent Word message under two kinds of different patterns, client-side program added different tag marks automatically in the word message that sends; After recipient's client-side program of word message receives word message, at first find this tag mark, and judge that it is word message or the word message under the command mode under the chat pattern; Only the word message under the command mode is resolved then.
3. according to claim 1 or claim 2 a kind of inter-network segment information resource access method based on instant communication protocol, it is characterized in that: the method that said client-side program is resolved the Word message that receives is: the word content before the 1st space in the Word message that receives resolves to " order "; Word content after the 1st space before to the 2nd space resolves to " parameter 1 "; Word content after the 2nd space before to the 3rd space resolves to " parameter 2 ", and the like, up to last 1 character of the Word message that receives, accomplish and resolve.
CN 201010185633 2010-05-28 2010-05-28 Information resource access method based on inter-network segment based on instant communication protocol Expired - Fee Related CN101854363B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010185633 CN101854363B (en) 2010-05-28 2010-05-28 Information resource access method based on inter-network segment based on instant communication protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010185633 CN101854363B (en) 2010-05-28 2010-05-28 Information resource access method based on inter-network segment based on instant communication protocol

Publications (2)

Publication Number Publication Date
CN101854363A CN101854363A (en) 2010-10-06
CN101854363B true CN101854363B (en) 2012-12-05

Family

ID=42805630

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010185633 Expired - Fee Related CN101854363B (en) 2010-05-28 2010-05-28 Information resource access method based on inter-network segment based on instant communication protocol

Country Status (1)

Country Link
CN (1) CN101854363B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103490963B (en) * 2013-09-13 2016-09-14 天脉聚源(北京)传媒科技有限公司 The method and device of controlled device in a kind of control area net(CAN)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101004749A (en) * 2006-12-26 2007-07-25 朱莉君 Method of constructing communication platform for Internet users
CN101022346A (en) * 2006-12-30 2007-08-22 陈卫文 Electronic documant coordination downloading system and method
CN101378392A (en) * 2007-08-29 2009-03-04 华为技术有限公司 Method and apparatus for searching resource in P2P circumstance

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217504B (en) * 2007-12-27 2010-06-23 腾讯科技(深圳)有限公司 A method and communication system of communication contactors sharing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101004749A (en) * 2006-12-26 2007-07-25 朱莉君 Method of constructing communication platform for Internet users
CN101022346A (en) * 2006-12-30 2007-08-22 陈卫文 Electronic documant coordination downloading system and method
CN101378392A (en) * 2007-08-29 2009-03-04 华为技术有限公司 Method and apparatus for searching resource in P2P circumstance

Also Published As

Publication number Publication date
CN101854363A (en) 2010-10-06

Similar Documents

Publication Publication Date Title
US8261318B2 (en) Method and apparatus for passing security configuration information between a client and a security policy server
Hoffman SMTP service extension for secure SMTP over transport layer security
US8145768B1 (en) Tuning of SSL session caches based on SSL session IDS
US7716378B2 (en) System and method to associate a private user identity with a public user identity
Jungmaier et al. Transport layer security over stream control transmission protocol
US7949704B2 (en) Administration of a broker-based publish/subscribe messaging system
JP2007213570A (en) System and method for updating wireless network password
CN101237426A (en) Friend addition device and method
JP2014528678A (en) Distributed system and method for tracking and blocking malicious Internet hosts
CN104468315A (en) Method for accelerating VPN based on intelligent gateway
KR20190052541A (en) Method and apparatus for providing network path between service server and user terminal
CN106789993B (en) TCP agent method and device
CN102202071A (en) Microsoft service network (MSN)-based network video monitoring method and system
CN104936177A (en) Access authentication method and access authentication system
Kalt Internet relay chat: Server protocol
CN101854363B (en) Information resource access method based on inter-network segment based on instant communication protocol
KR101971995B1 (en) Method for decryping secure sockets layer for security
JP2009187322A (en) Service providing system, service providing method, and service providing program
WO2019000597A1 (en) Ip address hiding method and device
Bider Extension negotiation in the secure shell (ssh) protocol
Velvindron et al. Increase the Secure Shell Minimum Recommended Diffie-Hellman Modulus Size to 2048 Bits
Lu et al. Design and implementation of instant messenger security monitoring system based on protocol analysis
CN114070878B (en) Network connection processing method and device
CN103379023A (en) Instant messaging method and instant messaging client-side
Kommey et al. Design and Implementation of a Local Area Network Based Multimedia Messaging Application

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121205

Termination date: 20130528