CN104378339B - A kind of communication means and device using agency agreement - Google Patents

A kind of communication means and device using agency agreement Download PDF

Info

Publication number
CN104378339B
CN104378339B CN201310359574.3A CN201310359574A CN104378339B CN 104378339 B CN104378339 B CN 104378339B CN 201310359574 A CN201310359574 A CN 201310359574A CN 104378339 B CN104378339 B CN 104378339B
Authority
CN
China
Prior art keywords
destination
agency
proxy
server
data
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.)
Active
Application number
CN201310359574.3A
Other languages
Chinese (zh)
Other versions
CN104378339A (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.)
Shenzhen Tencent Computer Systems Co Ltd
Original Assignee
Shenzhen Tencent Computer Systems Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Tencent Computer Systems Co Ltd filed Critical Shenzhen Tencent Computer Systems Co Ltd
Priority to CN201310359574.3A priority Critical patent/CN104378339B/en
Publication of CN104378339A publication Critical patent/CN104378339A/en
Application granted granted Critical
Publication of CN104378339B publication Critical patent/CN104378339B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1045Proxies, e.g. for session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a kind of communication means and device using agency agreement, by taking the realization of method as an example, comprising: terminal editor's proxy requests carry in the proxy requests for negotiating the information communicated with destination;Terminal sends proxy requests to proxy server, and request agency server establishes agency's connection using the information communicated with destination and the destination;Terminal is sent to the data of the destination to proxy server according to the information communicated with destination.Above scheme, the data sent to proxy server, is based on the information communicated with destination for negotiation, therefore the confirmation of waiting agents server is not needed, data can be just directly transmitted when proxy requests are sent, terminal withouts waiting for, and accelerates communication speed.

Description

