CN114423043A - Method and equipment for mobile terminal to distribute link - Google Patents

Method and equipment for mobile terminal to distribute link Download PDF

Info

Publication number
CN114423043A
CN114423043A CN202111672894.5A CN202111672894A CN114423043A CN 114423043 A CN114423043 A CN 114423043A CN 202111672894 A CN202111672894 A CN 202111672894A CN 114423043 A CN114423043 A CN 114423043A
Authority
CN
China
Prior art keywords
link
data
rate
historical
mobile terminal
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.)
Pending
Application number
CN202111672894.5A
Other languages
Chinese (zh)
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.)
Shanghai Kuangtong Technology Co ltd
Original Assignee
Shanghai Kuangtong 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 Shanghai Kuangtong Technology Co ltd filed Critical Shanghai Kuangtong Technology Co ltd
Priority to CN202111672894.5A priority Critical patent/CN114423043A/en
Publication of CN114423043A publication Critical patent/CN114423043A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/08Load balancing or load distribution
    • H04W28/0846Load balancing or load distribution between network providers, e.g. operators
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/08Load balancing or load distribution
    • H04W28/082Load balancing or load distribution among bearers or channels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/08Load balancing or load distribution
    • H04W28/09Management thereof
    • H04W28/0908Management thereof based on time, e.g. for a critical period only
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/08Load balancing or load distribution
    • H04W28/09Management thereof
    • H04W28/0925Management thereof using policies
    • H04W28/095Management thereof using policies based on usage history, e.g. usage history of devices
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The method comprises the steps that a historical data table in which historical link connection data of links are stored is obtained from a cloud server, and target rate data of the corresponding links in the historical data table are screened out based on the current position and the current time of the mobile terminal and operator information of each link; calculating historical speed parameters of each link according to the target speed data, determining the reliability of the historical speed parameters based on the target speed data, and determining corresponding weight values according to the reliability; obtaining the current link rate of all links in the mobile terminal, calculating the distribution load ratio of each link according to the current link rate of a single link, the corresponding historical rate parameter and the weight value and the minimum round-trip delay data scheduling algorithm, and completing the distribution processing of all links according to the distribution load ratio. Thereby effectively improving the connection rate of the mobile terminal.

Description

