CN111182607B - Double-path forwarding acceleration method based on 4G router - Google Patents
Double-path forwarding acceleration method based on 4G router Download PDFInfo
- Publication number
- CN111182607B CN111182607B CN201911422308.4A CN201911422308A CN111182607B CN 111182607 B CN111182607 B CN 111182607B CN 201911422308 A CN201911422308 A CN 201911422308A CN 111182607 B CN111182607 B CN 111182607B
- Authority
- CN
- China
- Prior art keywords
- path
- forwarding path
- forwarding
- data
- main
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/02—Communication route or path selection, e.g. power-based or shortest path routing
- H04W40/12—Communication route or path selection, e.g. power-based or shortest path routing based on transmission quality or channel quality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/02—Communication route or path selection, e.g. power-based or shortest path routing
- H04W40/12—Communication route or path selection, e.g. power-based or shortest path routing based on transmission quality or channel quality
- H04W40/125—Communication route or path selection, e.g. power-based or shortest path routing based on transmission quality or channel quality using a measured number of retransmissions as a link metric
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a double-path forwarding acceleration method based on a 4G router, which comprises the following steps: pre-judging a first forwarding path and a second forwarding path of the 4G router, and determining whether the first forwarding path and the second forwarding path can be normally used; if so, on the basis that the network state meets the preset acceleration condition, measuring the speed of the first forwarding path and the second forwarding path for respectively sending the network packet to the reference target IP cluster, and performing main and auxiliary path distribution on the first forwarding path and the second forwarding path according to the measured speed result; otherwise, the dual-path forwarding acceleration strategy is not used. By using the double-path forwarding acceleration scheme, the forwarding paths are flexibly switched, and a better path is selected to realize data forwarding, so that the aim of accelerating the global area network is fulfilled.
Description
Technical Field
The invention relates to the technical field of communication networks, in particular to a dual-path forwarding acceleration method based on a 4G router.
Background
With the development of intelligent terminals and the increasing change of network technologies, people have higher and higher requirements on network quality, wherein the network quality generally refers to the speed of a network. Therefore, the router integrated with the 4G module, referred to as a 4G router for short, is also beginning to be widely applied to various network scenarios, and how to effectively utilize the 4G module on the router and apply the router to the acceleration of the global area network becomes a feasible way to improve the network environment.
Disclosure of Invention
The invention provides a double-path forwarding acceleration method based on a 4G router, which is used for flexibly switching forwarding paths by using a double-path forwarding acceleration scheme, selecting a better path to realize data forwarding and achieving the aim of accelerating a global area network.
The embodiment of the invention provides a double-path forwarding acceleration method based on a 4G router, which comprises the following steps:
pre-judging a first forwarding path and a second forwarding path of a 4G router, and determining whether the first forwarding path and the second forwarding path can be normally used;
if so, on the basis that the network state meets a preset acceleration condition, measuring the speed of the first forwarding path and the second forwarding path for respectively sending network packets to the reference target IP cluster, and performing main and auxiliary path distribution on the first forwarding path and the second forwarding path according to the measured speed result;
otherwise, the dual-path forwarding acceleration strategy is not used.
In one possible way of realisation,
the measuring the speeds of the first forwarding path and the second forwarding path for sending the network packets to the reference target IP cluster respectively, and performing main and auxiliary path allocation on the first forwarding path and the second forwarding path according to the measured speed results, wherein the measuring the speeds of the first forwarding path and the second forwarding path for sending the network packets to the reference target IP cluster respectively comprises:
obtaining the network access frequency of the ith IP in the preset region in the reference target IP cluster based on the forwarding path;
According to the network access frequency of the ith IP in a preset regionAnd equation (1) determining the weight of the ith IP;
Wherein E represents a network access frequency constant determined based on big data, and the weight corresponding to E is 1;indicating the network access frequency of the ith IP in the reference target IP cluster in a preset region based on the jth forwarding path;representing a weight of the ith IP based on the jth forwarding path; wherein j =1, 2; i =0, 1, 2.. n; n is a natural number;
determining the speed of sending the network packet to the reference target IP cluster by the first forwarding path and the second forwarding path according to a formula (2);
wherein the content of the first and second substances,indicating that the delay data of ith IP in the speed measuring process is based on jth forwarding path; n represents the total number of IPs in the reference target IP cluster; i represents the ith IP of the n IPs;indicating the measured transmission speed results obtained based on the jth forwarding path.
In one possible way of realisation,
the process of allocating the primary and secondary paths to the first forwarding path and the second forwarding path according to the measured sending speed result includes:
if the measured transmission speed resultsIs the transmission speed of the first forwarding pathGreater than the transmission speed of the second forwarding pathIf yes, the first forwarding path is judged to be a main path, and the second forwarding path is judged to be an auxiliary path;
otherwise, the second forwarding path is judged to be the main path, and the first forwarding path is the auxiliary path.
In one possible way of realisation,
when j =1, a first forwarding path is indicated;
when j =2, a second forwarding path is indicated.
In one possible way of realisation,
after the primary and secondary paths are allocated to the first forwarding path and the second forwarding path according to the measured speed result, the method further includes:
transmitting transceiving data through the main path, and monitoring the network quality of the main path for transmitting the transceiving data;
starting a standby mode of the auxiliary path;
when the first quality value of the network quality of the main path for transmitting the transceiving data is smaller than a preset value, controlling the auxiliary path in the standby mode to acquire the transceiving data and start transmission work;
and simultaneously, measuring the speed of the data target IP forwarded by the main path in the preset timing time period according to the preset timing time.
In one possible way of realisation,
in the process of measuring the speed of the data target IP forwarded by the main path within the preset timing period, the method further includes:
monitoring the network quality of the main path of the forwarded data target IP, if the second quality value is greater than a preset value, switching from the auxiliary path to the main path, and stopping the transmission work of the auxiliary path;
meanwhile, transmitting transceiving data through the main path is continued, and the subsequent operation of the network quality of the transceiving data transmitted by the main path is monitored.
In one possible way of realisation,
the process of measuring the speed of the forwarded data target IP in the preset timing period of the main path includes:
obtaining the main pathSpeed measurement delay data of forwarding data target IPAnd obtaining an average delay result R based on the main path according to formula (3);
wherein the content of the first and second substances,speed measurement delay data representing an h-th target data IP in m target data IPs in a speed measurement process based on the main path; m represents the total number of the target data IPs;
comparing the average delay result R with the current network average delay result, and judging whether to switch back to the main path;
when the average delay result R is smaller than the average delay result of the current network, judging to switch back to the main path;
otherwise, judging not to switch to the main path.
In one possible way of realisation,
the target data IP is a preferred IP speed measurement group in the reference target IP cluster, and the preferred IP speed measurement group comprises m target data IPs.
In one possible way of realisation,
the process of pre-judging a first forwarding path and a second forwarding path of a 4G router and determining whether the first forwarding path and the second forwarding path can be normally used comprises the following steps: judging the data response information of the network data forwarded by the first forwarding path and the second forwarding path, wherein the judging process comprises the following steps:
receiving network data and a response request instruction which are forwarded by a forwarding path at the same time;
judging whether the network data and the response request instruction are consistent;
if the response request instruction is consistent with the response request instruction, mapping the response request instruction based on a preset first mapping table; otherwise, judging that the forwarding path can not be normally used;
when the mapping processing result is that the response request instruction and the mapping address of the first mapping table are mapped with each other, judging that the forwarding path can be normally used;
otherwise, judging whether a branch node mapped with the response request instruction exists in the mapping topology tree or not based on a preset mapping topology tree;
if yes, determining all branches formed by root nodes and leaf nodes corresponding to the branch nodes, and calculating the response granularity of each branch;
if not, judging that the forwarding path cannot be normally used;
according to a priority sorting rule, performing priority sorting on the calculated response granularity of each branch, and determining whether the optimal response granularity is larger than a preset granularity or not;
if yes, judging that the forwarding path can be normally used;
otherwise, judging that the forwarding path can not be normally used.
In one possible way of realisation,
determining the allocation of the main and auxiliary paths of the first forwarding path and the second forwarding path according to the transmission stability probability of the first forwarding path and the second forwarding path, which comprises the following specific steps:
step 1, determining the transmission rates of the first forwarding path and the second forwarding path;
wherein the content of the first and second substances,for the transmission rate of the first forwarding path,for the signal extent of the first forwarding path,is the number of transport network packets;
wherein the content of the first and second substances,for the transmission rate of the second forwarding path,for the signal extent of the second forwarding path,is the number of transport network packets;
step 2, obtaining the stable transmission probability of the first forwarding path and the second forwarding path;
wherein the content of the first and second substances,for a stable transmission probability of the first forwarding path,for the transmission rate of the first forwarding path,is a preset time;
wherein the content of the first and second substances,for a stable transmission probability of the second forwarding path,for the transmission rate of the second forwarding path,is a preset time;
step 3, determining a main path and an auxiliary path according to the stable transmission probability of the first forwarding path and the second forwarding path;
when in useIf so, the first forwarding path is a main path, and the second forwarding path is an auxiliary path; when in useAnd if so, the first forwarding path is an auxiliary path, and the second forwarding path is a main path.
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 claims hereof as well as the appended 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 dual-path forwarding acceleration method based on a 4G router in an embodiment of the present invention;
fig. 2 is a flowchart of an embodiment of a dual-path forwarding acceleration method according to an embodiment of the present invention;
fig. 3 is a flowchart of main and auxiliary path switching in the 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.
An embodiment of the present invention provides a dual-path forwarding acceleration method based on a 4G router, as shown in fig. 1, including:
step 1: pre-judging a first forwarding path and a second forwarding path of a 4G router, and determining whether the first forwarding path and the second forwarding path can be normally used;
step 2: if so, on the basis that the network state meets a preset acceleration condition, measuring the speed of the first forwarding path and the second forwarding path for respectively sending network packets to the reference target IP cluster, and performing main and auxiliary path distribution on the first forwarding path and the second forwarding path according to the measured speed result;
and step 3: otherwise, the dual-path forwarding acceleration strategy is not used.
Steps 1-3 employed are to use an acceleration scheme on the 4G router and are not limited to generalized acceleration of fixed IP acceleration (global area network acceleration).
As shown in fig. 2, before performing step 1, initializing a dual-path forwarding acceleration module when starting acceleration on the 4G router;
the above-mentioned dual path includes: a first forwarding path and a second forwarding path, wherein the first forwarding path is, for example, a traditional routing forwarding path, and the second forwarding path is, for example, a 4G forwarding path;
the main and auxiliary path distribution is also a corresponding first forwarding path and a second forwarding path;
when the forwarding of the traditional route is superior, the forwarding of the traditional route is used as a main path, and the forwarding of the 4G is used as an auxiliary path; when the 4G forwarding is superior, the 4G forwarding is used as a primary path, and the traditional route forwarding is used as a secondary path.
The above determining whether the first forwarding path and the second forwarding path can be both used normally is to provide a switching basis for subsequent path switching;
the pre-determination may be to determine whether each forwarding path is responded by another device, and the like;
the network state satisfies a preset acceleration condition, for example: the network state is network, and the preset acceleration condition is that the transmission speed is as follows: 1M/S; when a network exists and the network speed is higher than the transmission speed, carrying out subsequent operation;
the reference target IP cluster is preset;
the speed result of the above measurement may be: a transmission speed of the first forwarding path and a transmission speed of the second forwarding path.
The above-mentioned not using the dual-path forwarding acceleration strategy means that the step 2 is not executed and the process is ended directly.
The beneficial effects of the above technical scheme are: by using the double-path forwarding acceleration scheme, the forwarding paths are flexibly switched, and a better path is selected to realize data forwarding, so that the aim of accelerating the global area network is fulfilled.
The embodiment of the invention provides a dual-path forwarding acceleration method based on a 4G router, wherein the measuring of the speed of a first forwarding path and the speed of a second forwarding path for respectively sending network packets to a reference target IP cluster, and the measuring of the speed of the first forwarding path and the speed of the second forwarding path for respectively sending the network packets to the reference target IP cluster in the main and auxiliary path distribution of the first forwarding path and the second forwarding path according to the measured speed result comprise:
obtaining the network access frequency of the ith IP in the preset region in the reference target IP cluster based on the forwarding path;
According to the network access frequency of the ith IP in a preset regionAnd equation (1) determining the weight of the ith IP;
Wherein E represents a network access frequency constant determined based on big data, and the weight corresponding to E is 1;indicating the network access frequency of the ith IP in the reference target IP cluster in a preset region based on the jth forwarding path;representing a weight of the ith IP based on the jth forwarding path; wherein j =1, 2; i =0, 1, 2.. n; n is a natural number;
determining the speed of sending the network packet to the reference target IP cluster by the first forwarding path and the second forwarding path according to a formula (2);
wherein the content of the first and second substances,indicating that the delay data of ith IP in the speed measuring process is based on jth forwarding path; n represents the total number of IPs in the reference target IP cluster; i represents the ith IP of the n IPs;indicating the measured transmission speed results obtained based on the jth forwarding path.
The beneficial effects of the above technical scheme are: the speed of transmitting network packets to a reference target IP cluster by traditional route forwarding and 4G forwarding is realized through a formula (1) and a formula (2), a main path and an auxiliary path are convenient to determine, a better path is selected to realize data forwarding, and the aim of accelerating a global area network is fulfilled.
The embodiment of the invention provides a double-path forwarding acceleration method based on a 4G router, wherein the process of distributing a first forwarding path and a second forwarding path according to a measured sending speed result comprises the following steps:
if the measured transmission speed resultsIs the transmission speed of the first forwarding pathGreater than the transmission speed of the second forwarding pathIf yes, the first forwarding path is judged to be a main path, and the second forwarding path is judged to be an auxiliary path;
otherwise, the second forwarding path is judged to be the main path, and the first forwarding path is the auxiliary path.
Preferably, when j =1, a first forwarding path is indicated; when j =2, a second forwarding path is indicated.
The beneficial effects of the above technical scheme are: the first forwarding path and the second forwarding path are determined conveniently according to the sending speed, so that a better path is selected conveniently to realize data forwarding.
An embodiment of the present invention provides a dual-path forwarding acceleration method based on a 4G router, where as shown in fig. 3, after performing primary and secondary path allocation on a first forwarding path and a second forwarding path according to a measured speed result, the method further includes:
transmitting transceiving data through the main path, and monitoring the network quality of the main path for transmitting the transceiving data;
starting a standby mode of the auxiliary path;
when the first quality value of the network quality of the main path for transmitting the transceiving data is smaller than a preset value, controlling the auxiliary path in the standby mode to acquire the transceiving data and start transmission work;
and simultaneously, measuring the speed of the data target IP forwarded by the main path in the preset timing time period according to the preset timing time.
Preferably, the measuring the speed of the data target IP forwarded by the primary path in the preset time period further includes:
monitoring the network quality of the main path of the forwarded data target IP, if the second quality value is greater than a preset value, switching from the auxiliary path to the main path, and stopping the transmission work of the auxiliary path;
meanwhile, transmitting transceiving data through the main path is continued, and the subsequent operation of the network quality of the transceiving data transmitted by the main path is monitored.
The main path network quality is good, namely the first quality value is larger than a preset value; and taking over and forwarding the data by using the auxiliary path, wherein the purpose is to receive and transmit the data in the main path, and simultaneously monitor the network quality of the main path, and the purpose is to acquire the second quality value of the main path.
The network quality can be measured by mobile phone software or a network speed measurement website, if the downloading speed is high, the network quality is judged to be good, and if the downloading speed is slow or no network exists, the network quality is judged to be poor;
and the network quality can be determined by grading the speed measurement value of the network speed measurement, for example: when the network transmission speed or the speed measured by the speed measuring device is as follows: 1M/S and above, the network quality is considered to be good, wherein 1M/S is taken as a preset value, and the first quality value and the second quality value can refer to network speed values.
The preset time period refers to a period of time.
The standby mode is to facilitate the auxiliary path to work at any time and ensure the completeness of data transmission.
The beneficial effects of the above technical scheme are: when the terminal forwards data through the 4G router, when the quality of the data forwarded by the main path is poor, the auxiliary path is used for forwarding the data, so that the real-time performance of data transmission is ensured, the forwarding efficiency is increased, the acceleration effect is realized, and the reliability of the data transmission is ensured.
The embodiment of the invention provides a dual-path forwarding acceleration method based on a 4G router,
the process of measuring the speed of the forwarded data target IP in the preset timing period of the main path includes:
obtaining speed measurement delay data of main path forwarding data target IPAnd obtaining an average delay result R based on the main path according to formula (3);
wherein the content of the first and second substances,speed measurement delay data representing an h-th target data IP in m target data IPs in a speed measurement process based on the main path; m represents the total number of the target data IPs;
comparing the average delay result R with the current network average delay result, and judging whether to switch back to the main path;
when the average delay result R is smaller than the average delay result of the current network, judging to switch back to the main path;
otherwise, judging not to switch to the main path.
Preferably, the target data IP is a preferred IP speed measurement group in the reference target IP cluster, and the preferred IP speed measurement group includes m target data IPs.
The average delay result of the current network is an actual result obtained by measuring the current transmission network in real time.
The beneficial effects of the above technical scheme are: the speed measurement is more targeted by preferably selecting the IP speed measurement group, the reliability of path switching is ensured, and whether the path is switched or not is convenient to determine by measuring the speed of the preferably selected IP speed measurement group.
The embodiment of the invention provides a dual-path forwarding acceleration method based on a 4G router,
the process of pre-judging a first forwarding path and a second forwarding path of a 4G router and determining whether the first forwarding path and the second forwarding path can be normally used comprises the following steps: judging the data response information of the network data forwarded by the first forwarding path and the second forwarding path, wherein the judging process comprises the following steps:
receiving network data and a response request instruction which are forwarded by a forwarding path at the same time;
judging whether the network data and the response request instruction are consistent;
if the response request instruction is consistent with the response request instruction, mapping the response request instruction based on a preset first mapping table; otherwise, judging that the forwarding path can not be normally used;
when the mapping processing result is that the response request instruction and the mapping address of the first mapping table are mapped with each other, judging that the forwarding path can be normally used;
otherwise, judging whether a branch node mapped with the response request instruction exists in the mapping topology tree or not based on a preset mapping topology tree;
if yes, determining all branches formed by root nodes and leaf nodes corresponding to the branch nodes, and calculating the response granularity of each branch;
if not, judging that the forwarding path cannot be normally used;
according to a priority sorting rule, performing priority sorting on the calculated response granularity of each branch, and determining whether the optimal response granularity is larger than a preset granularity or not;
if yes, judging that the forwarding path can be normally used;
otherwise, judging that the forwarding path can not be normally used.
The above-mentioned judging the dual paths may be to judge whether the two paths can be used normally at the same time, or to judge whether one of the paths is used normally, and to judge whether the other path is used normally, wherein, when only one of the two paths is not used normally, the dual-path forwarding acceleration strategy is not adopted;
the above-mentioned judging whether the network data and the response request command are consistent is to ensure the matching degree of the response request command and the network data sent by the same path at the same time, and ensure the accuracy of the data transmitted by the path;
the first mapping table may be a simple two-dimensional mapping table, and the table includes a response result related to a response request command, for example: the response request instruction is an account password identification instruction, if a response result related to the account password identification instruction exists in the two-dimensional mapping table in the response terminal, the response result is as follows: receiving an account number identification instruction, feeding back a feedback instruction of the account number password identification instruction, and judging that the forwarding path being judged can be normally used if the mapping address of the account number password identification instruction is consistent with the mapping address of the feedback instruction, wherein the mapping at the moment is linear mapping;
the mapping topology tree is used for further mapping the response request command with mapping failure, and the mapping at the moment is tree mapping;
determining all branches formed by root nodes and leaf nodes corresponding to the branch nodes again by determining that the branch nodes mapped with the response request instruction exist in the mapping topology tree, and calculating the response granularity of each branch;
wherein, the response granularity is the association strength of the response request instruction and the branch;
the priority ordering rule is used for carrying out priority ordering on the response granularity of each branch and determining the branch with the optimal response granularity larger than the preset granularity;
wherein the preset granularity is a preset response granularity;
the above-mentioned optimal response granularity refers to the branch with the strongest correlation strength.
The beneficial effects of the above technical scheme are: by judging the data response information of the network data forwarded by the first forwarding path and the second forwarding path, the usable reliability of the first forwarding path and the second forwarding path can be conveniently determined, and a data basis is provided for dual-path acceleration.
The embodiment of the invention provides a dual-path forwarding acceleration method based on a 4G router,
determining the allocation of the main and auxiliary paths of the first forwarding path and the second forwarding path according to the transmission stability probability of the first forwarding path and the second forwarding path, which comprises the following specific steps:
step 1, determining the transmission rates of the first forwarding path and the second forwarding path;
wherein the content of the first and second substances,for the transmission rate of the first forwarding path,for the signal extent of the first forwarding path,is the number of transport network packets;
wherein the content of the first and second substances,for the transmission rate of the second forwarding path,for the signal extent of the second forwarding path,is the number of transport network packets;
step 2, obtaining the stable transmission probability of the first forwarding path and the second forwarding path;
wherein the content of the first and second substances,for a stable transmission probability of the first forwarding path,for the transmission rate of the first forwarding path,is a preset time;
wherein the content of the first and second substances,for a stable transmission probability of the second forwarding path,for the transmission rate of the second forwarding path,is a preset time;
step 3, determining a main path and an auxiliary path according to the stable transmission probability of the first forwarding path and the second forwarding path;
when in useIf so, the first forwarding path is a main path, and the second forwarding path is an auxiliary path; when in useAnd if so, the first forwarding path is an auxiliary path, and the second forwarding path is a main path.
Has the advantages that: firstly, calculating the transmission rates of the first forwarding path and the second forwarding path, then obtaining a stable transmission probability by using the transmission rates, and finally determining the main and auxiliary path distribution of the first forwarding path and the second forwarding path according to the stable transmission probability. By using the technology, the 4G router can select the main path to transmit the network packet in the transmission process, so that efficient and stable transmission is achieved.
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 dual-path forwarding acceleration method based on a 4G router is characterized by comprising the following steps:
pre-judging a first forwarding path and a second forwarding path of a 4G router, and determining whether the first forwarding path and the second forwarding path can be normally used;
if so, on the basis that the network state meets a preset acceleration condition, measuring the speed of the first forwarding path and the second forwarding path for respectively sending network packets to the reference target IP cluster, and performing main and auxiliary path distribution on the first forwarding path and the second forwarding path according to the measured speed result;
otherwise, the dual-path forwarding acceleration strategy is not used;
determining the allocation of the main and auxiliary paths of the first forwarding path and the second forwarding path according to the transmission stability probability of the first forwarding path and the second forwarding path, which comprises the following specific steps:
step 1, determining the transmission rates of the first forwarding path and the second forwarding path;
wherein the content of the first and second substances,for the transmission rate of the first forwarding path,for the signal extent of the first forwarding path,is the number of transport network packets;
wherein the content of the first and second substances,for the transmission rate of the second forwarding path,for the signal extent of the second forwarding path,is the number of transport network packets;
step 2, obtaining the stable transmission probability of the first forwarding path and the second forwarding path;
wherein the content of the first and second substances,for a stable transmission probability of the first forwarding path,for the transmission rate of the first forwarding path,is a preset time;
wherein the content of the first and second substances,for a stable transmission probability of the second forwarding path,for the transmission rate of the second forwarding path,is a preset time;
step 3, determining a main path and an auxiliary path according to the stable transmission probability of the first forwarding path and the second forwarding path;
2. The method according to claim 1, wherein the measuring the speeds of the first forwarding path and the second forwarding path for sending network packets to the reference target IP cluster respectively, and in the primary and secondary path allocation for the first forwarding path and the second forwarding path according to the measured speed results, the measuring the speeds of the first forwarding path and the second forwarding path for sending network packets to the reference target IP cluster respectively comprises:
obtaining the network access frequency of the ith IP in the preset region in the reference target IP cluster based on the forwarding path;
According to the network access frequency of the ith IP in a preset regionAnd equation (1) determining the weight of the ith IP;
Wherein E represents a network access frequency constant determined based on big data, and the weight corresponding to E is 1;indicating the network access frequency of the ith IP in the reference target IP cluster in a preset region based on the jth forwarding path;representing a weight of the ith IP based on the jth forwarding path; wherein j =1, 2; i =0, 1, 2.. n; n is a natural number;
determining the speed of sending the network packet to the reference target IP cluster by the first forwarding path and the second forwarding path according to a formula (2);
wherein the content of the first and second substances,indicating that the delay data of ith IP in the speed measuring process is based on jth forwarding path; n represents the total number of IPs in the reference target IP cluster; i represents the ith IP of the n IPs;indicating the measured transmission speed results obtained based on the jth forwarding path.
3. The method of claim 2, wherein the step of assigning the primary and secondary paths to the first forwarding path and the second forwarding path according to the measured transmission speed comprises:
if the measured transmission speed resultsIs the transmission speed of the first forwarding pathGreater than the transmission speed of the second forwarding pathIf yes, the first forwarding path is determined to be the main pathThe second forwarding path is a secondary path;
otherwise, the second forwarding path is judged to be the main path, and the first forwarding path is the auxiliary path.
4. The method of claim 3,
when j =1, a first forwarding path is indicated;
when j =2, a second forwarding path is indicated.
5. The method of claim 3, wherein after the allocating the primary and secondary paths to the first forwarding path and the second forwarding path according to the measured speed result, further comprising:
transmitting transceiving data through the main path, and monitoring the network quality of the main path for transmitting the transceiving data;
starting a standby mode of the auxiliary path;
when the first quality value of the network quality of the main path for transmitting the transceiving data is smaller than a preset value, controlling the auxiliary path in the standby mode to acquire the transceiving data and start transmission work;
and simultaneously, measuring the speed of the data target IP forwarded by the main path in the preset timing time period according to the preset timing time.
6. The method according to claim 5, wherein the measuring the speed of the data target IP forwarded by the primary path within the predetermined timing period further comprises:
monitoring the network quality of the main path of the forwarded data target IP, if the second quality value is greater than a preset value, switching from the auxiliary path to the main path, and stopping the transmission work of the auxiliary path;
meanwhile, transmitting transceiving data through the main path is continued, and the subsequent operation of the network quality of the transceiving data transmitted by the main path is monitored.
7. The method according to claim 5, wherein the process of measuring the speed of the forwarded data target IP of the primary path within the preset timing period comprises:
obtaining speed measurement delay data of main path forwarding data target IPAnd obtaining an average delay result R based on the main path according to formula (3);
wherein the content of the first and second substances,speed measurement delay data representing an h-th target data IP in m target data IPs in a speed measurement process based on the main path; m represents the total number of the target data IPs;
comparing the average delay result R with the current network average delay result, and judging whether to switch back to the main path;
when the average delay result R is smaller than the average delay result of the current network, judging to switch back to the main path;
otherwise, judging not to switch to the main path.
8. The method of claim 7,
the target data IP is a preferred IP speed measurement group in the reference target IP cluster, and the preferred IP speed measurement group comprises m target data IPs.
9. The method of claim 1, wherein the pre-determining the first forwarding path and the second forwarding path of the 4G router and determining whether the first forwarding path and the second forwarding path are both normally usable comprises: judging the data response information of the network data forwarded by the first forwarding path and the second forwarding path, wherein the judging process comprises the following steps:
receiving network data and a response request instruction which are forwarded by a forwarding path at the same time;
judging whether the network data and the response request instruction are consistent;
if the response request instruction is consistent with the response request instruction, mapping the response request instruction based on a preset first mapping table; otherwise, judging that the forwarding path can not be normally used;
when the mapping processing result is that the response request instruction and the mapping address of the first mapping table are mapped with each other, judging that the forwarding path can be normally used;
otherwise, judging whether a branch node mapped with the response request instruction exists in the mapping topology tree or not based on a preset mapping topology tree;
if yes, determining all branches formed by root nodes and leaf nodes corresponding to the branch nodes, and calculating the response granularity of each branch;
if not, judging that the forwarding path cannot be normally used;
according to a priority sorting rule, performing priority sorting on the calculated response granularity of each branch, and determining whether the optimal response granularity is larger than a preset granularity or not;
if yes, judging that the forwarding path can be normally used;
otherwise, judging that the forwarding path can not be normally used.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911422308.4A CN111182607B (en) | 2019-12-30 | 2019-12-30 | Double-path forwarding acceleration method based on 4G router |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911422308.4A CN111182607B (en) | 2019-12-30 | 2019-12-30 | Double-path forwarding acceleration method based on 4G router |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111182607A CN111182607A (en) | 2020-05-19 |
CN111182607B true CN111182607B (en) | 2021-09-24 |
Family
ID=70621548
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911422308.4A Active CN111182607B (en) | 2019-12-30 | 2019-12-30 | Double-path forwarding acceleration method based on 4G router |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111182607B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117241337B (en) * | 2023-11-14 | 2024-02-23 | 苏州元脑智能科技有限公司 | Routing method, device, equipment and storage medium of dual-path wireless mesh network |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102223671A (en) * | 2010-04-15 | 2011-10-19 | 华为技术有限公司 | Method and communication equipment for data transmission in wireless multihop network |
CN106789650A (en) * | 2016-12-23 | 2017-05-31 | 锐捷网络股份有限公司 | IP-based wide area network accelerating method and device |
CN107104897A (en) * | 2017-06-19 | 2017-08-29 | 四川速宝网络科技有限公司 | Data transmission method and system based on path |
CN107995665A (en) * | 2016-10-27 | 2018-05-04 | 中国电信股份有限公司 | A kind of service path system of selection, device and master base station |
CN108261763A (en) * | 2018-02-08 | 2018-07-10 | 四川速宝网络科技有限公司 | The acceleration system of game running environment |
CN108449284A (en) * | 2018-02-08 | 2018-08-24 | 四川速宝网络科技有限公司 | Accelerating method and device based on multipath convergence |
-
2019
- 2019-12-30 CN CN201911422308.4A patent/CN111182607B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102223671A (en) * | 2010-04-15 | 2011-10-19 | 华为技术有限公司 | Method and communication equipment for data transmission in wireless multihop network |
CN107995665A (en) * | 2016-10-27 | 2018-05-04 | 中国电信股份有限公司 | A kind of service path system of selection, device and master base station |
CN106789650A (en) * | 2016-12-23 | 2017-05-31 | 锐捷网络股份有限公司 | IP-based wide area network accelerating method and device |
CN107104897A (en) * | 2017-06-19 | 2017-08-29 | 四川速宝网络科技有限公司 | Data transmission method and system based on path |
CN108261763A (en) * | 2018-02-08 | 2018-07-10 | 四川速宝网络科技有限公司 | The acceleration system of game running environment |
CN108449284A (en) * | 2018-02-08 | 2018-08-24 | 四川速宝网络科技有限公司 | Accelerating method and device based on multipath convergence |
Non-Patent Citations (2)
Title |
---|
SCTP多路径同时传输中路径切换技术研究;李凯;《中国优秀硕士学位论文全文数据库 信息科技辑》;20131215;全文 * |
多媒体传感器网络中多路径传输方式及其拥塞控制机制;沙超等;《通信学报》;20101130;正文第1-3节 * |
Also Published As
Publication number | Publication date |
---|---|
CN111182607A (en) | 2020-05-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111181849B (en) | Return source path determining method, determining device, computer equipment and storage medium | |
US6535504B1 (en) | Link aggregation path selection method | |
WO2018152919A1 (en) | Path selection method and system, network acceleration node, and network acceleration system | |
WO2017005223A1 (en) | Information sharing method of smart electricity meter, smart electricity meter and acquisition router | |
EP2858325A1 (en) | Multi-stream service concurrent transmission method, sub-system, system and multi-interface terminal | |
US20080170510A1 (en) | Efficient Determination Of Fast Routes When Voluminous Data Is To Be Sent From A Single Node To Many Destination Nodes Via Other Intermediate Nodes | |
CN107786437B (en) | Message forwarding method and device | |
US11522784B2 (en) | Routing and forwarding method for multi-homed network based on programmable network technology | |
CN112616168B (en) | Data transmission method and device, electronic equipment and storage medium | |
CN115150305B (en) | Carrier network delay link determination system, method, electronic equipment and storage medium | |
CN114553760B (en) | Path weight distribution method and device | |
CN108882305A (en) | A kind of shunt method and device of data packet | |
JP2017500771A (en) | Distributed data transmission in data networks | |
CN112804075A (en) | Method, device and system for sending message and receiving message for OAM (operation administration and maintenance) | |
CN108965121A (en) | Transmit method, host and the interchanger of data | |
US20210083976A1 (en) | Method for content caching in information-centric network virtualization | |
CN111182607B (en) | Double-path forwarding acceleration method based on 4G router | |
KR20110097492A (en) | Method and apparatus for transmitting/receiving packet through muiti homing based network | |
CN106464670A (en) | Network entity and service policy management method | |
CN114125983A (en) | Routing method, session management entity, system and medium for mobile network user plane | |
CN113542155B (en) | Method and device for processing service flow | |
CN106817267A (en) | A kind of fault detection method and equipment | |
CN108882064A (en) | A kind of port data packet transmission method and system based on GPON system | |
US8719448B2 (en) | Route determination method and device | |
CN105450710B (en) | Method for establishing the direct communication of user to user in gateway |
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 |