CN113301628B - Multi-line dynamic optimization method and system for terminal mobile network - Google Patents

Multi-line dynamic optimization method and system for terminal mobile network Download PDF

Info

Publication number
CN113301628B
CN113301628B CN202110419188.3A CN202110419188A CN113301628B CN 113301628 B CN113301628 B CN 113301628B CN 202110419188 A CN202110419188 A CN 202110419188A CN 113301628 B CN113301628 B CN 113301628B
Authority
CN
China
Prior art keywords
line
access
terminal
quality
term
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
Application number
CN202110419188.3A
Other languages
Chinese (zh)
Other versions
CN113301628A (en
Inventor
刘耀滨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Aoe Network Technology Co ltd
Original Assignee
Shenzhen Aoe Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Aoe Network Technology Co ltd filed Critical Shenzhen Aoe Network Technology Co ltd
Priority to CN202110419188.3A priority Critical patent/CN113301628B/en
Publication of CN113301628A publication Critical patent/CN113301628A/en
Application granted granted Critical
Publication of CN113301628B publication Critical patent/CN113301628B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/12Communication route or path selection, e.g. power-based or shortest path routing based on transmission quality or channel quality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/20Communication route or path selection, e.g. power-based or shortest path routing based on geographic position or location
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention provides a multi-line dynamic optimization method and a system, wherein a plurality of access lines, and the long-term quality and the medium-term quality of each access line are arranged in a terminal in the method; when the terminal is connected with the network, evaluating built-in access lines according to a preset evaluation algorithm to obtain the quality of each access line, arranging the access lines according to the quality to form a connection sequence table, and starting connection from the access line with the optimal quality in the connection sequence table until the terminal is connected with one access line; and when detecting that the terminal is connected with the network, the server issues a plurality of access lines to the terminal according to the country or city where the terminal is located. According to the method, access lines with high reliability are built in the terminal in a global range, the optimal access line is evaluated according to the quality of each access line and is used for the terminal to connect, and finally the server issues the corresponding access line to the terminal according to the geographic position of the terminal, so that the user terminal can be ensured to connect with the line with the optimal quality, and the global accessibility of a network is ensured.

Description

Multi-line dynamic optimization method and system for terminal mobile network
Technical Field
The invention belongs to the technical field of mobile networks, and particularly relates to a multi-line dynamic optimization method and a multi-line dynamic optimization system for a terminal mobile network.
Background
At present, most terminal apps need to be connected with a server through a network, but due to the complicated network conditions of cities of various countries around the world, software developers can not deploy the server in each country/city. A typical software developer centrally deploys servers, such as silicon valley in the united states, in conjunction with the CDN, to ensure that users can access the silicon valley servers in every country/city. And at the moment, the connection from the user terminal to the developer server is that the user terminal < - > is a local CDN server < - > and the developer global server.
Some strong software developers may deploy servers in major data centers around the world (e.g., silicon valley, middle part of europe, tokyo of asia, saint paul of south america), and then cooperate with the CDN to connect users to nearby servers. At the moment, the connection between the user terminal and the developer server is that the user terminal < - > is a local CDN server < - > and the developer is a nearby city server.
Many times, for content that the CDN can statically cache: such as web pages/pictures/sound/video, this approach is very effective because most users can get the content on the CDN. However, for some dynamic contents which cannot be statically cached, each interaction between the user terminal and the developer server is a complete end-to-end interaction.
In the localization and complexity of the CDN providers, a software developer must select different CDN providers for different countries/cities, and the selection rule is to select a CDN provider with a higher ranking for the country city. However, even if the former CDN providers are selected for a country, it cannot be guaranteed that the providers rank the same in quality in each city and can connect to the CDN providers on a national scale because the connection quality of the CDN providers is a dynamically changing situation, which is related to regions, time, and scenes.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a multi-line dynamic optimization method and a multi-line dynamic optimization system for a terminal mobile network, which can ensure that a user terminal is connected with a line with optimal quality.
In a first aspect, a method for dynamically optimizing multiple lines of a terminal mobile network includes the following steps:
a plurality of access lines and the long-term quality and the medium-term quality of each access line are built in the terminal; the access line is selected from a line table preset on a server;
when the terminal is connected with the network, evaluating built-in access lines according to a preset evaluation algorithm to obtain the quality of each access line, arranging the access lines according to the quality to form a connection sequence table, and starting connection from the access line with the optimal quality in the connection sequence table until the terminal is connected with one access line;
and when detecting that the terminal is connected with the network, the server issues a plurality of access lines to the terminal according to the country or city where the terminal is located.
Preferably, the access line comprises a global access line, a national access line and/or a city access line, the reliability of which is greater than a preset value;
the long-term quality is the average quality of the access line in the industry;
the medium term quality is the average quality of the access line over a period of time.
Preferably, the evaluating the built-in access lines according to a preset evaluation algorithm to obtain the quality of each access line, and forming the access lines into a connection sequence table according to quality arrangement specifically includes:
the terminal acquires a currently available access line, and calculates a first line score of the access line by using the following formula;
the first line score is (long-term weight × long-term quality + medium-term weight × medium-term quality + short-term weight × short-term quality) × regional weight;
wherein the long-term weight, the medium-term weight, the short-term weight and the regional weight are set values; the short-term quality is the quality of the access line in a preset latest operation period; the currently available access lines comprise the remaining access lines in the terminal after the access lines which are not connected recently are removed;
and arranging the access lines from high to low according to the first line score to form the connection sequence table.
Preferably, the method updates the first line score and the short-term quality of the access line according to the connection condition of the access line when the terminal is connected with the access line.
Preferably, the server issuing a plurality of access lines to the terminal according to the country or city in which the terminal is located specifically includes:
the server searches the line table according to cities and countries in sequence, and sequentially sends a plurality of city access lines, country access lines and/or global access lines with the highest second line score in the line table to the terminal;
wherein the urban second line score is long-term weight multiplied by long-term quality + medium-term weight multiplied by medium-term quality; the city access line, the country access line and the global access line are different.
Preferably, after the terminal is connected to an access line, the method further includes:
when detecting that the preset test time is up, the terminal is connected with all built-in access lines at the same time;
and updating the short-term quality of each access line according to the connection time of each access line.
Preferably, after the server issues a plurality of access lines to the terminal according to the country or city where the terminal is located, the method further includes:
when detecting that the preset updating time is up, the terminal sends the short-term quality of each access line to the server;
and the server corrects the corresponding medium-term quality according to the short-term quality of each access line.
In a second aspect, a multi-line dynamic optimization system of a terminal mobile network comprises a terminal and a server;
a plurality of access lines and the long-term quality and the medium-term quality of each access line are built in the terminal; the access line is selected from a line table preset on a server;
the terminal is used for evaluating the built-in access lines according to a preset evaluation algorithm when the terminal is connected with a network to obtain the quality of each access line, arranging the access lines according to the quality to form a connection sequence table, and starting connection from the access line with the optimal quality in the connection sequence table until the terminal is connected with one access line;
and the server is used for issuing a plurality of access lines to the terminal according to the country or city where the terminal is located when the terminal is detected to be connected with the network.
Preferably, the access line comprises a global access line, a national access line and/or a city access line, the reliability of which is greater than a preset value; the long-term quality is the average quality of the access line in the industry; the medium term quality is the average quality of the access line in a period of time;
the terminal is specifically configured to:
acquiring a currently available access line, and calculating a first line score of the access line by using the following formula;
the first line score is (long-term weight × long-term quality + medium-term weight × medium-term quality + short-term weight × short-term quality) × regional weight;
wherein the long-term weight, the medium-term weight, the short-term weight and the regional weight are set values; the short-term quality is the quality of the access line in a preset latest operation period; the currently available access lines comprise the remaining access lines in the terminal after the access lines which are not connected recently are removed;
and arranging the access lines from high to low according to the first line score to form the connection sequence table.
Preferably, the server is specifically configured to:
sequentially searching the line table according to cities and countries, and sequentially issuing a plurality of city access lines, country access lines and/or global access lines with highest second line scores in the line table to the terminal;
wherein the urban second line score is long-term weight multiplied by long-term quality + medium-term weight multiplied by medium-term quality; the city access line, the country access line and the global access line are different.
According to the technical scheme, the multi-line dynamic optimization method and the multi-line dynamic optimization system for the terminal mobile network, provided by the invention, access lines with high reliability in a global range are built in the terminal, the optimal access line is evaluated according to the quality of each access line and is used for the terminal to connect, and finally, the server sends the corresponding access line to the terminal according to the geographic position of the terminal, so that the user terminal can be ensured to be connected with the line with the optimal quality, and the global accessibility of the network is ensured.
Drawings
In order to more clearly illustrate the detailed description of the invention or the technical solutions in the prior art, the drawings used in the detailed description or the prior art description will be briefly described below. Throughout the drawings, like elements or portions are generally identified by like reference numerals. In the drawings, elements or portions are not necessarily drawn to scale.
Fig. 1 is a flowchart of a multi-line dynamic optimization method according to an embodiment of the present invention.
Fig. 2 is a block diagram of a multi-line dynamic optimization system according to a third embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and therefore are only examples, and the protection scope of the present invention is not limited thereby. It is to be noted that, unless otherwise specified, technical or scientific terms used herein shall have the ordinary meaning as understood by those skilled in the art to which the present invention belongs.
It will be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted in accordance with the context to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
The first embodiment is as follows:
a multi-line dynamic optimization method of a terminal mobile network, referring to fig. 1, includes the following steps:
s1: a plurality of access lines and the long-term quality and the medium-term quality of each access line are built in the terminal; the access line is selected from a line table preset on the server;
the access lines comprise global access lines, national access lines and/or urban access lines, and the reliability of the global access lines, the national access lines and/or the urban access lines is greater than a preset value; the long-term quality is the average quality of the access line in the industry; the interim quality is an average quality of the access line over a period of time.
Specifically, selecting an access line is selecting a CDN provider. Since it is not possible to predict from which country or city the user of the terminal application is, in order to ensure the accessibility of the terminal, a highly reliable access line is first built into the user terminal.
The route table preset on the server includes access routes with high reliability on a global scale, see table 1.
Table 1:
access line Long term quality Short term quality
akamai 100.0 50.0
cloudfront 80.0 50.0
cloudflare 60.0 50.0
The long-term quality represents the average quality ranking coefficient of the access line in the industry, and can be represented in a 100-score mode, and data is derived from CDN evaluation websites around the open world. The medium-term quality represents the overall quality of the access line over a period of time (typically within 1 day) in the entire terminal application range, and can be represented by a 100-point system, and the medium-term quality can be uniformly initialized to 50 at the beginning. After the operation for a period of time, the medium-term quality can be corrected and updated according to the data uploaded by the terminal.
The route table on the server may also refer to CDN evaluation websites of some countries, including country-wide access routes ranked top, so that when a terminal connects to a network, the network of the country where the terminal is located may be preferentially connected, see table 2.
Table 2:
access line State of the country Long term quality Middle term quality
CDN77 USA 100.0 50.0
KeyCDN USA 90.0 50.0
Azure USA 70.0 50.0
Aliyun (Aliyun) China 100.0 50.0
Tengcong cloud China 85.0 50.0
Huashi cloud China 80.0 50.0
In order to ensure that the user uses the access line at the city level, the line table on the server may also add city information to the access line, so that the line table obtained on the server is shown in table 3.
Table 3:
access line State of the country City Long term quality Middle term quality
akamai 100.0 50.0
cloudfront 80.0 50.0
cloudflare 60.0 50.0
CDN77 USA 100.0 50.0
KeyCDN USA 90.0 50.0
Azure USA 70.0 50.0
Aliyun (Amiyun) China 100.0 50.0
Tengcong cloud China 85.0 50.0
Huashi cloud China 80.0 50.0
At the beginning, the data in the line list is insufficient and cannot cover all countries and all cities, but when the method is operated for a period of time, the line list can be slowly improved.
S2: when a terminal is connected with a network (including that the terminal application needs to be connected with the network after being started or needs to be reconnected after the current network of the terminal application is disconnected), evaluating built-in access lines according to a preset evaluation algorithm to obtain the quality of each access line, arranging the access lines according to the quality to form a connection sequence table, and starting connection from the access line with the optimal quality in the connection sequence table until the terminal is connected with a previous access line;
specifically, the terminal of the method selects the optimal access line comprehensively according to the existing access line, the corresponding long-term quality and medium-term quality, and the quality condition of each access line recently of the terminal.
Preferably, the evaluating the built-in access lines according to a preset evaluation algorithm to obtain the quality of each access line, and forming the access lines into a connection sequence table according to quality arrangement specifically includes:
the terminal acquires a currently available access line, and calculates a first line score of the access line by using the following formula;
the first line score is (long-term weight × long-term quality + medium-term weight × medium-term quality + short-term weight × short-term quality) × regional weight;
wherein the long-term weight, the medium-term weight, the short-term weight and the regional weight are set values; for example, the long term weight is 10, the medium term weight is 30, and the short term weight is 60, and if the access line is an urban access line, the regional weight is 3; if the access line is a national access line, the regional weight is 2; if the access line is a global access line, the regional weight is 1. The short-term quality is the average quality of the access line in a preset latest running period; the currently available access lines comprise the remaining access lines in the terminal after the access lines which are not connected recently are removed;
and arranging the access lines from high to low according to a first line score to form the connection sequence table, wherein the higher the first line score is, the better the quality of the access lines is.
Specifically, it is assumed that the access line built in the terminal is referred to table 4.
Table 4:
access line State of the country City Long term quality Middle term quality Short term quality
akamai 100.0 50.0 50.0
cloudfront 80.0 50.0 50.0
cloudflare 60.0 50.0 50.0
Aliyun (Aliyun) China 100.0 50.0 50.0
...
In table 4, the short-term quality represents the total quality of the access line during the last operation period (typically 1 hour), and the short-term quality can be uniformly initialized to 50 at the beginning. The short-term quality may be obtained by summing the scores of the last hour, with 0.0 being less than 0.0 and 100.0 being greater than 100.0. For example, access line 1 generated a +3 point record during the timing quality test, and access line 1 also had the following points in 1 hour: +5, -3, +2, +5, +2, +3, -1 then the short-term quality of access line 1 is equal to the sum of the above-mentioned fractions. When the method is operated for a period of time, the access line in the terminal is updated, see table 5.
Table 5:
access line State of the country City Long term quality Short term quality Short term quality
cloudfront 80.0 60.0 32.0
Aliyun (Aliyun) China 100.0 82.0 62.0
Tengcong cloud China 85.0 75.0 83.0
Baidu cloud China Guangzhou province 85.0 68.0 77.0
Huashi cloud China Guangzhou province 80.0 57.0 89.0
Mountain clouds China Guangzhou province 100.0 72.0 38.0
It can be seen that table 5 contains 3 city access lines, 2 country access lines, 1 global access line. When the terminal is connected with the access line, the access line with the highest score of the first line is connected firstly, if the terminal is connected with the access line, the score of the access line is recorded as +5.0 scores, and meanwhile, the short-term quality of the access line is updated. If not, recording the score of the access line as-5.0 scores, and simultaneously updating the short-term quality of the access line to define the access line as the access line which is not connected recently. And then repeating the steps to connect the access lines with the first line scores.
S3: when detecting that the terminal is connected to the network, the server issues a plurality of access lines to the terminal according to the country or city where the terminal is located, and the method specifically includes:
the server searches the line table according to cities and countries in sequence, and sequentially sends a plurality of city access lines, country access lines and/or global access lines with the highest second line score in the line table to the terminal;
wherein the urban second line score is long-term weight multiplied by long-term quality + medium-term weight multiplied by medium-term quality; the city access line, the country access line and the global access line are different. The long term weight is 10 and the medium term weight is 30.
Specifically, the server may send down the line when the terminal first connects to the network each day. In the method, the server queries an IP database according to the IP address accessed by the terminal application and determines the country or city where the terminal is located. When the server issues the access lines, the server first issues city access lines, for example, according to a city lookup line table, the first 3 city access lines with the best score of the second line are searched, and if the first access lines are found, the found access lines are stored in a line result. And secondly, issuing a national access line, finding the first (5-the number of line results) national access lines with the best score of the second line in the line according to a national lookup line table, wherein the national access lines cannot be repeated with the access lines in the line results, for example, the line results comprise 'Aliyun', the 'Aliyun' cannot be selected at the moment, and if the national access line is found, the found access line is stored in the line results. And finally, issuing global access lines, searching the line table, finding the first (6-line result number) access lines with the best second line score in the line table, and storing the found access lines into the line result, wherein the access lines cannot be repeated with the access lines in the line result. And the server sends the line result to the terminal.
Typically, the access lines in the line result include 3 city access lines, 2 country access lines, and 1 global access line. If there are insufficient city access lines, the access lines include 5 national access lines and 1 global access line. If there are insufficient national access lines, the return line includes 6 global access lines. See table 6 for example for the line results issued.
Table 6:
Figure BDA0003027150240000091
Figure BDA0003027150240000101
in conclusion, the method is characterized in that access lines with high reliability are built in the terminal in a global range, the optimal access line is estimated according to the quality of each access line for the terminal to connect, and finally the server issues the corresponding access line to the terminal according to the geographic position of the terminal, so that the user terminal can be ensured to connect with the line with the optimal quality, and the global accessibility of a network is ensured.
Example two:
example two on the basis of the above example, the following contents are added:
after the terminal is connected with an access line, the method also comprises the following steps:
when detecting that the preset test time is up, the terminal is connected with all built-in access lines at the same time;
and updating the short-term quality of each access line according to the connection time of each access line.
Specifically, the terminal of the method can also perform connection test on the existing access line periodically, and evaluate, correct and update the short-term quality of the access line according to the test result. For example, all access lines are connected simultaneously every 5 minutes, ordered from fast to slow in connection time: the score of the 1 st access line is recorded as +3.0 points, the score of the 2 nd access line is recorded as +2.0 points, and the score of the access line after the 3 rd access line is recorded as +1.0 points. For an access line with no connection, the score of the access line is recorded as-3.0.
Preferably, after the server issues a plurality of access lines to the terminal according to the country or city where the terminal is located, the method further includes:
when detecting that the preset updating time is up, the terminal sends the short-term quality of each access line to the server;
and the server corrects the corresponding medium-term quality according to the short-term quality of each access line.
Specifically, the update time may be set to 1 time per day. The terminal sends the short-term quality of all access lines to the server. The server firstly groups all access lines according to the line + country + city, calculates the medium-term quality of each city group, the medium-term quality is the sum of all short-term qualities in the group/the number of data in the group, the updated line table of the server refers to table 7, if the original line table has the updated access line, the updated access line is directly updated; otherwise, a record is created.
Table 7:
access line State of the country City Middle term quality
Aliyun (Aliyun) China Shenzhen (Shenzhen medicine) 62.0
The server then groups all the access lines according to the line + country, calculates the medium-term quality of each country group, the medium-term quality is the sum of all the short-term qualities in the group/the number of data pieces in the group, and the updated line table of the server refers to table 8.
Table 8:
access line State of the country City Middle term quality
Aliyun (Aliyun) China 73.0
The server finally groups all the access lines according to the lines, calculates the medium-term quality of each global group, the medium-term quality is the sum of all the short-term qualities in the group/the number of data strips in the group, and the updated line table of the server refers to the table 9.
Table 9:
access line State of the Art City Middle term quality
Aliyun (Aliyun) 62.0
For the sake of brief description, the method provided by the embodiment of the present invention may refer to the corresponding content in the foregoing embodiments.
Example three:
a multi-line dynamic optimization system of a terminal mobile network, see fig. 2, includes a terminal and a server;
a plurality of access lines and the long-term quality and the medium-term quality of each access line are built in the terminal; the access line is selected from a line table preset on a server;
the terminal is used for evaluating the built-in access lines according to a preset evaluation algorithm when the terminal is connected with the network, obtaining the quality of each access line, arranging the access lines according to the quality to form a connection sequence table, and starting connection from the access line with the optimal quality in the connection sequence table until the terminal is connected with one access line;
and the server is used for issuing a plurality of access lines to the terminal according to the country or city where the terminal is located when the terminal is detected to be connected with the network.
Preferably, the access line comprises a global access line, a national access line and/or a city access line, the reliability of which is greater than a preset value; the long-term quality is the average quality of the access line in the industry; the medium term quality is the average quality of the access line in a period of time;
the terminal is specifically configured to:
acquiring a currently available access line, and calculating a first line score of the access line by using the following formula;
the first line score ═ long-term weight × long-term quality + medium-term weight × medium-term quality + short-term weight × short-term quality) × area weight;
wherein the long-term weight, the medium-term weight, the short-term weight and the regional weight are set values; the short-term quality is the quality of the access line in a preset latest operation period; the currently available access lines comprise the remaining access lines in the terminal after the access lines which are not connected recently are removed;
and arranging the access lines from high to low according to the first line score to form the connection sequence table.
Preferably, the server is specifically configured to:
sequentially searching the line table according to cities and countries, and sequentially issuing a plurality of city access lines, country access lines and/or global access lines with highest second line scores in the line table to the terminal;
wherein the urban second line score is long-term weight multiplied by long-term quality + medium-term weight multiplied by medium-term quality; the city access line, the country access line and the global access line are different.
For the sake of brief description, the system provided by the embodiment of the present invention may refer to the corresponding content in the foregoing embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; the modifications and the substitutions do not cause the essence of the corresponding technical solutions to depart from the scope of the technical solutions of the embodiments of the present invention, and the corresponding technical solutions are all covered in the claims and the specification of the present invention.

Claims (7)

1. A multi-line dynamic optimization method of a terminal mobile network is characterized by comprising the following steps:
a plurality of access lines and the long-term quality and the medium-term quality of each access line are built in the terminal; the access line is selected from a line table preset on the server;
when the terminal is connected with the network, evaluating built-in access lines according to a preset evaluation algorithm to obtain the quality of each access line, arranging the access lines according to the quality to form a connection sequence table, and starting connection from the access line with the optimal quality in the connection sequence table until the terminal is connected with one access line;
when detecting that the terminal is connected with the network, the server issues a plurality of access lines to the terminal according to the country or city where the terminal is located;
the access lines comprise global access lines, national access lines and/or urban access lines with reliability greater than a preset value;
the long-term quality is the average quality of the access line in the industry;
the medium term quality is the average quality of the access line in a period of time;
the evaluating the built-in access lines according to a preset evaluation algorithm to obtain the quality of each access line, and forming a connection sequence table by the access lines according to quality arrangement specifically comprises:
the terminal acquires a currently available access line, and calculates a first line score of the access line by using the following formula;
a first line score = (long-term weight × long-term quality + medium-term weight × medium-term quality + short-term weight × short-term quality) × regional weight;
wherein the long-term weight, the medium-term weight, the short-term weight and the regional weight are set values; the short-term quality is the quality of the access line in a preset latest operation period; the currently available access lines comprise the remaining access lines in the terminal after the access lines which are not connected recently are removed;
and arranging the access lines from high to low according to the first line score to form the connection sequence table.
2. A multi-line dynamic preference method for a terminating mobile network as claimed in claim 1,
when the terminal is connected with the access line, the method updates the first line score and the short-term quality of the access line according to the connection condition of the access line.
3. The multi-line dynamic optimization method of the terminal mobile network according to claim 1, wherein the server issues a plurality of access lines to the terminal according to the country or city where the terminal is located specifically comprises:
the server searches the line table according to cities and countries in sequence, and sequentially sends a plurality of city access lines, country access lines and/or global access lines with the highest second line score in the line table to the terminal;
wherein the urban second line score = long-term weight x long-term quality + medium-term weight x medium-term quality; the city access line, the country access line and the global access line are different.
4. The method of claim 1, further comprising, after the terminal connects to the access line:
when detecting that the preset test time is up, the terminal is connected with all built-in access lines at the same time;
and updating the short-term quality of each access line according to the connection time of each access line.
5. The method for multi-line dynamic preference of mobile network of claim 1, wherein after the server issues multiple access lines to the terminal according to the country or city of the terminal, the method further comprises:
when detecting that the preset updating time is up, the terminal sends the short-term quality of each access line to the server;
and the server corrects the corresponding medium-term quality according to the short-term quality of each access line.
6. A multi-line dynamic optimization system of a terminal mobile network is characterized by comprising a terminal and a server;
a plurality of access lines and the long-term quality and the medium-term quality of each access line are built in the terminal; the access line is selected from a line table preset on the server;
the terminal is used for evaluating built-in access lines according to a preset evaluation algorithm when the terminal is connected with a network to obtain the quality of each access line, arranging the access lines according to the quality to form a connection sequence table, and starting connection from the access line with the optimal quality in the connection sequence table until the terminal is connected with one access line;
the server is used for issuing a plurality of access lines to the terminal according to the country or city where the terminal is located when the terminal is detected to be connected with the network;
the access lines comprise global access lines, national access lines and/or urban access lines with reliability greater than a preset value; the long-term quality is the average quality of the access line in the industry; the medium term quality is the average quality of the access line in a period of time;
the terminal is specifically configured to:
acquiring a currently available access line, and calculating a first line score of the access line by using the following formula;
a first line score = (long-term weight × long-term quality + medium-term weight × medium-term quality + short-term weight × short-term quality) × regional weight;
wherein the long-term weight, the medium-term weight, the short-term weight and the regional weight are set values; the short-term quality is the quality of the access line in a preset latest operation period; the currently available access lines comprise the remaining access lines in the terminal after the access lines which are not connected recently are removed;
and arranging the access lines from high to low according to the first line score to form the connection sequence table.
7. The multi-line dynamic preference system for a terminating mobile network as claimed in claim 6, wherein said server is specifically configured to:
searching the line table according to cities and countries in sequence, and issuing a plurality of city access lines, country access lines and/or global access lines with highest second line scores in the line table to the terminal in sequence;
wherein the urban second line score = long-term weight x long-term quality + medium-term weight x medium-term quality; the city access line, the country access line and the global access line are different.
CN202110419188.3A 2021-04-19 2021-04-19 Multi-line dynamic optimization method and system for terminal mobile network Active CN113301628B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110419188.3A CN113301628B (en) 2021-04-19 2021-04-19 Multi-line dynamic optimization method and system for terminal mobile network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110419188.3A CN113301628B (en) 2021-04-19 2021-04-19 Multi-line dynamic optimization method and system for terminal mobile network