A kind of communication means and device using agency agreement
Technical field
The present invention relates to field of communication technology, in particular to a kind of communication means and device using agency agreement.
Background technique
Now widely used TCP(Transmission Control Protocol, transmission control protocol) agency agreement It is a kind of the 4th version of network transmission protocol of SOCKS4() or SOCKS5 agency agreement.Agency agreement regulation establishes agency Data can be sent by needing to interact negotiation between terminal and proxy server.
Interaction negotiations process is as follows:
Step 1: terminal sends proxy requests to proxy server.
The protocol headers information of request can be carried in proxy requests;Protocol headers information is for negotiating and destination The information of communication.
Step 2: proxy server sends agency to terminal and establishes reply.
Whether the connection that can be carried in agency establishes and replys with destination is successfully established, and whether confirms above-mentioned ask The information communicated with destination asked.
Step 3: terminal sends agency and establishes and replys in proxy server, and determines therefrom that and be successfully established and confirmation request The information communicated with destination after, be sent to the data of destination to proxy server, and Receiving Agent server forwards The data from destination.
The above agency agreement is needed by once interacting come delivery protocol header information, and terminal needs waiting agents server Feedback, then just can be carried out the transmission of data.The program, terminal wait negotiation result, occupy the time, cause the time unrestrained Take, communication speed is slow.
Summary of the invention
The embodiment of the invention provides a kind of communication means and device using agency agreement, for reducing the waiting of terminal Time accelerates communication speed.
A kind of communication means using agency agreement, comprising:
Terminal sends proxy requests to proxy server, carries in proxy requests for negotiating the letter communicated with destination Breath;
According to the information communicated with destination, the data of the destination are sent to proxy server.
A kind of communication device using agency agreement, comprising:
Creating unit, for editing proxy requests, carrying is used to negotiate to communicate with destination in the proxy requests Information;
Transmission unit, for sending proxy requests to proxy server, request agency server uses described and destination The information of communication and the destination establish agency's connection;According to the information communicated with destination, sent out to proxy server Send the data for being sent to the destination.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that the number sent to proxy server According to, it is based on the information communicated with destination for negotiation, therefore do not need the confirmation of waiting agents server, it can be with Data are just directly transmitted when proxy requests are sent, terminal withouts waiting for, and accelerates communication speed.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this For the those of ordinary skill in field, without any creative labor, it can also be obtained according to these attached drawings His attached drawing.
Fig. 1 is present invention method flow diagram;
Fig. 2 is present invention method flow diagram;
Fig. 3 is communication apparatus structure of embodiment of the present invention schematic diagram;
Fig. 4 is communication apparatus structure of embodiment of the present invention schematic diagram;
Fig. 5 is handset structure of embodiment of the present invention schematic diagram.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into It is described in detail to one step, it is clear that the described embodiments are only some of the embodiments of the present invention, rather than whole implementation Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts All other embodiment, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a kind of communication means using agency agreement, as shown in Figure 1, comprising:
101: terminal editor's proxy requests carry in above-mentioned proxy requests for negotiating the information communicated with destination;
The information communicated with destination can have very much, and technical purpose is can to make can between destination and terminal It is communicated, following present several optional informations therein to illustrate, such as: the above-mentioned information communicated with destination includes: generation Manage at least one in the type of protocol version, the address of destination, the Port Profile of destination and connection request.
Further, destination sends the data to terminal if necessary, then can also include: in above-mentioned proxy requests on State the address of terminal.
In subsequent embodiment, it will provide more detailed protocol format and illustrate.
102: terminal sends proxy requests to proxy server, and request agency server is communicated using above-mentioned with destination Agency's connection is established at information and above-mentioned purpose end;
Above-mentioned terminal sends proxy requests to proxy server, can be and loads what client at the terminal was sent, generation Reason request is also possible to the message of the request of client-side editing.
103: according to the above-mentioned information communicated with destination, the data at above-mentioned purpose end are sent to proxy server.
Above embodiments, the data sent to proxy server, are based on the letter communicated with destination for negotiation Breath, therefore the confirmation of waiting agents server is not needed, data can be just directly transmitted when proxy requests are sent, eventually End withouts waiting for, and accelerates communication speed.
Above embodiments, for the scheme in background technique, terminal is completely without waiting, it is clear that communication speed Faster, there is apparent speed advantage, especially customer experience can be very in the case where those are to rate request higher application scenarios It is good, even if the program for a user, there will not be loss in the case where failing to consultations.
The embodiment of the present invention can be completely compatible with the scheme in background technique, and proxy server still sends agency and establishes It replys, it is specific as follows: the above method, further includes:
It receives the agency that above-mentioned proxy server is sent and establishes reply, if above-mentioned agency, which establishes to reply, confirms above-mentioned and purpose The information of communication is held, and confirms that the connection with above-mentioned purpose end is successfully established, then continues according to the above-mentioned letter communicated with destination Breath, the data at above-mentioned purpose end are sent to proxy server.
In subsequent embodiment, it will provide and establish being described in more detail for reply about agency.
Further, as follows the embodiment of the invention also provides the scheme that destination sends data to terminal: above-mentioned side Method, further includes:
Receive the data from above-mentioned purpose end of above-mentioned proxy server forwarding.
Following embodiment, will be to be using SOCKS agreement between client (client) and proxy server (server) Example.It is above-mentioned to please refer to Fig. 2, includes the following steps:
201: client sends proxy requests to proxy server.
In this step, the protocol headers information of request can be carried in proxy requests;Protocol headers information is specific as follows:
VN is SOCK version, can be 4 or 5 etc.;
CD is the command code of SOCK, and 1 expression CONNECT(establishes socket line) request, 2 indicate BIND(Berkeley Internet Name Daemon, binding;In data communication, by the mandatory skill being associated together of two or more entities Art.Such as: address and Port BindingBundling, data-bound, IP address binding etc..) request;
DSTPORT indicates the port of destination host (destination);
DSTIP refers to the IP(Internet Protocol of destination host, Internet protocol) address;
NULL is 0;
202: data interaction, specifically: the data of destination, and Receiving Agent server are sent to proxy server The data from destination of forwarding.
203: proxy server sends agency to terminal and establishes reply.
The agency that proxy server is sent establishes reply (as unit of byte) and specifically can be such that
VN is the version of response code, it should be 0;
CD is that proxy server replies, and is had several possible:
90, request is allowed;
91, request is rejected or failure;
92, since SOCKS server (proxy server) cannot connect to identd(mono- verifying identity of client Process), request is rejected;
93, since client-side program is different from the user identity that identd is reported, connection is rejected.
DSTPORT and DSTIP is as before.
Step 203, dotted line is shown as in Fig. 2, which is not a necessary step.
In the embodiment above, client can directly start to carry out data interaction after sending proxy requests, without The corresponding heads of waiting agents are needed again.Proxy server still can be according to the header information of request after receiving request header Handled, send back to the head response of agency, and load using subsequent all data as payload() it is forwarded.
Above embodiments, for the scheme in background technique, client is completely without waiting, it is clear that communication speed Degree faster, has apparent speed advantage, especially customer experience can be non-in the case where those are to rate request higher application scenarios Chang Hao, even if the program for a user, there will not be loss in the case where failing to consultations.
The embodiment of the invention also provides a kind of communication devices using agency agreement, as shown in Figure 3, comprising:
Creating unit 301 is carried in above-mentioned proxy requests for editing proxy requests for negotiating to communicate with destination Information;
Transmission unit 302, for sending proxy requests to proxy server, request agency server uses above-mentioned and purpose The information of communication and above-mentioned purpose end is held to establish agency's connection;According to the above-mentioned information communicated with destination, to proxy server It is sent to the data at above-mentioned purpose end.
It is above-mentioned to send proxy requests to proxy server, it can be and load what client on the communication device was sent, generation The request message that reason request is also possible to client to create.
Above embodiments, the data sent to proxy server, are based on the letter communicated with destination for negotiation Breath, therefore the confirmation of waiting agents server is not needed, data can be just directly transmitted when proxy requests are sent, led to T unit withouts waiting for, and accelerates communication speed.
Above embodiments, for the scheme in background technique, communication device is completely without waiting, it is clear that communication Speed faster, has apparent speed advantage, especially the customer experience meeting in the case where those are to rate request higher application scenarios It is very good, even if the program for a user, there will not be loss in the case where failing to consultations.
Optionally, the information communicated with destination can have very much, technical purpose be can to make destination with communicate Communication is able to carry out between device, following present several optional informations therein to illustrate, such as: above-mentioned creating unit 301 is used In editor's proxy requests, carried in proxy requests for negotiates the information that is communicated with destination comprising agency agreement version, At least one of in the type of the address of destination, the Port Profile of destination and connection request.
Further, destination sends the data to communication device if necessary, and above-mentioned creating unit 301 is also used to The address of above-mentioned communication device is carried in above-mentioned proxy requests.
Further, the embodiment of the present invention can be completely compatible with the scheme in background technique, and proxy server is still sent out It send agency to establish to reply, it is specific as follows: as shown in figure 4, above-mentioned communication device, further includes:
Receiving unit 401 establishes reply for receiving the agency that above-mentioned proxy server is sent;
Above-mentioned transmission unit 302 confirms the above-mentioned information communicated with destination if establishing and replying for above-mentioned agency, and really Recognize and be successfully established with the connection at above-mentioned purpose end, then continue according to the above-mentioned information communicated with destination, is sent out to proxy server Send the data for being sent to above-mentioned purpose end.
Further, as follows: above-mentioned the embodiment of the invention also provides the scheme that destination sends data to communication device Receiving unit 401 is also used to receive the data from above-mentioned purpose end of above-mentioned proxy server forwarding.
The embodiment of the invention also provides another communication devices for using agency agreement, as shown in figure 5, for the ease of saying Bright, only parts related to embodiments of the present invention are shown, disclosed by specific technical details, please refers to embodiment of the present invention side Method part.The communication device can be include mobile phone, tablet computer, PDA(Personal Digital Assistant, it is personal Digital assistants), POS(Point of Sales, point-of-sale terminal), any terminal device such as vehicle-mounted computer, using communication device as hand For machine:
Fig. 5 shows the block diagram of the part-structure of mobile phone relevant to terminal provided in an embodiment of the present invention.With reference to figure 5, mobile phone include: radio frequency (Radio Frequency, RF) circuit 510, memory 520, input unit 530, display unit 540, Sensor 550, voicefrequency circuit 560, Wireless Fidelity (wireless fidelity, WiFi) module 570, processor 580 and The components such as power supply 590.It will be understood by those skilled in the art that handset structure shown in Fig. 5 does not constitute the restriction to mobile phone, It may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
It is specifically introduced below with reference to each component parts of the Fig. 5 to mobile phone:
RF circuit 510 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, handled to processor 580;In addition, the data for designing uplink are sent to base station.In general, RF circuit packet Include but be not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuit 50 can also be communicated with network and other equipment by wireless communication. Any communication standard or agreement, including but not limited to global system for mobile communications (Global can be used in above-mentioned wireless communication System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE), Email, short message service (Short Messaging Service, SMS) etc..
Memory 520 can be used for storing software program and module, and processor 580 is stored in memory 520 by operation Software program and module, thereby executing the various function application and data processing of mobile phone.Memory 520 can mainly include Storing program area and storage data area, wherein storing program area can application journey needed for storage program area, at least one function Sequence (such as sound-playing function, image player function etc.) etc.;Storage data area can be stored to be created according to using for mobile phone Data (such as audio data, phone directory etc.) etc..It, can be in addition, memory 520 may include high-speed random access memory Including nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-states Part.
Input unit 530 can be used for receiving the number or character information of input, and generate the user setting with mobile phone 500 And the related key signals input of function control.Specifically, input unit 530 may include touch panel 531 and other inputs Equipment 532.Touch panel 531, also referred to as touch screen, collecting the touch operation of user on it or nearby, (for example user makes With the operation of any suitable object or attachment such as finger, stylus on touch panel 531 or near touch panel 531), and Corresponding attachment device is driven according to preset formula.Optionally, touch panel 531 may include touch detecting apparatus and touching Touch two parts of controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation bring letter Number, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into Contact coordinate, then give processor 580, and order that processor 580 is sent can be received and executed.Furthermore, it is possible to using The multiple types such as resistance-type, condenser type, infrared ray and surface acoustic wave realize touch panel 531.It is defeated in addition to touch panel 531 Entering unit 530 can also include other input equipments 532.Specifically, other input equipments 532 can include but is not limited to physics One of keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Display unit 540 can be used for showing information input by user or be supplied to user information and mobile phone it is various Menu.Display unit 540 may include display panel 541, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Show panel 541.Further, touch panel 531 can cover display panel 541, when touch panel 531 detect it is on it or attached After close touch operation, processor 580 is sent to determine the type of touch event, is followed by subsequent processing device 580 according to touch event Type corresponding visual output is provided on display panel 541.Although in Fig. 5, touch panel 531 and display panel 541 It is that the input and input function of mobile phone are realized as two independent components, but in some embodiments it is possible to by touch-control Panel 531 and display panel 541 are integrated and that realizes mobile phone output and input function.
Mobile phone 500 may also include at least one sensor 550, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 541, and proximity sensor can close display panel when mobile phone is moved in one's ear 541 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Also as mobile phone The other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared sensor, details are not described herein.
Voicefrequency circuit 560, loudspeaker 561, microphone 562 can provide the audio interface between user and mobile phone.Audio-frequency electric Electric signal after the audio data received conversion can be transferred to loudspeaker 561, be converted to sound by loudspeaker 561 by road 560 Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 562, is turned after being received by voicefrequency circuit 560 It is changed to audio data, then by after the processing of audio data output processor 580, such as another mobile phone is sent to through RF circuit 510, Or audio data is exported to memory 520 to be further processed.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 570 Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 5 is shown WiFi module 570, but it is understood that, and it is not belonging to must be configured into for mobile phone 500, it is can according to need completely not Change in the range of the essence of invention and omits.
Processor 580 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, is led to It crosses operation or executes the software program and/or module being stored in memory 520, and call and be stored in memory 520 Data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.Optionally, processor 580 can wrap Include one or more processing units;Preferably, processor 580 can integrate application processor and modem processor, wherein answer With the main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication. It is understood that above-mentioned modem processor can not also be integrated into processor 580.
Mobile phone 500 further includes the power supply 590(such as battery powered to all parts), it is preferred that power supply can pass through electricity Management system and processor 580 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system The functions such as management.
Although being not shown, mobile phone 500 can also include camera, bluetooth module etc., and details are not described herein.
In embodiments of the present invention, processor 580 included by the terminal is also with the following functions:
Processor 580, for editing proxy requests, carrying is used to negotiate to communicate with destination in above-mentioned proxy requests Information;Terminal sends proxy requests to proxy server, request agency server using the above-mentioned information communicated with destination and Agency's connection is established at above-mentioned purpose end;According to the above-mentioned information communicated with destination, above-mentioned mesh is sent to proxy server End data.
It is above-mentioned to send proxy requests to proxy server, it can be and load what client at the terminal was sent, agency asks Seek the request message for being also possible to client to create.
Above embodiments, the data sent to proxy server, are based on the letter communicated with destination for negotiation Breath, therefore the confirmation of waiting agents server is not needed, data, hand can be just directly transmitted when proxy requests are sent Machine withouts waiting for, and accelerates communication speed.
Above embodiments, for the scheme in background technique, mobile phone is completely without waiting, it is clear that communication speed Faster, there is apparent speed advantage, especially customer experience can be very in the case where those are to rate request higher application scenarios It is good, even if the program for a user, there will not be loss in the case where failing to consultations.
Optionally, the information communicated with destination can have very much, and technical purpose is that destination and mobile phone can be made Between be able to carry out communication, following present several optional informations therein to illustrate, such as: above-mentioned processor 580, for editing Proxy requests, the information for negotiating to communicate with destination carried in proxy requests include agency agreement version, destination Address, in the Port Profile of destination and the type of connection request at least one of.
Further, destination sends the data to mobile phone if necessary, above-mentioned processor 580, it is also used in above-mentioned generation The address of above-mentioned mobile phone is carried in reason request.
Further, the embodiment of the present invention can be completely compatible with the scheme in background technique, and proxy server is still sent out It send agency to establish to reply, specific as follows: processor 580 is also used to receive agency's foundation that above-mentioned proxy server is sent and replys; If above-mentioned agency, which establishes to reply, confirms the above-mentioned information communicated with destination, and confirms that the connection with above-mentioned purpose end is created as Function then continues according to the above-mentioned information communicated with destination, the data at above-mentioned purpose end is sent to proxy server.
Further, as follows the embodiment of the invention also provides the scheme that destination sends data to terminal: above-mentioned reception Unit 401 is also used to receive the data from above-mentioned purpose end of above-mentioned proxy server forwarding.
It is worth noting that, included each unit is only according to function in the embodiment of above-mentioned communication device and mobile phone Energy logic is divided, but is not limited to the above division, as long as corresponding functions can be realized;In addition, each function The specific name of energy unit is also only for convenience of distinguishing each other, the protection scope being not intended to restrict the invention.
In addition, those of ordinary skill in the art will appreciate that realizing all or part of the steps in above-mentioned each method embodiment It is that relevant hardware can be instructed to complete by program, corresponding program can store in a kind of computer readable storage medium In, storage medium mentioned above can be read-only memory, disk or CD etc..
The above is only the preferable specific embodiments of the present invention, but scope of protection of the present invention is not limited thereto, any Those familiar with the art the variation that can readily occur in or replaces in the technical scope that the embodiment of the present invention discloses It changes, should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with the protection model of claim Subject to enclosing.

Claims (10)

1. a kind of communication means using agency agreement characterized by comprising
Terminal editor's proxy requests carry in the proxy requests for negotiating the information communicated with destination;
Terminal sends proxy requests to proxy server, and request agency server uses the information communicated with destination and institute It states destination and establishes agency's connection;
Terminal is after sending proxy requests to proxy server, according to the information communicated with destination, to agency service Device is sent to the data of the destination, and the data from destination of Receiving Agent server forwarding, without waiting The confirmation of proxy server.
2. method according to claim 1, which is characterized in that the information communicated with destination includes:
Agency agreement version, the address of destination, the Port Profile of destination and connection request type at least one of.
3. method according to claim 2, which is characterized in that in the proxy requests further include:
The address of the terminal.
4. according to claim 1 to 3 any one the methods, which is characterized in that further include:
It receives the agency that the proxy server is sent and establishes reply, reply confirmation is described and destination is logical if the agency establishes The information of letter, and confirm that the connection with the destination is successfully established, then the information communicated with destination is continued according to, to Proxy server is sent to the data of the destination.
5. a kind of communication device using agency agreement characterized by comprising
Creating unit carries in the proxy requests for negotiating the information communicated with destination for editing proxy requests;
Transmission unit, for sending proxy requests to proxy server, request agency server is communicated using described with destination Information and the destination establish agency connection;And after sending proxy requests to proxy server, according to described and mesh End communication information, the data of the destination are sent to proxy server, really without waiting agents server Recognize;
Receiving unit is used in the transmission unit after sending proxy requests to proxy server, according to described and purpose Hold the information of communication, the data from destination of Receiving Agent server forwarding, the confirmation without waiting agents server.
6. communication device according to claim 5, which is characterized in that
The creating unit, for editing proxy requests, carried in proxy requests for negotiating the letter that communicates with destination At least one in type of the breath comprising agency agreement version, the address of destination, the Port Profile of destination and connection request ?.
7. communication device according to claim 6, which is characterized in that
The creating unit is also used to carry the address of the communication device in the proxy requests.
8. according to communication device described in claim 5 to 7 any one, which is characterized in that
The receiving unit is also used to receive the agency that the proxy server is sent and establishes reply;
The transmission unit, if acting on behalf of the information for establishing and replying and communicating described in confirmation with destination, and confirmation and institute for described The connection for stating destination is successfully established, then continues according to the information communicated with destination, be sent to proxy server The data of the destination.
9. a kind of storage medium, which is characterized in that be stored with program in the storage medium;Described program is performed realization such as Communication means described in any one of Claims 1-4 using agency agreement.
10. a kind of communication device using agency agreement, which is characterized in that including memory and processor;
Software program and module are stored in the memory;
The processor is used to be stored in the software program and module of the memory by operation, executes such as claim 1 To the communication means for using agency agreement described in any one of 4.
CN201310359574.3A 2013-08-16 2013-08-16 A kind of communication means and device using agency agreement Active CN104378339B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310359574.3A CN104378339B (en) 2013-08-16 2013-08-16 A kind of communication means and device using agency agreement

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310359574.3A CN104378339B (en) 2013-08-16 2013-08-16 A kind of communication means and device using agency agreement

Publications (2)

Publication Number Publication Date
CN104378339A CN104378339A (en) 2015-02-25
CN104378339B true CN104378339B (en) 2019-07-05

Family

ID=52556997

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310359574.3A Active CN104378339B (en) 2013-08-16 2013-08-16 A kind of communication means and device using agency agreement

Country Status (1)

Country Link
CN (1) CN104378339B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104821951B (en) * 2015-05-26 2019-04-19 新华三技术有限公司 A kind of method and apparatus of secure communication
CN106973033B (en) * 2016-01-14 2019-11-22 深信服科技股份有限公司 Session invitation method and agent equipment based on SIP
CN112398685B (en) * 2020-11-04 2024-01-19 腾讯科技(深圳)有限公司 Host equipment acceleration method, device, equipment and medium based on mobile terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1784669A (en) * 2003-05-07 2006-06-07 皇家飞利浦电子股份有限公司 Processing system and method for transmitting data
CN101345741A (en) * 2007-07-13 2009-01-14 盛大计算机(上海)有限公司 Proxy system and proxy connecting method based on internet
CN102223266A (en) * 2011-06-17 2011-10-19 北京星网锐捷网络技术有限公司 Method and device for detecting protocol agent
CN102882865A (en) * 2012-09-19 2013-01-16 上海美琦浦悦通讯科技有限公司 Method for realizing multimedia agency service control on basis of socks5 agency agreement

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5514949B2 (en) * 2010-03-23 2014-06-04 インターデイジタル パテント ホールディングス インコーポレイテッド Efficient signaling for machine type communication

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1784669A (en) * 2003-05-07 2006-06-07 皇家飞利浦电子股份有限公司 Processing system and method for transmitting data
CN101345741A (en) * 2007-07-13 2009-01-14 盛大计算机(上海)有限公司 Proxy system and proxy connecting method based on internet
CN102223266A (en) * 2011-06-17 2011-10-19 北京星网锐捷网络技术有限公司 Method and device for detecting protocol agent
CN102882865A (en) * 2012-09-19 2013-01-16 上海美琦浦悦通讯科技有限公司 Method for realizing multimedia agency service control on basis of socks5 agency agreement

