CN112600952A - Method and system for accelerating distribution of mobile terminal network - Google Patents
Method and system for accelerating distribution of mobile terminal network Download PDFInfo
- Publication number
- CN112600952A CN112600952A CN202011456385.4A CN202011456385A CN112600952A CN 112600952 A CN112600952 A CN 112600952A CN 202011456385 A CN202011456385 A CN 202011456385A CN 112600952 A CN112600952 A CN 112600952A
- Authority
- CN
- China
- Prior art keywords
- domain name
- acceleration
- node
- analysis
- network request
- 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
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4505—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
- H04L61/4511—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0876—Network utilisation, e.g. volume of load or congestion level
- H04L43/0894—Packet rate
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/04—Wireless resource allocation
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a method and a system for accelerating distribution of a mobile terminal network, which comprises the following steps: starting an acceleration application at a mobile terminal, and receiving a network request of the mobile terminal through a virtual private network service; performing domain name resolution on a network request of a mobile terminal according to a local DNS server to acquire an actual IP corresponding to a domain name; when the actual IP is determined to be the IP of the accelerated domain name, replacing the actual IP with the accelerated IP in the preset accelerated IP section; the virtual private network service transmits the network request of the acceleration IP to a data processor; the data processor analyzes the network request of the acceleration IP, acquires a data packet corresponding to the network request, returns the data packet to the acceleration server, and transmits the data packet through the acceleration node line. The method achieves the purpose of identifying and shunting according to the domain name of the network request, realizes accurate acceleration of the mobile terminal network, saves the acceleration width cost and reduces unnecessary resource loss.
Description
Technical Field
The present invention relates to the field of network acceleration technologies, and in particular, to a method and a system for accelerating and offloading a mobile terminal network.
Background
At present, with the rapid development of mobile network technology, mobile terminal network acceleration groups become huge. The data traffic of the mobile terminal is numerous and has a large amount of redundant data and useless data, if all user data are uploaded to the acceleration server indiscriminately for acceleration, resource waste and performance loss of the server are caused, and the acceleration effect is affected after the load of the server is increased. In order to solve the problem of uploading all data traffic, the existing method is to add a fixed IP segment for splitting, but this method needs to know the IP segment to be split in advance. Obtaining a fixed IP segment is a tedious task, for example, an acceleration domain name may correspond to many different IPs, and if an IP corresponding to a domain name that needs to be accelerated changes, the acceleration effect may not be achieved, and the rapid and accurate acceleration requirement cannot be satisfied.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the art described above. Therefore, a first objective of the present invention is to provide an accelerated offloading method for a mobile terminal network, so as to achieve the purpose of identifying and offloading according to a domain name requested by a network, achieve accurate acceleration of the mobile terminal network, save the acceleration width cost, and reduce unnecessary resource loss.
The second objective of the present invention is to provide an expedited offloading system for a mobile network.
To achieve the above object, an embodiment of a first aspect of the present invention provides a method for accelerating offloading of a mobile network, including:
starting an acceleration application at a mobile terminal, and receiving a network request of the mobile terminal through a virtual private network service;
starting a local DNS server, and performing domain name resolution on a network request of a mobile terminal according to the local DNS server to obtain an actual IP corresponding to a domain name;
judging whether the actual IP is the IP of the accelerated domain name;
when the actual IP is determined to be the IP of the accelerated domain name, replacing the actual IP with an accelerated IP in a preset accelerated IP section;
the virtual private network service transmits the network request of the acceleration IP to a data processor;
the data processor analyzes the network request of the acceleration IP, acquires a data packet corresponding to the network request and returns the data packet to the acceleration server;
and the acceleration server transmits the data packet through an acceleration node line.
According to some embodiments of the present invention, a preset acceleration IP segment is set by a virtual private network service; and setting the DNS server of the mobile terminal as the local DNS server through the virtual private network service.
According to some embodiments of the invention, further comprising:
when the actual IP is determined not to be the accelerated domain name IP, carrying out non-accelerated network request according to the actual IP;
and acquiring the non-accelerated data packet according to the non-accelerated network request, and transmitting the non-accelerated data packet to the target server according to a conventional path.
According to some embodiments of the present invention, the data processor parsing the network request of the acceleration IP, obtaining a data packet corresponding to the network request, and returning the data packet to the acceleration server, includes:
in the transmission process, acquiring an acceleration IP of a data packet, replacing the acceleration IP with an actual IP, and transmitting the data packet to an acceleration server according to the actual IP;
the data processor responds the accelerated IP to the mobile end application through the virtual private network service.
According to some embodiments of the invention, the local DNS server comprises a control node, a primary resolution node and a backup resolution node connected to the control node; a domain name resolution list is arranged in each of the main resolution node and the standby resolution node; the domain name resolution list comprises domain names and IP addresses corresponding to the domain names.
According to some embodiments of the invention, the standby node comprises a plurality;
the performing domain name resolution on the network request of the mobile terminal according to the local DNS server to obtain the actual IP corresponding to the domain name includes:
after receiving a network request of a mobile terminal, a control node judges whether the network request is encryption request data; when the data is determined to be the encryption request data, acquiring an encryption serial number of the encryption request data, inquiring a preset security database according to the encryption serial number to acquire a decryption serial number and decrypting the decryption serial number;
the control node sends the decrypted network request to a main resolving node for domain name resolution, and judges whether a domain name requested to be resolved exists in the domain name resolution list or not; when the domain name requested to be analyzed does not exist in the domain name analysis table, updating the domain name analysis table and broadcasting the updated domain name analysis table to a main analysis node and a standby analysis node;
the control node controls the main analysis node to carry out domain name analysis according to the updated domain name analysis table;
if the control node does not receive the domain name resolution data sent by the main resolution node within a preset time period and indicates that the main resolution node fails, broadcasting the domain name requested to be resolved to a plurality of standby resolution nodes;
the control node receives a plurality of domain name resolution data returned by a plurality of standby resolution nodes; classifying according to the semantics of the domain name resolution data, and counting the number of the domain name resolution data in each class; determining the category comprising the most number of domain name resolution data, further determining the actual IP corresponding to the resolved domain name, and recording the domain name resolution task and the domain name resolution result by the standby node as storage data for storage;
and when the main analysis node eliminates the fault, updating the stored data of the standby analysis node to the main analysis node.
According to some embodiments of the present invention, the performing domain name resolution on the network request of the mobile terminal according to the local DNS server includes:
the control node receives a network request sent by a mobile terminal, generates a network request table, and distributes domain name resolution tasks to a main resolution node and a standby node according to the network request table;
acquiring a first historical analysis record of a main analysis node;
acquiring a second historical analysis record of the standby analysis node;
analyzing the first historical analysis record according to an analysis record analysis model to obtain a first analysis value of a main analysis node; analyzing the second historical analysis record to obtain a second analysis value of the standby analysis node;
analyzing the domain name resolution task based on a domain name resolution task analysis model to obtain a risk value of the domain name resolution task;
distributing the main analysis node and the standby analysis node according to the first analysis value of the main analysis node, the second analysis value of the standby analysis node and the risk value of the domain name analysis task;
and the main analysis node and the standby analysis node execute corresponding distributed domain name analysis tasks.
According to some embodiments of the invention, the acceleration server comprises a source service module and an acceleration node line; the acceleration node line is formed by connecting a plurality of acceleration nodes; the source service module is connected with the plurality of acceleration nodes;
in the working process of the acceleration server, calculating the transmission rate of the acceleration server to the network request and the data packet, and sending an alarm prompt when the transmission rate is determined to be less than the preset transmission rate;
the transmission rate of the calculation acceleration server to the network request and the data packet comprises the following steps:
data size S for processing network request by calculation acceleration server1:
Wherein k is1Correction factors for accelerating the server processing network requests; t isiThe uplink bandwidth of the ith acceleration node; n is the number of acceleration nodes; t is0Serving the upstream bandwidth of the module for the source;
data size S of data packet processed by calculation acceleration server2:
Wherein k is2Correction coefficients for accelerating server processing of data packets; diIs the downlink bandwidth of the ith node; t is1Serving the downlink bandwidth of the module for the source;
data size S for processing network request according to acceleration server1And the data size S of the processing data packet2Calculating the transmission rate W of the acceleration server to the network request and the data packet:
and sending an alarm prompt when the transmission rate is determined to be less than the preset transmission rate.
In order to achieve the above object, a second aspect of the present invention provides an accelerated offloading system for a mobile network, including:
the virtual private network service is used for receiving a network request of the mobile terminal after the mobile terminal starts the acceleration application;
the local DNS server is used for carrying out domain name resolution on the network request of the mobile terminal to acquire an actual IP corresponding to the domain name; judging whether the actual IP is the IP of the accelerated domain name; when the actual IP is determined to be the IP of the accelerated domain name, replacing the actual IP with an accelerated IP in a preset accelerated IP section;
the virtual private network service is also used for transmitting the network request of the accelerated IP to a data processor;
the data processor is used for analyzing the network request of the acceleration IP, acquiring a data packet corresponding to the network request and returning the data packet to the acceleration server;
and the acceleration server is used for transmitting the data packet through an acceleration node line.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 is a flowchart of a method for expedited offloading in a mobile terminal network according to an embodiment of the present invention;
fig. 2 is a block diagram of a mobile network accelerated offloading system according to an embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
As shown in fig. 1, an embodiment of the present invention provides a method for accelerating offloading a mobile network, including steps S1-S7:
s1, starting acceleration application at the mobile terminal, and receiving the network request of the mobile terminal through virtual private network service;
s2, starting a local DNS server, and performing domain name resolution on a network request of a mobile terminal according to the local DNS server to obtain an actual IP corresponding to the domain name;
s3, judging whether the actual IP is the IP of the accelerated domain name;
s4, when the actual IP is determined to be the IP of the accelerated domain name, replacing the actual IP with the accelerated IP in a preset accelerated IP section;
s5, the virtual private network service transmits the network request of the acceleration IP to a data processor;
s6, the data processor analyzes the network request of the acceleration IP, obtains a data packet corresponding to the network request, and returns the data packet to the acceleration server;
and S7, the acceleration server transmits the data packet through an acceleration node line.
The working principle of the technical scheme is as follows: the mobile terminal can be a mobile phone terminal, an acceleration application APP installed on the mobile terminal is opened at the mobile terminal, and the virtual private network service receives a network request of the mobile terminal; the acceleration of the domain name needing to be accelerated is realized by setting a preset acceleration IP section (for example, 198.18.0.0IP section) through a platform function provided by the virtual private network service. The DNS server of the mobile terminal is set to be a local DNS server through the platform function of the virtual private network service, so that the domain name access of the mobile terminal can be analyzed by the local DNS server, and the accuracy of analysis is improved. Performing domain name resolution on a network request of a mobile terminal according to a local DNS server, and in a domain name request stage: judging whether the domain name hits an accelerated domain name white list or not, if so, maintaining the mapping relation between the actual IP and a preset accelerated IP, and using the preset accelerated IP to respond to a DNS request; otherwise, the DNS request is responded to using the actual IP. In the access request phase: the data processor judges the target IP value range of the request data packet, and if the target IP value range is the actual IP, the data packet does not go to the acceleration server; if the IP is the preset acceleration IP, the mapping table is searched, and the target IP of the data packet is replaced by the actual IP to be forwarded to the acceleration server. And the acceleration server transmits the data packet through an acceleration node line. The data processor is a service running in the background and can monitor network requests and network acceleration data. Specifically, when the actual IP corresponding to the domain name a is determined to be within the preset acceleration IP segment, the actual IP "1.1.1.1" is correspondingly replaced with the acceleration IP "198.18.0.1"; the local DNS server diverts all network requests to the actual IP "1.1.1.1" to the accelerated IP "198.18.0.1". The data processor analyzes the network request passing through the acceleration IP '198.18.0.1', returns the acquired data packet to the acceleration server, and the acceleration server performs secondary acceleration on the data packet and rapidly transmits the data packet to the mobile terminal.
The beneficial effects of the above technical scheme are that: judging whether the actual IP is the IP of the accelerated domain name; when the domain name is in the accelerated domain name white list, the actual IP corresponding to the domain name is replaced by the accelerated IP in the preset accelerated IP section, so that the network request for the domain name is converted into the request for the accelerated IP, the acceleration of the network request is further realized, the time for receiving the network request by the data processor is conveniently shortened, and the transmission speed of the network request is improved. And the data processor transmits the data packet to an acceleration server to realize acceleration of the data packet. And (4) not replacing the actual IP which is not in the preset acceleration IP section, and processing according to the non-acceleration flow. Therefore, the purposes of identifying and shunting according to the domain name of the network request are achieved, accurate acceleration of the mobile terminal network is realized, the acceleration width cost is conveniently saved, and unnecessary resource loss is reduced.
According to some embodiments of the present invention, a preset acceleration IP segment is set by a virtual private network service; and setting the DNS server of the mobile terminal as the local DNS server through the virtual private network service.
By the scheme, the accelerating IP section is preset in advance through the virtual private network service, whether the actual IP is in the preset accelerating IP section or not is judged conveniently, the network request needing to be accelerated and the network request not needing to be accelerated are accurately obtained, and the data distribution effect is achieved. And the DNS server of the mobile terminal is set as the local DNS server through the virtual private network service, so that the consistency of DNS is ensured, and all domain names of the mobile terminal are conveniently and accurately analyzed.
According to some embodiments of the invention, further comprising:
when the actual IP is determined to be the IP of the accelerated domain name, carrying out non-accelerated network request according to the actual IP;
and acquiring the non-accelerated data packet according to the non-accelerated network request, and transmitting the non-accelerated data packet to the target server according to a conventional path.
The working principle of the technical scheme is as follows: when the actual IP is determined to be the IP of the acceleration domain name, the data is not accelerated, the data needing to be accelerated and the data not needing to be accelerated are shunted, the network request not needing to be accelerated is processed according to a conventional path, namely an acceleration-free path, and the data packet which is not accelerated is obtained according to the network request not accelerated and is transmitted to the target server according to the conventional path. The target server is a server that receives and applies the data packets.
The beneficial effects of the above technical scheme are that: and accurate shunting of accelerated and non-accelerated data is realized.
According to some embodiments of the present invention, the data processor parsing the network request of the acceleration IP, obtaining a data packet corresponding to the network request, and returning the data packet to the acceleration server, includes:
in the transmission process, acquiring an acceleration IP of a data packet, replacing the acceleration IP with an actual IP, and transmitting the data packet to an acceleration server according to the actual IP;
the data processor responds the accelerated IP to the mobile end application through the virtual private network service.
By the scheme, the data packet is transmitted to the mobile terminal in an accelerated manner, so that the waiting time of a user is reduced, the data access and data acquisition efficiency is improved, and the user experience is improved.
According to some embodiments of the invention, the local DNS server comprises a control node, a primary resolution node and a backup resolution node connected to the control node; a domain name resolution list is arranged in each of the main resolution node and the standby resolution node; the domain name resolution list comprises domain names and IP addresses corresponding to the domain names.
According to some embodiments of the invention, the standby node comprises a plurality;
the performing domain name resolution on the network request of the mobile terminal according to the local DNS server to obtain the actual IP corresponding to the domain name includes:
after receiving a network request of a mobile terminal, a control node judges whether the network request is encryption request data; when the data is determined to be the encryption request data, acquiring an encryption serial number of the encryption request data, inquiring a preset security database according to the encryption serial number to acquire a decryption serial number and decrypting the decryption serial number;
the control node sends the decrypted network request to a main resolving node for domain name resolution, and judges whether a domain name requested to be resolved exists in the domain name resolution list or not; when the domain name requested to be analyzed does not exist in the domain name analysis table, updating the domain name analysis table and broadcasting the updated domain name analysis table to a main analysis node and a standby analysis node;
the control node controls the main analysis node to carry out domain name analysis according to the updated domain name analysis table;
if the control node does not receive the domain name resolution data sent by the main resolution node within a preset time period and indicates that the main resolution node fails, broadcasting the domain name requested to be resolved to a plurality of standby resolution nodes;
the control node receives a plurality of domain name resolution data returned by a plurality of standby resolution nodes; classifying according to the semantics of the domain name resolution data, and counting the number of the domain name resolution data in each class; determining the category comprising the most number of domain name resolution data, further determining the actual IP corresponding to the resolved domain name, and recording the domain name resolution task and the domain name resolution result by the standby node as storage data for storage;
and when the main analysis node eliminates the fault, updating the stored data of the standby analysis node to the main analysis node.
The working principle of the technical scheme is as follows: after receiving a network request of a mobile terminal, a control node judges whether the network request is encryption request data; when the data is determined to be the encryption request data, acquiring an encryption serial number of the encryption request data, inquiring a preset security database according to the encryption serial number to acquire a decryption serial number and decrypting the decryption serial number; the control node sends the decrypted network request to a main resolving node for domain name resolution, and judges whether a domain name requested to be resolved exists in the domain name resolution list or not; when the domain name requested to be analyzed does not exist in the domain name analysis table, updating the domain name analysis table and broadcasting the updated domain name analysis table to a main analysis node and a standby analysis node; the control node controls the main analysis node to carry out domain name analysis according to the updated domain name analysis table; if the control node does not receive the domain name resolution data sent by the main resolution node within a preset time period and indicates that the main resolution node fails, broadcasting the domain name requested to be resolved to a plurality of standby resolution nodes; the control node receives a plurality of domain name resolution data returned by a plurality of standby resolution nodes; classifying according to the semantics of the domain name resolution data, and counting the number of the domain name resolution data in each class; determining the category comprising the most number of domain name resolution data, further determining the actual IP corresponding to the resolved domain name, and recording the domain name resolution task and the domain name resolution result by the standby node as storage data for storage; and when the main analysis node eliminates the fault, updating the stored data of the standby analysis node to the main analysis node.
The beneficial effects of the above technical scheme are that: the control node processes the encrypted network request, so that the subsequent analysis processing of the main analysis node or the standby analysis node is facilitated, the network request is encrypted, the security of the network request data is improved, and the network request is prevented from being stolen in the data transmission process. Firstly, the control node controls the main resolution node to carry out domain name resolution, and before the domain name resolution, whether the domain name which is requested to be resolved exists in the domain name resolution table is checked, so that the main resolution node can carry out accurate resolution. If the control node does not receive the domain name resolution data sent by the main resolution node within the preset time period, the main resolution node is indicated to have a fault, and resolution is carried out through the standby resolution node. Specifically, the actual IP returned by the standby analysis node a is a, the actual IP returned by the standby analysis node B is B, and the actual IP returned by the standby analysis node is a. After the standby node is analyzed, recording the domain name analysis task and the domain name analysis result, and storing the domain name analysis task and the domain name analysis result as storage data; and when the main analysis node eliminates the fault, updating the stored data of the standby analysis node to the main analysis node. The comprehensiveness and accuracy of data collection of the main analysis node are ensured.
According to some embodiments of the present invention, the performing domain name resolution on the network request of the mobile terminal according to the local DNS server includes:
the control node receives a network request sent by a mobile terminal, generates a network request table, and distributes domain name resolution tasks to a main resolution node and a standby node according to the network request table;
acquiring a first historical analysis record of a main analysis node;
acquiring a second historical analysis record of the standby analysis node;
analyzing the first historical analysis record according to an analysis record analysis model to obtain a first analysis value of a main analysis node; analyzing the second historical analysis record to obtain a second analysis value of the standby analysis node;
analyzing the domain name resolution task based on a domain name resolution task analysis model to obtain a risk value of the domain name resolution task;
distributing the main analysis node and the standby analysis node according to the first analysis value of the main analysis node, the second analysis value of the standby analysis node and the risk value of the domain name analysis task;
and the main analysis node and the standby analysis node execute corresponding distributed domain name analysis tasks.
The working principle of the technical scheme is as follows: the network request table is a domain name resolution task determined according to the network request; the analysis record analysis model and the domain name analysis task analysis model are machine models trained in advance. The first analysis value is related to the analysis capability of the main analysis node and represents the analysis level of the main analysis node; the second analysis value and the analysis energy of the standby analysis node represent the analysis level of the standby analysis node; the risk value is the resolution difficulty, resolution error and the like of the domain name resolution task.
The beneficial effects of the above technical scheme are that: distributing the main analysis node and the standby analysis node according to the first analysis value of the main analysis node, the second analysis value of the standby analysis node and the risk value of the domain name analysis task; the main analysis node and the standby analysis node execute corresponding distributed domain name analysis tasks, matching is achieved according to the risk value of the domain name analysis tasks and the analysis value of the distributed analysis nodes, and accuracy of domain name analysis is guaranteed.
According to some embodiments of the invention, the acceleration server comprises a source service module and an acceleration node line; the acceleration node line is formed by connecting a plurality of acceleration nodes; the source service module is connected with the plurality of acceleration nodes;
in the working process of the acceleration server, calculating the transmission rate of the acceleration server to the network request and the data packet, and sending an alarm prompt when the transmission rate is determined to be less than the preset transmission rate;
the transmission rate of the calculation acceleration server to the network request and the data packet comprises the following steps:
data size S for processing network request by calculation acceleration server1:
Wherein k is1Correction factors for accelerating the server processing network requests; t isiThe uplink bandwidth of the ith acceleration node; n is the number of acceleration nodes; t is0Serving the upstream bandwidth of the module for the source;
data size S of data packet processed by calculation acceleration server2:
Wherein k is2Correction coefficients for accelerating server processing of data packets; diIs the downlink bandwidth of the ith node; t is1Serving the downlink bandwidth of the module for the source;
data size S for processing network request according to acceleration server1And the data size S of the processing data packet2Calculating the transmission rate W of the acceleration server to the network request and the data packet:
and sending an alarm prompt when the transmission rate is determined to be less than the preset transmission rate.
The working principle and the beneficial effects of the technical scheme are as follows: the method comprises the steps that data acceleration is achieved through a source service module and an acceleration node line, in the working process of an acceleration server, the transmission rate of the acceleration server to a network request and a data packet is calculated, and when the transmission rate is determined to be smaller than a preset transmission rate, an alarm prompt is sent out; when the acceleration server breaks down, the acceleration server can process the data in time, so that the data transmission efficiency is guaranteed, the waiting time of a user is reduced, and the user experience is improved. According to the data size of the network request processed by the acceleration server and the data size of the data packet processed by the acceleration server, the transmission rate of the network request and the data packet by the acceleration server is accurately calculated, and the accuracy of judging the transmission rate and the preset transmission rate is improved.
In order to achieve the above object, a second aspect of the present invention provides an accelerated offloading system for a mobile network, including:
the virtual private network service is used for receiving a network request of the mobile terminal after the mobile terminal starts the acceleration application;
the local DNS server is used for carrying out domain name resolution on the network request of the mobile terminal to acquire an actual IP corresponding to the domain name; judging whether the actual IP is the IP of the accelerated domain name; when the actual IP is determined to be the IP of the accelerated domain name, replacing the actual IP with an accelerated IP in a preset accelerated IP section;
the virtual private network service is also used for transmitting the network request of the accelerated IP to a data processor;
the data processor is used for analyzing the network request of the acceleration IP, acquiring a data packet corresponding to the network request and returning the data packet to the acceleration server;
and the acceleration server is used for transmitting the data packet through an acceleration node line.
Judging whether the actual IP is the IP of the accelerated domain name; when the domain name is in the accelerated domain name white list, the actual IP corresponding to the domain name is replaced by the accelerated IP in the preset accelerated IP section, so that the network request for the domain name is converted into the request for the accelerated IP, the acceleration of the network request is further realized, the time for receiving the network request by the data processor is conveniently shortened, and the transmission speed of the network request is improved. And the data processor transmits the data packet to an acceleration server to realize acceleration of the data packet. And (4) not replacing the actual IP which is not in the preset acceleration IP section, and processing according to the non-acceleration flow. Therefore, the purposes of identifying and shunting according to the domain name of the network request are achieved, accurate acceleration of the mobile terminal network is realized, the acceleration width cost is conveniently saved, and unnecessary resource loss is reduced.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (9)
1. A method for accelerating offloading of a mobile terminal network is characterized by comprising:
starting an acceleration application at a mobile terminal, and receiving a network request of the mobile terminal through a virtual private network service;
starting a local DNS server, and performing domain name resolution on a network request of a mobile terminal according to the local DNS server to obtain an actual IP corresponding to a domain name;
judging whether the actual IP is the IP of the accelerated domain name;
when the actual IP is determined to be the IP of the accelerated domain name, replacing the actual IP with an accelerated IP in a preset accelerated IP section;
the virtual private network service transmits the network request of the acceleration IP to a data processor;
the data processor analyzes the network request of the acceleration IP, acquires a data packet corresponding to the network request and returns the data packet to the acceleration server;
and the acceleration server transmits the data packet through an acceleration node line.
2. The mobile terminal network accelerated distribution method according to claim 1, wherein the preset accelerated IP segment is set through a virtual private network service; and setting the DNS server of the mobile terminal as the local DNS server through the virtual private network service.
3. The method for accelerating offloading of a mobile terminal network of claim 1, further comprising:
when the actual IP is determined not to be the accelerated domain name IP, carrying out non-accelerated network request according to the actual IP;
and acquiring the non-accelerated data packet according to the non-accelerated network request, and transmitting the non-accelerated data packet to the target server according to a conventional path.
4. The method as claimed in claim 2, wherein the step of the data processor parsing the network request of the acceleration IP, obtaining a data packet corresponding to the network request, and returning the data packet to the acceleration server comprises:
in the transmission process, acquiring an acceleration IP of a data packet, replacing the acceleration IP with an actual IP, and transmitting the data packet to an acceleration server according to the actual IP;
the data processor responds the accelerated IP to the mobile end application through the virtual private network service.
5. The method according to claim 1, wherein the local DNS server includes a control node, a primary resolution node and a backup resolution node, which are connected to the control node; a domain name resolution list is arranged in each of the main resolution node and the standby resolution node; the domain name resolution list comprises domain names and IP addresses corresponding to the domain names.
6. The method for accelerated offloading of a mobile terminal network according to claim 5, wherein the standby node comprises a plurality of nodes;
the performing domain name resolution on the network request of the mobile terminal according to the local DNS server to obtain the actual IP corresponding to the domain name includes:
after receiving a network request of a mobile terminal, a control node judges whether the network request is encryption request data; when the data is determined to be the encryption request data, acquiring an encryption serial number of the encryption request data, inquiring a preset security database according to the encryption serial number to acquire a decryption serial number and decrypting the decryption serial number;
the control node sends the decrypted network request to a main resolving node for domain name resolution, and judges whether a domain name requested to be resolved exists in the domain name resolution list or not; when the domain name requested to be analyzed does not exist in the domain name analysis table, updating the domain name analysis table and broadcasting the updated domain name analysis table to a main analysis node and a standby analysis node;
the control node controls the main analysis node to carry out domain name analysis according to the updated domain name analysis table;
if the control node does not receive the domain name resolution data sent by the main resolution node within a preset time period and indicates that the main resolution node fails, broadcasting the domain name requested to be resolved to a plurality of standby resolution nodes;
the control node receives a plurality of domain name resolution data returned by a plurality of standby resolution nodes; classifying according to the semantics of the domain name resolution data, and counting the number of the domain name resolution data in each class; determining the category comprising the most number of domain name resolution data, further determining the actual IP corresponding to the resolved domain name, and recording the domain name resolution task and the domain name resolution result by the standby node as storage data for storage;
and when the main analysis node eliminates the fault, updating the stored data of the standby analysis node to the main analysis node.
7. The method of claim 5, wherein the mobile terminal network accelerating offloading method,
the performing domain name resolution on the network request of the mobile terminal according to the local DNS server includes:
the control node receives a network request sent by a mobile terminal, generates a network request table, and distributes domain name resolution tasks to a main resolution node and a standby node according to the network request table;
acquiring a first historical analysis record of a main analysis node;
acquiring a second historical analysis record of the standby analysis node;
analyzing the first historical analysis record according to an analysis record analysis model to obtain a first analysis value of a main analysis node; analyzing the second historical analysis record to obtain a second analysis value of the standby analysis node;
analyzing the domain name resolution task based on a domain name resolution task analysis model to obtain a risk value of the domain name resolution task;
distributing the main analysis node and the standby analysis node according to the first analysis value of the main analysis node, the second analysis value of the standby analysis node and the risk value of the domain name analysis task;
and the main analysis node and the standby analysis node execute corresponding distributed domain name analysis tasks.
8. The mobile terminal network acceleration offload method according to claim 1, wherein the acceleration server comprises a source service module and an acceleration node line; the acceleration node line is formed by connecting a plurality of acceleration nodes; the source service module is connected with the plurality of acceleration nodes;
in the working process of the acceleration server, calculating the transmission rate of the acceleration server to the network request and the data packet, and sending an alarm prompt when the transmission rate is determined to be less than the preset transmission rate;
the transmission rate of the calculation acceleration server to the network request and the data packet comprises the following steps:
data size S for processing network request by calculation acceleration server1:
Wherein k is1Correction factors for accelerating the server processing network requests; t isiThe uplink bandwidth of the ith acceleration node; n is the number of acceleration nodes; t is0Serving the upstream bandwidth of the module for the source;
data size S of data packet processed by calculation acceleration server2:
Wherein k is2Correction coefficients for accelerating server processing of data packets; diIs the downlink bandwidth of the ith node; t is1Serving a sourceThe downlink bandwidth of the module;
data size S for processing network request according to acceleration server1And the data size S of the processing data packet2Calculating the transmission rate W of the acceleration server to the network request and the data packet:
and sending an alarm prompt when the transmission rate is determined to be less than the preset transmission rate.
9. A mobile terminal network accelerated distribution system is characterized by comprising:
the virtual private network service is used for receiving a network request of the mobile terminal after the mobile terminal starts the acceleration application;
the local DNS server is used for carrying out domain name resolution on the network request of the mobile terminal to acquire an actual IP corresponding to the domain name; judging whether the actual IP is the IP of the accelerated domain name; when the actual IP is determined to be the IP of the accelerated domain name, replacing the actual IP with an accelerated IP in a preset accelerated IP section;
the virtual private network service is also used for transmitting the network request of the accelerated IP to a data processor;
the data processor is used for analyzing the network request of the acceleration IP, acquiring a data packet corresponding to the network request and returning the data packet to the acceleration server;
and the acceleration server is used for transmitting the data packet through an acceleration node line.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011456385.4A CN112600952B (en) | 2020-12-10 | 2020-12-10 | Method and system for accelerating distribution of mobile terminal network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011456385.4A CN112600952B (en) | 2020-12-10 | 2020-12-10 | Method and system for accelerating distribution of mobile terminal network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112600952A true CN112600952A (en) | 2021-04-02 |
CN112600952B CN112600952B (en) | 2022-09-27 |
Family
ID=75192767
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011456385.4A Active CN112600952B (en) | 2020-12-10 | 2020-12-10 | Method and system for accelerating distribution of mobile terminal network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112600952B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113438108A (en) * | 2021-06-22 | 2021-09-24 | 京信网络系统股份有限公司 | Communication acceleration method, device, base station and computer readable storage medium |
CN113507393A (en) * | 2021-09-08 | 2021-10-15 | 腾讯科技(深圳)有限公司 | Data acceleration transmission method and device, computer equipment and storage medium |
CN114968391A (en) * | 2021-05-26 | 2022-08-30 | 中移互联网有限公司 | Application program acceleration method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100180046A1 (en) * | 2009-01-13 | 2010-07-15 | Viasat, Inc. | Deltacasting |
CN105681491A (en) * | 2016-04-08 | 2016-06-15 | 网宿科技股份有限公司 | DNS (Domain Name Resolution) acceleration method, system and device |
CN105791315A (en) * | 2016-04-25 | 2016-07-20 | 网宿科技股份有限公司 | Method and system for accelerating UDP protocol |
CN108259237A (en) * | 2018-01-05 | 2018-07-06 | 葛晗 | Network access accelerated method, cloud dns server, CE and cloud IP accelerate network system |
CN108429701A (en) * | 2018-02-08 | 2018-08-21 | 四川速宝网络科技有限公司 | network acceleration system |
-
2020
- 2020-12-10 CN CN202011456385.4A patent/CN112600952B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100180046A1 (en) * | 2009-01-13 | 2010-07-15 | Viasat, Inc. | Deltacasting |
CN105681491A (en) * | 2016-04-08 | 2016-06-15 | 网宿科技股份有限公司 | DNS (Domain Name Resolution) acceleration method, system and device |
CN105791315A (en) * | 2016-04-25 | 2016-07-20 | 网宿科技股份有限公司 | Method and system for accelerating UDP protocol |
CN108259237A (en) * | 2018-01-05 | 2018-07-06 | 葛晗 | Network access accelerated method, cloud dns server, CE and cloud IP accelerate network system |
CN108429701A (en) * | 2018-02-08 | 2018-08-21 | 四川速宝网络科技有限公司 | network acceleration system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114968391A (en) * | 2021-05-26 | 2022-08-30 | 中移互联网有限公司 | Application program acceleration method and device |
CN114968391B (en) * | 2021-05-26 | 2023-07-25 | 中移互联网有限公司 | Application acceleration method and device |
CN113438108A (en) * | 2021-06-22 | 2021-09-24 | 京信网络系统股份有限公司 | Communication acceleration method, device, base station and computer readable storage medium |
CN113438108B (en) * | 2021-06-22 | 2022-11-29 | 京信网络系统股份有限公司 | Communication acceleration method, device, base station and computer readable storage medium |
CN113507393A (en) * | 2021-09-08 | 2021-10-15 | 腾讯科技(深圳)有限公司 | Data acceleration transmission method and device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112600952B (en) | 2022-09-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7144117B2 (en) | Model training system and method and storage medium | |
CN112600952B (en) | Method and system for accelerating distribution of mobile terminal network | |
CN110995513B (en) | Data sending and receiving method in Internet of things system, internet of things equipment and platform | |
CN113746679B (en) | Cross-subdomain communication operation and maintenance method, total operation and maintenance server and medium | |
CN108429701B (en) | Network acceleration system | |
CN108900374B (en) | Data processing method and device applied to DPI equipment | |
CN104025521A (en) | Content transmitting system, method for optimizing network traffic in the system, central control device and local caching device | |
CN112632129A (en) | Code stream data management method, device and storage medium | |
CN105100032A (en) | Method and apparatus for preventing resource steal | |
CN110990335B (en) | Log archiving method, device, equipment and computer readable storage medium | |
CN111770022B (en) | Capacity expansion method, system, equipment and computer storage medium based on link monitoring | |
CN109714214B (en) | Server exception handling method and management equipment | |
EP3579526B1 (en) | Resource file feedback method and apparatus | |
CN110543509B (en) | Monitoring system, method and device for user access data and electronic equipment | |
CN111641684A (en) | Method and system for adapting vehicle operation signal and remote control signal data | |
CN117761255A (en) | Pollution monitoring method, system, device and program product | |
CN113778709B (en) | Interface calling method, device, server and storage medium | |
CN112699000A (en) | Data processing method and device, readable storage medium and electronic equipment | |
CN116170352A (en) | Network traffic processing method and device, electronic equipment and storage medium | |
CN113449159B (en) | Node data processing method, device, equipment and computer readable storage medium | |
CN115664992A (en) | Network operation data processing method and device, electronic equipment and medium | |
CN116132625A (en) | Supervision method and device for transaction flow | |
CN115756888A (en) | Data processing method, processor, device and storage medium | |
CN114091864A (en) | Plan drilling scheduling method, system and storage medium | |
CN115344534A (en) | File downloading method and device, computer equipment and storage medium |
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 |