Publications (2)

Publication Number Publication Date
CN113301628A CN113301628A (en) 2021-08-24
CN113301628B true CN113301628B (en) 2022-08-16

Family

ID=77319912

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110419188.3A Active CN113301628B (en) 2021-04-19 2021-04-19 Multi-line dynamic optimization method and system for terminal mobile network

Country Status (1)

Country Link
CN (1) CN113301628B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107395683A (en) * 2017-06-26 2017-11-24 网宿科技股份有限公司 The system of selection of a kind of time source path and server
CN107645525A (en) * 2016-07-21 2018-01-30 阿里巴巴集团控股有限公司 Detection processing, dispatching method and related device, the node of content distributing network
CN111343245A (en) * 2020-02-13 2020-06-26 北京字节跳动网络技术有限公司 Uploading line scheduling method and device, electronic equipment and readable storage medium
CN111479137A (en) * 2020-04-16 2020-07-31 广州酷狗计算机科技有限公司 Method and device for providing line address, server and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9378473B2 (en) * 2010-02-17 2016-06-28 Alexander Wolfe Content and application delivery network aggregation
CN105959233B (en) * 2016-04-25 2018-12-28 深圳市威宇智通科技有限公司 Mobile data traffic distribution method based on streaming computing dynamic quality model
CN107395382A (en) * 2016-05-16 2017-11-24 中兴通讯股份有限公司 A kind of network quality performance methods of exhibiting and device, system
CN107682886B (en) * 2017-09-01 2019-12-20 北京邮电大学 Multi-path data transmission method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107645525A (en) * 2016-07-21 2018-01-30 阿里巴巴集团控股有限公司 Detection processing, dispatching method and related device, the node of content distributing network
CN107395683A (en) * 2017-06-26 2017-11-24 网宿科技股份有限公司 The system of selection of a kind of time source path and server
CN111343245A (en) * 2020-02-13 2020-06-26 北京字节跳动网络技术有限公司 Uploading line scheduling method and device, electronic equipment and readable storage medium
CN111479137A (en) * 2020-04-16 2020-07-31 广州酷狗计算机科技有限公司 Method and device for providing line address, server and storage medium

Also Published As

Publication number Publication date
CN113301628A (en) 2021-08-24

Similar Documents

Publication Publication Date Title
US9960967B2 (en) Determining an application delivery server based on geo-location information
US20180026938A1 (en) Detection and scheduling method, device, and node of content delivery network
US10489476B2 (en) Methods and devices for preloading webpages
US7849071B2 (en) Geographical location extraction
CN110769038B (en) Server scheduling method and device, storage medium and electronic equipment
EP1721438B1 (en) Server, method and system for caching data streams
US20080195597A1 (en) Searching in peer-to-peer networks
CN113132443B (en) Resource acquisition method and device and node equipment in CDN (content delivery network)
CN106651442B (en) Advertisement putting control method and device
US20140181287A1 (en) Dns wildcard beaconing
US10749838B2 (en) DNS server and configuration loading method, DNS network system, and domain name resolution method and system
US20130080581A1 (en) Cloud data persistence engine
US20110225284A1 (en) Methods, appratuses, and computer program products for determining a network interface to access a network resource
US20120173486A1 (en) System and method for dynamically selecting storage locations of replicas in cloud storage system
CN113452808B (en) Domain name resolution method, device, equipment and storage medium
CN105847399A (en) Server scheduling method and device
CN107786678B (en) Domain name resolution method, device and system
CN112256495A (en) Data transmission method and device, computer equipment and storage medium
JP5493223B2 (en) Distribution processing apparatus, computer system, and request distribution method
CN110708385A (en) CDN scheduling algorithm and system based on network delay
CN113301628B (en) Multi-line dynamic optimization method and system for terminal mobile network
CN114466344A (en) Edge cloud discovery and selection method suitable for wireless self-organizing network environment
CN112702446B (en) Distributed storage system with DNS (domain name system) cached in edge network
CN107040617A (en) The method and device of data processing
CN105915655A (en) Proxy method and agent method for network

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