Method and equipment for mobile terminal to distribute link
Technical Field
The present application relates to the field of computers, and in particular, to a method and an apparatus for allocating a link for a mobile terminal.
Background
Currently, multipath TCP (MPTCP) is more and more widely used, and when a terminal or a mobile terminal has a plurality of independent internet protocol addresses (IP addresses), MPTCP can establish an individual TCP connection for each IP address, and since each TCP connection can transmit data, the rate can be greatly increased. The MPTCP needs to allocate the load of each TCP connection, and the policy algorithm for allocation usually uses a minimum round trip delay data scheduling algorithm (RTT algorithm), that is, calculates the round trip delay of each TCP link in real time, where the link delay is small, which indicates that the link has good quality and high speed, and when the load is allocated next time, the load is allocated more.
The method has good effect in the application environment of a wired network (such as Intenet), but the effect is general when the wireless network is connected: when the mobile terminal uses a plurality of wireless links, the rate of the TCP queue is lower than that of a single link due to the blockage of the TCP queue head; because the link quality is not good, the MPTCP continuously retransmits data and is continuously reconnected, so that the rate is not obviously improved, but the energy consumption is greatly increased, the mobile terminal is difficult to load the energy consumption, and the use time is greatly shortened.
The RTT algorithm works well in an application environment of a wired network because the wired network is very stable. However, the wireless network is unstable, the first reason is that wireless signals are unstable, and the second reason is that a source (e.g. a mobile phone) may still move continuously, and the RTT with a small data amount in the previous period may be disconnected in the next second.
Disclosure of Invention
An object of the present application is to provide a method and device for a mobile terminal to allocate a link, which solve the problem in the prior art that an RTT algorithm is not stably applied in a wireless network environment.
According to an aspect of the present application, there is provided a method for a mobile terminal to allocate a link, the method comprising:
acquiring a historical data table in which historical link connection data are stored from a cloud server, and screening target rate data of a corresponding link in the historical data table based on the current position and the current time of the mobile terminal and operator information of each link;
calculating historical speed parameters of each link according to the target speed data, determining the reliability of the historical speed parameters based on the target speed data, and determining corresponding weight values according to the reliability;
obtaining the current link rate of all links in the mobile terminal, calculating the distribution load ratio of each link according to the current link rate of a single link, the corresponding historical rate parameter and the weight value and the minimum round-trip delay data scheduling algorithm, and completing the distribution processing of all links according to the distribution load ratio.
Optionally, the method further comprises:
when the multi-path TCP is started on the mobile terminal, the current position and the current time of the mobile terminal and the connection rate of each link of different operators are continuously sent to the cloud server, so that a historical data table in which historical connection data of the links are stored is established on the cloud server.
Optionally, the screening out target rate data of a corresponding link in the history data table based on the current location of the mobile terminal, the current time, and the operator information of each link includes:
acquiring information data corresponding to the current position of the mobile terminal, and determining the current time and operator information of each link on the mobile terminal;
and matching target speed data of the corresponding operator link within a distance threshold and a time threshold in a historical data table based on the information data corresponding to the current position, the current time and the operator information of each link.
Optionally, the determining reliability of the historical speed recording parameter based on the target speed data, and determining a corresponding weight value according to the reliability includes:
determining the reliability of the historical rate parameter based on the data quantity of the target rate data corresponding to the single link;
a corresponding weight value is determined based on the reliability.
Optionally, the calculating the historical rate parameter of each link according to the target rate data includes:
calculating a corresponding connection rate average value and a corresponding connection rate variance value according to the target rate data;
and determining the average rate corresponding to the single link according to the connection rate average value, and determining the rate fluctuation rate corresponding to the single link according to the connection rate variance value.
Optionally, the calculating the distributed load ratio of each link according to the current link rate of the single link, the corresponding historical rate parameter, the weight value and the minimum round trip delay data scheduling algorithm includes:
multiplying the ratio of the average speed and the rate fluctuation rate of the single link in all the links by the weight value to obtain a first ratio;
obtaining minimum round-trip delay data by the single link according to a minimum round-trip delay data calling algorithm, and obtaining a second ratio by multiplying the ratio of the minimum round-trip delay data of the single link in the sum of the minimum round-trip demonstration data of all links by the residual value after the weight value is removed;
and taking the sum of the first ratio and the second ratio as the distribution load ratio of the single link to determine the distribution load ratio of each link.
According to another aspect of the present application, there is also provided an apparatus for a mobile terminal to allocate a link, the apparatus including:
the data acquisition module is used for acquiring a historical data table in which historical link connection data of the links are stored from the cloud server, and screening out target rate data of the corresponding links in the historical data table based on the current position and the current time of the mobile terminal and operator information of each link;
the data calculation module is used for calculating the historical speed parameter of each link according to the target speed data, determining the reliability of the historical speed parameter based on the target speed data, and determining a corresponding weight numerical value according to the reliability;
and the data processing module is used for acquiring the current link rates of all links in the mobile terminal, calculating the distribution load ratio of each link according to the current link rate of a single link, the corresponding historical rate parameter and the weight value and a minimum round-trip delay data scheduling algorithm, and completing the distribution processing of all links according to the distribution load ratio.
Optionally, the apparatus further comprises:
the data sending module is used for continuously sending the current position and the current time of the mobile terminal and the connection rate of each link of different operators to the cloud server when the multi-path TCP is started on the mobile terminal, so that a historical data table in which historical connection data of the links are stored is established on the cloud server.
According to yet another aspect of the application, there is also provided a computer readable medium having computer readable instructions stored thereon, the computer readable instructions being executable by a processor to implement the method of any of the preceding claims.
According to yet another aspect of the present application, there is also provided an apparatus for a mobile terminal to allocate a link, the apparatus including:
one or more processors; and
a memory storing computer readable instructions that, when executed, cause the processor to perform operations of any of the methods described above.
Compared with the prior art, the method and the device have the advantages that the historical data table in which the historical connection data of the links are stored is obtained from the cloud server, and the target rate data of the corresponding links in the historical data table are screened out based on the current position and the current time of the mobile terminal and the operator information of each link; calculating historical speed parameters of each link according to the target speed data, determining the reliability of the historical speed parameters based on the target speed data, and determining corresponding weight values according to the reliability; obtaining the current link rate of all links in the mobile terminal, calculating the distribution load ratio of each link according to the current link rate of a single link, the corresponding historical rate parameter and the weight value and the minimum round-trip delay data scheduling algorithm, and completing the distribution processing of all links according to the distribution load ratio. Therefore, the loads of a plurality of links of the mobile terminal are reasonably distributed, the connection speed of the mobile terminal is effectively improved, the energy consumption of the mobile terminal in the speed increasing process is reduced, and the application stability in the wired network and wireless network environments is ensured.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 illustrates a flow diagram of a method for a mobile terminal to allocate a link according to an aspect of the present application;
fig. 2 illustrates a device framework architecture diagram for a mobile terminal assignment link, according to another aspect of the subject application.
The same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
The present application is described in further detail below with reference to the attached figures.
In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
Fig. 1 shows a flowchart of a method for allocating a link for a mobile terminal according to an aspect of the present application, the method including: S100-S300, wherein in S100, a historical data table in which historical link connection data of links are stored is obtained from a cloud server, and target rate data of the corresponding links in the historical data table are screened out based on the current position and the current time of the mobile terminal and operator information of each link; in S200, calculating a historical speed parameter of each link according to the target speed data, determining the reliability of the historical speed parameter based on the target speed data, and determining a corresponding weight value according to the reliability; in S300, the current link rates of all links in the mobile terminal are obtained, the distribution load ratio of each link is calculated according to the current link rate of a single link, the corresponding historical rate parameter, the weight value and the minimum round trip delay data scheduling algorithm, and the distribution processing of all links is completed according to the distribution load ratio. Therefore, the loads of a plurality of links of the mobile terminal are reasonably distributed, the connection speed of the mobile terminal is effectively improved, the energy consumption of the mobile terminal in the speed increasing process is reduced, and the application stability in the wired network and wireless network environments is ensured.
Here, the routing path of the wireless internet access of the mobile terminal (such as a mobile phone) is as follows: the mobile phone is connected to the operator base station through a wireless signal, the operator base station is connected to the wireless core network, and the wireless core network is connected to the Internet. The signal quality from the operator base station to the Internet is in fact several orders of magnitude higher than that of the wireless network, so the bottleneck is in the section of "going to the operator base station via wireless signals". In this section, the wireless signal coverage of the operator, the signal strength, the signal reflection and shielding capabilities of surrounding buildings, and in general, the position of the mobile terminal, and the quality of the wireless signal are in one-to-one correspondence.
Specifically, in S100, a history data table storing historical connection data of links is obtained from the cloud server, and target rate data of a corresponding link in the history data table is screened out based on the current location of the mobile terminal, the current time, and operator information of each link. Here, the history data table may include history connection data such as a real-time location historically uploaded by the mobile terminal, a time for uploading the real-time location, and a connection rate of each link with the base station and operator information corresponding to the link. And screening out a corresponding link in the historical data table based on the current position and the current time of the new mobile terminal and the operator information of each link, and taking the connection rate data of the corresponding link to the base station as target rate data.
In S200, a historical rate parameter of each link is calculated according to the target rate data, reliability of the historical rate parameter is determined based on the target rate data, and a corresponding weight value is determined according to the reliability. Here, the link reliability of each link is determined based on the target rate data, for example, different levels of link reliability are determined according to the data amount corresponding to the data of the target rate, and a corresponding weight value is further determined based on the determined link reliability level, and the weight value can be used for determining the reliability of the target rate data, and the higher the reliability is, the greater the weight of the link load calculation using the target rate data is. When the link data is completely unreliable, for example, any link data is not matched in a historical data table, the load calculation is directly carried out on the link by using a minimum Round Trip Time (RTT) data scheduling algorithm. Each link can match a large amount of target speed data in the historical data table, for example, historical connection data of the same operator with a single link within 2.5 meters around the current GPS position of a new mobile terminal and within 5 minutes around the same time within 5 days are selected as the target speed data, and historical speed parameters, such as average speed and speed fluctuation rate, are calculated according to the connection speed in the target speed data.
In S300, the current link rates of all links in the mobile terminal are obtained, the distribution load ratio of each link is calculated according to the current link rate of a single link, the corresponding historical rate parameter, the weight value and the minimum round trip delay data scheduling algorithm, and the distribution processing of all links is completed according to the distribution load ratio. The current link rates of all links in the mobile terminal are obtained, the historical rate parameters include, but are not limited to, an average rate and a rate fluctuation rate, the distribution load ratio of the link can be calculated jointly according to the rate proportion of the current link rate of a single link in all links, a weight value, the average rate, the rate fluctuation rate and an RTT algorithm, and so on, the distribution load ratio of each link is obtained, the load of each link is distributed based on the distribution load ratio, so that the loads of multiple links of the mobile terminal are accurately distributed, the connection rate of the mobile terminal is effectively improved, the energy consumption of the mobile terminal in the process of increasing the rate is reduced, and the problem of instability of calculating the load ratio only by using the RTT algorithm in a wireless network environment is effectively avoided.
In an optional embodiment of the present application, in S400, when the multi-path TCP is started on the mobile terminal, the current location and the current time of the mobile terminal and the connection rate of each link of different operators are continuously sent to the cloud server, so as to establish a historical data table storing historical connection data of the links on the cloud server. When multipath TCP (MPTCP) is started on the mobile terminal, the current position and the current time of the mobile terminal and the connection rate of each link of different operators are continuously sent to a cloud server, and a historical data table storing historical connection data of the links is established on the cloud server so as to provide data reference for the subsequent link allocation of a new mobile terminal.
It should be noted that the step identification numbers are only used for identification processing of a single step, and do not represent the execution sequence of each step.
In an optional embodiment of the present application, in S100, information data corresponding to a current location of the mobile terminal is obtained, and current time and operator information of each link on the mobile terminal are determined; and matching target speed data of the corresponding operator link within a distance threshold and a time threshold in a historical data table based on the information data corresponding to the current position, the current time and the operator information of each link. Here, the information data corresponding to the current location of the mobile terminal may be acquired in a GPS or other manner, and the current time and the operator information of each link on the mobile terminal are determined. Since factors affecting the transmission rate of the radio include location and time: the location determines the signal coverage quality of the operator base station and the influence of surrounding buildings on the signal, while the time determines the distribution of people in a single location, and more people will cause the connection rate to be reduced. For example, the connection rate is definitely reduced when more people are on duty at 9 am; at 9 pm, when the same position is few, the speed is increased. Therefore, the input of the table is the GPS position information, the time and the speed of the operator, which are provided by the mobile terminal, and the data are transmitted to the server in the cloud end to become historical data.
In an optional embodiment of the present application, in S200, the reliability of the historical rate parameter is determined based on the data amount of the target rate data corresponding to the single link; a corresponding weight value is determined based on the reliability. Here, the data amount of the corresponding target rate data screened out according to the single link may be used to judge the level of reliability of the historical rate parameter, and the corresponding weight value may be determined based on the level of reliability. In an alternative embodiment of the present application, a reliability level threshold may be set to rank. For example, if the number of historical data within 2.5 meters around the GPS position of the new source machine and within 5 minutes around the same time within 5 days exceeds 10000, the historical data is regarded as reliable historical data, and the weight value of the target rate data is 80%; 3000-10000 historical data are obtained within 2.5 meters around the GPS position of the new source machine and within 5 minutes before and after the same time within 5 days, the historical data are regarded as secondary reliable historical data, and the weight value of the target speed data is 50%; if 1000-3000 historical data exist within 2.5 meters around the GPS position of the new source machine and within 5 minutes before and after the same time within 5 days, the historical data are regarded as unreliable historical data, and the weight value is 20%; and if the historical data within 2.5 meters around the GPS position of the new source machine and within 5 minutes before and after the same time within 5 days is less than or equal to 1000, the weight value is 0.
In an optional embodiment of the present application, in S200, the historical rate parameters include an average rate and a rate fluctuation rate, and a corresponding connection rate average value and a connection rate variance value are calculated according to the target rate data; and determining the average rate corresponding to the single link according to the connection rate average value, and determining the rate fluctuation rate corresponding to the single link according to the connection rate variance value. Here, MPTCP supports 4 links at most, so four operators are connected at most, and if more than 2 of the 4 links belong to the same operator, for example, two SIM cards of the same operator are inserted into one mobile terminal, the mobile terminal still belongs to an independent link.
In an optional embodiment of the present application, in S300, a ratio of the average rate and the rate fluctuation rate of a single link in all links is multiplied by the weight value to obtain a first ratio; obtaining minimum round-trip delay data by the single link according to a minimum round-trip delay data calling algorithm, and obtaining a second ratio by multiplying the ratio of the minimum round-trip delay data of the single link in the sum of the minimum round-trip demonstration data of all links by the residual value after the weight value is removed; and taking the sum of the first ratio and the second ratio as the distribution load ratio of the single link to determine the distribution load ratio of each link. In the above embodiment, assume that the historical data of the first link has a rate a (in bps), the real-time RTT is i (in milliseconds), and the weight of the historical rate data is w%. Assuming that the historical data of the second link has a rate b (in bps), the real-time RTT is j (in milliseconds), and the weight of the historical data is w%. Suppose that the third link has a historical data rate of c (in bps), a real-time RTT of k (in milliseconds), and a historical data weight of w%. Suppose the fourth link has a historical data rate of d (in bps), a real-time RTT of l (in milliseconds), and a historical data weight of w%. The ratio of the rates of the historical rate data of the four links is a: b: c: d, and the ratio of the real-time RTTs is:
Figure BDA0003450030370000101
the first link is assigned a duty ratio of:
Figure BDA0003450030370000102
and the load ratio calculation of the four links is finished by analogy.
In an optional embodiment of the present application, historical data (for example, within 2.5 meters around the GPS and within 5 minutes around 5 days) searched from the cloud server based on the real-time location and the current time of the new mobile terminal exceeds 10000, and the historical data is used as reliable data, and the weight of the historical data is determined to be 80%, and the weight of the RTT is only 20%. Assuming that the first link is a link of a first operator, the average value of the history data is 1Mbps, the real-time RTT is 100ms, the second link is a link of a second operator, the average value of the history data is 500Kbps, the real-time RTT is 50ms, and the real-time RTT shows that the signal of the second operator is good, but the history data shows that the signal of the first operator is good. For a total of two operators, the historical rate ratio is 2: 1, real-time RTT ratio is 1: 2, the ratio allocated to the first link is 2/3 × 80% +1/3 × 20% + 60%, which requires a total of 1000 bytes to be transmitted, the first link transmitting 600 bytes, and the first link transmitting only 333 bytes using the RTT data scheduling algorithm. The precision of load distribution is effectively improved.
In an optional embodiment of the present application, the mobile terminal may match different connection modes based on the load distribution calculation manner, including a speed priority mode and a connection priority mode. In the speed-first mode, at a certain position, the difference between the historical speeds of the two operators is smaller than a preset threshold value, that is, almost no difference exists, and then the MPTCP uses the two increased speeds at the same time. If the difference between the two operator speeds is larger than the preset threshold, i.e. the difference is very large, the low speed is abandoned, because the low speed is used, which may cause "TCP head of line blocking", and the original minimum Round Trip Time (RTT) data scheduling algorithm may retry continuously and cause excessive energy consumption. In the connection priority mode, even if the rate of a certain operator is low, MPTCP still tries to connect continuously because of the "connection priority mode", but after connection, the load is not loaded on the low-speed link.
Embodiments of the present application also provide a computer readable medium, on which computer readable instructions are stored, the computer readable instructions being executable by a processor to implement the foregoing method for a mobile terminal to allocate a link.
In correspondence with the method described above, the present application also provides a terminal, which includes modules or units capable of executing the steps of the method described in fig. 1 or each embodiment, and these modules or units can be implemented by hardware, software or a combination of hardware and software, and this application is not limited thereto. For example, in an embodiment of the present application, there is also provided an apparatus for a mobile terminal to allocate a link, where the apparatus includes:
one or more processors; and
a memory storing computer readable instructions that, when executed, cause the processor to perform the operations of the aforementioned one method for a mobile terminal to allocate a link.
For example, the computer readable instructions, when executed, cause the one or more processors to:
acquiring a historical data table in which historical link connection data are stored from a cloud server, and screening target rate data of a corresponding link in the historical data table based on the current position and the current time of the mobile terminal and operator information of each link; calculating historical speed parameters of each link according to the target speed data, determining the reliability of the historical speed parameters based on the target speed data, and determining corresponding weight values according to the reliability; obtaining the current link rate of all links in the mobile terminal, calculating the distribution load ratio of each link according to the current link rate of a single link, the corresponding historical rate parameter and the weight value and the minimum round-trip delay data scheduling algorithm, and completing the distribution processing of all links according to the distribution load ratio.
Fig. 2 illustrates an apparatus framework structure diagram for a mobile terminal assignment link according to another aspect of the present application, the apparatus comprising: the data acquisition module 100 is configured to acquire a historical data table in which historical link connection data of links are stored from a cloud server, and screen out target rate data of a corresponding link in the historical data table based on a current position and a current time of the mobile terminal and operator information of each link; a data calculating module 200, configured to calculate a historical rate parameter of each link according to the target rate data, determine reliability of the historical rate parameter based on the target rate data, and determine a corresponding weight value according to the reliability; the data processing module 300 is configured to obtain current link rates of all links in the mobile terminal, calculate a distribution load ratio of each link according to the current link rate of a single link, a corresponding historical rate parameter, a weight value, and a minimum round trip delay data scheduling algorithm, and complete distribution processing on all links according to the distribution load ratio. Therefore, the loads of a plurality of links of the mobile terminal are reasonably distributed, the connection speed of the mobile terminal is effectively improved, the energy consumption of the mobile terminal in the speed increasing process is reduced, and the application stability in the wired network and wireless network environments is ensured.
In an optional embodiment of the present application, the apparatus further comprises: the data sending module 400 is configured to, when the multi-path TCP is started on the mobile terminal, continuously send the current location and the current time of the mobile terminal and the connection rate of each link of different operators to the cloud server, so as to establish a historical data table storing historical connection data of the links on the cloud server.
It should be noted that the content executed by the data obtaining module 100, the data calculating module 200, the data processing module 300, and the data sending module 400 is respectively the same as or corresponding to the content in the above steps S100, S200, S300, and S400, and for the sake of brevity, no further description is repeated here.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, implemented using Application Specific Integrated Circuits (ASICs), general purpose computers or any other similar hardware devices. In one embodiment, the software programs of the present application may be executed by a processor to implement the steps or functions described above. Likewise, the software programs (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
In addition, some of the present application may be implemented as a computer program product, such as computer program instructions, which when executed by a computer, may invoke or provide methods and/or techniques in accordance with the present application through the operation of the computer. Program instructions which invoke the methods of the present application may be stored on a fixed or removable recording medium and/or transmitted via a data stream on a broadcast or other signal-bearing medium and/or stored within a working memory of a computer device operating in accordance with the program instructions. An embodiment according to the present application comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform a method and/or a solution according to the aforementioned embodiments of the present application.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.

Claims (10)

1. A method for a mobile terminal to assign a link, wherein the method comprises:
acquiring a historical data table in which historical link connection data are stored from a cloud server, and screening target rate data of a corresponding link in the historical data table based on the current position and the current time of the mobile terminal and operator information of each link;
calculating historical speed parameters of each link according to the target speed data, determining the reliability of the historical speed parameters based on the target speed data, and determining corresponding weight values according to the reliability;
obtaining the current link rate of all links in the mobile terminal, calculating the distribution load ratio of each link according to the current link rate of a single link, the corresponding historical rate parameter and the weight value and the minimum round-trip delay data scheduling algorithm, and completing the distribution processing of all links according to the distribution load ratio.
2. The method of claim 1, wherein the method further comprises:
when the multi-path TCP is started on the mobile terminal, the current position and the current time of the mobile terminal and the connection rate of each link of different operators are continuously sent to the cloud server, so that a historical data table in which historical connection data of the links are stored is established on the cloud server.
3. The method of claim 1, wherein the filtering out the target rate data of the corresponding link in the history data table based on the current location of the mobile terminal, the current time and the operator information of each link comprises:
acquiring information data corresponding to the current position of the mobile terminal, and determining the current time and operator information of each link on the mobile terminal;
and matching target speed data of the corresponding operator link within a distance threshold and a time threshold in a historical data table based on the information data corresponding to the current position, the current time and the operator information of each link.
4. The method of claim 1, wherein said determining a reliability of a historical rate parameter based on said target rate data, from which a corresponding weight value is determined, comprises:
determining the reliability of the historical rate parameter based on the data quantity of the target rate data corresponding to the single link;
a corresponding weight value is determined based on the reliability.
5. The method of claim 1, wherein the historical rate parameters include an average rate and a rate fluctuation rate, and the calculating the historical rate parameter for each link from the target rate data comprises:
calculating a corresponding connection rate average value and a corresponding connection rate variance value according to the target rate data;
and determining the average rate corresponding to the single link according to the connection rate average value, and determining the rate fluctuation rate corresponding to the single link according to the connection rate variance value.
6. The method of claim 5, wherein the calculating the assigned load ratio of each link according to the current link rate of the single link and the corresponding historical rate parameter, the weight value and the minimum round trip delay data scheduling algorithm comprises:
multiplying the ratio of the average speed and the rate fluctuation rate of the single link in all the links by the weight value to obtain a first ratio;
obtaining minimum round-trip delay data by the single link according to a minimum round-trip delay data calling algorithm, and obtaining a second ratio by multiplying the ratio of the minimum round-trip delay data of the single link in the sum of the minimum round-trip demonstration data of all links by the residual value after the weight value is removed;
and taking the sum of the first ratio and the second ratio as the distribution load ratio of the single link to determine the distribution load ratio of each link.
7. An apparatus for a mobile terminal to assign a link, wherein the apparatus comprises:
the data acquisition module is used for acquiring a historical data table in which historical link connection data of the links are stored from the cloud server, and screening out target rate data of the corresponding links in the historical data table based on the current position and the current time of the mobile terminal and operator information of each link;
the data calculation module is used for calculating the historical speed parameter of each link according to the target speed data, determining the reliability of the historical speed parameter based on the target speed data, and determining a corresponding weight numerical value according to the reliability;
and the data processing module is used for acquiring the current link rates of all links in the mobile terminal, calculating the distribution load ratio of each link according to the current link rate of a single link, the corresponding historical rate parameter and the weight value and a minimum round-trip delay data scheduling algorithm, and completing the distribution processing of all links according to the distribution load ratio.
8. The apparatus of claim 7, wherein the apparatus further comprises:
the data sending module is used for continuously sending the current position and the current time of the mobile terminal and the connection rate of each link of different operators to the cloud server when the multi-path TCP is started on the mobile terminal, so that a historical data table in which historical connection data of the links are stored is established on the cloud server.
9. A computer readable medium having computer readable instructions stored thereon which are executable by a processor to implement the method of any one of claims 1 to 6.
10. An apparatus for a mobile terminal to assign a link, wherein the apparatus comprises:
one or more processors; and
memory storing computer readable instructions that, when executed, cause the processor to perform the operations of the method of any of claims 1 to 6.
CN202111672894.5A 2021-12-31 2021-12-31 Method and equipment for mobile terminal to distribute link Pending CN114423043A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111672894.5A CN114423043A (en) 2021-12-31 2021-12-31 Method and equipment for mobile terminal to distribute link

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111672894.5A CN114423043A (en) 2021-12-31 2021-12-31 Method and equipment for mobile terminal to distribute link

Publications (1)

Publication Number Publication Date
CN114423043A true CN114423043A (en) 2022-04-29

Family

ID=81270966

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111672894.5A Pending CN114423043A (en) 2021-12-31 2021-12-31 Method and equipment for mobile terminal to distribute link

Country Status (1)

Country Link
CN (1) CN114423043A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115150639A (en) * 2022-09-01 2022-10-04 北京蔚领时代科技有限公司 Weak network resisting method and device based on distributed encoder

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115150639A (en) * 2022-09-01 2022-10-04 北京蔚领时代科技有限公司 Weak network resisting method and device based on distributed encoder
CN115150639B (en) * 2022-09-01 2022-12-20 北京蔚领时代科技有限公司 Weak network resisting method and device based on distributed encoder

Similar Documents

Publication Publication Date Title
WO2020211682A1 (en) Data transmission method and related apparatus
CN108924221B (en) Method and device for allocating resources
CN104202220B (en) Method for testing pressure and device
WO2020088166A1 (en) Video wireless transmission method, apparatus, and system, and device
CN109218133A (en) Network speed testing system, method, apparatus and computer readable storage medium
CN104394441A (en) Video content distribution scheduling method, device and system
CN113467910B (en) Overload protection scheduling method based on service level
US20170078207A1 (en) Network prioritization based on node-level attributes
CN109729602B (en) Link data processing method and device and computer storage medium
CN108696449A (en) A kind of data dispatching method and device
CN111431730B (en) Service processing method, system, computer equipment and readable medium
CN110875938A (en) Method and device for sending information in block chain
CN114423043A (en) Method and equipment for mobile terminal to distribute link
CN109257244A (en) Transfer control method, the apparatus and system of user behavior data
CN112749015B (en) Load balancing method and device
US11190430B2 (en) Determining the bandwidth of a communication link
CN109428682A (en) A kind of Message Processing confirmation method and device
CN107018088B (en) Transmission link selection method and device
CN112383936A (en) Method and device for evaluating number of accessible users
CN112637055B (en) Multi-link aggregation method, system and storage medium based on VPN tunnel
CN113949741B (en) Scheduling method, scheduling device, electronic equipment and storage medium
CN111967938B (en) Cloud resource recommendation method and device, computer equipment and readable storage medium
CN114339833A (en) Method and equipment for configuring route based on wireless network real-time information
CN114448841A (en) Network card testing method, device, equipment and medium
CN114629826A (en) Network maximum bandwidth estimation method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination