CN104518968A - Message processing method and transparent proxy server - Google Patents

Message processing method and transparent proxy server Download PDF

Info

Publication number
CN104518968A
CN104518968A CN201410733682.7A CN201410733682A CN104518968A CN 104518968 A CN104518968 A CN 104518968A CN 201410733682 A CN201410733682 A CN 201410733682A CN 104518968 A CN104518968 A CN 104518968A
Authority
CN
China
Prior art keywords
web server
server
address
transparent proxy
domain name
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.)
Granted
Application number
CN201410733682.7A
Other languages
Chinese (zh)
Other versions
CN104518968B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410733682.7A priority Critical patent/CN104518968B/en
Publication of CN104518968A publication Critical patent/CN104518968A/en
Priority to PCT/CN2015/094131 priority patent/WO2016086755A1/en
Application granted granted Critical
Publication of CN104518968B publication Critical patent/CN104518968B/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
    • H04L61/00Network arrangements, protocols or services for addressing or naming

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

An embodiment of the invention discloses a message processing method used for shortening duration for determining a VAS (value added server) by a transparent proxy server, enabling service messages of interaction of a client and a WEB server to be processed by the VAS timely and improving user experience. The method includes that the transparent proxy server acquires a handshake message sent by the client to the WEB server; when a destination IP (internal protocol) address in the handshake message is determined to be an IP address of a preset target WEB server, the transparent proxy server determines service type of the target service request message according to a first corresponding relation of the destination IP address, wherein the first corresponding relation is the corresponding relation of the VAS and the IP address of the target WEB server. The embodiment of the invention further discloses the transparent proxy server. The duration for determining the VAS (value added server) by the transparent proxy server is shortened, the service messages of interaction of the client and the WEB server are enabled to be processed by the VAS in time, and user experience is improved.

Description

A kind of method of Message processing and Transparent proxy server
Technical field
The present invention relates to communication technical field, particularly relate to a kind of method and Transparent proxy server of Message processing.
Background technology
Along with the development of network, operator starts as user side provides value added service.For example, typical value-added service comprises: virus filtration, page adaptation, video optimized etc.Different value-added service servers (Value Added Server, VAS) provides the value-added service of different service types.
At policy and charging control (Policy and Charging Control, PCC) in framework, Transparent proxy server is positioned at user side and object World Wide Web (WWW) (World Wide Web, WEB) between server, user side is to name server (Domain Name System, DNS) initiated domain name analysis request, to obtain the IP address of WEB server, this Transparent proxy server builds the connection between this user side and this WEB server, the IP address of this WEB service is sent service message as object IP address to this WEB server by this user side, this Transparent proxy server detects (Deep PacketInspection by depth data bag, DPI) type of service of this service message is identified, and determine according to this type of service the VAS server processing this service message, then this Transparent proxy server disconnects the connection between this user side and WEB server, and the connection of setting up between user side and this VAS server, and the connection between this VAS server and WEB server, to make the mutual service message between this this user side of VAS server process and this WEB server, thus be embodied as user side corresponding value-added service is provided.
But, in prior art, after Transparent proxy server needs to connect between user side and WEB server, by DPI, the service message that user side sends is identified, VAS server could be determined, make data message cannot obtain the process of VAS server in time, affect Consumer's Experience.
Summary of the invention
Embodiments provide a kind of method of Message processing, can play and shorten this Transparent proxy server and determine the duration of VAS server, make the mutual service message of user side and this WEB server obtain the process of this VAS server in time, lifting Consumer's Experience.
Embodiment of the present invention first aspect provides a kind of method of Message processing, comprising:
Transparent proxy server obtains the handshake message that user side sends to WEB server;
When determining that the object IP address in described handshake message is the IP address of preset target WEB server, described Transparent proxy server is according to described object IP address and corresponding relation, determine target VAS server, described corresponding relation is the corresponding relation of the IP address of VAS server and described target WEB server;
Described Transparent proxy server builds described user side, connection between described target VAS server and described WEB server, and described target VAS server is for the treatment of service message mutual between described user side and described WEB server.
In conjunction with the first aspect of the embodiment of the present invention, in the first implementation of embodiment of the present invention first aspect, determine also to comprise before the object IP address of described handshake message is the IP address of preset target WEB server at described Transparent proxy server: described Transparent proxy server obtains the IP address of described target WEB server.
In conjunction with the first implementation of the first aspect of the embodiment of the present invention, in the second implementation of embodiment of the present invention first aspect, the IP address that described Transparent proxy server obtains described target WEB server comprises:
Described Transparent proxy server determines the domain name of described target WEB server;
Described Transparent proxy server, according to the domain name of described target WEB server, determines the IP address of described target WEB server;
Described Transparent proxy server preserves the IP address of described target WEB server.
In conjunction with the second implementation of the first aspect of the embodiment of the present invention, in the third implementation of embodiment of the present invention first aspect, the domain name of described Transparent proxy server determination target WEB server comprises:
Described Transparent proxy server is determined first number that described user side uses the domain name of the first WEB server to carry out resolving and is used the domain name of the second WEB server to carry out second number of resolving, and described first number is greater than second number;
If when described first number is more than or equal to the preset proportion of described first number and second number sum, then determine that the domain name of described first WEB server is the domain name of described target WEB server.
In conjunction with the first implementation of the first aspect of the embodiment of the present invention, in the 4th kind of implementation of embodiment of the present invention first aspect, the IP address that described Transparent proxy server obtains described target WEB server comprises:
Described Transparent proxy server determines that described user side sends first number of the first service message to the first WEB server and sends second number of the second service message to the second WEB server, described first number is greater than second number, described first service message comprises the first object IP address, and described second service message comprises the second object IP address;
If when described first number is more than or equal to the preset proportion of described first number and second number sum, then determine that described first object IP address is the IP address of described target WEB server;
Described Transparent proxy server preserves the IP address of described target WEB server.
In conjunction with the 4th kind of implementation of the first aspect of the embodiment of the present invention or the second implementation of the first implementation of first aspect or first aspect or the third implementation of first aspect or first aspect, in the 5th kind of implementation of embodiment of the present invention first aspect, described Transparent proxy server, according to described object IP address and corresponding relation, also comprises before determining target VAS server: described Transparent proxy server obtains described corresponding relation.
Embodiment of the present invention second aspect provides a kind of method of Message processing, comprising:
Transparent proxy server obtains the handshake message that user side sends to WEB server, and the object IP address in described handshake message is the IP address of described WEB server;
Described Transparent proxy server, according to described object IP address and the first corresponding relation, determines the domain name of described WEB server, and described first corresponding relation is the corresponding relation of the domain name of WEB server and the IP address of WEB server;
When determining that the domain name of described WEB server is the domain name of preset target WEB server, described Transparent proxy server is according to the domain name of described WEB server and the second corresponding relation, determine target VAS server, described second corresponding relation is the corresponding relation of the domain name of VAS server and described preset target WEB server;
Described Transparent proxy server builds described user side, connection between described target VAS server and described WEB server, and described target VAS server is for the treatment of service message mutual between described user side and described WEB server.
In conjunction with the second aspect of the embodiment of the present invention, in the first implementation of embodiment of the present invention second aspect, determine also to comprise before the domain name of described WEB server is the domain name of preset target WEB server at described Transparent proxy server: described Transparent proxy server obtains the domain name of described destination server.
In conjunction with the first implementation of the second aspect of the embodiment of the present invention, in the second implementation of embodiment of the present invention second aspect, the domain name that described Transparent proxy server obtains described target WEB server comprises:
Described Transparent proxy server determines the IP address of described target WEB server;
Described Transparent proxy server, according to the IP address of described target WEB server, determines the domain name of described target WEB server;
Described Transparent proxy server preserves the domain name of described target WEB server.
In conjunction with the second implementation of the second aspect of the embodiment of the present invention, in the third implementation of embodiment of the present invention second aspect, described Transparent proxy server determines that the IP address of described target WEB server comprises:
Described Transparent proxy server determines that described user side sends first number of the first service message to the first WEB server and sends second number of the second service message to the second WEB server, described first number is greater than second number, described first service message comprises the first object IP address, and described second service message comprises the second object IP address;
If when described first number is more than or equal to the preset proportion of described first number and second number sum, then determine that described first object IP address is the IP address of described target WEB server.
In conjunction with the first implementation of the second aspect of the embodiment of the present invention, in the 4th kind of implementation of embodiment of the present invention second aspect, the domain name that described Transparent proxy server obtains described target WEB server comprises:
Described Transparent proxy server is determined first number that described user side uses the domain name of the first WEB server to carry out resolving and is used the domain name of the second WEB server to carry out second number of resolving, and described first number is greater than second number;
If when described first number is more than or equal to the preset proportion of described first number and second number sum, then determine that the domain name of described first WEB server is the domain name of described target WEB server;
Described Transparent proxy server preserves the domain name of described target WEB server.
In conjunction with the 4th kind of implementation of the second aspect of the embodiment of the present invention or the second implementation of the first implementation of second aspect or second aspect or the third implementation of second aspect or second aspect, in the 5th kind of implementation of embodiment of the present invention second aspect, at described Transparent proxy server according to described object IP address and the first corresponding relation, also comprise before determining the domain name of WEB server: described Transparent proxy server obtains described first corresponding relation.
In conjunction with the 4th kind of implementation of the second aspect of the embodiment of the present invention or the second implementation of the first implementation of second aspect or second aspect or the third implementation of second aspect or second aspect, in the 6th kind of implementation of embodiment of the present invention second aspect, at described Transparent proxy server according to the domain name of described WEB server and the second corresponding relation, also comprise before determining target VAS server: described Transparent proxy server obtains described second corresponding relation.
The embodiment of the present invention third aspect provides a kind of Transparent proxy server, comprising:
Acquiring unit, for obtaining the handshake message that user side sends to WEB server;
Determining unit, for when determining that the object IP address in described handshake message is the IP address of preset target WEB server, according to described object IP address and corresponding relation, determine target VAS server, described corresponding relation is the corresponding relation of the IP address of VAS server and described target WEB server;
Construction unit, for building described user side, connection between described target VAS server and described WEB server, described target VAS server is for the treatment of service message mutual between described user side and described WEB server.
In conjunction with the third aspect of the embodiment of the present invention, in the first implementation of the embodiment of the present invention third aspect, described acquiring unit is also for obtaining the IP address of described target WEB server.
In conjunction with the first implementation of the third aspect of the embodiment of the present invention, in the second implementation of the embodiment of the present invention third aspect, described acquiring unit is specifically for determining the domain name of described target WEB server;
According to the domain name of described target WEB server, determine the IP address of described target WEB server;
Preserve the IP address of described target WEB server.
In conjunction with the second implementation of the third aspect of the embodiment of the present invention, in the third implementation of the embodiment of the present invention third aspect, described acquiring unit is specifically for determining first number that described user side uses the domain name of the first WEB server to carry out resolving and using the domain name of the second WEB server to carry out second number of resolving, and described first number is greater than second number;
If when described first number is more than or equal to the preset proportion of described first number and second number sum, then determine that the domain name of described first WEB server is the domain name of described target WEB server.
In conjunction with the first implementation of the third aspect of the embodiment of the present invention, in the 4th kind of implementation of the embodiment of the present invention third aspect, described acquiring unit sends first number of the first service message to the first WEB server specifically for determining described user side and sends second number of the second service message to the second WEB server, described first number is greater than second number, described first service message comprises the first object IP address, and described second service message comprises the second object IP address;
If when described first number is more than or equal to the preset proportion of described first number and second number sum, then determines that described first object IP address is the IP address of described target WEB server, preserve the IP address of described target WEB server.
In conjunction with the 4th kind of implementation of the third aspect of the embodiment of the present invention or the second implementation of the first implementation of the third aspect or the third aspect or the third implementation of the third aspect or the third aspect, in the 5th kind of implementation of the embodiment of the present invention third aspect, described acquiring unit is also for obtaining described corresponding relation.
Embodiment of the present invention fourth aspect provides a kind of Transparent proxy server, comprising:
Acquiring unit, for obtaining the handshake message that user side sends to WEB server, the object IP address in described handshake message is the IP address of described WEB server;
Determining unit, for according to described object IP address and the first corresponding relation, determines the domain name of described WEB server, and described first corresponding relation is the corresponding relation of the domain name of WEB server and the IP address of WEB server;
Described determining unit, also for when determining that the domain name of described WEB server is the domain name of preset target WEB server, according to domain name and second corresponding relation of described WEB server, determine target VAS server, described second corresponding relation is the corresponding relation of the domain name of VAS server and described preset target WEB server;
Construction unit, for building described user side, connection between described target VAS server and described WEB server, described target VAS server is for the treatment of service message mutual between described user side and described WEB server.
In conjunction with the fourth aspect of the embodiment of the present invention, in the first implementation of embodiment of the present invention fourth aspect, described acquiring unit, also for obtaining the domain name of described destination server.
In conjunction with the first implementation of the fourth aspect of the embodiment of the present invention, in the second implementation of embodiment of the present invention fourth aspect, described acquiring unit is specifically for determining the IP address of described target WEB server;
According to the IP address of described target WEB server, determine the domain name of described target WEB server;
Preserve the domain name of described target WEB server.
In conjunction with the second implementation of the fourth aspect of the embodiment of the present invention, in the third implementation of embodiment of the present invention fourth aspect, described acquiring unit sends first number of the first service message to the first WEB server specifically for determining described user side and sends second number of the second service message to the second WEB server, described first number is greater than second number, described first service message comprises the first object IP address, and described second service message comprises the second object IP address;
If when described first number is more than or equal to the preset proportion of described first number and second number sum, then determine that described first object IP address is the IP address of described target WEB server.
In conjunction with the first implementation of the fourth aspect of the embodiment of the present invention, in the 4th kind of implementation of embodiment of the present invention fourth aspect, described acquiring unit is specifically for determining first number that described user side uses the domain name of the first WEB server to carry out resolving and using the domain name of the second WEB server to carry out second number of resolving, and described first number is greater than second number;
If when described first number is more than or equal to the preset proportion of described first number and second number sum, then determine that the domain name of described first WEB server is the domain name of described target WEB server;
Preserve the domain name of described target WEB server.
In conjunction with the 4th kind of implementation of the fourth aspect of the embodiment of the present invention or the second implementation of the first implementation of fourth aspect or fourth aspect or the third implementation of fourth aspect or fourth aspect, in the 5th kind of implementation of embodiment of the present invention fourth aspect, described acquiring unit is also for described first corresponding relation.
In conjunction with the 4th kind of implementation of the fourth aspect of the embodiment of the present invention or the second implementation of the first implementation of fourth aspect or fourth aspect or the third implementation of fourth aspect or fourth aspect, in the 6th kind of implementation of embodiment of the present invention fourth aspect, described acquiring unit is also for obtaining described second corresponding relation.
The embodiment of the present invention the 5th aspect provides a kind of Transparent proxy server, comprises processor, memory, bus and communication interface;
Described memory is for storing computer executed instructions, described processor is connected by described bus with described memory, when described Mobility Management Entity runs, described processor performs the described computer executed instructions that described memory stores, with the method making described Mobility Management Entity perform the Message processing according to any one of claim 1 to 13.
Embodiment of the present invention advantage specific as follows:
Transparent proxy server is when user side and WEB server connect, obtain the handshake message that user side sends to this WEB server, and when determining that the object IP address of handshake message is the IP address of preset target WEB server, corresponding relation according to the IP address of VAS server and described target WEB server determines VAS server, relative to prior art, connect without the need to user side and this WEB server, VAS server can be determined, service message mutual between user side and this WEB server is made to obtain the process of VAS server in time, promote Consumer's Experience.
Accompanying drawing explanation
The embodiment schematic diagram of a kind of message processing method that Fig. 1 provides for the embodiment of the present invention one;
The embodiment schematic diagram of a kind of message processing method that Fig. 2 provides for the embodiment of the present invention two;
The embodiment schematic diagram of a kind of message processing method that Fig. 3 provides for the embodiment of the present invention three;
The embodiment schematic diagram of a kind of message processing method that Fig. 4 provides for the embodiment of the present invention four;
The embodiment schematic diagram of a kind of message processing method that Fig. 5 provides for the embodiment of the present invention five;
The embodiment schematic diagram of a kind of Transparent proxy server that Fig. 6 provides for the embodiment of the present invention six and embodiment seven;
The embodiment schematic diagram of a kind of Transparent proxy server that Fig. 7 provides for the embodiment of the present invention eight.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those skilled in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Refer to Fig. 1, a kind of message processing method in the embodiment of the present invention one comprises:
101, Transparent proxy server obtains the handshake message that user side sends to WEB server.
Be understandable that, under Transparent proxy server is operated in Transparent Proxy pattern, between user side and WEB server, the data message of the generation when user side and WEB server are carried out mutual, capital is through described Transparent proxy server, when described user side needs to need to connect with WEB server, due in ICP/IP protocol, adopt the mode that three-way handshake connects, when first time shakes hands, described user side can send handshake message to WEB server, now Transparent proxy server can obtain this handshake message, and described Transparent proxy server can identify the object IP address in handshake message.
102, when determining that the object IP address in described handshake message is the IP address of preset target WEB server, described Transparent proxy server is according to described object IP address and corresponding relation, determine target VAS server, described corresponding relation is the corresponding relation of the IP address of VAS server and described target WEB server.
Be understandable that, the IP address of target WEB server is previously provided with in described Transparent proxy server, can compare in the IP address of the object IP address identified from handshake message and preset target WEB service by described Transparent proxy server, when judging that described object IP address is the IP address of target WEB service preset in described Transparent proxy server, described Transparent proxy server according to the corresponding relation of the IP address of described object IP address, VAS server and described target WEB server, can determine target VAS server.
103, described Transparent proxy server builds described user side, connection between described target VAS server and described WEB server, and described target VAS server is for the treatment of data message mutual between described user side and described WEB server.
Be understandable that, specific VAS server is for the treatment of the data message of one or more types of service, when getting the data message that user side sends to described WEB server, described Transparent proxy server can by described data message forwarding to described target VAS server, described target VAS server is made to carry out corresponding value-added service process to the data message received, and sending to described WEB server, described WEB server also can process through described VAS server to the described data message of described client feeds back.
In the embodiment of the present invention,
Transparent proxy server is when user side and WEB server connect, obtain the handshake message that user side sends to this WEB server, and when determining that the object IP address of handshake message is the IP address of preset target WEB server, corresponding relation according to the IP address of VAS server and described target WEB server determines VAS server, relative to prior art, connect without the need to user side and this WEB server, VAS server can be determined, service message mutual between user side and this WEB server is made to obtain the process of VAS server in time, promote Consumer's Experience.
In a kind of message processing method that embodiment one describes, when determining that the object IP address in described handshake message is the IP address of preset target WEB server, in actual applications, the IP address of described target WEB server can be configured in Transparent proxy server, also can get by described Transparent proxy server.Wherein, described Transparent proxy server obtains the IP address of described target WEB server, can be various ways, specific as follows:
One, described Transparent proxy server obtains the IP address of described target WEB server, is specially: described Transparent proxy server determines the domain name of described target WEB server; Described Transparent proxy server, according to the domain name of described target WEB server, determines the IP address of described target WEB server; Described Transparent proxy server preserves the IP address of described target WEB server.
Refer to Fig. 2, the method for a kind of Message processing in the embodiment of the present invention two comprises:
201, Transparent proxy server obtains the handshake message that user side sends to WEB server.
Be understandable that, under described Transparent proxy server is operated in Transparent Proxy pattern, described Transparent proxy server is deployed between user side and WEB server, for the proxy server of user side and WEB server not perception, the data message of generation when user side and WEB server are carried out mutual, capital is through described Transparent proxy server, and such as in PCC framework, described Transparent proxy server is PCEF/TDF.
When described user side needs to carry out the first company of establishing with WEB server, the handshake message produced between described user side and described WEB server will through Transparent proxy server, now Transparent proxy server can obtain handshake message, and the object IP address identified in this handshake message, such as in ICP/IP protocol, adopt the mode that three-way handshake connects, when first time shakes hands, described user side can send synchronous (synchronous to WEB server, syn) handshake message, now Transparent proxy server can obtain this syn handshake message, and described Transparent proxy server can identify the object IP address in this syn handshake message.
User side can be the mobile terminal such as mobile phone, panel computer, also can be that notebook computer etc. can the equipment of access network, specifically be not construed as limiting herein.
Alternatively, in the present embodiment 201 after also comprise 202 and 203.
202, described Transparent proxy server determines the domain name of described target WEB server, and determines the IP address of described target WEB server according to the domain name of described target WEB server, preserves the IP address of described target WEB server.
Be understandable that; before user side sends service message to WEB server; the domain name of WEB server can send to dns server to carry out domain name mapping by this user side usually; this dns server, after resolving, comprises the Query Result of WEB server IP address to client feeds back through described Transparent proxy server.Wherein, described Transparent proxy server determines that the mode of the IP address of described target WEB server is specifically as follows: the domain name sent to by described user side is as the domain name of target WEB server, by described dns server after resolving, the IP address comprised in the Query Result of client feeds back is as the IP address of described target WEB server, or, this Transparent proxy server can also use WEB server domain name to carry out the number of times of resolving by recording user end, determine the IP address of target WEB server, second domain name of first number that such as Transparent proxy server recording user end uses the domain name of the first WEB server to carry out resolving and use the second WEB server carries out second number of resolving, when described first number is more than or equal to the preset proportion of described first number and second number sum, described Transparent proxy server can using the domain name of the domain name of described first WEB server as described target WEB server, and according to the Query Result that described dns server feeds back, determine the IP address that the domain name of described target WEB server is corresponding, the i.e. IP address of target WEB server.
It should be noted that, the described preset proportion in the present embodiment is 90%, and in actual applications, described preset proportion can set according to actual needs, is specifically not construed as limiting herein.
In the present embodiment, described Transparent proxy server is after the domain name determining target WEB server, the Query Result fed back by dns server determines described target WEB server IP address, in actual applications, described Transparent proxy server can also pass through the corresponding relation of the domain name of WEB server and the IP address of described WEB server, determine the IP address of described target WEB server, be specifically not construed as limiting herein.
The corresponding relation of the domain name of described WEB server and the IP address of described WEB server can be pre-configured in described Transparent proxy server, may also be that described Transparent proxy server built by the IP address corresponding to domain name of domain name and DNS feedback, be specifically not construed as limiting herein.
203, described Transparent proxy server obtains the corresponding relation of the IP address of VAS server and described target WEB server.
Be understandable that, described Transparent proxy server can by carrying out sampling Detection to user side to the data message of target WEB server, generate described corresponding relation, be specially: described Transparent proxy server detects (Deep Packet Inspection by depth data bag, DPI) the object IP address in data from the sample survey message is analyzed, the i.e. IP address of target WEB server, and the VAS server of data message process described in track record, described Transparent proxy server is according to the VAS server of the IP address of described target WEB server and described data message process, generate described corresponding relation, and described corresponding relation is preserved.
It should be noted that, described corresponding relation can be that described Transparent proxy server obtains, and also can be, after other equipment get described corresponding relation, be pre-configured in described Transparent proxy server, be specifically not construed as limiting herein.
Described VAS server is for the treatment of the data message of particular type, and such as virus filtration, page adaptation, video optimized etc., is specifically not construed as limiting herein.
User side is sent datagram to WEB server by transmission control protocol (Transmission Control Protocol, TCP) or other agreements, is specifically not construed as limiting herein.
204, described Transparent proxy server judges that whether object IP address in described handshake message is the IP address of preset target WEB server, if not, then performs step 205, if so, then performs step 206.
Described Transparent proxy server can parse the object IP address in described handshake message, and compared the IP address of resolving the object IP address that obtains and target WEB server, thus judge that whether object IP address in described target data message is the IP address of target WEB server.
205, described Transparent proxy server sets up the connection between described user side and WEB server.
When the object IP address that Transparent proxy server is judged in described target data message is not the IP address of target WEB server, described Transparent proxy server sets up the connection between described user side and WEB server.
206, described Transparent proxy server is according to described object IP address and corresponding relation, determines target VAS server, and described corresponding relation is the corresponding relation of the IP address of VAS server and described target WEB server.
When described Transparent proxy server determines that described object IP address is the IP address of target WEB server, according to the corresponding relation of the IP address of described VAS server and described target WEB server, determine target VAS server.
207, described Transparent proxy server builds described user side, connection between described VAS server and described target WEB server, and described target VAS server is for the treatment of data message mutual between described user side and described WEB server.
Be understandable that, VAS server can to provide value added service process for the data message of specific type of service, such as video optimized server is the data message of video traffic for the treatment of type of service, at HTTP (Hypertext transfer protocol, HTTP), in, the content type of described video traffic request report comprises: video/mp4, video/x-flv, video/x-f4v etc.; Page adaptation server is the data message of page adaptation business for the treatment of type of service, in http protocol, the content type of described page adaptation data message comprises: text/html, application/vnd.wap.xhtml, application/xhtml+xml, ext/vnd.wap.wml, application/vnd.wap.wmlc, image/jpeg, image/gif, image/png etc.; Content inserts the data message that server is content Insert service for the treatment of type of service, in http protocol, the content type of described content data inserting message comprises: text/html, application/vnd.wap.xhtml, application/xhtml+xml etc.
It should be noted that, described VAS server can process one or more data messages simultaneously, and such as VAS server can simultaneously processing video data message and page adaptation data message, is specifically not construed as limiting herein.
Described Transparent proxy server comprises port for being connected with user side, for the port that is connected with VAS server with for the port with WEB server, VAS server is being determined according to handshake message, the port that the port that described Transparent proxy server can connect according to described user side is connected with described VAS server sets up communication port, thus realizes building user side, connection between target VAS server and target WEB server.After described Transparent proxy server is set up and to be connected between described user side with described VAS server, described target VAS server can process described target VAS server for the treatment of data message mutual between described user side and described WEB server.
In the embodiment of the present invention, the domain name that the accounting of the number of times of domain name mapping is more than or equal to 90% by described Transparent proxy server is as the domain name of target WEB server, the IP address of described target WEB server can be determined again according to the domain name of described target WEB server, that is, user side uses the IP Address Velocity of this target WEB server high, therefore according to the IP address of this destination server and the corresponding relation of VAS server, can improve and determine that the success rate of target VAS server is high.
Two, described Transparent proxy server obtains the IP address of described target WEB server, be specially: described Transparent proxy server determines that described user side sends first number of described first data message to described WEB server and sends second number of the second data message, described first number is greater than second number, described first data message comprises the first object IP address, and described second data message comprises the second object IP address; If when described first number is more than or equal to the preset proportion of described first number and second number sum, then determine that described first object IP address is the IP address of described target WEB server; Described Transparent proxy server preserves the IP address of described target WEB server.
Refer to Fig. 3, the method for a kind of Message processing that the embodiment of the present invention three provides comprises:
301, Transparent proxy server obtains the handshake message that user side sends to WEB server.
Be understandable that, under described Transparent proxy server is operated in Transparent Proxy pattern, described Transparent proxy server is deployed between user side and WEB server, for the proxy server of user side and WEB server not perception, the data message of generation when user side and WEB server are carried out mutual, capital is through described Transparent proxy server, and such as in PCC framework, described Transparent proxy server is PCEF/TDF.
When described user side needs to carry out the first company of establishing with WEB server, the handshake message produced between described user side and described WEB server will through Transparent proxy server, now Transparent proxy server can obtain handshake message, and the object IP address identified in this handshake message, such as in ICP/IP protocol, adopt the mode that three-way handshake connects, when first time shakes hands, described user side can send synchronous (synchronous to WEB server, syn) handshake message, now Transparent proxy server can obtain this syn handshake message, and described Transparent proxy server can identify the object IP address in this syn handshake message.
User side can be the mobile terminal such as mobile phone, panel computer, also can be that notebook computer etc. can the equipment of access network, specifically be not construed as limiting herein.
Alternatively, after step 301,302,303 and 304 are also comprised.
302, described Transparent proxy server determines that described user side sends first number of described first data message to described WEB server and sends second number of the second data message, described first number is greater than second number, described first data message comprises the first object IP address, and described second data message comprises the second object IP address.
Be understandable that, when user side sends datagram to described WEB server, described Transparent proxy server can obtain described user side and send datagram to WEB server, and record the number of times that described user side sends datagram to described WEB server, described Transparent proxy server can also be analyzed the data message got, to obtain the object IP address in described data message, such as user side described in described Transparent proxy server record sends first number of the first data message to the first WEB server, and second number of the second data message is sent to the second WEB server, and analyze the first object IP address in described first data message and the second object IP address in the second data message.
If when 303 described first number are more than or equal to the preset proportion of described first number and second number sum, described Transparent proxy server determines that described first object IP address is the IP address of described target WEB server, and preserves the IP address of described target WEB server.
Be understandable that, whether described Transparent proxy server can be greater than second number by more described first number, and judge whether described first number is more than or equal to the preset proportion of described first number and second number sum, when described Transparent proxy server judges that described first number is greater than second number, and when described first number is more than or equal to the preset proportion of described first number and second number sum, using the IP address of described first object IP address as target WEB server, and the IP address of described target WEB server is kept in described Transparent proxy server.
It should be noted that, the described preset proportion in the present embodiment is 90%, and in actual applications, described preset proportion can set according to actual needs, is specifically not construed as limiting herein.
304, described Transparent proxy server obtains the corresponding relation of the IP address of VAS server and described target WEB server.
305, described Transparent proxy server judges that whether object IP address in described handshake message is the IP address of preset target WEB server, if not, then performs step 306, if so, then performs step 307.
306, described Transparent proxy server sets up the connection between described user side and WEB server.
307, described Transparent proxy server is according to described object IP address and corresponding relation, determines target VAS server, and described corresponding relation is the corresponding relation of the IP address of VAS server and described target WEB server.
308, described Transparent proxy server builds described user side, connection between described VAS server and described target WEB server, and described target VAS server is for the treatment of data message mutual between described user side and described WEB server.
In the embodiment of the present invention, in the embodiment of the present invention, described Transparent proxy server determines that user side transmission times accounting is more than or equal to the service message of 90%, and using the IP address of the object IP address in this service message as target WEB server, that is, this user side uses the IP Address Velocity of this target WEB server high, therefore according to the IP address of this destination server and the corresponding relation of VAS server, can improve the success rate determining target VAS server.
In the method for a kind of Message processing above described in embodiment, the IP address of preset target WEB server in described Transparent proxy server, in actual applications, also can the domain name of preset target WEB server in described Transparent proxy server, below another message processing method in the embodiment of the present invention is described:
Refer to Fig. 4, the method for a kind of Message processing that the embodiment of the present invention four provides comprises:
401, Transparent proxy server obtains the handshake message that user side sends to WEB server, and in described handshake message, IP address is the IP address of described WEB server.
Be understandable that, under described Transparent proxy server is operated in Transparent Proxy pattern, described Transparent proxy server is deployed between user side and WEB server, for the proxy server of user side and WEB server not perception, the data message of generation when user side and WEB server are carried out mutual, capital is through described Transparent proxy server, and such as in PCC framework, described Transparent proxy server is PCEF/TDF.
When described user side needs to carry out the first company of establishing with WEB server, the handshake message produced between described user side and described WEB server will through Transparent proxy server, now Transparent proxy server can obtain handshake message, and the object IP address identified in this handshake message, such as in ICP/IP protocol, adopt the mode that three-way handshake connects, when first time shakes hands, described user side can send synchronous (synchronous to WEB server, syn) handshake message, now Transparent proxy server can obtain this syn handshake message, and described Transparent proxy server can identify the object IP address in this syn handshake message.
User side can be the mobile terminal such as mobile phone, panel computer, also can be that notebook computer etc. can the equipment of access network, specifically be not construed as limiting herein.
402, described Transparent proxy server is according to described object IP address and the first corresponding relation, determines the domain name of WEB server, and described first corresponding relation is the corresponding relation of the domain name of WEB server and the IP address of WEB server.
Described Transparent proxy server obtains object IP address from the handshake message got, described object IP address is the IP address of WEB server, according to the corresponding relation of the domain name of WEB server and the IP address of WEB server, the IP address of described WEB server can be determined.
403, when determining that the domain name of described WEB server is the domain name of preset target WEB server, described Transparent proxy server is according to the domain name of described WEB server and the first corresponding relation, determine the type of service of described target data message, described first corresponding relation is the corresponding relation of the domain name of VAS server and described target WEB server.
Described Transparent proxy server can judge that whether the domain name of WEB server is the domain name of target WEB server preset in described Transparent proxy server, when judging that the domain name of described WEB server is the domain name of target WEB service preset in described Transparent proxy server, according to the corresponding relation of the domain name of VAS server and described destination server, determine target VAS server.
404, described Transparent proxy server builds described user side, connection between described target VAS server and described WEB server, and described target VAS server is for the treatment of data message mutual between described user side and described WEB server.
Be understandable that, specific VAS server is for the treatment of the data message of one or more types of service, when getting the data message that user side sends to described WEB server, described Transparent proxy server can by described data message forwarding to described target VAS server, described target VAS server is made to carry out corresponding value-added service process to the data message received, and sending to described WEB server, described WEB server also can process through described VAS server to the described data message of described client feeds back.
In the embodiment of the present invention, Transparent proxy server is according to the IP address of WEB server and the first corresponding relation, determine the domain name of the WEB server that the object IP address of data message is corresponding, when judging that the domain name of described WEB server is the domain name of preset target WEB server, according to domain name and second corresponding relation of described WEB server, determine VAS server, thus shorten the duration of this Transparent proxy server determination target VAS server, make service message obtain the process of VAS server in time, promote Consumer's Experience.
In above-described embodiment four, described Transparent proxy server is according to the domain name of described WEB server and the second corresponding relation, determine described target VAS server, in actual applications, described second corresponding relation can for being pre-configured in described Transparent proxy server, also can get for described Transparent proxy server, described second corresponding relation be obtained to described Transparent proxy server below and be described in detail:
Refer to Fig. 5, the method for a kind of Message processing that the embodiment of the present invention five provides comprises:
501, Transparent proxy server obtains the handshake message that user side sends to WEB server, and in described handshake message, IP address is the IP address of described WEB server.
Be understandable that, under described Transparent proxy server is operated in Transparent Proxy pattern, described Transparent proxy server is deployed between user side and WEB server, for the proxy server of user side and WEB server not perception, the data message of generation when user side and WEB server are carried out mutual, capital is through described Transparent proxy server, and such as in PCC framework, described Transparent proxy server is PCEF/TDF.
When described user side needs to carry out the first company of establishing with WEB server, the handshake message produced between described user side and described WEB server will through Transparent proxy server, now Transparent proxy server can obtain handshake message, and the object IP address identified in this handshake message, such as in ICP/IP protocol, adopt the mode that three-way handshake connects, when first time shakes hands, described user side can send synchronous (synchronous to WEB server, syn) handshake message, now Transparent proxy server can obtain this syn handshake message, and described Transparent proxy server can identify the object IP address in this syn handshake message.
User side can be the mobile terminal such as mobile phone, panel computer, also can be that notebook computer etc. can the equipment of access network, specifically be not construed as limiting herein.
Alternatively, after step 501, also comprise step 502,503 and 504.
502, described Transparent proxy server obtains the corresponding relation of the domain name of WEB server and the IP address of WEB server.
Be understandable that; before user side sends service message to WEB server; the domain name of WEB server can send to dns server to carry out domain name mapping by this user side usually; this dns server is after resolving; comprise the Query Result of WEB server IP address to client feeds back through described Transparent proxy server; now; the Query Result that described Transparent proxy server can feed back according to described dns server and the domain name that described user side sends, determine the corresponding relation of the domain name of described WEB server and the IP address of described WEB server.
503, described Transparent proxy server obtains the domain name of described target WEB server.
The mode that described Transparent proxy server obtains the domain name of described target WEB server at least comprises the following two kinds:
One, described Transparent proxy server determines the IP address of described target WEB server, and according to the IP address of described target WEB server, determines the domain name of described target WEB server, preserve the domain name of described target WEB server.
It should be noted that, in the present embodiment, described Transparent proxy server determines that the mode of the IP address of described target WEB server is specially: user side described in described Transparent proxy server record sends the number of times of service message to WEB server, and by the object IP address in service message more for transmission times, as the IP address of target WEB server, such as described Transparent proxy server recording user end sends first number of the first service message to the first WEB server and sends second number of the second service message to the second WEB server, if described first number is greater than second number, and when described first number is more than or equal to 90% of described first number and second number sum, then using the IP address of the first object IP address in described first service message as target WEB server, in actual applications, IP address in the service message that the described user side got can also directly send by described Transparent proxy server, as the IP address of target WEB server, or, described Transparent proxy server can also determine the IP address of described target WEB server by other means, specifically be not construed as limiting herein.
Transparent proxy server described in the embodiment of the present invention determines that user side transmission times accounting is more than or equal to the service message of 90%, and using the IP address of the object IP address in this service message as target WEB server, that is, this user side uses the IP Address Velocity of this target WEB server high, according to the domain name of the target WEB server that the IP address of this server and the corresponding relation of described server domain name are determined, also just say, user side uses the domain name frequency of this target WEB server high, the corresponding relation of VAS server, can improve and determine that the success rate of target VAS server is high.
It should be noted that, the accounting of described first number and described first number and second number sum can set according to actual needs, and the preset proportion in the present embodiment is 90%, is specifically not construed as limiting herein.
Described Transparent proxy server is according to the IP address of described target WEB server, determine that the mode of the domain name of described target WEB server is specially: described Transparent proxy server is according to the corresponding relation of the IP address of the IP address of described target WEB server and the domain name of described WEB server and described WEB server, determine the domain name of described target WEB server, in actual applications, described Transparent proxy server can also be determined according to other modes, is specifically not construed as limiting herein.
Two, described Transparent proxy server uses the domain name of WEB server to carry out the number of times of resolving according to user side, and using the domain name of domain name high for domain name mapping number of times accounting as destination server.
For example, described Transparent proxy server is determined first number that described user side uses the domain name of the first WEB server to carry out resolving and is used the domain name of the second WEB server to carry out second number of resolving, if described first number is greater than second number, and when described first number is more than or equal to the preset proportion of described first number and second number sum, then using the domain name of described first WEB server as in the described embodiment of the present invention, the domain name that the accounting of the number of times of domain name mapping is more than or equal to 90% by described Transparent proxy server is as the domain name of target WEB server, that is, user side uses the domain name frequency of this target WEB server high, therefore according to the domain name of this destination server and the corresponding relation of VAS server, the success rate determining target VAS server can be improved.
It should be noted that, the accounting of the number of times of domain name mapping can set according to actual needs, and the accounting of the number of times of the domain name mapping in the present embodiment is 90%, is specifically not construed as limiting herein.
504, described Transparent proxy server obtains the corresponding relation of the domain name of VAS server and described preset target WEB server.
Be understandable that, described Transparent proxy server is when obtaining the service message that user side sends to WEB server, described Transparent proxy server can analyze the object IP address of described service message by DPI, described proxy server can according to described object IP address and described first corresponding relation, thus determine the domain name of described WEB server, and the VAS server of data message process described in track record, described Transparent proxy server is according to the VAS server of the IP address of described target WEB server and described data message process, generate described corresponding relation, and described corresponding relation is preserved.
It should be noted that, described corresponding relation can be that described Transparent proxy server obtains, and also can be, after other equipment get described corresponding relation, be pre-configured in described Transparent proxy server, be specifically not construed as limiting herein.
505, described Transparent proxy server is according to the object IP address of described handshake message and the first corresponding relation, determines the domain name of described WEB server.
Described Transparent proxy server ability parses the object IP address in handshake message, and according to the corresponding relation of the domain name of the WEB server got and the IP address of WEB server, determines the domain name of described WEB server.
506, judge that whether the domain name of described WEB server is the domain name of preset target WEB server, if so, then perform step 507, if so, then perform step 508.
The domain name of the domain name of WEB server and target WEB service can be compared by described Transparent proxy server, thus judges that whether the domain name of described WEB server is the domain name of preset target WEB server.
507, described Transparent proxy server sets up the connection between described user side and WEB server.
508, described Transparent proxy server is according to described object IP address and corresponding relation, determines target VAS server, and described corresponding relation is the corresponding relation of the IP address of VAS server and described target WEB server.
When described Transparent proxy server determines that described object IP address is the IP address of target WEB server, according to the corresponding relation of the IP address of described VAS server and described target WEB server, determine target VAS server.
509, described Transparent proxy server builds described user side, connection between described VAS server and described target WEB server, and described target VAS server is for the treatment of data message mutual between described user side and described WEB server.
In the present embodiment 509 can adopt the method identical with embodiment two, repeats no more herein.
In the embodiment of the present invention, Transparent proxy server is according to the IP address of WEB server and the first corresponding relation, determine the domain name of the WEB server that the object IP address of data message is corresponding, when judging that the domain name of described WEB server is the domain name of preset target WEB server, according to domain name and second corresponding relation of described WEB server, determine VAS server, thus shorten the duration of this Transparent proxy server determination target VAS server, make service message obtain the process of VAS server in time, promote Consumer's Experience.
Be described the method part of the embodiment of the present invention above, be described below, refer to Fig. 6 to the device section of the embodiment of the present invention, the Transparent proxy server that the embodiment of the present invention six provides comprises:
Acquiring unit 601, for obtaining the handshake message that user side sends to WEB server.
Alternatively, described acquiring unit 601 is also for obtaining the IP address of described target WEB server.
Wherein, the mode that described acquiring unit 601 obtains the IP address of described target WEB server comprises at least the following two kinds:
One, described acquiring unit 601 is by determining the domain name of described target WEB server, and according to the domain name of described target WEB server, determines the IP address of described target WEB server, and then preserve the IP address of described target WEB server.
It should be noted that, described acquiring unit 601 determines the domain name of described target WEB server, specifically can by determining first number that described user side uses the domain name of the first WEB server to carry out resolving and using the domain name of the second WEB server to carry out second number of resolving, described first number is greater than second number, if when described first number is more than or equal to the preset proportion of described first number and second number sum, then determine that the domain name of described first WEB server is the domain name of described target WEB server.
Two, described acquiring unit 601 sends first number of the first service message to the first WEB server by determining described user side and sends second number of the second service message to the second WEB server, described first number is greater than second number, described first service message comprises the first object IP address, and described second service message comprises the second object IP address; If when described first number is more than or equal to the preset proportion of described first number and second number sum, then determines that described first object IP address is the IP address of described target WEB server, then preserve the IP address of described target WEB server.
Alternatively, described acquiring unit 601 is also for obtaining described corresponding relation.
Determining unit 602, for when determining that the object IP address in described handshake message is the IP address of preset target WEB server, according to described object IP address and corresponding relation, determine target VAS server, described corresponding relation is the corresponding relation of the IP address of VAS server and described target WEB server.
Construction unit 603, for building described user side, connection between described target VAS server and described WEB server, described target VAS server is for the treatment of service message mutual between described user side and described WEB server.
In embodiment six, Transparent proxy server is mated with the object IP address got from handshake message by the IP address of preset target WEB server, and utilize the IP address of preset target WEB server and the corresponding relation determination target VAS server of VAS server, in actual applications, described Transparent proxy server by the corresponding relation of the domain name of preset target WEB server and VAS server, thus can also determine target VAS server.
Below please continue to refer to Fig. 6, a kind of Transparent proxy server that the embodiment of the present invention seven provides is described, specifically comprises:
Acquiring unit 601, for obtaining the handshake message that user side sends to WEB server, the object IP address in described handshake message is the IP address of described WEB server.
Alternatively, described acquiring unit 601 is also for obtaining the domain name of described destination server.
Wherein, described acquiring unit 601 also comprises at least the following two kinds for the mode of the domain name obtaining described destination server:
One, described acquiring unit 601 is by determining the IP address of described target WEB server, and according to the IP address of described target WEB server, determines the domain name of described target WEB server, then the domain name of described target WEB server preserved.
It should be noted that, the IP address that described acquiring unit 601 determines described target WEB server specifically can send first number of the first service message by determining described user side to the first WEB server and send second number of the second service message to the second WEB server, described first number is greater than second number, described first service message comprises the first object IP address, and described second service message comprises the second object IP address; If when described first number is more than or equal to the preset proportion of described first number and second number sum, then determine that described first object IP address is the IP address of described target WEB server.
Two, described acquiring unit 601 can by determining first number that described user side uses the domain name of the first WEB server to carry out resolving and using the domain name of the second WEB server to carry out second number of resolving, and described first number is greater than second number; If when described first number is more than or equal to the preset proportion of described first number and second number sum, then determines that the domain name of described first WEB server is the domain name of described target WEB server, then the domain name of described target WEB server is preserved.
Alternatively, described acquiring unit 601 is also for obtaining described first corresponding relation.
Alternatively, described acquiring unit 601, also for obtaining described second corresponding relation.
Determining unit 602, for according to described object IP address and the first corresponding relation, determines the domain name of described WEB server, and described first corresponding relation is the corresponding relation of the domain name of WEB server and the IP address of WEB server;
Described determining unit 602, also for when determining that the domain name of described WEB server is the domain name of preset target WEB server, according to domain name and second corresponding relation of described WEB server, determine target VAS server, described second corresponding relation is the corresponding relation of the domain name of VAS server and described preset target WEB server;
Construction unit 603, for building described user side, connection between described target VAS server and described WEB server, described target VAS server is for the treatment of service message mutual between described user side and described WEB server.
In the embodiment of the present invention, Transparent proxy server is by acquiring unit 601, obtain the object IP address in handshake message, and when determining unit 602 determines that described object IP address is the IP address of WEB server, according to IP address and first corresponding relation of WEB server, determine the domain name of the WEB server that the object IP address of data message is corresponding, when judging that the domain name of described WEB server is the domain name of preset target WEB server, according to domain name and second corresponding relation of described WEB server, determine VAS server, recycling construction unit 603 builds described user side, connection between described target VAS server and described WEB server, make service message mutual between user side and described WEB server described in described VAS server process, thus shorten the duration of this Transparent proxy server determination target VAS server, service message is made to obtain the process of VAS server in time, promote Consumer's Experience.
As Fig. 7, be a kind of Transparent proxy server that the embodiment of the present invention eight provides, described Transparent proxy server 700 can comprise:
Processor 701, memory 702, bus 704 and communication interface 705.Processor 701, connected by bus 704 between memory 702 and communication interface 705 and complete mutual communication.
Processor 701 may be monokaryon or multinuclear CPU, or is specific integrated circuit, or for being configured to the one or more integrated circuits implementing the embodiment of the present invention.
Memory 702 can be high-speed RAM memory, also can be nonvolatile memory (non-volatile memory), such as at least one magnetic disc store.
Memory 702 is for computer executed instructions 703.Concrete, can program code be comprised in computer executed instructions 703.
When described plant running, processor 701 moving calculation machine performs instruction 703, can perform one of any corresponding message processing method described in embodiment of the method for Fig. 1 to Fig. 5.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that, disclosed system, apparatus and method, can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
The above, above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (27)

