WO2018036008A1 - 服务器及其应用的数据处理方法和系统 - Google Patents
服务器及其应用的数据处理方法和系统 Download PDFInfo
- Publication number
- WO2018036008A1 WO2018036008A1 PCT/CN2016/107197 CN2016107197W WO2018036008A1 WO 2018036008 A1 WO2018036008 A1 WO 2018036008A1 CN 2016107197 W CN2016107197 W CN 2016107197W WO 2018036008 A1 WO2018036008 A1 WO 2018036008A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- server
- report
- tcp connection
- electronic terminal
- response
- 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.)
- Ceased
Links
Images
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 specially adapted for data communications, e.g. authentication, authorisation and accounting [AAA] framework
-
- 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 specially adapted for data communications, e.g. authentication, authorisation and accounting [AAA] framework
- H04L12/1425—Charging, metering or billing arrangements specially adapted for data communications, e.g. authentication, authorisation and accounting [AAA] framework 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 specially adapted for data communications, e.g. authentication, authorisation and accounting [AAA] framework
- H04L12/1442—Charging, metering or billing arrangements specially adapted for data communications, e.g. authentication, authorisation and accounting [AAA] framework 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
Definitions
- the present invention relates to the field of communications technologies, and in particular, to a data processing method and system for a server and an application thereof.
- Directed traffic is defined as the 2G/3G/4G mobile network traffic that uses the service. It is different from the general traffic that does not restrict the use of services. Directed traffic is often limited to certain specific applications or websites. For example, the traffic in a video APP-directed traffic packet can only be used in the APP, and the traffic charges generated by the application are separately billed in the operator's directed traffic package, and are not included in the universal traffic package. Traffic generated when using other apps will not be counted in the targeted traffic plan. Directed traffic is a service launched by operators to cultivate users' traffic habits. The equivalent traffic cost is much lower than that of general traffic.
- the operator analyzes the traffic content at the gateway exit of the mobile network, and identifies the characteristic code of the directed traffic (the signature code can be a domain name, a keyword, a key, etc.) to implement separate charging.
- the signature code can be a domain name, a keyword, a key, etc.
- the content provider reports the IP address and port number of the directed server to the operator, and the operator identifies the IP packet header at the gateway exit of the mobile network, if the source IP port or the destination IP port is reported. If the server IP port is directed, the traffic of the IP packet is counted in the directed traffic.
- the existing system for applying the IP identification method to implement the directed traffic service is shown in FIG. 1 and FIG. 2.
- the electronic terminal (for example, a mobile phone terminal) directly sends a request to the report server, and directly responds to the electronic terminal by the report server, wherein the report server included in the communication system 10 shown in FIG. 1 is the content server 12,
- the electronic terminal 11 sends a request to the content server 12 of the report, and the server 12 that reports the backup returns a content response to the electronic terminal 11, and the operator mobile gateway checks the IP packet sent by the electronic terminal 11, if the target server IP port is reported. It is recorded as directed traffic; the IP packet received by the electronic terminal 11 is checked, and if the source server IP port is reported, it is recorded as directed traffic.
- the electronic terminal 21 sends a request to the proxy server 22, and the proxy server 22 reports the request to the content server 23, and the content server 23 returns the content response.
- the proxy server 22 returns a content response to the electronic terminal 21, and the operator mobile gateway checks the IP packet sent by the electronic terminal. If the target server IP port is reported, it is recorded as directed traffic; the electronic terminal 21 is checked. The received IP packet is recorded as directed traffic if the source server IP port is reported.
- the existing IP identification scheme has a defect for content providers, that is, the number of directed traffic server IP reports.
- the amount is limited, and the process is very long (it takes a long time to configure all the gateway exits), and the change procedure is more complicated, so the horizontal expansion of the load capacity of the directed traffic server is greatly limited.
- content carriers are usually based on load-balanced CDN networks, which are distributed by DNS scheduling.
- the servers of CDN networks are distributed in a large number of computer rooms.
- the number of IPs is extremely large and changes rapidly. With a large number of reports and the possibility of filing at any time.
- the directional traffic conflicts with the CDN service. It is difficult to expand and balance the load across the equipment room. It can only be extended within the same equipment room where the IP address has been reported.
- the server load capacity is significantly weakened.
- an object of the present invention is to provide a data processing method and system for a server and an application thereof, which are used to solve the problem that the directional traffic cannot be flexibly increased or decreased during the execution of the directional traffic service in the prior art.
- the server of the service and cannot selectively select the optimal server for performing the directed traffic service according to the characteristics of the server.
- the present invention provides a data processing method, which is applied to a report server, and reports the IP address and port number of the report server to the operator in advance, and the report server is A server forwarding list corresponding to the report server is configured, where the server forwarding list includes an IP address and feature information of the unreported server corresponding to the report server, and the method includes: receiving an electronic terminal When the TCP connection handshake request is sent, the optimal server is selected according to the feature information of the unreported server of the server forwarding list and the feature information of the electronic terminal, and the TCP connection handshake request is forwarded to the office through the IP tunneling technology.
- the optimal server returns a TCP connection handshake response to the electronic terminal according to the TCP connection handshake request, thereby forming a TCP connection loop; wherein, the source IP address of the TCP connection handshake response is The IP address of the server is reported, and the source port of the TCP connection handshake response is the port of the report server; Receiving, by the reporting server, the data request sent by the electronic terminal, forwarding the data request to the optimal server according to the already formed TCP connection loop, so that the optimal server is formed according to the The TCP connection loop feeds back a data request response to the electronic terminal; wherein the source IP of the data request response is the IP of the report server, and the source port of the data request response is the report server Port.
- the report server is a proxy server or a content server; when the report server is a content server, the unreported server in the server forwarding list is a content server; When the report server is a proxy server, the unreported server in the server forwarding list is a proxy server, and after the TCP connection loop is formed, when the report preparation server receives the data request sent by the electronic terminal And forwarding, according to the already formed TCP connection loop, the data request to the optimal server, for the optimal server to send the data request to a content server associated with the same, and receiving the association Response of the content server to form the data Request a response and feed back to the electronic terminal.
- the feature information includes geographic location information and/or link quality information.
- the present invention further provides a data processing system, which is included in a report server, and reports the IP address and port number of the report server to the operator in advance, and the report server
- the server forwarding list is configured to include a server forwarding list corresponding to the report server, where the server forwarding list includes an IP address and feature information of the unreported server corresponding to the report server, and the data processing system includes: a connection module.
- the optimal server When receiving the TCP connection handshake request sent by an electronic terminal, selecting an optimal server according to the feature information of the unreported server of the server forwarding list and the feature information of the electronic terminal, and using the IP tunnel technology Transmitting a TCP connection handshake request to the optimal server, so that the optimal server returns a TCP connection handshake response to the electronic terminal according to the TCP connection handshake request, thereby forming a TCP connection loop;
- the source IP address of the TCP connection handshake response is the IP address of the report preparation server, and the source port of the TCP connection handshake response is a port of the report server; and a forwarding module, configured to forward the data to the optimal server according to the already formed TCP connection loop when the report server receives the data request sent by the electronic terminal a data request, wherein the optimal server feeds back a data request response to the electronic terminal according to the formed TCP connection loop; wherein, the source IP of the data request response is the IP of the report server, and The source port of the data request response is
- the report server is a proxy server or a content server; when the report server is a content server, the unreported server in the server forwarding list is a content server; When the report server is a proxy server, the unreported server in the server forwarding list is a proxy server, and the forwarding module is further configured to: when the report preparation server receives the data request sent by the electronic terminal, according to the Forming the TCP connection loop, forwarding the data request to the optimal server for the optimal server to send the data request to a content server associated therewith, and receiving the associated content server Responding to form the data request response and feeding back to the electronic terminal.
- the feature information includes geographic location information and/or link quality information.
- the present invention also provides a server comprising the data processing system of any of the above.
- the present invention further provides a data processing method, which is applied to an unreported server.
- the method includes: receiving, by an IP tunneling technology, a TCP from an electronic terminal sent by a report server.
- the TCP connection handshake response is returned to the electronic terminal according to the TCP connection handshake request, thereby forming a TCP connection loop.
- the source IP of the TCP connection handshake response is the IP of the report server.
- the source port of the TCP connection handshake response is a port of the report preparation server; when receiving the forwarding of the report preparation server When the data request is received from the electronic terminal, the data request response is fed back to the electronic terminal according to the already formed TCP connection loop; wherein the source IP of the data request response is the IP of the report server, and The source port of the data request response is a port of the report server.
- the unreported server is a proxy server or a content server; when the unreported server is a proxy server, after the TCP connection loop is formed, when the unreported Receiving, by the server, the data request originating from the electronic terminal that is forwarded by the reporting server, forwarding the data request to a content server associated with the unreported server, and receiving the data request from the associated content server The response to the data request is fed back to the electronic terminal.
- the present invention further provides a data processing system, which is applied to an unreported server, where the system includes: a connection module, configured to receive, by using an IP tunneling technology, a report server to send Receiving a TCP connection handshake response from the electronic terminal according to the TCP connection handshake request, thereby forming a TCP connection loop, wherein the source IP of the TCP connection handshake response is the Reporting the IP address of the server, and the source port of the TCP connection handshake response is the port of the report preparation server; and the response module is configured to receive the data request originating from the electronic terminal forwarded by the report preparation server And returning, according to the formed TCP connection loop, a data request response to the electronic terminal, where a source IP of the data request response is an IP of the report server, and a source port of the data request response is Report the port of the standby server.
- a connection module configured to receive, by using an IP tunneling technology, a report server to send Receiving a TCP connection handshake response from the electronic terminal according to the
- the unreported server is a proxy server or a content server; when the unreported server is a proxy server, after the TCP connection loop is formed, the response module further uses And when the unreported server receives the data request originating from the electronic terminal and forwarded by the report server, forwarding the data request to a content server associated with the unreported server, and The response to the data request received by the associated content server is fed back to the electronic terminal.
- the present invention also provides a server, which is the unreported server of any of the above, and includes the data processing system as described above.
- the server and the data processing method and system thereof of the present invention when receiving the request sent by the electronic terminal, the report server, according to the feature information of the unreported server and the feature information of the electronic terminal in the server forwarding list, Automatically forwarding the request to the optimal unreported server, and processing the request by the optimal unreported server, generating feedback information to the electronic terminal, and modifying the source IP address and source port of the feedback information to The IP and port of the reporting server that received the request originating from the electronic terminal.
- the addition or deletion of the unreported server is very simple, and the expansion of the load capacity of the directed traffic server is flexibly implemented.
- Figure 1 shows a schematic diagram of the composition of a communication system in a prior embodiment.
- FIG. 2 is a schematic diagram showing the composition of a communication system in a prior embodiment.
- FIG. 3 is a schematic diagram showing the composition of a communication system in an embodiment of the present invention.
- FIG. 4 is a schematic flow chart of a data processing method according to an embodiment of the present invention.
- FIG. 5 is a schematic flow chart of a data processing method according to an embodiment of the present invention.
- FIG. 6 shows a schematic diagram of the composition of a communication system in an embodiment of the present invention.
- FIG. 7 shows a schematic diagram of the composition of a communication system in an embodiment of the present invention.
- Figure 8 is a block diagram showing the composition of a communication system in accordance with an embodiment of the present invention.
- FIG. 9 is a block diagram showing a data processing system in accordance with an embodiment of the present invention.
- FIG. 10 is a block diagram showing a data processing system in accordance with an embodiment of the present invention.
- FIG. 3 is a schematic diagram showing the composition of a communication system in an embodiment of the present invention.
- the communication system 30 includes an electronic terminal 31, a report server 32, and an unreported server 33.
- the server has reported that the IP address and the port of the server have been reported to the operator, that is, the operator sends a request to the report server through the network of the mobile operator on the electronic terminal 31 or receives the report server through the network of the mobile operator.
- the traffic generated by the request is directed traffic; the IP and port of the server are not reported to the carrier.
- the electronic terminal 31 is, for example, a smart phone.
- the electronic terminal 31 may send a request to the server through the network of the mobile operator or may receive a request of the server through the network of the mobile operator.
- the unreported server may be one or more, only one unreported server 33 is illustrated here, and the illustrated unreported server 33 is an unreported server selected as an optimal server. .
- the IP address and port number of the report server 32 are reported to the operator in advance, and the report server 32 is configured with a server forwarding list corresponding to the report server 32.
- the server forwarding list includes an IP address and feature information of the unreported server 33 corresponding to the report server 32.
- the configuration of the report server further includes:
- the report server 32 binds the IP reported to the operator to its local eth network card
- the report server 32 configures the IP tunnel to the corresponding unreported server in the server forwarding list, and starts routing and forwarding;
- the corresponding unreported server in the server forwarding list binds the IP reported by the report server 32 to the virtual network card
- the proxy server 32 and all the unreported servers are closed for IP verification, and the MAC address is allowed to not correspond to the IP packet.
- the report server 32 and all the unreported servers corresponding to the group are set to one group.
- the report server 32 of the same group supports the IP list, geographic location, and link quality of the other unreported servers in the same group.
- FIG. 4 it is a schematic flowchart of a data processing method according to an embodiment of the present invention.
- the data processing method is applied to the report server 32, and the method 40 includes:
- the feature information includes geographic location information and/or link quality information. For example, selecting an unreported server that is closest to the geographic location of the electronic terminal 31 as the optimal server, or selecting an unreported server with the best link quality as the optimal server, where the link quality is Evaluation factors may include packet loss rate, bandwidth, and the like.
- the geographic location information and the link quality information may be comprehensively determined to determine an optimal server, for example, for multiple unreported servers with the same geographical location, and the unreported server with the best link quality is selected as described above.
- An optimal server for example, for a plurality of unreported servers having the same link quality, selecting the closest unreported server as the optimal server; for example, obtaining a value for final comparison by using a preset weight ratio as The basis for optimal server selection.
- the report server 32 When the report server 32 receives the data request sent by the electronic terminal 31, forward the data to the optimal server (the unreported server 33) according to the already formed TCP connection loop. Requesting, for the optimal server (unreported server 33) to feed back a data request response to the electronic terminal 31 according to the already formed TCP connection loop; wherein the source IP of the data request response is the report The IP address of the server 32, and the source port of the data request response is the port of the report server 32.
- FIG. 5 it is a schematic flowchart of a data processing method according to an embodiment of the present invention.
- the data processing method shown in FIG. 5 is applied to an unreported server, for example, to the unreported server 33 described in FIG.
- the data processing method 50 includes:
- TCP connection handshake request When receiving a TCP connection handshake request from the electronic terminal sent by the report server by using the IP tunneling technology, returning a TCP connection handshake response to the electronic terminal according to the TCP connection handshake request, thereby forming a TCP connection loop;
- the source IP address of the TCP connection handshake response is the IP address of the report preparation server, and the source port of the TCP connection handshake response is the port of the report preparation server;
- the invention can arbitrarily increase or decrease the servers of the unreported IP and the computer room to perform directional traffic service on the premise of ensuring the normal operation of the server that has reported the IP address, and join the entire directional traffic system to strengthen the horizontal expansion capability.
- the uplink and downlink traffic is separated, and the upstream traffic must be sent to the server that has reported the IP address.
- the downlink traffic can be scheduled by the server in the equipment room where the best link is selected.
- the current downlink Internet traffic is far more than the upstream traffic.
- the near-scheduling can be realized, and the availability and access rate are greatly improved without affecting the operator's directional flow rate.
- the uplink traffic refers to the traffic sent by the electronic terminal to the server; the downstream traffic refers to the traffic sent by the server to the electronic terminal.
- the report server 32 is a proxy server or a content server.
- FIG. 6 shows a case where the report server 32 and the unreported server of the communication system 30 shown in FIG. 3 are content servers.
- the communication system 60 includes an electronic terminal 61, a report content server 62, and an unreported content server 63.
- the unreported server in the server forwarding list is a content server.
- FIG. 7 shows a case where the report server 32 and the unreported server of the communication system 30 shown in FIG. 3 are proxy servers.
- the communication system 70 includes an electronic terminal 71, a proxy proxy server 72, and an unreported proxy server 73.
- the unreported server in the server forwarding list is a proxy server.
- the proxy proxy server 72 receives the data request sent by the electronic terminal 71, according to the already formed TCP connection loop, to the optimal server (
- the unreported proxy server 73) forwards the data request for the optimal server (unreported proxy server 73) to send the data request to the content server 74 associated therewith and receives the associated content server
- the response of 74 forms a response to the data request and feeds back to the electronic terminal 71.
- the forwarding mode between the proxy server and the content server belongs to the forwarding of the application layer, and the forwarding mode between the proxy proxy server 72 and the unreported proxy server 73 is the forwarding of the IP layer.
- the communication system 80 includes an electronic terminal 81, an electronic terminal 82, a report server 83, an unreported server 84, and an unreported server 85.
- the report server 83, the unreported server 84, and the unreported server 85 are all content servers.
- the electronic terminal 81 and the electronic terminal 82 are a mobile phone terminal located in Beijing and a mobile phone terminal located in Fujian, respectively.
- the equipment room line to which the unreported server 84 belongs is Beijing Unicom
- the equipment room line to which the unreported server 85 belongs is Fujian Unicom.
- the report server 83, the unreported server 84, and the The report server 85 is a directional traffic server group, and the ports of the three are the same.
- the IP address of the report server 83 is IP1
- the port of the report server 83 is A
- the IP address of the unreported server 84 is IP2
- the IP address of the unreported server 85 is IP3, and the server 84 is not reported.
- the port of the report server 85 is A.
- the electronic terminal 81 in Beijing sends a request to the report server 83, and the mobile operator determines, according to the requested target IP address IP1, that the traffic generated by the request is directed traffic, and the report server 83 according to the IP tunnel
- the TCP connection requested by the electronic terminal 81 is forwarded to the nearest unreported server 84.
- the unreported server 84 returns a content response to the electronic terminal 81.
- the source address of the response is IP1, and the source port is A.
- the mobile operator determines that the traffic generated by the response is directed traffic according to the source address of the response and the source port.
- the electronic terminal 82 in Fujian sends a request to the report server 83, and the mobile operator determines, according to the requested target IP address IP1, that the traffic generated by the request is directed traffic, and the report server 83 according to the IP tunnel
- the TCP connection requested by the electronic terminal 82 is forwarded to the nearest selected unreported Standby server 85.
- the unreported server 85 returns a content response to the electronic terminal 82.
- the source address of the response is IP1, and the source port is A.
- the mobile operator determines that the traffic generated by the response is directed traffic according to the source address of the response and the source port.
- the data processing system 90 is included in a report server, and the IP address and the port number of the report server are reported to the operator in advance, and the report server is configured to be forwarded by the server corresponding to the report server.
- the server forwarding list includes an IP address and feature information of the unreported server corresponding to the report server.
- the data processing system 90 includes:
- the connection module 91 is configured to: when receiving a TCP connection handshake request sent by an electronic terminal, select an optimal server according to the feature information of the unreported server of the server forwarding list and the feature information of the electronic terminal, and pass the IP tunnel
- the technology forwards the TCP connection handshake request to the optimal server, so that the optimal server returns a TCP connection handshake response to the electronic terminal according to the TCP connection handshake request, thereby forming a TCP connection loop;
- the source IP address of the TCP connection handshake response is the IP address of the report preparation server, and the source port of the TCP connection handshake response is the port of the report preparation server;
- the forwarding module 92 is configured to: when the report preparation server receives the data request sent by the electronic terminal, forward the data request to the optimal server according to the already formed TCP connection loop, to provide a The optimal server feeds back a data request response to the electronic terminal according to the already formed TCP connection loop; wherein the source IP of the data request response is the IP of the report server, and the source of the data request response The port is the port of the reporting server.
- the report server is a proxy server or a content server; when the report server is a content server, the unreported server in the server forwarding list is a content server; When the report server is a proxy server, the unreported server in the server forwarding list is a proxy server, and the forwarding module is further configured to: when the report preparation server receives the data request sent by the electronic terminal, according to the Forming the TCP connection loop, forwarding the data request to the optimal server for the optimal server to send the data request to a content server associated therewith, and receiving the associated content server Responding to form the data request response and feeding back to the electronic terminal.
- the feature information includes geographic location information and/or link quality information.
- the data processing system 90 is a system item corresponding to the data processing method 40 shown in FIG. 4, and the technical solutions are in one-to-one correspondence. All the descriptions about the data processing method 40 shown in FIG. 4 can be applied to this embodiment. I will not repeat them here.
- FIG. 10 there is shown a block diagram of a data processing system in accordance with an embodiment of the present invention.
- the data processing system 100 is applied to an unreported server, and the system 100 includes:
- the connection module 101 is configured to receive, by using an IP tunneling technology, a TCP connection from an electronic terminal sent by a report server.
- the TCP connection handshake response is returned to the electronic terminal according to the TCP connection handshake request, thereby forming a TCP connection loop; wherein the source IP address of the TCP connection handshake response is the IP of the report preparation server. And the source port of the TCP connection handshake response is a port of the report preparation server;
- the response module 102 is configured to: when receiving the data request originating from the electronic terminal forwarded by the report preparation server, feed back a data request response to the electronic terminal according to the already formed TCP connection loop; wherein The source IP address of the data request response is the IP address of the report preparation server, and the source port of the data request response is the port of the report preparation server.
- the unreported server is a proxy server or a content server; when the unreported server is a proxy server, after the TCP connection loop is formed, the response module further uses And when the unreported server receives the data request originating from the electronic terminal and forwarded by the report server, forwarding the data request to a content server associated with the unreported server, and The response to the data request received by the associated content server is fed back to the electronic terminal.
- the data processing system 100 is a system item corresponding to the data processing method 50 shown in FIG. 5, and the technical solutions are in one-to-one correspondence. All the descriptions about the data processing method 50 shown in FIG. 5 can be applied to this embodiment. I will not repeat them here.
- the server and the data processing method and system thereof of the present invention when receiving the request sent by the electronic terminal, the report server according to the server forwarding list does not report the feature information of the server and the feature information of the electronic terminal. Automatically forwarding the request to the optimal unreported server, and processing the request by the optimal unreported server, generating feedback information to the electronic terminal, and modifying the source IP and source port of the feedback information
- the IP and port of the reporting server that receives the request originating from the electronic terminal.
- the addition or deletion of the unreported server is very simple, and the expansion of the load capacity of the directed traffic server is flexibly implemented. Therefore, the present invention effectively overcomes various shortcomings in the prior art and has high industrial utilization value.
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
本发明提供一种服务器及其应用的数据处理方法和系统,报备服务器在接收到电子终端发送的请求时,根据服务器转发列表中未报备服务器的特征信息以及电子终端的特征信息,自动将请求转发至最优的未报备服务器,并由最优的未报备服务器对请求进行处理后,生成反馈信息反馈至所述电子终端,且将反馈信息的源IP和源端口修改为接收到源自电子终端的请求的报备服务器的IP和端口。未报备服务器的增加或删除操作均很简单,灵活的实现了对定向流量服务器负载能力的扩展。
Description
本发明涉及通信技术领域,特别是涉及一种服务器及其应用的数据处理方法和系统。
定向流量就是限定了使用业务的2G/3G/4G移动网络流量,有别于不限制使用业务的通用流量,定向流量往往限定只能用于某些具体的应用或网站。例如某视频APP定向流量包内的流量只能在该APP内使用,且使用该应用产生的流量费用,会在运营商的定向流量套餐中单独计费,不计入通用流量套餐中。而在使用其他APP时产生的流量则不会被计入该定向流量套餐中。定向流量是运营商为了培养用户的流量使用习惯而推出的业务,等额流量费用远低于通用流量。
全球各大运营商均有开展定向流量业务,实现技术主要在于如何区分流量类型,以进行分类计费。当前运营商实现定向流量的方式主要有以下两种:
①内容识别方式,运营商在移动网络的网关出口处解析流量内容,识别出定向流量的特征码(特征码可以是域名、关键词、密钥等等),以实现单独计费。
②IP识别方式,内容提供商将定向服务器的IP地址和端口号在运营商处报备,运营商在移动网络的网关出口处识别IP包头部,如果源IP端口或目标IP端口为已报备的定向服务器IP端口,则该IP包的流量被计入定向流量中。
现有的应用IP识别方式实现定向流量业务的系统如图1和图2所示。电子终端(例如为手机终端)直接向报备服务器发出请求,且直接由报备服务器向电子终端进行相应的反馈,其中图1显示的通信系统10包括的报备服务器为内容服务器12的情况,电子终端11发送请求至报备的内容服务器12,报备的服务器12返回内容响应给电子终端11,运营商移动网关检查电子终端11发送出去的IP包,如果目标服务器IP端口是已报备的,则记为定向流量;检查电子终端11接收到的IP包,如果来源服务器IP端口是已报备的,则记为定向流量。图2显示的通信系统20的报备服务器为代理服务器22的情况,电子终端21发送请求至报备的代理服务器22,报备的代理服务器22转发请求至内容服务器23,内容服务器23返回内容响应给代理服务器22,代理服务器22返回内容响应给电子终端21,运营商移动网关检查电子终端发送出去的IP包,如果目标服务器IP端口是已报备的,则记为定向流量;检查电子终端21接收到的IP包,如果来源服务器IP端口是已报备的,则记为定向流量。
现有的IP识别方案对内容提供商来说存在一个缺陷,就是定向流量服务器IP报备的数
量有限,且流程很长(配置到所有网关出口处也需要很长时间),变更手续更是繁琐,因此对定向流量服务器负载能力的水平扩展有极大限制。对于大型的内容提供商来说,内容载体通常基于负载均衡的CDN网络,通过DNS调度的方式进行就近分发,而CDN网络的服务器分布于大量的机房中,IP数量极多且变化很快,不具备大量报备和随时报备的可能性。定向流量和CDN业务存在冲突,难以进行跨机房的负载扩展和均衡,仅能在已报备IP的同机房内部扩展,服务器负载能力显著削弱。
发明内容
鉴于以上所述现有技术的缺点,本发明的目的在于提供一种服务器及其应用的数据处理方法和系统,用于解决现有技术中定向流量业务执行过程中无法灵活的增减提供定向流量服务的服务器,且不能根据服务器的特性灵活的选择执行定向流量服务的最优服务器等的问题。
为实现上述目的及其他相关目的,本发明提供一种数据处理方法,应用于一报备服务器中,预先向运营商报备所述报备服务器的IP地址和端口号,所述报备服务器被配置有与所述报备服务器对应的服务器转发列表,所述服务器转发列表中包括与所述报备服务器对应的未报备服务器的IP地址以及特征信息,所述方法包括:接收到一电子终端发送的TCP连接握手请求时,依据所述服务器转发列表的未报备服务器的特征信息以及所述电子终端的特征信息选择最优服务器,并通过IP隧道技术将所述TCP连接握手请求转发至所述最优服务器,以供所述最优服务器根据所述TCP连接握手请求,向所述电子终端返回TCP连接握手响应,从而形成TCP连接环路;其中,所述TCP连接握手响应的源IP为所述报备服务器的IP,且所述TCP连接握手响应的源端口为所述报备服务器的端口;当所述报备服务器接收到所述电子终端发送的数据请求时,根据已经形成的所述TCP连接环路,向所述最优服务器转发所述数据请求,以供所述最优服务器根据已经形成的所述TCP连接环路向所述电子终端反馈数据请求响应;其中,所述数据请求响应的源IP为所述报备服务器的IP,且所述数据请求响应的源端口为所述报备服务器的端口。
于本发明一具体实施例中,所述报备服务器为代理服务器或内容服务器;当所述报备服务器为内容服务器时,所述服务器转发列表中的未报备服务器为内容服务器;当所述报备服务器为代理服务器时,所述服务器转发列表中的未报备服务器为代理服务器,且在所述TCP连接环路形成后,当所述报备服务器接收到所述电子终端发送的数据请求时,根据已经形成的所述TCP连接环路,向所述最优服务器转发所述数据请求,以供所述最优服务器将所述数据请求发送至与其关联的内容服务器,并接收所述关联的内容服务器的响应以形成所述数据
请求响应,并向所述电子终端反馈。
于本发明一具体实施例中,所述特征信息包括地理位置信息和/或链路质量信息。
为实现上述目的及其他相关目的,本发明还提供一种数据处理系统,包括于一报备服务器中,预先向运营商报备所述报备服务器的IP地址和端口号,所述报备服务器被配置有与所述报备服务器对应的服务器转发列表,所述服务器转发列表中包括与所述报备服务器对应的未报备服务器的IP地址以及特征信息,所述数据处理系统包括:连接模块,用于接收到一电子终端发送的TCP连接握手请求时,依据所述服务器转发列表的未报备服务器的特征信息以及所述电子终端的特征信息选择最优服务器,并通过IP隧道技术将所述TCP连接握手请求转发至所述最优服务器,以供所述最优服务器根据所述TCP连接握手请求,向所述电子终端返回TCP连接握手响应,从而形成TCP连接环路;其中,所述TCP连接握手响应的源IP为所述报备服务器的IP,且所述TCP连接握手响应的源端口为所述报备服务器的端口;转发模块,用于当所述报备服务器接收到所述电子终端发送的数据请求时,根据已经形成的所述TCP连接环路,向所述最优服务器转发所述数据请求,以供所述最优服务器根据已经形成的所述TCP连接环路向所述电子终端反馈数据请求响应;其中,所述数据请求响应的源IP为所述报备服务器的IP,且所述数据请求响应的源端口为所述报备服务器的端口。
于本发明一具体实施例中,所述报备服务器为代理服务器或内容服务器;当所述报备服务器为内容服务器时,所述服务器转发列表中的未报备服务器为内容服务器;当所述报备服务器为代理服务器时,所述服务器转发列表中的未报备服务器为代理服务器,且所述转发模块还用于当所述报备服务器接收到所述电子终端发送的数据请求时,根据已经形成的所述TCP连接环路,向所述最优服务器转发所述数据请求,以供所述最优服务器将所述数据请求发送至与其关联的内容服务器,并接收所述关联的内容服务器的响应以形成所述数据请求响应,并向所述电子终端反馈。
于本发明一具体实施例中,所述特征信息包括地理位置信息和/或链路质量信息。
为实现上述目的及其他相关目的,本发明还提供一种服务器,包括如上任一项所述的数据处理系统。
为实现上述目的及其他相关目的,本发明还提供一种数据处理方法,应用于一未报备服务器中,所述方法包括:通过IP隧道技术接收到一报备服务器发送的来自电子终端的TCP连接握手请求时,根据所述TCP连接握手请求,向所述电子终端返回TCP连接握手响应,从而形成TCP连接环路;其中,所述TCP连接握手响应的源IP为所述报备服务器的IP,且所述TCP连接握手响应的源端口为所述报备服务器的端口;当接收到所述报备服务器转发的
源于所述电子终端的数据请求时,根据已经形成的所述TCP连接环路向所述电子终端反馈数据请求响应;其中,所述数据请求响应的源IP为所述报备服务器的IP,且所述数据请求响应的源端口为所述报备服务器的端口。
于本发明一具体实施例中,所述未报备服务器为代理服务器或内容服务器;当所述未报备服务器为代理服务器时,在所述TCP连接环路形成后,当所述未报备服务器接收所述报备服务器转发的源于所述电子终端的数据请求时,将所述数据请求转发至与所述未报备服务器关联的内容服务器,并将从所述关联的内容服务器接收到的对所述数据请求的响应向所述电子终端反馈。
为实现上述目的及其他相关目的,本发明还提供一种数据处理系统,应用于一未报备服务器中,所述系统包括:连接模块,用于通过IP隧道技术接收到一报备服务器发送的来自电子终端的TCP连接握手请求时,根据所述TCP连接握手请求,向所述电子终端返回TCP连接握手响应,从而形成TCP连接环路;其中,所述TCP连接握手响应的源IP为所述报备服务器的IP,且所述TCP连接握手响应的源端口为所述报备服务器的端口;响应模块,用以当接收到所述报备服务器转发的源于所述电子终端的数据请求时,根据已经形成的所述TCP连接环路向所述电子终端反馈数据请求响应;其中,所述数据请求响应的源IP为所述报备服务器的IP,且所述数据请求响应的源端口为所述报备服务器的端口。
于本发明一具体实施例中,所述未报备服务器为代理服务器或内容服务器;当所述未报备服务器为代理服务器时,在所述TCP连接环路形成后,所述响应模块还用以当所述未报备服务器接收所述报备服务器转发的源于所述电子终端的数据请求时,将所述数据请求转发至与所述未报备服务器关联的内容服务器,并将从所述关联的内容服务器接收到的对所述数据请求的响应向所述电子终端反馈。
为实现上述目的及其他相关目的,本发明还提供一种服务器,所述服务器为如上任一项所述的未报备服务器,且包括如上所述的数据处理系统。
如上所述,本发明的服务器及其应用的数据处理方法和系统,报备服务器在接收到电子终端发送的请求时,根据服务器转发列表中未报备服务器的特征信息以及电子终端的特征信息,自动将请求转发至最优的未报备服务器,并由最优的未报备服务器对请求进行处理后,生成反馈信息反馈至所述电子终端,且将反馈信息的源IP和源端口修改为接收到源自电子终端的请求的报备服务器的IP和端口。未报备服务器的增加或删除操作均很简单,灵活的实现了对定向流量服务器负载能力的扩展。
图1显示为现有一具体实施例中的通信系统组成示意图。
图2显示为现有一具体实施例中的通信系统组成示意图。
图3显示为本发明一具体实施例中的通信系统组成示意图。
图4显示为本发明一具体实施例中的数据处理方法流程示意图。
图5显示为本发明一具体实施例中的数据处理方法流程示意图。
图6显示为本发明一具体实施例中的通信系统组成示意图。
图7显示为本发明一具体实施例中的通信系统组成示意图。
图8显示为本发明一具体实施例中的通信系统组成示意图。
图9显示为本发明一具体实施例中的数据处理系统的模块示意图。
图10显示为本发明一具体实施例中的数据处理系统的模块示意图。
元件标号说明
10 通信系统
11 电子终端
12 报备的内容服务器
20 通信系统
21 电子终端
22 报备的代理服务器
23 内容服务器
30 通信系统
31 电子终端
32 报备服务器
33 未报备服务器
40 数据处理方法
41、42 方法步骤
50 数据处理方法
51、52 方法步骤
60 通信系统
61 电子终端
62 报备内容服务器
63 未报备内容服务器
70 通信系统
71 电子终端
72 报备代理服务器
73 未报备代理服务
74 内容服务器
80 通信系统
81 电子终端
82 电子终端
83 报备服务器
84 未报备服务器
85 未报备服务
90 数据处理系统
91 连接模块
92 转发模块
100 数据处理系统
101 连接模块
102 响应模块
以下通过特定的具体实例说明本发明的实施方式,本领域技术人员可由本说明书所揭露的内容轻易地了解本发明的其他优点与功效。本发明还可以通过另外不同的具体实施方式加以实施或应用,本说明书中的各项细节也可以基于不同观点与应用,在没有背离本发明的精神下进行各种修饰或改变。需说明的是,在不冲突的情况下,以下实施例及实施例中的特征可以相互组合。
需要说明的是,以下实施例中所提供的图示仅以示意方式说明本发明的基本构想,遂图示中仅显示与本发明中有关的组件而非按照实际实施时的组件数目、形状及尺寸绘制,其实际实施时各组件的型态、数量及比例可为一种随意的改变,且其组件布局型态也可能更为复杂。
请参阅图3,显示为本发明的一具体实施例中的通信系统组成示意图。所述通信系统30包括电子终端31、报备服务器32、以及未报备服务器33。其中已报备服务器为该服务器的IP和端口已经向运营商报备,即运营商在电子终端31通过移动运营商的网络向报备服务器发送请求或者通过移动运营商的网络接收报备服务器的请求所产生的流量均为定向流量;未报备服务器为该服务器的IP和端口未向运营商报备。所述电子终端31例如为智能手机。所述电子终端31可通过移动运营商的网络向服务器发送请求或者可通过移动运营商的网络接收服务器的请求。在实际应用中,所述未报备服务器可为一个或多个,此处仅图示一个未报备服务器33,且图示的未报备服务器33为选择作为最优服务器的未报备服务器。所述通信系统30运行过程中,预先向运营商报备所述报备服务器32的IP地址和端口号,所述报备服务器32被配置有与所述报备服务器32对应的服务器转发列表,所述服务器转发列表中包括与所述报备服务器32对应的未报备服务器33的IP地址以及特征信息。对所述报备服务器的配置还包括:
1)报备服务器32将向运营商报备的IP绑定至其本地eth网卡;
2)报备服务器32配置IP隧道至服务器转发列表中对应的未报备服务器,并开启路由转发;
3)报备服务器32关闭ARP校验;
4)服务器转发列表中对应的未报备服务器均将所述报备服务器32上报的IP绑定至虚拟网卡;
5)报备服务器32以及所有的未报备服务器均关闭IP校验,允许MAC地址与IP包不对应。
报备服务器32与与其对应的所有未报备服务器设为一组,同组的报备服务器32支持配置同组其他未报备服务器的IP列表、地理位置和链路质量。
进一步参阅图4,显示为本发明一具体实施例中的数据处理方法流程示意图。所述数据处理方法应用于所述报备服务器32中,所述方法40包括:
41:接收到一电子终端31发送的TCP连接握手请求时,依据所述服务器转发列表的未报备服务器的特征信息以及所述电子终端31的特征信息选择最优服务器(未报备服务器33),并通过IP隧道技术将所述TCP连接握手请求转发至所述最优服务器(未报备服务器33),以供所述最优服务器(未报备服务器33)根据所述TCP连接握手请求,向所述电子终端31返回TCP连接握手响应,从而形成TCP连接环路(如图3所示的箭头指示的连接环路);其中,所述TCP连接握手响应的源IP为所述报备服务器32的IP,且所述TCP连接握手响
应的源端口为所述报备服务器32的端口。
优选的,所述特征信息包括地理位置信息和/或链路质量信息。例如,选择与所述电子终端31的地理位置最为接近的未报备服务器为所述最优服务器,或选择链路质量最好的未报备服务器为所述最优服务器,其中链路质量的评价因素可包括丢包率以及带宽等。于具体应用中,还可综合考虑地理位置信息和链路质量信息来确定最优服务器,例如对地理位置相同的多个未报备服务器,选择链路质量最好的未报备服务器为所述最优服务器;例如对链路质量相同的多个未报备服务器,选择距离最近的未报备服务器为所述最优服务器;例如以预设的权重比例,获得最终用于比较的值,作为最优服务器选择的依据。
42:当所述报备服务器32接收到所述电子终端31发送的数据请求时,根据已经形成的所述TCP连接环路,向所述最优服务器(未报备服务器33)转发所述数据请求,以供所述最优服务器(未报备服务器33)根据已经形成的所述TCP连接环路向所述电子终端31反馈数据请求响应;其中,所述数据请求响应的源IP为所述报备服务器32的IP,且所述数据请求响应的源端口为所述报备服务器32的端口。
进一步参阅图5,显示为本发明一具体实施例中的数据处理方法流程示意图。图5所示的数据处理方法应用在一未报备服务器中,例如应用于图3所述的未报备服务器33中。
所述数据处理方法50包括:
51:通过IP隧道技术接收到一报备服务器发送的来自电子终端的TCP连接握手请求时,根据所述TCP连接握手请求,向所述电子终端返回TCP连接握手响应,从而形成TCP连接环路;其中,所述TCP连接握手响应的源IP为所述报备服务器的IP,且所述TCP连接握手响应的源端口为所述报备服务器的端口;
52:当接收到所述报备服务器转发的源于所述电子终端的数据请求时,根据已经形成的所述TCP连接环路向所述电子终端反馈数据请求响应;其中,所述数据请求响应的源IP为所述报备服务器的IP,且所述数据请求响应的源端口为所述报备服务器的端口。
本发明在保证一部分已报备IP的服务器正常工作的前提下,可以任意增减其他未报备IP和机房的服务器进行定向流量服务,加入整个定向流量系统中,强化了水平扩展能力。同时,分离上下行流量,上行流量必须发往已报备IP的服务器,下行流量能就近选择最佳链路的机房中的服务器进行调度,在当前移动互联网的下行流量远多于上行流量的现状下,可实现就近调度,对可用性和访问速率有极大的提升,同时不影响运营商的定向流量计费。其中,上行流量指电子终端发送到服务器的流量;下行流量指服务器发送到电子终端的流量。
于本发明一具体实施例中,所述报备服务器32为代理服务器或内容服务器。
进一步参阅图6,显示为本发明的一具体实施例中的通信系统组成示意图。图6为图3所示的通信系统30的报备服务器32和未报备服务器为内容服务器的情况。所述通信系统60包括电子终端61、报备内容服务器62、以及未报备内容服务器63。所述服务器转发列表中的未报备服务器为内容服务器。
进一步参阅图7,显示为本发明的一具体实施例中的通信系统组成示意图。图7为图3所示的通信系统30的报备服务器32和未报备服务器为代理服务器的情况。所述通信系统70包括电子终端71、报备代理服务器72、以及未报备代理服务器73。所述服务器转发列表中的未报备服务器为代理服务器。且在所述TCP连接环路形成后,当所述报备代理服务器72接收到所述电子终端71发送的数据请求时,根据已经形成的所述TCP连接环路,向所述最优服务器(未报备代理服务器73)转发所述数据请求,以供所述最优服务器(未报备代理服务器73)将所述数据请求发送至与其关联的内容服务器74,并接收所述关联的内容服务器74的响应以形成所述数据请求响应,并向所述电子终端71反馈。且代理服务器与内容服务器之间的转发方式属于应用层的转发,而所述报备代理服务器72与所述未报备代理服务器73之间的转发方式为IP层的转发。
参阅图8,显示为本发明一具体实施例中的通信系统组成示意图。即以一个具体的实例对本发明的技术特征作进一步的描述。所述通信系统80包括电子终端81、电子终端82、报备服务器83、未报备服务器84以及未报备服务器85。其中所述报备服务器83、未报备服务器84以及未报备服务器85均为内容服务器。所述电子终端81和电子终端82分别为位于北京的手机终端和位于福建的手机终端。所述未报备服务器84所属的机房线路为北京联通,所述未报备服务器85所属的机房线路为福建联通,于本实施例中,所述报备服务器83、未报备服务器84以及未报备服务器85为一个定向流量服务器组,三者的端口均相同。所述报备服务器83的IP地址为IP1,报备服务器83的端口为A,未报备服务器84的IP地址为IP2,未报备服务器85的IP地址为IP3,未报备服务器84以及未报备服务器85的端口均为A。处于北京的电子终端81向所述报备服务器83发送请求,移动运营商根据该请求的目标IP地址IP1,确定关于该请求产生的流量为定向流量,所述报备服务器83根据通过IP隧道将电子终端81请求的TCP连接转发至就近选择的未报备服务器84。未报备服务器84返回内容响应给电子终端81,响应的源地址为IP1,源端口为A,移动运营商根据该响应的源地址以及源端口确定关于该响应产生的流量为定向流量。处于福建的电子终端82向所述报备服务器83发送请求,移动运营商根据该请求的目标IP地址IP1,确定关于该请求产生的流量为定向流量,所述报备服务器83根据通过IP隧道将电子终端82请求的TCP连接转发至就近选择的未报
备服务器85。未报备服务器85返回内容响应给电子终端82,响应的源地址为IP1,源端口为A,移动运营商根据该响应的源地址以及源端口确定关于该响应产生的流量为定向流量。
参阅图9,显示为本发明一具体实施例中的数据处理系统的模块示意图。所述数据处理系统90包括于一报备服务器中,预先向运营商报备所述报备服务器的IP地址和端口号,所述报备服务器被配置有与所述报备服务器对应的服务器转发列表,所述服务器转发列表中包括与所述报备服务器对应的未报备服务器的IP地址以及特征信息。所述数据处理系统90包括:
连接模块91,用于接收到一电子终端发送的TCP连接握手请求时,依据所述服务器转发列表的未报备服务器的特征信息以及所述电子终端的特征信息选择最优服务器,并通过IP隧道技术将所述TCP连接握手请求转发至所述最优服务器,以供所述最优服务器根据所述TCP连接握手请求,向所述电子终端返回TCP连接握手响应,从而形成TCP连接环路;其中,所述TCP连接握手响应的源IP为所述报备服务器的IP,且所述TCP连接握手响应的源端口为所述报备服务器的端口;
转发模块92,用于当所述报备服务器接收到所述电子终端发送的数据请求时,根据已经形成的所述TCP连接环路,向所述最优服务器转发所述数据请求,以供所述最优服务器根据已经形成的所述TCP连接环路向所述电子终端反馈数据请求响应;其中,所述数据请求响应的源IP为所述报备服务器的IP,且所述数据请求响应的源端口为所述报备服务器的端口。
于本发明一具体实施例中,所述报备服务器为代理服务器或内容服务器;当所述报备服务器为内容服务器时,所述服务器转发列表中的未报备服务器为内容服务器;当所述报备服务器为代理服务器时,所述服务器转发列表中的未报备服务器为代理服务器,且所述转发模块还用于当所述报备服务器接收到所述电子终端发送的数据请求时,根据已经形成的所述TCP连接环路,向所述最优服务器转发所述数据请求,以供所述最优服务器将所述数据请求发送至与其关联的内容服务器,并接收所述关联的内容服务器的响应以形成所述数据请求响应,并向所述电子终端反馈。
于本发明一具体实施例中,所述特征信息包括地理位置信息和/或链路质量信息。
所述数据处理系统90为与图4所示的数据处理方法40对应的系统项,两者技术方案一一对应,所有关于图4所示的数据处理方法40的描述均可应用于此实施例中,在此不加赘述。
参阅图10,显示为本发明一具体实施例中的数据处理系统的模块示意图。所述数据处理系统100,应用于一未报备服务器中,所述系统100包括:
连接模块101,用于通过IP隧道技术接收到一报备服务器发送的来自电子终端的TCP连
接握手请求时,根据所述TCP连接握手请求,向所述电子终端返回TCP连接握手响应,从而形成TCP连接环路;其中,所述TCP连接握手响应的源IP为所述报备服务器的IP,且所述TCP连接握手响应的源端口为所述报备服务器的端口;
响应模块102,用以当接收到所述报备服务器转发的源于所述电子终端的数据请求时,根据已经形成的所述TCP连接环路向所述电子终端反馈数据请求响应;其中,所述数据请求响应的源IP为所述报备服务器的IP,且所述数据请求响应的源端口为所述报备服务器的端口。
于本发明一具体实施例中,所述未报备服务器为代理服务器或内容服务器;当所述未报备服务器为代理服务器时,在所述TCP连接环路形成后,所述响应模块还用以当所述未报备服务器接收所述报备服务器转发的源于所述电子终端的数据请求时,将所述数据请求转发至与所述未报备服务器关联的内容服务器,并将从所述关联的内容服务器接收到的对所述数据请求的响应向所述电子终端反馈。
所述数据处理系统100为与图5所示的数据处理方法50对应的系统项,两者技术方案一一对应,所有关于图5所示的数据处理方法50的描述均可应用于此实施例中,在此不加赘述。
综上所述,本发明的服务器及其应用的数据处理方法和系统,报备服务器在接收到电子终端发送的请求时,根据服务器转发列表中未报备服务器的特征信息以及电子终端的特征信息,自动将请求转发至最优的未报备服务器,并由最优的未报备服务器对请求进行处理后,生成反馈信息反馈至所述电子终端,且将反馈信息的源IP和源端口修改为接收到源自电子终端的请求的报备服务器的IP和端口。未报备服务器的增加或删除操作均很简单,灵活的实现了对定向流量服务器负载能力的扩展。所以,本发明有效克服了现有技术中的种种缺点而具高度产业利用价值。
上述实施例仅例示性说明本发明的原理及其功效,而非用于限制本发明。任何熟悉此技术的人士皆可在不违背本发明的精神及范畴下,对上述实施例进行修饰或改变。因此,举凡所属技术领域中具有通常知识者在未脱离本发明所揭示的精神与技术思想下所完成的一切等效修饰或改变,仍应由本发明的权利要求所涵盖。
Claims (12)
- 一种数据处理方法,其特征在于,应用于一报备服务器中,预先向运营商报备所述报备服务器的IP地址和端口号,所述报备服务器被配置有与所述报备服务器对应的服务器转发列表,所述服务器转发列表中包括与所述报备服务器对应的未报备服务器的IP地址以及特征信息,所述方法包括:接收到一电子终端发送的TCP连接握手请求时,依据所述服务器转发列表的未报备服务器的特征信息以及所述电子终端的特征信息,选择最优服务器,并通过IP隧道技术将所述TCP连接握手请求转发至所述最优服务器,以供所述最优服务器根据所述TCP连接握手请求,向所述电子终端返回TCP连接握手响应,从而形成TCP连接环路;其中,所述TCP连接握手响应的源IP为所述报备服务器的IP,且所述TCP连接握手响应的源端口为所述报备服务器的端口;当所述报备服务器接收到所述电子终端发送的数据请求时,根据已经形成的所述TCP连接环路,向所述最优服务器转发所述数据请求,以供所述最优服务器根据已经形成的所述TCP连接环路向所述电子终端反馈数据请求响应;其中,所述数据请求响应的源IP为所述报备服务器的IP,且所述数据请求响应的源端口为所述报备服务器的端口。
- 根据权利要求1所述的数据处理方法,其特征在于:所述报备服务器为代理服务器或内容服务器;当所述报备服务器为内容服务器时,所述服务器转发列表中的未报备服务器为内容服务器;当所述报备服务器为代理服务器时,所述服务器转发列表中的未报备服务器为代理服务器,且在所述TCP连接环路形成后,当所述报备服务器接收到所述电子终端发送的数据请求时,根据已经形成的所述TCP连接环路,向所述最优服务器转发所述数据请求,以供所述最优服务器将所述数据请求发送至与其关联的内容服务器,并接收所述关联的内容服务器的响应以形成所述数据请求响应,并向所述电子终端反馈。
- 根据权利要求1所述的数据处理方法,其特征在于:所述特征信息包括地理位置信息和/或链路质量信息。
- 一种数据处理系统,其特征在于,包括于一报备服务器中,预先向运营商报备所述报备服务器的IP地址和端口号,所述报备服务器被配置有与所述报备服务器对应的服务器转发列表,所述服务器转发列表中包括与所述报备服务器对应的未报备服务器的IP地址以及 特征信息,所述数据处理系统包括:连接模块,用于接收到一电子终端发送的TCP连接握手请求时,依据所述服务器转发列表的未报备服务器的特征信息以及所述电子终端的特征信息选择最优服务器,并通过IP隧道技术将所述TCP连接握手请求转发至所述最优服务器,以供所述最优服务器根据所述TCP连接握手请求,向所述电子终端返回TCP连接握手响应,从而形成TCP连接环路;其中,所述TCP连接握手响应的源IP为所述报备服务器的IP,且所述TCP连接握手响应的源端口为所述报备服务器的端口;转发模块,用于当所述报备服务器接收到所述电子终端发送的数据请求时,根据已经形成的所述TCP连接环路,向所述最优服务器转发所述数据请求,以供所述最优服务器根据已经形成的所述TCP连接环路向所述电子终端反馈数据请求响应;其中,所述数据请求响应的源IP为所述报备服务器的IP,且所述数据请求响应的源端口为所述报备服务器的端口。
- 根据权利要求4所述的数据处理系统,其特征在于:所述报备服务器为代理服务器或内容服务器;当所述报备服务器为内容服务器时,所述服务器转发列表中的未报备服务器为内容服务器;当所述报备服务器为代理服务器时,所述服务器转发列表中的未报备服务器为代理服务器,且所述转发模块还用于当所述报备服务器接收到所述电子终端发送的数据请求时,根据已经形成的所述TCP连接环路,向所述最优服务器转发所述数据请求,以供所述最优服务器将所述数据请求发送至与其关联的内容服务器,并接收所述关联的内容服务器的响应以形成所述数据请求响应,并向所述电子终端反馈。
- 根据权利要求4所述的数据处理系统,其特征在于:所述特征信息包括地理位置信息和/或链路质量信息。
- 一种服务器,其特征在于,包括如权利要求4~6中任一项所述的数据处理系统。
- 一种数据处理方法,其特征在于,应用于一未报备服务器中,所述方法包括:通过IP隧道技术接收到一报备服务器发送的来自电子终端的TCP连接握手请求时,根据所述TCP连接握手请求,向所述电子终端返回TCP连接握手响应,从而形成TCP连 接环路;其中,所述TCP连接握手响应的源IP为所述报备服务器的IP,且所述TCP连接握手响应的源端口为所述报备服务器的端口;当接收到所述报备服务器转发的源于所述电子终端的数据请求时,根据已经形成的所述TCP连接环路向所述电子终端反馈数据请求响应;其中,所述数据请求响应的源IP为所述报备服务器的IP,且所述数据请求响应的源端口为所述报备服务器的端口。
- 根据权利要求8所述的数据处理方法,其特征在于:所述未报备服务器为代理服务器或内容服务器;当所述未报备服务器为代理服务器时,在所述TCP连接环路形成后,当所述未报备服务器接收所述报备服务器转发的源于所述电子终端的数据请求时,将所述数据请求转发至与所述未报备服务器关联的内容服务器,并将从所述关联的内容服务器接收到的对所述数据请求的响应向所述电子终端反馈。
- 一种数据处理系统,其特征在于,应用于一未报备服务器中,所述系统包括:连接模块,用于通过IP隧道技术接收到一报备服务器发送的来自电子终端的TCP连接握手请求时,根据所述TCP连接握手请求,向所述电子终端返回TCP连接握手响应,从而形成TCP连接环路;其中,所述TCP连接握手响应的源IP为所述报备服务器的IP,且所述TCP连接握手响应的源端口为所述报备服务器的端口;响应模块,用以当接收到所述报备服务器转发的源于所述电子终端的数据请求时,根据已经形成的所述TCP连接环路向所述电子终端反馈数据请求响应;其中,所述数据请求响应的源IP为所述报备服务器的IP,且所述数据请求响应的源端口为所述报备服务器的端口。
- 根据权利要求10所述的数据处理系统,其特征在于:所述未报备服务器为代理服务器或内容服务器;当所述未报备服务器为代理服务器时,在所述TCP连接环路形成后,所述响应模块还用以当所述未报备服务器接收所述报备服务器转发的源于所述电子终端的数据请求时,将所述数据请求转发至与所述未报备服务器关联的内容服务器,并将从所述关联的内容服务器接收到的对所述数据请求的响应向所述电子终端反馈。
- 一种服务器,其特征在于:包括如权利要求10或11所述的数据处理系统。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610725153.1A CN108306745B (zh) | 2016-08-25 | 2016-08-25 | 服务器及其应用的数据处理方法和系统 |
| CN2016107251531 | 2016-08-25 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018036008A1 true WO2018036008A1 (zh) | 2018-03-01 |
Family
ID=61245405
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/107197 Ceased WO2018036008A1 (zh) | 2016-08-25 | 2016-11-25 | 服务器及其应用的数据处理方法和系统 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN108306745B (zh) |
| WO (1) | WO2018036008A1 (zh) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104023092A (zh) * | 2014-04-29 | 2014-09-03 | 中国联合网络通信集团有限公司 | 一种实现定向流量包的方法及系统 |
| CN104243182A (zh) * | 2014-09-30 | 2014-12-24 | 中国联合网络通信集团有限公司 | 定向流量计费方法和系统 |
| CN104506644A (zh) * | 2014-12-30 | 2015-04-08 | 北京奇虎科技有限公司 | 一种进行网络数据接入的方法、装置和移动终端 |
| 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 |
| CN105101147A (zh) * | 2015-08-19 | 2015-11-25 | 网宿科技股份有限公司 | 一种实现移动app的定向流量的方法和系统 |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8184546B2 (en) * | 2008-02-29 | 2012-05-22 | Avaya Inc. | 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 |
| CN103560937B (zh) * | 2013-11-01 | 2017-03-15 | 北京蓝汛通信技术有限责任公司 | 数据访问方法和入口服务器 |
| CN105306605B (zh) * | 2015-12-09 | 2018-12-25 | 北京中电普华信息技术有限公司 | 一种双主机服务器系统 |
-
2016
- 2016-08-25 CN CN201610725153.1A patent/CN108306745B/zh not_active Expired - Fee Related
- 2016-11-25 WO PCT/CN2016/107197 patent/WO2018036008A1/zh not_active Ceased
Patent Citations (5)
| 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 |
| CN104023092A (zh) * | 2014-04-29 | 2014-09-03 | 中国联合网络通信集团有限公司 | 一种实现定向流量包的方法及系统 |
| CN104243182A (zh) * | 2014-09-30 | 2014-12-24 | 中国联合网络通信集团有限公司 | 定向流量计费方法和系统 |
| CN104506644A (zh) * | 2014-12-30 | 2015-04-08 | 北京奇虎科技有限公司 | 一种进行网络数据接入的方法、装置和移动终端 |
| CN105101147A (zh) * | 2015-08-19 | 2015-11-25 | 网宿科技股份有限公司 | 一种实现移动app的定向流量的方法和系统 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN108306745A (zh) | 2018-07-20 |
| CN108306745B (zh) | 2020-01-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11223500B2 (en) | Traffic acceleration in mobile network | |
| EP2705635B1 (en) | Method and apparatus for content identifier based radius constrained cache flooding to enable efficient content routing | |
| US10042665B2 (en) | Customer premises equipment (CPE) with virtual machines for different service providers | |
| KR101987784B1 (ko) | 소프트웨어 정의 네트워크를 기반으로 내용 배포 네트워크를 구현하는 방법 및 시스템 | |
| US8694675B2 (en) | Generalized dual-mode data forwarding plane for information-centric network | |
| RU2660635C2 (ru) | Способ и устройство для управления цепочкой услуги потока услуги | |
| CN112087382B (zh) | 一种服务路由方法及装置 | |
| WO2018133454A1 (zh) | 远程服务访问路径控制方法和相关设备 | |
| RU2014128627A (ru) | Способ и устройство для управления передачей сервиса | |
| WO2013029569A1 (en) | A Generalized Dual-Mode Data Forwarding Plane for Information-Centric Network | |
| CN105847353A (zh) | 一种面向移动通信网络的移动cdn内容调度方法与系统 | |
| WO2014005442A1 (zh) | 网络业务访问的方法及系统 | |
| US20140036897A1 (en) | Methods circuits devices systems and associated computer executable code for providing data connectivity between a mobile communication device communicatively coupled to a mobile communication network and a third party data source | |
| CN107241270A (zh) | 报文处理方法及装置 | |
| CN104754640A (zh) | 一种网络资源调度方法及网络资源管理服务器 | |
| CN109672698A (zh) | 内容分发方法、设备及系统 | |
| CN106412043B (zh) | Cdn网络流量引导方法和装置 | |
| CN104253878B (zh) | Dhcp relay终结子接口的vlan信息管理系统及方法 | |
| CN113169936A (zh) | 用于数据流处理的服务链机制 | |
| CN103716348A (zh) | 基于cdn网络的数据访问方法、系统及装置 | |
| CN102904916B (zh) | 建立点对点通信的方法、索引服务器及系统 | |
| CN111600929B (zh) | 传输线路探测方法、路由策略生成方法及代理服务器 | |
| CN108306745B (zh) | 服务器及其应用的数据处理方法和系统 | |
| CN102164079B (zh) | 基于网络测量的可信任视频应用申请方法 | |
| US20140181307A1 (en) | Routing apparatus and method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16914028 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16914028 Country of ref document: EP Kind code of ref document: A1 |