Also Published As

Publication number Publication date
CN104378339A (en) 2015-02-25

Similar Documents

Publication Publication Date Title
CN104518953B (en) Method for deleting message, instant communication terminal and system
US10959124B2 (en) Uplink data transmission method, terminal, network side device and system
US10304461B2 (en) Remote electronic service requesting and processing method, server, and terminal
CN104978176B (en) Application programming interfaces call method, device and computer readable storage medium
CN105824958A (en) Method, device and system for inquiring log
CN105471704B (en) A kind of method, apparatus and system for realizing more people's calls
CN103347003B (en) A kind of Voice over Internet method, Apparatus and system
CN104065693A (en) Method, device and system for accessing network data in webpage applications
CN105491135B (en) Establish the method and device of data connection
CN104123686A (en) Method, equipment and system for handling business
CN104216915A (en) Webpage processing method, device and terminal equipment
WO2018049894A1 (en) Data transmission method and device
CN104363590A (en) Access point connection method and device
CN108270764B (en) Application login method, server and mobile terminal
CN105553718B (en) Guidance information display methods and device
CN104378339B (en) A kind of communication means and device using agency agreement
WO2014183439A1 (en) Method, apparatus and system for switching function mode
WO2017000495A1 (en) Method and device for adding contacts
CN107786423B (en) A kind of method and system of instant messaging
US9965341B2 (en) Method and device for exchanging data between processes
US20140344423A1 (en) Method, apparatus and system for switching function mode
CN105703808A (en) Method and device for transmitting data
CN104580251B (en) A kind of method and apparatus for carrying out authorizing quick registration
WO2017166093A1 (en) Front-end system
CN105208057B (en) The correlating method and device of network account

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant