[go: up one dir, main page]

CN101656754A - Method for passing through firewall in instant communication tool - Google Patents

Method for passing through firewall in instant communication tool Download PDF

Info

Publication number
CN101656754A
CN101656754A CN200810118758A CN200810118758A CN101656754A CN 101656754 A CN101656754 A CN 101656754A CN 200810118758 A CN200810118758 A CN 200810118758A CN 200810118758 A CN200810118758 A CN 200810118758A CN 101656754 A CN101656754 A CN 101656754A
Authority
CN
China
Prior art keywords
client
server
connection service
service device
connect
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN200810118758A
Other languages
Chinese (zh)
Inventor
霍文旌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yiqitong It Tech Co Ltd Beijing
Original Assignee
Yiqitong It Tech Co Ltd Beijing
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 Yiqitong It Tech Co Ltd Beijing filed Critical Yiqitong It Tech Co Ltd Beijing
Priority to CN200810118758A priority Critical patent/CN101656754A/en
Publication of CN101656754A publication Critical patent/CN101656754A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention provides a method for passing through a firewall in an instant communication tool, which comprises the following steps that: 1, a client is directly connected with a listening port of aserver firstly; 2, when the connection is failed, the client is connected with the server through a proxy; 3, when the connection is failed in the step 2, the client is connected with the server through a 80 port; and 4, when the server cannot be connected in the three steps, the client encapsulates network data through a http protocol to connect the server and send a http request so as to acquirea response of the server. The client automatically detects and passes through the firewall, so the method can adapt to network environments of most users, and does not influence that the users loginthe server to use the instant communication function.

Description

A kind of in JICQ the method for passing fire wall
Technical field:
The present invention relates to Computer Design and applied technical field, particularly relate to a kind of in JICQ the method for passing fire wall.
Background technology
At present, carry out text chat or audio frequency, video conference by immediate communication tool and when live, different agreements sends different data type data.Concrete text chat typically uses that transmission control protocol (TCP) sends, and audio frequency, video conference and livingwage audio frequency, video use User Datagram Protoco (UDP) (UDP) to send usually.The directly server that links with the Internet and communicating by letter by not being subjected to the obstruction of client firewall of carrying out, the operation that signs in on the server can be opened one usually from the return path of server through fire compartment wall.Yet fire compartment wall stops the communication of the client-client of directly carrying out, most of immediate communication tool with earning foreign exchange, listening port that can only the Connection Service device is 1863 as MSN, when fire compartment wall is set, be difficult to break through the restriction of fire compartment wall, cause the client can't the Connection Service device.
Summary of the invention:
The present invention is for addressing the above problem weak point, provide a kind of in JICQ the method for passing fire wall, when user side is provided with acting server or enterprise and is provided with fire compartment wall and has carried out network limits, client is attempted the whole bag of tricks passing fire wall, connect and logon server, finish the function of instant messaging.
May further comprise the steps
The first step: client is the listening port of Connection Service device at first directly;
Second step: when above-mentioned connection failure, then by acting on behalf of the Connection Service device;
The 3rd step: do not connect when second step, client is by 80 port Connection Service devices;
The 4th step: above-mentioned three steps all can't the Connection Service device, and then client is by http protocol encapsulation network data, and the Connection Service device sends the http request, the response of obtaining server.
Described second step comprises that also client detects this machine and whether is provided with the agency, if be provided with the agency, then by acting on behalf of the Connection Service device.
Described the 3rd step, obstructed when the connection of 80 ports, then connect 443 ports.
In the described step 4, use the Http failure, then use Https to connect and send and ask.
Above-mentioned four steps all can not connect, and then need to pass through manual intervention.
Advantage of the present invention:
Client detects and passing fire wall automatically, therefore can adapt to most of user's network environment, does not influence the user login services device and uses instant communication function.
Description of drawings:
Fig. 1 is the flow chart that the present invention realizes an embodiment of document cooperative processing method.
Embodiment:
Central idea of the present invention is, when user side was provided with acting server or enterprise and is provided with fire compartment wall and has carried out network limits, client was attempted the several different methods passing fire wall, connects and logon server, finishes the function of instant messaging.
Realize the prerequisite of several different methods passing fire wall Connection Service device:
A, the user can surf the Net, and does not have network failure;
B, server end support high availability, i.e. two-node cluster hot backup or load balance, and promptly server can break in service;
C, then should add client the tabulation of " allow connect " if this machine of user has fire compartment wall, otherwise client can't the Connection Service device.Some fire compartment wall possesses the function of negotiation, but not all fire compartment wall is all supported.
As shown in Figure 1, a kind of in JICQ the method for passing fire wall, comprise the steps:
101. direct-connected:
No matter whether this machine is provided with the agency, or whether enterprise have fire compartment wall, and client is attempted direct-connected earlier, and promptly the direct listening port of Connection Service device supposes it is 5222.
Under the general networking environment, promptly these users do not use proxy surfing, and fire compartment wall is not provided with the restriction to 5222 yet, can successfully login.
102. connect by the agency:
If direct-connected failure, then client detects this machine and whether is provided with the agency, if be provided with the agency, then by acting on behalf of the Connection Service device.
The enterprise that some is surfed the Net in local area network (LAN) may be by the acting server online, for the user of these enterprises, if firewall restriction is not set, generally can successfully login.103. passing fire wall is to the restriction of server listening port:
If through above 2 steps, still can not the Connection Service device, then may be that enterprise is provided with fire compartment wall at gateway, limited some address or port that local area network (LAN) connects Internet.
Because the user wants browsing page, so at least 80 or 443 ports are open certainly, so client attempts by 80 port Connection Service devices (server is that multiport is monitored, and 5222,80,443 all support), if 80 obstructed, trial connection 443 port then.
For general enterprise firewall, this method can successfully be logined.104. by http (s) protocol encapsulation network data, the Connection Service device:
If above trial still can't the Connection Service device, then might be that enterprise firewall has limited LAN subscriber and can only connect Internet by the http agreement.
Therefore client is by http (s) protocol encapsulation network data, and the Connection Service device sends http (s) request, obtains the response (server end is supported http (s) agreement) of server.
If use the http failure, then use https to attempt connecting and sending request.
105. if through still can't the Connection Service device after the 1-4 step, then client records connects daily record, can't logon server by the interface prompt user, and user's manual intervention, it is wrong etc. to be that network failure, agency are provided with.

Claims (5)

1. the method for a passing fire wall in JICQ is characterized in that:
The first step: client is the listening port of Connection Service device at first directly;
Second step: when above-mentioned connection failure, then by acting on behalf of the Connection Service device;
The 3rd step: do not connect when second step, client is by 80 port Connection Service devices;
The 4th step: above-mentioned three steps all can't the Connection Service device, and then client is by http protocol encapsulation network data, and the Connection Service device sends ht tp request, the response of obtaining server.
2. method according to claim 1 is characterized in that: described second step comprises that also client detects this machine and whether is provided with the agency, if be provided with the agency, then by acting on behalf of the Connection Service device.
3. method according to claim 1 is characterized in that: described the 3rd step, and obstructed when the connection of 80 ports, then connect 443 ports.
4. method according to claim 1 is characterized in that: in the described step 4, use the Http failure, then use Https to connect and send and ask.
5. method according to claim 1 is characterized in that: above-mentioned four steps all can not connect, and then need to pass through manual intervention.
CN200810118758A 2008-08-21 2008-08-21 Method for passing through firewall in instant communication tool Pending CN101656754A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810118758A CN101656754A (en) 2008-08-21 2008-08-21 Method for passing through firewall in instant communication tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810118758A CN101656754A (en) 2008-08-21 2008-08-21 Method for passing through firewall in instant communication tool

Publications (1)

Publication Number Publication Date
CN101656754A true CN101656754A (en) 2010-02-24

Family

ID=41710841

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810118758A Pending CN101656754A (en) 2008-08-21 2008-08-21 Method for passing through firewall in instant communication tool

Country Status (1)

Country Link
CN (1) CN101656754A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104079876A (en) * 2013-07-26 2014-10-01 松翰科技股份有限公司 Network monitoring system, wireless network monitoring device and setting method thereof
CN105897911A (en) * 2016-05-20 2016-08-24 广州优视网络科技有限公司 File downloading method and device and user terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104079876A (en) * 2013-07-26 2014-10-01 松翰科技股份有限公司 Network monitoring system, wireless network monitoring device and setting method thereof
CN105897911A (en) * 2016-05-20 2016-08-24 广州优视网络科技有限公司 File downloading method and device and user terminal

Similar Documents

Publication Publication Date Title
US11855795B1 (en) Communication bridging in a remote office environment
JP4467220B2 (en) Voice instant messaging
US10530598B2 (en) Voice control of endpoint devices through a multi-services gateway device at the user premises
CN101146051B (en) An enterprise-level instant communication interconnection system and method for realizing enterprise interconnection
US7769871B2 (en) Technique for sending bi-directional messages through uni-directional systems
EP2909995B1 (en) Method and system for creating a virtual sip user agent by use of a webrtc enabled web browser
US9003042B2 (en) P2P file transmission system and method
US20090077184A1 (en) Remote Control of Mobile Terminal via Remote Control Proxy and SMS
US20060187931A1 (en) Communication system and method for providing information on interface connecting network components
US20100017500A1 (en) Methods and systems for peer-to-peer proxy sharing
CN104219132A (en) Method and system of implementing multi-party communication as well as information server
WO2011038639A1 (en) Realizing method for end-to-end instant messaging, terminal and system for end-to-end instant messaging
WO2009011968A1 (en) Endpoint discriminator in network transport protocol startup packets
CN101656754A (en) Method for passing through firewall in instant communication tool
CN101155177B (en) Shared protocol-based data channel sharing system and method
CN106534052B (en) Communication processing method and electronic equipment
US20060150245A1 (en) System and method of automatically transforming instant message transmission modes on internet
CN101325523A (en) Method for establishing network connection between client and server and related system
CN108270756A (en) A kind of method and system of communication between devices
TW202241089A (en) Connection method and computer-readable medium for use in a private communication architecture
WO2006010193A1 (en) Voice calls over the internet
Weider et al. An empirical approach to a system design methodology for mobile Peer-to-Peer computing
WO2007138610A1 (en) A system 'click to videotalk' for establishing a voip video and method thereof
Headquarters Cisco Unified Communications System
TW201520777A (en) System for providing using communication service with external device and method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20100224