1. a method for Message processing, is characterized in that, comprising:
Transparent proxy server obtains the handshake message that user side sends to WEB server;
When determining that the object IP address in described handshake message is the IP address of preset target WEB server, described Transparent proxy server is according to described object IP address and corresponding relation, determine target VAS server, described corresponding relation is the corresponding relation of the IP address of VAS server and described target WEB server;
Described Transparent proxy server builds described user side, connection between described target VAS server and described WEB server, and described target VAS server is for the treatment of service message mutual between described user side and described WEB server.
2. method according to claim 1, it is characterized in that, determine also to comprise before the object IP address of described handshake message is the IP address of preset target WEB server at described Transparent proxy server: described Transparent proxy server obtains the IP address of described target WEB server.
3. method according to claim 2, is characterized in that, the IP address that described Transparent proxy server obtains described target WEB server comprises:
Described Transparent proxy server determines the domain name of described target WEB server;
Described Transparent proxy server, according to the domain name of described target WEB server, determines the IP address of described target WEB server;
Described Transparent proxy server preserves the IP address of described target WEB server.
4. method according to claim 3, is characterized in that, the domain name of described Transparent proxy server determination target WEB server comprises:
Described Transparent proxy server is determined first number that described user side uses the domain name of the first WEB server to carry out resolving and is used the domain name of the second WEB server to carry out second number of resolving, and described first number is greater than second number;
If when described first number is more than or equal to the preset proportion of described first number and second number sum, then determine that the domain name of described first WEB server is the domain name of described target WEB server.
5. method according to claim 2, is characterized in that, the IP address that described Transparent proxy server obtains described target WEB server comprises:
Described Transparent proxy server determines that described user side sends first number of the first service message to the first WEB server and sends second number of the second service message to the second WEB server, described first number is greater than second number, described first service message comprises the first object IP address, and described second service message comprises the second object IP address;
If when described first number is more than or equal to the preset proportion of described first number and second number sum, then determine that described first object IP address is the IP address of described target WEB server;
Described Transparent proxy server preserves the IP address of described target WEB server.
6. method according to any one of claim 1 to 5, it is characterized in that, at described Transparent proxy server according to described object IP address and corresponding relation, also comprise before determining target VAS server: described Transparent proxy server obtains described corresponding relation.
7. a method for Message processing, is characterized in that, comprising:
Transparent proxy server obtains the handshake message that user side sends to WEB server, and the object IP address in described handshake message is the IP address of described WEB server;
Described Transparent proxy server, according to described object IP address and the first corresponding relation, determines the domain name of described WEB server, and described first corresponding relation is the corresponding relation of the domain name of WEB server and the IP address of WEB server;
When determining that the domain name of described WEB server is the domain name of preset target WEB server, described Transparent proxy server is according to the domain name of described WEB server and the second corresponding relation, determine target VAS server, described second corresponding relation is the corresponding relation of the domain name of VAS server and described preset target WEB server;
Described Transparent proxy server builds described user side, connection between described target VAS server and described WEB server, and described target VAS server is for the treatment of service message mutual between described user side and described WEB server.
8. method according to claim 7, it is characterized in that, determine also to comprise before the domain name of described WEB server is the domain name of preset target WEB server at described Transparent proxy server: described Transparent proxy server obtains the domain name of described destination server.
9. method according to claim 8, is characterized in that, the domain name that described Transparent proxy server obtains described target WEB server comprises:
Described Transparent proxy server determines the IP address of described target WEB server;
Described Transparent proxy server, according to the IP address of described target WEB server, determines the domain name of described target WEB server;
Described Transparent proxy server preserves the domain name of described target WEB server.
10. method according to claim 9, is characterized in that, described Transparent proxy server determines that the IP address of described target WEB server comprises:
Described Transparent proxy server determines that described user side sends first number of the first service message to the first WEB server and sends second number of the second service message to the second WEB server, described first number is greater than second number, described first service message comprises the first object IP address, and described second service message comprises the second object IP address;
If when described first number is more than or equal to the preset proportion of described first number and second number sum, then determine that described first object IP address is the IP address of described target WEB server.
11. methods according to claim 8, is characterized in that, the domain name that described Transparent proxy server obtains described target WEB server comprises:
Described Transparent proxy server is determined first number that described user side uses the domain name of the first WEB server to carry out resolving and is used the domain name of the second WEB server to carry out second number of resolving, and described first number is greater than second number;
If when described first number is more than or equal to the preset proportion of described first number and second number sum, then determine that the domain name of described first WEB server is the domain name of described target WEB server;
Described Transparent proxy server preserves the domain name of described target WEB server.
12. methods according to any one of claim 7 to 11, it is characterized in that, at described Transparent proxy server according to described object IP address and the first corresponding relation, also comprise before determining the domain name of WEB server: described Transparent proxy server obtains described first corresponding relation.
13. methods according to any one of claim 7 to 11, it is characterized in that, at described Transparent proxy server according to the domain name of described WEB server and the second corresponding relation, also comprise before determining target VAS server: described Transparent proxy server obtains described second corresponding relation.
14. 1 kinds of Transparent proxy servers, is characterized in that, comprising:
Acquiring unit, for obtaining the handshake message that user side sends to WEB server;
Determining unit, for when determining that the object IP address in described handshake message is the IP address of preset target WEB server, according to described object IP address and corresponding relation, determine target VAS server, described corresponding relation is the corresponding relation of the IP address of VAS server and described target WEB server;
Construction unit, for building described user side, connection between described target VAS server and described WEB server, described target VAS server is for the treatment of service message mutual between described user side and described WEB server.
15. Transparent proxy servers according to claim 14, is characterized in that, described acquiring unit is also for obtaining the IP address of described target WEB server.
16. Transparent proxy servers according to claim 15, is characterized in that, described acquiring unit is specifically for determining the domain name of described target WEB server;
According to the domain name of described target WEB server, determine the IP address of described target WEB server;
Preserve the IP address of described target WEB server.
17. Transparent proxy servers according to claim 16, it is characterized in that, described acquiring unit is specifically for determining first number that described user side uses the domain name of the first WEB server to carry out resolving and using the domain name of the second WEB server to carry out second number of resolving, and described first number is greater than second number;
If when described first number is more than or equal to the preset proportion of described first number and second number sum, then determine that the domain name of described first WEB server is the domain name of described target WEB server.
18. Transparent proxy servers according to claim 15, it is characterized in that, described acquiring unit sends first number of the first service message to the first WEB server specifically for determining described user side and sends second number of the second service message to the second WEB server, described first number is greater than second number, described first service message comprises the first object IP address, and described second service message comprises the second object IP address;
If when described first number is more than or equal to the preset proportion of described first number and second number sum, then determines that described first object IP address is the IP address of described target WEB server, preserve the IP address of described target WEB server.
19., according to claim 14 to the Transparent proxy server according to any one of 18, is characterized in that, described acquiring unit is also for obtaining described corresponding relation.
20. 1 kinds of Transparent proxy servers, is characterized in that, comprising:
Acquiring unit, for obtaining the handshake message that user side sends to WEB server, the object IP address in described handshake message is the IP address of described WEB server;
Determining unit, for according to described object IP address and the first corresponding relation, determines the domain name of described WEB server, and described first corresponding relation is the corresponding relation of the domain name of WEB server and the IP address of WEB server;
Described determining unit, also for when determining that the domain name of described WEB server is the domain name of preset target WEB server, according to domain name and second corresponding relation of described WEB server, determine target VAS server, described second corresponding relation is the corresponding relation of the domain name of VAS server and described preset target WEB server;
Construction unit, for building described user side, connection between described target VAS server and described WEB server, described target VAS server is for the treatment of service message mutual between described user side and described WEB server.
21. Transparent proxy servers according to claim 20, is characterized in that, described acquiring unit, also for obtaining the domain name of described destination server.
22. Transparent proxy servers according to claim 21, is characterized in that, described acquiring unit is specifically for determining the IP address of described target WEB server;
According to the IP address of described target WEB server, determine the domain name of described target WEB server;
Preserve the domain name of described target WEB server.
23. Transparent proxy servers according to claim 22, it is characterized in that, described acquiring unit sends first number of the first service message to the first WEB server specifically for determining described user side and sends second number of the second service message to the second WEB server, described first number is greater than second number, described first service message comprises the first object IP address, and described second service message comprises the second object IP address;
If when described first number is more than or equal to the preset proportion of described first number and second number sum, then determine that described first object IP address is the IP address of described target WEB server.
24. Transparent proxy servers according to claim 21, it is characterized in that, described acquiring unit is specifically for determining first number that described user side uses the domain name of the first WEB server to carry out resolving and using the domain name of the second WEB server to carry out second number of resolving, and described first number is greater than second number;
If when described first number is more than or equal to the preset proportion of described first number and second number sum, then determine that the domain name of described first WEB server is the domain name of described target WEB server;
Preserve the domain name of described target WEB server.
25. Transparent proxy servers according to any one of claim 20 to 24, it is characterized in that, described acquiring unit is also for described first corresponding relation.
26. Transparent proxy servers according to any one of claim 20 to 24, it is characterized in that, described acquiring unit is also for obtaining described second corresponding relation.
27. 1 kinds of Transparent proxy servers, is characterized in that, comprise processor, memory, bus and communication interface;
Described memory is for storing computer executed instructions, described processor is connected by described bus with described memory, when described Mobility Management Entity runs, described processor performs the described computer executed instructions that described memory stores, with the method making described Mobility Management Entity perform the Message processing according to any one of claim 1 to 13.
CN201410733682.7A 2014-12-04 2014-12-04 The method and Transparent proxy server of a kind of Message processing Active CN104518968B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410733682.7A CN104518968B (en) 2014-12-04 2014-12-04 The method and Transparent proxy server of a kind of Message processing
PCT/CN2015/094131 WO2016086755A1 (en) 2014-12-04 2015-11-09 Packet processing method and transparent proxy server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410733682.7A CN104518968B (en) 2014-12-04 2014-12-04 The method and Transparent proxy server of a kind of Message processing

Publications (2)

Publication Number Publication Date
CN104518968A true CN104518968A (en) 2015-04-15
CN104518968B CN104518968B (en) 2018-07-03

Family

ID=52793716

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410733682.7A Active CN104518968B (en) 2014-12-04 2014-12-04 The method and Transparent proxy server of a kind of Message processing

Country Status (2)

Country Link
CN (1) CN104518968B (en)
WO (1) WO2016086755A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104994137A (en) * 2015-05-27 2015-10-21 四川卫士通信息安全平台技术有限公司 Method of network readezvous point
CN105119982A (en) * 2015-07-23 2015-12-02 中国联合网络通信集团有限公司 Value-added processing method and device
WO2016086755A1 (en) * 2014-12-04 2016-06-09 华为技术有限公司 Packet processing method and transparent proxy server
CN106559919A (en) * 2015-09-24 2017-04-05 佳能株式会社 Communicator and control method
CN112954683A (en) * 2021-05-13 2021-06-11 中兴通讯股份有限公司 Domain name resolution method, domain name resolution device, electronic equipment and storage medium
WO2021238746A1 (en) * 2020-05-25 2021-12-02 华为技术有限公司 Network system and packet transmission method therein, and related apparatus

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010049940A1 (en) * 2008-10-31 2010-05-06 Onmobile Global Limited Method and system of providing vas in a communication network
CN102256348A (en) * 2010-05-21 2011-11-23 华为技术有限公司 Routing method, device and system for uplink message
CN103931162A (en) * 2014-01-20 2014-07-16 华为技术有限公司 Method for processing service and network equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104518968B (en) * 2014-12-04 2018-07-03 华为技术有限公司 The method and Transparent proxy server of a kind of Message processing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010049940A1 (en) * 2008-10-31 2010-05-06 Onmobile Global Limited Method and system of providing vas in a communication network
CN102256348A (en) * 2010-05-21 2011-11-23 华为技术有限公司 Routing method, device and system for uplink message
CN103931162A (en) * 2014-01-20 2014-07-16 华为技术有限公司 Method for processing service and network equipment

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016086755A1 (en) * 2014-12-04 2016-06-09 华为技术有限公司 Packet processing method and transparent proxy server
CN104994137A (en) * 2015-05-27 2015-10-21 四川卫士通信息安全平台技术有限公司 Method of network readezvous point
CN104994137B (en) * 2015-05-27 2019-01-22 四川卫士通信息安全平台技术有限公司 A kind of method of network readezvous point agency
CN105119982A (en) * 2015-07-23 2015-12-02 中国联合网络通信集团有限公司 Value-added processing method and device
CN105119982B (en) * 2015-07-23 2019-02-22 中国联合网络通信集团有限公司 The method and device of increment processing
CN106559919A (en) * 2015-09-24 2017-04-05 佳能株式会社 Communicator and control method
WO2021238746A1 (en) * 2020-05-25 2021-12-02 华为技术有限公司 Network system and packet transmission method therein, and related apparatus
CN112954683A (en) * 2021-05-13 2021-06-11 中兴通讯股份有限公司 Domain name resolution method, domain name resolution device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN104518968B (en) 2018-07-03
WO2016086755A1 (en) 2016-06-09

Similar Documents

Publication Publication Date Title
CN104518968A (en) Message processing method and transparent proxy server
CN104320377B (en) The anti-stealing link method and equipment of a kind of files in stream media
CN104767837B (en) A kind of method and device of identification agent IP address
CN103297270A (en) Application type recognition method and network equipment
CN104253741A (en) Information sending method and device and system thereof
CN103401836A (en) Method and device used for judging whether webpage is hijacked by ISP (internet service provider) or not
WO2015014169A1 (en) Method, device, and system for detecting link layer hijacking, user equipment, and analyzing server
CN104283723A (en) Network access log processing method and device
EP3499845A1 (en) Data packet transmission method and system
CN104683407A (en) Transmission method and equipment for page data and application data
US20160330569A1 (en) Service Processing Method and Network Device
CN107347062A (en) A kind of method, electronic equipment and the readable storage medium storing program for executing of daily record data processing
CN104852919A (en) Method and apparatus for realizing portal authentication
CN104038917A (en) Method and device for terminal roaming authentication
US11064052B2 (en) Page insertion method and device
CN106549989A (en) A kind of data transmission method and its system, user terminal, application server
CN104168317A (en) Cached content hitting method and communication system
CN103618792A (en) Data stream identification method and device
CN105099769A (en) Method, device and system for processing abnormal operations of service platform
CN107707569A (en) DNS request processing method and DNS systems
CN104184723A (en) Application identifying method and device and network equipment
CN104969521A (en) Data sending and processing method and router
CN104811507A (en) IP address acquiring method and IP address acquiring device
CN104113510A (en) Virtual desktop system and message data transmitting method thereof
CN105516319B (en) The method and apparatus for managing HTTP message

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