CN108306745A - Server and its data processing method and system of application - Google Patents
Server and its data processing method and system of application Download PDFInfo
- Publication number
- CN108306745A CN108306745A CN201610725153.1A CN201610725153A CN108306745A CN 108306745 A CN108306745 A CN 108306745A CN 201610725153 A CN201610725153 A CN 201610725153A CN 108306745 A CN108306745 A CN 108306745A
- Authority
- CN
- China
- Prior art keywords
- server
- record
- request
- tcp connection
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
- H04L12/1425—Charging, metering or billing arrangements for data wireline or wireless communications involving dedicated fields in the data packet for billing purposes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
- H04L12/1442—Charging, metering or billing arrangements for data wireline or wireless communications at network operator level
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/24—Accounting or billing
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides the data processing method and system of a kind of server and its application, server is put on record when receiving the request of electric terminal transmission, according to the characteristic information for the characteristic information and electric terminal for not putting server in server forwarding list on record, automatically it forwards the request to and optimal does not put server on record, and server is not put on record to asking after handling by optimal, it generates feedback information and feeds back to the electric terminal, and the source IP of feedback information and source port be revised as to receive the IP for putting server on record of the request from electric terminal and port.Increase or the delete operation for not putting server on record are very simple, flexibly realize the extension to orienting flow server load capacity.
Description
Technical field
The present invention relates to field of communication technology, a kind of data processing method more particularly to server and its application and it is
System.
Background technology
It is exactly the 2G/3G/4G mobile network's flows defined using business to orient flow, is different from and does not limit using business
Universal flow, orientation flow often limits and is only used for certain specific applications or website.Such as certain video APP orients flow
Flow in packet can only use in the APP, and the campus network generated using the application, can be in the orientation flow set of operator
Independent charging in meal, is not counted in universal flow set meal.And the flow generated when using other APP will not then be counted into this and determine
Into flow package.Orientation flow is the business that operator releases to cultivate the flow use habit of user, single-candidate flow
Expense is far below universal flow.
There is development orientation flow business in the major operator in the whole world, and how realization technology distinguishes discharge pattern if essentially consisting in,
To carry out classification charging.It is following two that current operator realizes that the mode of orientation flow mainly has:
1. content recognition mode, operator parses flow content in the gateway exit of mobile network, identifies oriented flow
The condition code (condition code can be domain name, keyword, key etc.) of amount, to realize independent charging.
2. IP identification methods, content supplier puts the IP address for orienting server and port numbers on record at operator, fortune
It seeks quotient and identifies IP packet headers in the gateway exit of mobile network, if source IP port or Target IP port are the orientation put on record
Server ip port, then the flow of the IP packets, which is counted into, orients in flow.
It is existing to realize that the system of orientation flow business is as depicted in figs. 1 and 2 using IP identification methods.Electric terminal (example
Such as it is mobile phone terminal) directly request is sent out to putting server on record, and directly carried out accordingly to electric terminal from putting server on record
Feedback, what the communication system 10 that wherein Fig. 1 is shown included puts the case where server is content server 12 on record, and electric terminal 11 is sent out
Send request to the content server 12 put on record, 12 returned content of server put on record responds to electric terminal 11, operator's movement
Gateway checks that the IP packets that electric terminal 11 is sent are denoted as oriented flow if the ports destination server IP have been put on record
Amount;Check that the IP packets that electric terminal 11 receives are denoted as orientation flow if the ports origin server IP have been put on record.
The communication system 20 that Fig. 2 is shown puts the case where server is proxy server 22 on record, and electric terminal 21, which is sent a request to, to be put on record
Proxy server 22, the proxy server 22 put on record forwards requests to content server 23,23 returned content of content server
Proxy server 22 is responded to, 22 returned content of proxy server responds to electric terminal 21, and operator's mobile gateway checks electricity
The IP packets that sub- terminal is sent are denoted as orientation flow if the ports destination server IP have been put on record;Check that electronics is whole
The IP packets that end 21 receives are denoted as orientation flow if the ports origin server IP have been put on record.
There are a defects for content supplier for existing IP identifying schemes, exactly orient flow server ip and put on record
Limited amount, and flow is very long (be configured to all gateway exits be also required to for a long time), and alternation procedure is even more cumbersome, because
This has very big limitation to the horizontal extension for orienting flow server load capacity.For large-scale content supplier, content
Carrier is typically based on the CDN network of load balancing, is distributed nearby by way of DNS scheduling, and the server of CDN network
It is distributed in a large amount of computer room, IP quantity is extremely more and changes the possibilities for not having quickly and largely putting on record and putting on record at any time.Orientation
There is conflict in flow and CDN business, it is difficult to carry out the load extension and equilibrium across computer room, be only capable of in the same computer room for having put IP on record
Portion extends, and server load capacity significantly weakens.
Invention content
In view of the foregoing deficiencies of prior art, the purpose of the present invention is to provide a kind of server and its numbers of application
According to processing method and system, determine for solving to orient in the prior art flexibly increase and decrease to provide in flow process of service execution
To the server of traffic service, and it cannot flexibly select to execute the optimal service of orientation traffic service according to the characteristic of server
The problem of device etc..
In order to achieve the above objects and other related objects, the present invention provides a kind of data processing method, is put on record applied to one
In server, the IP address and port numbers for putting server on record is put on record to operator, the server of putting on record is configured in advance
Have and put the corresponding server forwarding list of server on record with described, the server forwarding list includes putting service on record with described
The corresponding IP address and characteristic information for not putting server on record of device, the method includes:Receive electric terminal transmission
When TCP connection handshake request, the characteristic information for not putting server on record according to the server forwarding list and the electronics
The characteristic information of terminal selects optimal service device, and by IP tunneling is forwarded to the TCP connection handshake request described
Optimal service device returns to TCP to the electric terminal and connects so that the optimal service device is according to the TCP connection handshake request
Handshake response is connect, to form TCP connection loop;Wherein, the source IP of the TCP connection handshake response puts server on record to be described
IP, and the source port of the TCP connection handshake response is the port for putting server on record;When the server of putting on record receives
To the electric terminal send request of data when, according to the TCP connection loop formed, to the optimal service device
The request of data is forwarded, so that the optimal service device is whole to the electronics according to the TCP connection loop formed
Hold feedback data request response;Wherein, the source IP of the request of data response puts the IP of server, and the data on record for described in
The source port of request response is the port for putting server on record.
In a specific embodiment of the invention, the server of putting on record is proxy server or content server;When described
When to put server on record be content server, the server of not putting on record in the server forwarding list is content server;Work as institute
It states and puts server on record when being proxy server, the server of not putting on record in the server forwarding list is proxy server, and
After the TCP connection loop is formed, when it is described put server on record and receive the request of data that the electric terminal is sent when, root
According to the TCP connection loop formed, the request of data is forwarded to the optimal service device, for the optimal service
The request of data is sent to content server associated with it by device, and receive the response of the associated content server with
The request of data response is formed, and is fed back to the electric terminal.
In a specific embodiment of the invention, the characteristic information includes geographical location information and/or link quality information.
In order to achieve the above objects and other related objects, the present invention also provides a kind of data processing systems, are included in a report
In standby server, put the IP address and port numbers for putting server on record on record to operator in advance, it is described put on record server by with
It is equipped with and puts the corresponding server forwarding list of server on record with described, the server forwarding list includes putting clothes on record with described
The corresponding IP address and characteristic information for not putting server on record of business device, the data processing system include:Link block is used for
When receiving the TCP connection handshake request of electric terminal transmission, server is not put on record according to the server forwarding list
Characteristic information and the characteristic information of the electric terminal select optimal service device, and by IP tunneling by the TCP
Connection handshake request is forwarded to the optimal service device, so that the optimal service device is according to the TCP connection handshake request, to
The electric terminal returns to TCP connection handshake response, to form TCP connection loop;Wherein, the TCP connection handshake response
Source IP be the IP for putting server on record, and the source port of the TCP connection handshake response is the end for putting server on record
Mouthful;Forwarding module, for when it is described put server on record and receive the request of data that the electric terminal is sent when, according to shape
At the TCP connection loop, the request of data is forwarded to the optimal service device, so that the optimal service device is according to
The TCP connection loop through formation asks to respond to the electric terminal feedback data;Wherein, the request of data responds
Source IP is the IP for putting server on record, and the source port of request of data response is the port for putting server on record.
In a specific embodiment of the invention, the server of putting on record is proxy server or content server;When described
When to put server on record be content server, the server of not putting on record in the server forwarding list is content server;Work as institute
It states and puts server on record when being proxy server, the server of not putting on record in the server forwarding list is proxy server, and
The forwarding module be additionally operable to when it is described put server on record and receive the request of data that the electric terminal is sent when, according to
The TCP connection loop formed forwards the request of data to the optimal service device, so that the optimal service device is by institute
It states request of data and is sent to content server associated with it, and receive the response of the associated content server to be formed
Request of data response is stated, and is fed back to the electric terminal.
In a specific embodiment of the invention, the characteristic information includes geographical location information and/or link quality information.
In order to achieve the above objects and other related objects, the present invention also provides a kind of servers, including as above any one institute
The data processing system stated.
In order to achieve the above objects and other related objects, the present invention also provides a kind of data processing methods, are applied to one not
It puts on record in server, the method includes:By IP tunneling receive one put on record server transmission come from electric terminal
TCP connection handshake request when, according to the TCP connection handshake request, return to TCP connection to the electric terminal and shake hands sound
It answers, to form TCP connection loop;Wherein, the source IP of the TCP connection handshake response is the IP for putting server on record, and
The source port of the TCP connection handshake response is the port for putting server on record;It is forwarded when receiving the server of putting on record
Derived from the request of data of the electric terminal when, it is anti-to the electric terminal according to the TCP connection loop formed
Present request of data response;Wherein, the source IP of the request of data response puts the IP of server, and the request of data on record for described in
The source port of response is the port for putting server on record.
In a specific embodiment of the invention, the server of not putting on record is proxy server or content server;Work as institute
State do not put on record server be proxy server when, after the TCP connection loop is formed, when it is described do not put on record server receive institute
State put on record server forwarding derived from the request of data of the electric terminal when, the request of data is forwarded to and is not reported with described
The associated content server of standby server, and the sound to the request of data that will be received from the associated content server
It should be fed back to the electric terminal.
In order to achieve the above objects and other related objects, the present invention also provides a kind of data processing systems, are applied to one not
It puts on record in server, the system comprises:Link block puts server transmission on record for receiving one by IP tunneling
When TCP connection handshake request from electric terminal, according to the TCP connection handshake request, TCP is returned to the electric terminal
Handshake response is connected, to form TCP connection loop;Wherein, the source IP of the TCP connection handshake response puts service on record to be described
The IP of device, and the source port of the TCP connection handshake response is the port for putting server on record;Respond module connects to work as
Receive it is described put on record server forwarding derived from the request of data of the electric terminal when, according to the TCP companies formed
Loop is connect to ask to respond to the electric terminal feedback data;Wherein, the source IP of the request of data response puts clothes on record to be described
The IP of business device, and the source port of request of data response is the port for putting server on record.
In a specific embodiment of the invention, the server of not putting on record is proxy server or content server;Work as institute
It states and does not put server on record when being proxy server, after the TCP connection loop is formed, the respond module is also to when described
Do not put on record server receive described in put on record server forwarding derived from the request of data of the electric terminal when, the data are asked
It asks to be forwarded to and does not put the associated content server of server on record with described, and will be received from the associated content server
The response of the request of data is fed back to the electric terminal.
In order to achieve the above objects and other related objects, the present invention also provides a kind of server, the server is as above
Any one of them does not put server on record, and includes data processing system as described above.
As described above, the server of the present invention and its data processing method and system of application, put server on record and are receiving
To electric terminal send request when, according to the characteristic information and electric terminal for not putting server in server forwarding list on record
Characteristic information, forward the request to automatically it is optimal do not put server on record, and by it is optimal do not put on record server to ask into
After row processing, generates feedback information and feed back to the electric terminal, and the source IP of feedback information and source port are revised as receiving
To the IP for putting server on record of the request from electric terminal and port.Increase or the delete operation for not putting server on record are very simple
It is single, flexibly realize the extension to orienting flow server load capacity.
Description of the drawings
Fig. 1 is shown as the communication system composition schematic diagram in an existing specific embodiment.
Fig. 2 is shown as the communication system composition schematic diagram in an existing specific embodiment.
Fig. 3 is shown as the communication system composition schematic diagram in a specific embodiment of the invention.
Fig. 4 is shown as the data processing method flow diagram in a specific embodiment of the invention.
Fig. 5 is shown as the data processing method flow diagram in a specific embodiment of the invention.
Fig. 6 is shown as the communication system composition schematic diagram in a specific embodiment of the invention.
Fig. 7 is shown as the communication system composition schematic diagram in a specific embodiment of the invention.
Fig. 8 is shown as the communication system composition schematic diagram in a specific embodiment of the invention.
Fig. 9 is shown as the module diagram of the data processing system in a specific embodiment of the invention.
Figure 10 is shown as the module diagram of the data processing system in a specific embodiment of the invention.
Component label instructions
10 communication systems
11 electric terminals
12 content servers put on record
20 communication systems
21 electric terminals
22 proxy servers put on record
23 content servers
30 communication systems
31 electric terminals
32 put server on record
33 do not put server on record
40 data processing methods
41,42 method and step
50 data processing methods
51,52 method and step
60 communication systems
61 electric terminals
62 put content server on record
63 do not put content server on record
70 communication systems
71 electric terminals
72 put proxy server on record
73 do not put agency service on record
74 content servers
80 communication systems
81 electric terminals
82 electric terminals
83 put server on record
84 do not put server on record
85 do not put service on record
90 data processing systems
91 link blocks
92 forwarding modules
100 data processing systems
101 link blocks
102 respond modules
Specific implementation mode
Illustrate that embodiments of the present invention, those skilled in the art can be by this specification below by way of specific specific example
Disclosed content understands other advantages and effect of the present invention easily.The present invention can also pass through in addition different specific realities
The mode of applying is embodied or practiced, the various details in this specification can also be based on different viewpoints with application, without departing from
Various modifications or alterations are carried out under the spirit of the present invention.It should be noted that in the absence of conflict, following embodiment and implementation
Feature in example can be combined with each other.
It should be noted that the diagram provided in following embodiment only illustrates the basic structure of the present invention in a schematic way
Think, component count, shape and size when only display is with related component in the present invention rather than according to actual implementation in illustrating then
Draw, when actual implementation kenel, quantity and the ratio of each component can be a kind of random change, and its assembly layout kenel
It is likely more complexity.
Referring to Fig. 3, being shown as the communication system composition schematic diagram in the specific embodiment of the present invention.The communication system
System 30 includes electric terminal 31, puts server 32 on record and do not put server 33 on record.It is the server wherein to have put server on record
IP and warp-wise operator puts on record for port, i.e., operator in electric terminal 31 by the network of mobile operator to putting service on record
It is oriented flow that device, which sends request or puts flow caused by the request of server on record by the reception of the network of mobile operator,
Amount;It is that the IP of the server and port are not put on record to operator not put server on record.The electric terminal 31 is, for example, intelligent hand
Machine.The electric terminal 31 can send request to server by the network of mobile operator or can pass through mobile operator's
Network receives the request of server.In practical applications, the server of not putting on record can be one or more, only illustrate one herein
It is a not put server 33 on record, and illustrate do not put on record server 33 be selected as optimal service device do not put server on record.Institute
It states in 30 operational process of communication system, puts the IP address and port numbers for putting server 32 on record on record to operator in advance, it is described
It puts server 32 on record and is configured with and put the corresponding server forwarding list of server 32, the server forwarding list on record with described
Include putting the corresponding IP address and characteristic information for not putting server 33 on record of server 32 on record with described.Clothes are put on record to described
Business device configuration further include:
1) it puts server 32 on record and the IP put on record to operator is tied to its local eth network interface card;
2) put on record server 32 configure it is corresponding in IP tunnel to server forwarding list do not put server on record, and open road
By forwarding;
3) it puts server 32 on record and closes ARP verifications;
4) corresponding in server forwarding list not put server on record by the IP bindings put server 32 on record and reported
To Microsoft Loopback Adapter;
5) it puts server 32 on record and all servers of not putting on record is turned off IP verifications, allow MAC Address and IP packets not
It is corresponding.
It puts server 32 on record and is set as one group with corresponding all servers of not putting on record, server 32 is put on record with group
It holds configuration and organizes other IP lists, geographical location and link-qualities for not putting server on record together.
Fig. 4 is further regarded to, the data processing method flow diagram being shown as in a specific embodiment of the invention.It is described
Data processing method is put on record described in being applied in server 32, and the method 40 includes:
41:When receiving the TCP connection handshake request of an electric terminal 31 transmission, according to the server forwarding list
The characteristic information selection optimal service device of the characteristic information and the electric terminal 31 of not putting server on record (does not put server on record
33), and the TCP connection handshake request is forwarded to by the optimal service device by IP tunneling and (does not put server on record
33), so that the optimal service device (not putting server 33 on record) is according to the TCP connection handshake request, to the electric terminal
31 return to TCP connection handshake response, to form TCP connection loop (linkloop of arrow instruction as shown in Figure 3);Its
In, the source IP of the TCP connection handshake response puts the IP of server 32, and the source of the TCP connection handshake response on record for described in
Port is the port for putting server 32 on record.
Preferably, the characteristic information includes geographical location information and/or link quality information.For example, selection with it is described
The server of not putting on record that the geographical location of electric terminal 31 is closest is the optimal service device, or selects link-quality best
Server of not putting on record be the optimal service device, the factor of evaluation of wherein link-quality may include packet loss and bandwidth etc..
In concrete application, geographical location information and link quality information can be also considered to determine optimal service device, such as over the ground
Reason position it is identical it is multiple do not put server on record, select link-quality it is best do not put server on record as the optimal service device;
Such as to link-quality it is identical it is multiple do not put server on record, the nearest server of not putting on record of chosen distance is the optimal service
Device;Such as with preset weight proportion, obtain eventually for the value compared, the foundation as the selection of optimal service device.
42:When it is described put on record server 32 receive the electric terminal 31 transmission request of data when, according to shape
At the TCP connection loop, the request of data is forwarded to the optimal service device (not putting server 33 on record), for described
Optimal service device (not putting server 33 on record) is according to the TCP connection loop that has been formed to 31 feedback coefficient of the electric terminal
It is responded according to request;Wherein, the source IP of the request of data response is the IP for putting server 32 on record, and the request of data is rung
The source port answered is the port for putting server 32 on record.
Fig. 5 is further regarded to, the data processing method flow diagram being shown as in a specific embodiment of the invention.Fig. 5
Shown in data processing method apply in one does not put server on record, such as applied to not putting on record in server 33 described in Fig. 3.
The data processing method 50 includes:
51:The TCP connection from electric terminal that one puts server transmission on record is received by IP tunneling to shake hands and ask
When asking, according to the TCP connection handshake request, TCP connection handshake response is returned to the electric terminal, is connected to form TCP
Connect loop;Wherein, the source IP of the TCP connection handshake response is the IP for putting server on record, and the TCP connection is shaken hands sound
The source port answered is the port for putting server on record;
52:When receive it is described put on record server forwarding derived from the request of data of the electric terminal when, according to
The TCP connection loop formed asks to respond to the electric terminal feedback data;Wherein, the source of the request of data response
IP is the IP for putting server on record, and the source port of request of data response is the port for putting server on record.
The present invention can arbitrarily increase and decrease other not under the premise of ensureing that a part has put the server normal work of IP on record
The server for putting IP and computer room on record is oriented traffic service, is added in entire orientation flow system, enhances horizontal extension energy
Power.Meanwhile uplink and downlink flow is detached, uplink traffic must be sent to the server for having put IP on record, and downlink traffic can nearby select most
Server in the computer room of good link is scheduled, current mobile Internet downlink traffic far more than uplink traffic present situation
Down, it can be achieved that dispatching nearby, there is great promotion to availability and access rate, while not influencing the orientation flowmeter of operator
Take.Wherein, uplink traffic refers to the flow that electric terminal is sent to server;Downlink traffic refers to server and is sent to electric terminal
Flow.
In a specific embodiment of the invention, the server 32 of putting on record is proxy server or content server.
Fig. 6 is further regarded to, the communication system composition schematic diagram being shown as in the specific embodiment of the present invention.Fig. 6 is
Communication system 30 shown in Fig. 3 put server 32 on record and do not put on record server be content server the case where.The communication system
System 60 includes electric terminal 61, puts content server 62 on record and do not put content server 63 on record.The server forwarding list
In do not put on record server be content server.
Fig. 7 is further regarded to, the communication system composition schematic diagram being shown as in the specific embodiment of the present invention.Fig. 7 is
Communication system 30 shown in Fig. 3 put server 32 on record and do not put on record server be proxy server the case where.The communication system
System 70 includes electric terminal 71, puts proxy server 72 on record and do not put proxy server 73 on record.The server forwarding list
In do not put on record server be proxy server.And after the TCP connection loop is formed, proxy server 72 is put on record when described
When receiving the request of data of the transmission of the electric terminal 71, according to the TCP connection loop formed, to described optimal
Server (not putting proxy server 73 on record) forwards the request of data, so that the optimal service device (does not put agency service on record
Device 73) request of data is sent to content server 74 associated with it, and receive the associated content server 74
Response responded with forming the request of data, and fed back to the electric terminal 71.And proxy server and content server
Between pass-through mode belong to the forwarding of application layer, and the proxy server 72 of putting on record does not put proxy server 73 on record with described
Between pass-through mode be IP layers of forwarding.
Refering to Fig. 8, the communication system composition schematic diagram being shown as in a specific embodiment of the invention.It is i.e. specific with one
Example is further described the technical characteristic of the present invention.The communication system 80 include electric terminal 81, electric terminal 82,
It puts server 83 on record, do not put server 84 on record and does not put server 85 on record.It is wherein described to put server 83 on record, do not put service on record
Device 84 and not put server 85 on record be content server.The electric terminal 81 and electric terminal 82 are respectively to be located at Beijing
Mobile phone terminal and mobile phone terminal positioned at Fujian.The computer room circuit that do not put on record belonging to server 84 is Beijing unicom, institute
It is Fujian unicom to state the computer room circuit that do not put on record belonging to server 85, in this present embodiment, described to put server 83 on record, do not put on record
Server 84 and do not put on record server 85 be one orientation traffic server group, the port all same of three.It is described to put clothes on record
The IP address of business device 83 is IP1, and the port for putting server 83 on record is A, and the IP address for not putting server 84 on record is IP2, is not put on record
The IP address of server 85 is IP3, and the port that do not put server 84 on record and do not put server 85 on record is A.In Pekinese
Electric terminal 81 sends request to the server 83 of putting on record, and mobile operator is determined according to the target ip address IP1 of the request
The flow generated about the request is orientation flow, and the server 83 of putting on record asks electric terminal 81 according to by IP tunnel
TCP connection be forwarded to select nearby do not put server 84 on record.It does not put 84 returned content of server on record and responds to electric terminal
81, the source address of response is IP1, source port A, mobile operator according to the source address and source port of the response determine about
The flow that the response generates is orientation flow.Electric terminal 82 in Fujian sends request to the server 83 of putting on record, moves
Dynamic operator determines that the flow generated about the request is orientation flow according to the target ip address IP1 of the request, described to put on record
Server 83 according to the TCP connection that electric terminal 82 is asked is forwarded to by IP tunnel select nearby do not put server on record
85.It does not put 85 returned content of server on record and responds to electric terminal 82, the source address of response is IP1, source port A, mobile fortune
Battalion quotient determines that the flow generated about the response is orientation flow according to the source address and source port of the response.
Refering to Fig. 9, it is shown as the module diagram of the data processing system in a specific embodiment of the invention.The data
Processing system 90, which is included in, to be put on record in server, puts IP address and the port for putting server on record on record to operator in advance
Number, it is described put server on record and be configured with put the corresponding server forwarding list of server, the server forwarding on record with described
List includes putting the corresponding IP address and characteristic information for not putting server on record of server on record with described.The data processing
System 90 includes:
Link block 91, for receive an electric terminal transmission TCP connection handshake request when, according to the server
The characteristic information for not putting server on record of forwarding list and the characteristic information of the electric terminal select optimal service device, and lead to
Cross IP tunneling and the TCP connection handshake request be forwarded to the optimal service device, for the optimal service device according to
The TCP connection handshake request returns to TCP connection handshake response, to form TCP connection loop to the electric terminal;Its
In, the source IP of the TCP connection handshake response puts the IP of server, and the source of the TCP connection handshake response on record for described in
Mouth is the port for putting server on record;
Forwarding module 92, for when it is described put server on record and receive the request of data that the electric terminal is sent when, root
According to the TCP connection loop formed, the request of data is forwarded to the optimal service device, for the optimal service
Device asks to respond according to the TCP connection loop formed to the electric terminal feedback data;Wherein, the data are asked
It is the IP for putting server on record to seek the source IP of response, and the source port of request of data response puts server on record to be described
Port.
In a specific embodiment of the invention, the server of putting on record is proxy server or content server;When described
When to put server on record be content server, the server of not putting on record in the server forwarding list is content server;Work as institute
It states and puts server on record when being proxy server, the server of not putting on record in the server forwarding list is proxy server, and
The forwarding module be additionally operable to when it is described put server on record and receive the request of data that the electric terminal is sent when, according to
The TCP connection loop formed forwards the request of data to the optimal service device, so that the optimal service device is by institute
It states request of data and is sent to content server associated with it, and receive the response of the associated content server to be formed
Request of data response is stated, and is fed back to the electric terminal.
In a specific embodiment of the invention, the characteristic information includes geographical location information and/or link quality information.
The data processing system 90 is 40 corresponding system entries of data processing method as shown in fig. 4, the two technical side
Case corresponds, and the description of all about data processing method 40 shown in Fig. 4 can be applied in this embodiment, be not added with herein
It repeats.
Refering to fig. 10, it is shown as the module diagram of the data processing system in a specific embodiment of the invention.The number
It according to processing system 100, is not put on record in server applied to one, the system 100 includes:
Link block 101, for by IP tunneling receive one put on record server transmission from electric terminal
When TCP connection handshake request, according to the TCP connection handshake request, TCP connection handshake response is returned to the electric terminal,
To form TCP connection loop;Wherein, the source IP of the TCP connection handshake response is the IP for putting server on record, and described
The source port of TCP connection handshake response is the port for putting server on record;
Respond module 102 is asked ought receive the data derived from the electric terminal for putting server forwarding on record
When asking, ask to respond to the electric terminal feedback data according to the TCP connection loop formed;Wherein, the number
According to the IP for asking the source IP of response to put server on record for described in, and the source port of request of data response puts service on record to be described
The port of device.
In a specific embodiment of the invention, the server of not putting on record is proxy server or content server;Work as institute
It states and does not put server on record when being proxy server, after the TCP connection loop is formed, the respond module is also to when described
Do not put on record server receive described in put on record server forwarding derived from the request of data of the electric terminal when, the data are asked
It asks to be forwarded to and does not put the associated content server of server on record with described, and will be received from the associated content server
The response of the request of data is fed back to the electric terminal.
The data processing system 100 is system entries corresponding with data processing method 50 shown in fig. 5, the two technical side
Case corresponds, and the description of all about data processing method 50 shown in fig. 5 can be applied in this embodiment, be not added with herein
It repeats.
In conclusion the server of the present invention and its data processing method and system of application, put server on record and are receiving
To electric terminal send request when, according to the characteristic information and electric terminal for not putting server in server forwarding list on record
Characteristic information, forward the request to automatically it is optimal do not put server on record, and by it is optimal do not put on record server to ask into
After row processing, generates feedback information and feed back to the electric terminal, and the source IP of feedback information and source port are revised as receiving
To the IP for putting server on record of the request from electric terminal and port.Increase or the delete operation for not putting server on record are very simple
It is single, flexibly realize the extension to orienting flow server load capacity.So the present invention effectively overcomes in the prior art
Various shortcoming and have high industrial utilization.
The above-described embodiments merely illustrate the principles and effects of the present invention, and is not intended to limit the present invention.It is any ripe
The personage for knowing this technology can all carry out modifications and changes to above-described embodiment without violating the spirit and scope of the present invention.Cause
This, institute is complete without departing from the spirit and technical ideas disclosed in the present invention by those of ordinary skill in the art such as
At all equivalent modifications or change, should by the present invention claim be covered.
Claims (12)
1. a kind of data processing method, which is characterized in that put on record in server applied to one, put the report on record to operator in advance
The IP address and port numbers of standby server, it is described put server on record and be configured with turn with the corresponding server of server of putting on record
Send out list, the server forwarding list include with it is described put on record the corresponding IP address for not putting server on record of server and
Characteristic information, the method includes:
When receiving the TCP connection handshake request of electric terminal transmission, clothes are not put on record according to the server forwarding list
It is engaged in the characteristic information of device and the characteristic information of the electric terminal, selects optimal service device, and by IP tunneling by institute
It states TCP connection handshake request and is forwarded to the optimal service device, shaken hands and asked according to the TCP connection for the optimal service device
It asks, TCP connection handshake response is returned to the electric terminal, to form TCP connection loop;Wherein, the TCP connection is shaken hands
The source IP of response is the IP for putting server on record, and the source port of the TCP connection handshake response puts server on record to be described
Port;
When it is described put server on record and receive the request of data that the electric terminal is sent when, according to the TCP formed
Linkloop forwards the request of data, so that the optimal service device is according to the institute formed to the optimal service device
TCP connection loop is stated to ask to respond to the electric terminal feedback data;Wherein, the source IP of the request of data response is described
Put the IP of server on record, and the source port of request of data response is the port for putting server on record.
2. data processing method according to claim 1, it is characterised in that:It is described put on record server be proxy server or
Content server;
When it is described to put server on record be content server when, the server of not putting on record in the server forwarding list is content clothes
Business device;
When it is described to put server on record be proxy server when, the server of not putting on record in the server forwarding list is that agency takes
Be engaged in device, and after the TCP connection loop is formed, when it is described put server on record and receive the data that the electric terminal is sent ask
When asking, according to the TCP connection loop formed, the request of data is forwarded to the optimal service device, for described
The request of data is sent to content server associated with it by optimal service device, and receives the associated content server
Response responded with forming the request of data, and fed back to the electric terminal.
3. data processing method according to claim 1, it is characterised in that:The characteristic information includes geographical location information
And/or link quality information.
4. a kind of data processing system, which is characterized in that be included in and put on record in server, put the report on record to operator in advance
The IP address and port numbers of standby server, it is described put server on record and be configured with turn with the corresponding server of server of putting on record
Send out list, the server forwarding list include with it is described put on record the corresponding IP address for not putting server on record of server and
Characteristic information, the data processing system include:
Link block, for receive an electric terminal transmission TCP connection handshake request when, according to the server forward arrange
The characteristic information for not putting server on record of table and the characteristic information of the electric terminal select optimal service device, and pass through IP tunnels
The TCP connection handshake request is forwarded to the optimal service device by road technology, so that the optimal service device is according to the TCP
Handshake request is connected, TCP connection handshake response is returned to the electric terminal, to form TCP connection loop;Wherein, described
The source IP of TCP connection handshake response is the IP for putting server on record, and the source port of the TCP connection handshake response is described
Put the port of server on record;
Forwarding module, for when it is described put server on record and receive the request of data that the electric terminal is sent when, according to
The TCP connection loop formed forwards the request of data to the optimal service device, for the optimal service device according to
The TCP connection loop formed asks to respond to the electric terminal feedback data;Wherein, the request of data response
Source IP be the IP for putting server on record, and the source port of request of data response is the port for putting server on record.
5. data processing system according to claim 4, it is characterised in that:It is described put on record server be proxy server or
Content server;
When it is described to put server on record be content server when, the server of not putting on record in the server forwarding list is content clothes
Business device;
When it is described to put server on record be proxy server when, the server of not putting on record in the server forwarding list is that agency takes
Be engaged in device, and the forwarding module be additionally operable to when it is described put server on record and receive the request of data that the electric terminal is sent when,
According to the TCP connection loop formed, the request of data is forwarded to the optimal service device, for the optimal clothes
The request of data is sent to content server associated with it by business device, and receives the response of the associated content server
To form the request of data response, and fed back to the electric terminal.
6. data processing system according to claim 4, it is characterised in that:The characteristic information includes geographical location information
And/or link quality information.
7. a kind of server, which is characterized in that include the data processing system as described in any one of claim 4~6.
8. a kind of data processing method, which is characterized in that it is not put on record in server applied to one, the method includes:
When receiving the TCP connection handshake request from electric terminal that one puts server transmission on record by IP tunneling, root
According to the TCP connection handshake request, TCP connection handshake response is returned to the electric terminal, to form TCP connection loop;
Wherein, the source IP of the TCP connection handshake response puts the IP of server, and the source of the TCP connection handshake response on record for described in
Port is the port for putting server on record;
When receive it is described put on record server forwarding derived from the request of data of the electric terminal when, according to the institute formed
TCP connection loop is stated to ask to respond to the electric terminal feedback data;Wherein, the source IP of the request of data response is described
Put the IP of server on record, and the source port of request of data response is the port for putting server on record.
9. data processing method according to claim 8, it is characterised in that:The server of not putting on record is proxy server
Or content server;
When it is described do not put on record server be proxy server when, after the TCP connection loop is formed, service is not put on record when described
Device receive described in put on record server forwarding derived from the request of data of the electric terminal when, the request of data is forwarded to and
It is described not put the associated content server of server on record, and will be received from the associated content server to the data
The response of request is fed back to the electric terminal.
10. a kind of data processing system, which is characterized in that it is not put on record in server applied to one, the system comprises:
Link block, for receiving a TCP connection from electric terminal for putting server transmission on record by IP tunneling
When handshake request, according to the TCP connection handshake request, TCP connection handshake response is returned to the electric terminal, to be formed
TCP connection loop;Wherein, the source IP of the TCP connection handshake response puts the IP of server, and the TCP connection on record for described in
The source port of handshake response is the port for putting server on record;
Respond module, to when receive it is described put on record server forwarding derived from the request of data of the electric terminal when, root
It asks to respond to the electric terminal feedback data according to the TCP connection loop formed;Wherein, the request of data is rung
The source IP answered is the IP for putting server on record, and the source port of request of data response is the end for putting server on record
Mouthful.
11. data processing system according to claim 10, it is characterised in that:The server of not putting on record is agency service
Device or content server;
When it is described do not put on record server be proxy server when, after the TCP connection loop is formed, the respond module is also used
With when it is described do not put on record server receive described in put on record server forwarding derived from the request of data of the electric terminal when, by institute
It states request of data and is forwarded to and do not put the associated content server of server on record with described, and will be from the associated content server
The response to the request of data received is fed back to the electric terminal.
12. a kind of server, it is characterised in that:It include the data processing system as described in claim 10 or 11.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610725153.1A CN108306745B (en) | 2016-08-25 | 2016-08-25 | Server and data processing method and system applied by same |
PCT/CN2016/107197 WO2018036008A1 (en) | 2016-08-25 | 2016-11-25 | Server, and data processing method and system applied thereto |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610725153.1A CN108306745B (en) | 2016-08-25 | 2016-08-25 | Server and data processing method and system applied by same |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108306745A true CN108306745A (en) | 2018-07-20 |
CN108306745B CN108306745B (en) | 2020-01-03 |
Family
ID=61245405
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610725153.1A Active CN108306745B (en) | 2016-08-25 | 2016-08-25 | Server and data processing method and system applied by same |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108306745B (en) |
WO (1) | WO2018036008A1 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090219825A1 (en) * | 2008-02-29 | 2009-09-03 | Lorraine Denby | Endpoint Device Configured to Permit User Reporting of Quality Problems in a Communication Network |
CN103560937A (en) * | 2013-11-01 | 2014-02-05 | 北京蓝汛通信技术有限责任公司 | Data accessing method and entry server |
WO2014107147A1 (en) * | 2013-01-03 | 2014-07-10 | Hewlett-Packard Development Company, L.P. | Identifying an analysis reporting message in network traffic |
CN104023092A (en) * | 2014-04-29 | 2014-09-03 | 中国联合网络通信集团有限公司 | Method and system for realizing directed flow packet |
CN105306605A (en) * | 2015-12-09 | 2016-02-03 | 北京中电普华信息技术有限公司 | Double host server system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150124622A1 (en) * | 2013-11-01 | 2015-05-07 | Movik Networks, Inc. | Multi-Interface, Multi-Layer State-full Load Balancer For RAN-Analytics Deployments In Multi-Chassis, Cloud And Virtual Server Environments |
CN104243182A (en) * | 2014-09-30 | 2014-12-24 | 中国联合网络通信集团有限公司 | Directional traffic charging method and directional traffic charging system |
CN104506644B (en) * | 2014-12-30 | 2018-04-20 | 北京奇虎科技有限公司 | A kind of method, apparatus and mobile terminal for carrying out network data access |
CN105101147B (en) * | 2015-08-19 | 2019-03-26 | 网宿科技股份有限公司 | A kind of method and system of orientation flow that realizing mobile app |
-
2016
- 2016-08-25 CN CN201610725153.1A patent/CN108306745B/en active Active
- 2016-11-25 WO PCT/CN2016/107197 patent/WO2018036008A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090219825A1 (en) * | 2008-02-29 | 2009-09-03 | Lorraine Denby | Endpoint Device Configured to Permit User Reporting of Quality Problems in a Communication Network |
WO2014107147A1 (en) * | 2013-01-03 | 2014-07-10 | Hewlett-Packard Development Company, L.P. | Identifying an analysis reporting message in network traffic |
CN103560937A (en) * | 2013-11-01 | 2014-02-05 | 北京蓝汛通信技术有限责任公司 | Data accessing method and entry server |
CN104023092A (en) * | 2014-04-29 | 2014-09-03 | 中国联合网络通信集团有限公司 | Method and system for realizing directed flow packet |
CN105306605A (en) * | 2015-12-09 | 2016-02-03 | 北京中电普华信息技术有限公司 | Double host server system |
Also Published As
Publication number | Publication date |
---|---|
CN108306745B (en) | 2020-01-03 |
WO2018036008A1 (en) | 2018-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106936709B (en) | Remote service access path control method and relevant device | |
CN103532878B (en) | The processing method of packet and the management method of network traffics and device and system | |
CN102025643B (en) | Flow table search method and device | |
CN103477588B (en) | The classification of Network and management method and system between blade in blade server | |
CN108009028A (en) | Message treatment method, device, equipment and computer-readable recording medium | |
US9537755B2 (en) | Access relay method and access gateway device | |
CN105939240B (en) | Load-balancing method and device | |
CN106790675A (en) | Load-balancing method, equipment and system in a kind of cluster | |
CN102377640B (en) | Message processing apparatus, message processing method and preprocessor | |
CN105099898B (en) | A kind of PPPOE message forwarding methods and BRAS servers | |
CN108768866A (en) | Across the card retransmission method of multicast message, device, the network equipment and readable storage medium storing program for executing | |
CN102647355A (en) | LACP (Link Aggregation Control Protocol) consultation processing method, relay node and system | |
CN102447638A (en) | Load balancing method and forwarding apparatus | |
CN108471629A (en) | The control method of business service quality, equipment and system in transmission network | |
CN113810512A (en) | Internet of things terminal access system, method and device and storage medium | |
US20230300726A1 (en) | Data processing method and apparatus, network element device, storage medium, and program product | |
CN110740149A (en) | Communication method and device | |
CN104754640A (en) | Network resource scheduling method and network resource management server | |
CN104519129A (en) | Data transmission method, device and system | |
CN102131239A (en) | Business processing unit and method, business control gateway and load balancing method | |
CN107579925A (en) | Message forwarding method and device | |
CN107948087A (en) | A kind of method and apparatus of load balancing | |
CN104995882B (en) | Message processing method and device | |
CN110932972B (en) | Data transmission method and device and electronic equipment | |
CN206313803U (en) | A kind of router for realizing network game acceleration |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |