CN108540519B - Balanced download control method and device - Google Patents

Balanced download control method and device Download PDF

Info

Publication number
CN108540519B
CN108540519B CN201810084582.4A CN201810084582A CN108540519B CN 108540519 B CN108540519 B CN 108540519B CN 201810084582 A CN201810084582 A CN 201810084582A CN 108540519 B CN108540519 B CN 108540519B
Authority
CN
China
Prior art keywords
data
link
mobile equipment
mptcp
user
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
CN201810084582.4A
Other languages
Chinese (zh)
Other versions
CN108540519A (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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201810084582.4A priority Critical patent/CN108540519B/en
Publication of CN108540519A publication Critical patent/CN108540519A/en
Application granted granted Critical
Publication of CN108540519B publication Critical patent/CN108540519B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering

Abstract

The embodiment of the invention provides a method and a device for controlling balanced downloading, which are applied to a data server, wherein the data server is provided with a preset interface matched with an MPTCP protocol, and the preset interface is used for returning a plurality of MPTCP stream information IP addresses; inquiring operator information of each IP address to determine whether all the IP addresses belong to the same operator; and if the mobile equipment belongs to the same operator, transmitting data to the mobile equipment in an MPTCP mode. By means of the multi-link transmission mode of the MPTCP mode, the network speed of a single network link can be compensated, and therefore the problem that smooth data service experience cannot be achieved under the condition that flow charge is saved as far as possible can be solved.

Description

Balanced download control method and device
Technical Field
The invention relates to the technical field of internet, in particular to a method and a device for controlling balanced downloading.
Background
With the development of mobile communication technology, mobile devices such as smart phones and tablet computers in hands of people gradually become a main means for people to acquire information and communicate with the outside, so that the basic communication functions such as telephone and short message can be realized, the communication can be performed in the modes such as instant messaging, e-mail and microblog, and network videos can be played, and the life of people is enriched. Of course, these services need to be implemented through corresponding wireless networks, which include wifi networks, cellular networks, and the like, and this is also a main communication means currently used by people, and certainly, with the development of technology, communication may also be performed through other networks.
At present, a user can only select one of the approaches when downloading data through a mobile device, either using a wifi network or using a cellular network, and certainly, in view of the higher cost of the cellular network, the user generally obtains data services based on the wifi network. In many cases, when the speed of the wifi network is slow, the user can only choose to endure video blocking; the user may also choose to switch to the cellular network when he cannot tolerate a card pause, which wastes more expensive traffic charges. It can be seen from this point that, at present, both network speed and cost cannot be considered, and even if the user realizes smooth data service experience while saving traffic cost as much as possible.
Disclosure of Invention
In view of the above, the present invention provides a method and an apparatus for controlling balanced downloading, so as to solve the problem that smooth data service experience cannot be achieved under the condition of saving traffic cost as much as possible.
In order to solve the above problems, the present invention discloses a balanced download control method, which is applied to a data server, wherein the data server is configured with a preset interface matched with an MPTCP protocol, the preset interface is used for returning a plurality of MPTCP stream information IP addresses, and the balanced download control method comprises the following steps:
when a data request sent by a user by utilizing mobile equipment is received, the IP address of each link used by the mobile equipment is obtained by utilizing the preset interface;
inquiring operator information of each IP address to determine whether all the IP addresses belong to the same operator;
if the mobile equipment belongs to the same operator, transmitting data to the mobile equipment in an MPTCP mode;
and if the mobile equipment does not belong to the same operator, sending service rejection prompt information to the mobile equipment, wherein the prompt information is used for prompting a user that the data server rejects to provide data downloading service in an MPTCP mode.
Optionally, the transmitting data to the mobile device in an MPTCP manner includes:
when the data request is received, the data transmission is carried out by using the existing first link;
a second link connection is established.
Optionally, the method further comprises the steps of:
and when the transmission speed of the first link is lower than a preset threshold value, transmitting data through the second network connection.
A balance download control device is applied to a data server, the data server is provided with a preset interface matched with an MPTCP protocol, the preset interface is used for returning a plurality of MPTCP stream information IP addresses, and the balance download control device comprises:
the address acquisition module is used for acquiring the IP address of each link used by the mobile equipment by using the preset interface when receiving a data request sent by a user by using the mobile equipment;
the operator query module is used for querying operator information of each IP address so as to determine whether all the IP addresses belong to the same operator;
the data sending module is used for transmitting data to the mobile equipment in an MPTCP mode if the mobile equipment belongs to the same operator;
and the information sending module is used for sending service rejection prompt information to the mobile equipment if the mobile equipment does not belong to the same operator, wherein the prompt information is used for prompting a user that the data server rejects the data download service provided in an MPTCP mode.
Optionally, the data sending module includes:
the first sending unit is used for carrying out data transmission by using an existing first link when the data request is received;
and the connection establishing unit is used for establishing the second link connection.
Optionally, the data sending module further includes:
and the second sending unit is used for transmitting data through the second network connection when the transmission speed of the first link is lower than a preset threshold value.
A balanced download control method is applied to mobile equipment and comprises the following steps:
when a user inputs a setting command through clicking or sliding, displaying an auxiliary downloading option, wherein the auxiliary downloading option is used for the user to select whether to perform auxiliary downloading;
and when the user selects to perform auxiliary downloading, controlling the mobile equipment to acquire data from the data server in an MPTCP mode.
Optionally, the controlling the mobile device to obtain data from a data server in an MPTCP manner includes:
connecting with the data server by a plurality of links;
and performing single link transmission or multi-link transmission according to the transmission speed of the first link in the plurality of links.
An equalizing download control device applied to a mobile device, the equalizing download control device comprising:
the option display module is used for displaying an auxiliary downloading option when a user inputs a setting command through clicking or sliding, wherein the auxiliary downloading option is used for the user to select whether to perform auxiliary downloading;
and the download control module is used for controlling the mobile equipment to acquire data from the data server in an MPTCP mode when the user selects to perform auxiliary download.
Optionally, the download control module includes:
a connection control unit for connecting with the data server by a plurality of links;
and the link selection unit is used for carrying out single link transmission or multi-link transmission according to the transmission speed of the first link in the plurality of links.
The invention provides a method and a device for controlling balanced downloading, which are applied to a data server, wherein the data server is provided with a preset interface matched with an MPTCP protocol, and the preset interface is used for returning a plurality of IP addresses of MPTCP stream information; inquiring operator information of each IP address to determine whether all the IP addresses belong to the same operator; and if the mobile equipment belongs to the same operator, transmitting data to the mobile equipment in an MPTCP mode. By means of the multi-link transmission mode of the MPTCP mode, the network speed of a single link can be compensated, and therefore the problem that smooth data service experience cannot be achieved under the condition that flow charge is saved as far as possible can be solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart illustrating steps of a method for controlling a balanced download according to an embodiment of the present invention;
fig. 2 is a block diagram of an equalizing download control apparatus according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating steps of another equalizing download control method according to an embodiment of the present invention;
fig. 4 is a block diagram of another equalizing download control device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Fig. 1 is a flowchart illustrating steps of a method for controlling a balanced download according to an embodiment of the present invention.
The method for controlling the balanced downloading provided by the embodiment is applied to a data server, and the data server is used for providing data downloading services for the mobile equipment, so that the mobile equipment can ensure that the mobile equipment has a higher data transmission speed as much as possible under the condition of spending flow rate fee as little as possible. The data server is built based on a Linux operating system and is configured with a preset interface matched with an MPTCP protocol.
For example, the preset interface is an interface setsockopt () that can return a plurality of pieces of MPTCP flow information at a time, when the Linux kernel sends that a certain TCP connection is a sub-connection of an MPTCP connection, the Linux kernel notifies an upper ngix server, and the nigix server obtains information of all sub-connections of the MPTCP connection at a time through the setsockopt () interface. The Linux kernel can determine whether the TCP connection is a sub-connection of MPTCP according to the option field of the SYN packet when performing TCP handshake. The above implementation can be realized by modifying the program code of the Linux system.
Referring to fig. 1, the equalizing download control method is applied to the data server for providing the data service download service for the mobile device, and specifically includes the following steps:
s101: when a data request of a user is received, an IP address of each link is acquired.
The data request is sent by a user by using a corresponding mobile device, the user sends the data request so as to obtain corresponding data from a data server, for example, when the user needs to watch network video, the mobile device can be used to send the data request to a corresponding video parsing server, and when the data request is sent, a connection is established with the video parsing server through a plurality of links.
Because wifi connectivity is generally faster, the first link is generally a link of a wifi network. The video analysis server stores a video file in the form of a plurality of slices, when a user sends the request, the video analysis server returns an address list containing addresses of all the slices to the mobile equipment, simultaneously takes a link of the wifi network as a main sub-channel, and directly transmits data in the main sub-channel without asking whether a slave sub-channel exists or not.
The method comprises the steps of acquiring IP addresses of all links between a mobile device and a data server while processing a data request sent by a user through the mobile device, so as to query operators of the corresponding links according to the IP addresses to determine whether all the links belong to the same operator.
S102: and determining whether all the links belong to the same operator or not according to the IP addresses.
Because, in the case that links belong to different operators, based on the actual situation of the current network, data servers in different operators cannot pass through the data servers in an MPTCP manner for users, it is necessary to determine whether multiple links belong to the same operator.
Specifically, after acquiring the IP address of each link, the nginx server queries the IP database to determine the operator to which each link belongs, and returns a service rejection prompt message to the mobile device of the user if the operator does not belong to the same operator. The denial of service notification message is displayed to the user through a display device of the mobile device to notify the user that the data server cannot provide the data download service to the user in an MPTCP manner.
S103: the data download service is provided to the user in an MPTCP manner.
That is, when multiple links connected between the mobile device and the data server belong to the same operator, the data download service is provided to the user in an MPTCP manner, that is, when a single link cannot meet the speed requirement of the user, data is simultaneously transmitted to the mobile device of the user through other links.
I.e., when the speed of downloading data to the user's mobile device is slow, with the wifi network, a beneficial complement is provided with the cellular network. Assume that the mobile device is connected to the data server via a plurality of network links, including a first link and at least one second link, wherein the first link is a wifi network and the second link is a cellular network. In this case, the specific steps are:
firstly, when a data request sent by a user is received, data transmission is carried out to mobile equipment of the user by using an existing first link, namely, data is sent to the mobile equipment by using a wifi network; at the same time, a second link, i.e., a cellular network, is established between the mobile device and the data server.
Under the condition that the cellular network and the wifi network belong to the same operator, when the speed of the wifi network lock providing data cannot meet the user requirement, namely the speed is lower than a preset threshold value, the data is sent to the mobile device through the second link.
As can be seen from the foregoing technical solutions, this embodiment provides a balanced download control method, where the method is applied to a data server, where the data server is configured with a preset interface matched with an MPTCP protocol, and the preset interface is used to return multiple MPTCP stream information IP addresses, and specifically, the balanced download control method specifically includes obtaining, by using the preset interface, an IP address of each link used by a mobile device when a data request sent by a user by using the mobile device is received; inquiring operator information of each IP address to determine whether all the IP addresses belong to the same operator; and if the mobile equipment belongs to the same operator, transmitting data to the mobile equipment in an MPTCP mode. By means of the multi-link transmission mode of the MPTCP mode, the network speed of a single link can be compensated, and therefore the problem that smooth data service experience cannot be achieved under the condition that flow charge is saved as far as possible can be solved.
Example two
Fig. 2 is a block diagram of a balanced download control apparatus according to an embodiment of the present invention.
The equalizing download control apparatus provided in this embodiment is applied to a data server, where the data server is configured to provide a data download service for a mobile device, so that the mobile device can ensure a higher data transmission speed as much as possible while spending a traffic fee of a cellular network as little as possible. The data server is built based on a Linux operating system and is configured with a preset interface matched with an MPTCP protocol.
For example, the preset interface is an interface setsockopt () that can return a plurality of pieces of MPTCP flow information at a time, when the Linux kernel sends that a certain TCP connection is a sub-connection of an MPTCP connection, the Linux kernel notifies an upper ngix server, and the nigix server obtains information of all sub-connections of the MPTCP connection at a time through the setsockopt () interface. The Linux kernel can determine whether the TCP connection is a sub-connection of MPTCP according to the option field of the SYN packet when performing TCP handshake. The above implementation can be realized by modifying the program code of the Linux system.
Referring to fig. 2, the apparatus for controlling balanced download is applied to the data server for providing the data service download service for the mobile device, and specifically includes an address obtaining module 10, an operator querying module 20, and a data sending module 30.
The address acquisition module is used for acquiring the IP address of each link when receiving a data request of a user.
The data request is sent by a user by using a corresponding mobile device, the user sends the data request so as to obtain corresponding data from a data server, for example, when the user needs to watch network video, the mobile device can be used to send the data request to a corresponding video parsing server, and when the data request is sent, a connection is established with the video parsing server through a plurality of links.
Because wifi connectivity is generally faster, the first link is generally a link of a wifi network. The video analysis server stores a video file in the form of a plurality of slices, when a user sends the request, the video analysis server returns an address list containing addresses of all the slices to the mobile equipment, simultaneously takes a link of the wifi network as a main sub-channel, and directly transmits data in the main sub-channel without asking whether a slave sub-channel exists or not.
The method comprises the steps of acquiring IP addresses of all links between a mobile device and a data server while processing a data request sent by a user through the mobile device, so as to query operators of the corresponding links according to the IP addresses to determine whether all the links belong to the same operator.
And the operator inquiry module is used for determining whether all the links belong to the same operator or not according to the IP address.
Because, in the case that links belong to different operators, based on the actual situation of the current network, data servers in different operators cannot pass through the data servers in an MPTCP manner for users, it is necessary to determine whether multiple links belong to the same operator.
Specifically, after acquiring the IP address of each link, the nginx server queries the IP database to determine the operator to which each link belongs. The apparatus further comprises an information sending module (not shown) that returns a denial of service notification message to the mobile device of the user when the plurality of links do not belong to the same operator. The denial of service notification message is displayed to the user through a display device of the mobile device to notify the user that the data server cannot provide the data download service to the user in an MPTCP manner.
The data sending module provides data downloading service for users in an MPTCP mode.
That is, when multiple links connected between the mobile device and the data server belong to the same operator, the data download service is provided to the user in an MPTCP manner, that is, when a single link cannot meet the speed requirement of the user, data is simultaneously transmitted to the mobile device of the user through other links.
I.e., when the speed of downloading data to the user's mobile device is slow, with the wifi network, a beneficial complement is provided with the cellular network. The mobile device and the data server are assumed to be connected through a plurality of links, including a first link and at least one second link, wherein the first link is a wifi network and the second link is a cellular network. The module comprises a first sending unit and a connection establishing unit.
The first sending unit is used for carrying out data transmission to the mobile equipment of the user by using the existing first link when receiving a data request sent by the user, namely sending data to the mobile equipment by using a wifi network; the connection establishment module is for establishing a second link, i.e. a cellular network, between the mobile device and the data server.
The module further comprises a second sending unit, wherein the second sending unit is used for sending data to the mobile equipment through a second link when the speed of the wifi network lock providing the data cannot meet the user requirement under the condition that the cellular network and the wifi network belong to the same operator, namely the speed is lower than a preset threshold value.
As can be seen from the foregoing technical solutions, this embodiment provides an apparatus for controlling balanced downloading, where the apparatus is applied to a data server, where the data server is configured with a preset interface matched with an MPTCP protocol, and the preset interface is used to return multiple MPTCP stream information IP addresses, and specifically, the method for controlling balanced downloading specifically includes acquiring an IP address of each link used by a mobile device by using the preset interface when a data request sent by a user by using the mobile device is received; inquiring operator information of each IP address to determine whether all the IP addresses belong to the same operator; and if the mobile equipment belongs to the same operator, transmitting data to the mobile equipment in an MPTCP mode. By means of the multi-link transmission mode of the MPTCP mode, the network speed of a single link can be compensated, and therefore the problem that smooth data service experience cannot be achieved under the condition that flow charge is saved as far as possible can be solved.
EXAMPLE III
Fig. 3 is a flowchart illustrating steps of another equalizing download control method according to an embodiment of the present invention.
Referring to fig. 3, the method for controlling balanced downloading provided in this embodiment is applied to a mobile device, and the method specifically includes the steps of:
s201: and displaying the auxiliary downloading option.
That is, when the user inputs a corresponding setting command to the mobile device by clicking or sliding, an auxiliary download option is displayed at a corresponding level or a corresponding position of a corresponding setting menu, and the auxiliary download option is used for the user to perform selection or other operation modes.
In normal times, if the user does not select the auxiliary download option, when the mobile device learns through inquiry that the user does not allow the data download in the multilink download mode, the data download is performed in the common single-link mode.
S202: and controlling the mobile equipment to acquire data in an MPTCP mode.
I.e., in the case where the user has selected the auxiliary download option, the mobile device is controlled to retrieve data from the data server in MPTCP manner. The method comprises the following steps:
controlling the mobile device to establish a plurality of links with a data server; and preferentially downloading data by using a first link in the multiple links, and starting a second link to perform supplementary downloading if the speed of the link is lower and cannot meet the requirement.
According to the technical scheme, the mobile equipment is provided with the corresponding auxiliary downloading option, so that a user can select a downloading mode, when the user selects auxiliary downloading, namely, the mobile equipment is allowed to download in a multilink mode, the mobile equipment can acquire data from the data server in the multilink mode, namely, when the speed requirement of the user cannot be met by the wifi network, the mobile equipment downloads the data in a manner of taking the cellular network as an auxiliary downloading way, and the downloading speed can meet the requirement of the user.
Example four
Fig. 4 is a block diagram of another equalizing download control device according to an embodiment of the present invention.
Referring to fig. 4, the equalizing download control apparatus provided in this embodiment is applied to a mobile device, and specifically includes an option display module 40 and a download control module 50.
The option display module is used for downloading the auxiliary downloading options.
That is, when the user inputs a corresponding setting command to the mobile device by clicking or sliding, an auxiliary download option is displayed at a corresponding level or a corresponding position of a corresponding setting menu, and the auxiliary download option is used for the user to perform selection or other operation modes.
In normal times, if the user does not select the auxiliary download option, when the mobile device learns through inquiry that the user does not allow the data download in the multilink download mode, the data download is performed in the common single-link mode.
The download control module is used for controlling the mobile device to acquire data in an MPTCP mode.
I.e., in the case where the user has selected the auxiliary download option, the mobile device is controlled to retrieve data from the data server in MPTCP manner. The module comprises a connection control unit and a link selection unit.
The connection control unit is used for controlling the mobile equipment and the data server to establish a plurality of links; the link selection unit is used for starting the second link to carry out supplementary downloading when the speed of the first link is lower and cannot meet the requirement.
According to the technical scheme, the mobile equipment is provided with the corresponding auxiliary downloading option, so that a user can select a downloading mode, when the user selects auxiliary downloading, namely, the mobile equipment is allowed to download in a multilink mode, the mobile equipment can acquire data from the data server in the multilink mode, namely, when the speed requirement of the user cannot be met by the wifi network, the mobile equipment downloads the data in a manner of taking the cellular network as an auxiliary downloading way, and the downloading speed can meet the requirement of the user.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The technical solutions provided by the present invention are described in detail above, and the principle and the implementation of the present invention are explained in this document by applying specific examples, and the descriptions of the above examples are only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A balanced download control method is applied to a data server, the data server is provided with a preset interface matched with an MPTCP protocol, the preset interface is used for returning a plurality of MPTCP stream information IP addresses, and the balanced download control method is characterized by comprising the following steps:
when a data request sent by a user by utilizing mobile equipment is received, the IP address of each link used by the mobile equipment is obtained by utilizing the preset interface;
inquiring operator information of each IP address to determine whether all the IP addresses belong to the same operator;
if the mobile equipment belongs to the same operator, transmitting data to the mobile equipment in an MPTCP mode;
and if the mobile equipment does not belong to the same operator, sending service rejection prompt information to the mobile equipment, wherein the prompt information is used for prompting a user that the data server rejects to provide data downloading service in an MPTCP mode.
2. The method for equalized download control according to claim 1, wherein the transferring data to the mobile device in MPTCP manner comprises:
carrying out data transmission by using the existing first link;
at the same time, a second link connection is established.
3. The method for controlling equalized download according to claim 2, characterized by further comprising the steps of:
and when the transmission speed of the first link is lower than a preset threshold value, transmitting data through a second network connection.
4. A balanced download control device is applied to a data server, the data server is provided with a preset interface matched with an MPTCP protocol, the preset interface is used for returning a plurality of MPTCP stream information IP addresses, and the balanced download control device is characterized by comprising:
the address acquisition module is used for acquiring the IP address of each link used by the mobile equipment by using the preset interface when receiving a data request sent by a user by using the mobile equipment;
the operator query module is used for querying operator information of each IP address so as to determine whether all the IP addresses belong to the same operator;
the data sending module is used for transmitting data to the mobile equipment in an MPTCP mode if the mobile equipment belongs to the same operator;
and the information sending module is used for sending service rejection prompt information to the mobile equipment if the mobile equipment does not belong to the same operator, wherein the prompt information is used for prompting a user that the data server rejects the data download service provided in an MPTCP mode.
5. The apparatus for controlling equalized download according to claim 4, wherein the data transmission module comprises:
a first sending unit, configured to perform data transmission with an existing first link;
and the connection establishing unit is used for establishing the second link connection.
6. The apparatus for controlling equalized download according to claim 5, wherein the data sending module further comprises:
and the second sending unit is used for transmitting data through a second network connection when the transmission speed of the first link is lower than a preset threshold value.
7. A balanced download control method is applied to mobile equipment, and is characterized by comprising the following steps:
when a user inputs a setting command, displaying an auxiliary downloading option, wherein the auxiliary downloading option is used for the user to select whether to perform auxiliary downloading;
when the user selects to perform auxiliary downloading, under the condition that a plurality of links connected with the mobile equipment and the data server belong to the same operator, the mobile equipment is controlled to acquire data from the data server in an MPTCP mode.
8. The method of claim 7, wherein said controlling the mobile device to obtain data from the data server in MPTCP manner comprises:
connecting with the data server by a plurality of links;
and performing single link transmission or multi-link transmission according to the transmission speed of the first link in the plurality of links.
9. An apparatus for controlling equalized downloading, applied to a mobile device, the apparatus comprising:
the option display module is used for displaying an auxiliary downloading option when a user inputs a setting command through clicking or sliding, wherein the auxiliary downloading option is used for the user to select whether to perform auxiliary downloading;
and the download control module is used for controlling the mobile equipment to acquire data from the data server in an MPTCP mode under the condition that a plurality of links connected with the mobile equipment and the data server belong to the same operator when a user selects to perform auxiliary download.
10. The apparatus for equalized download control according to claim 9, wherein the download control module comprises:
a connection control unit for connecting with the data server by a plurality of links;
and the link selection unit is used for carrying out single link transmission or multi-link transmission according to the transmission speed of the first link in the plurality of links.
CN201810084582.4A 2018-01-29 2018-01-29 Balanced download control method and device Active CN108540519B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810084582.4A CN108540519B (en) 2018-01-29 2018-01-29 Balanced download control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810084582.4A CN108540519B (en) 2018-01-29 2018-01-29 Balanced download control method and device

Publications (2)

Publication Number Publication Date
CN108540519A CN108540519A (en) 2018-09-14
CN108540519B true CN108540519B (en) 2021-05-25

Family

ID=63486117

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810084582.4A Active CN108540519B (en) 2018-01-29 2018-01-29 Balanced download control method and device

Country Status (1)

Country Link
CN (1) CN108540519B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115442452A (en) * 2019-01-08 2022-12-06 华为技术有限公司 Data transmission method and electronic equipment
CN110809297B (en) * 2019-09-27 2021-03-23 华为技术有限公司 Data transmission method and electronic equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101626384B (en) * 2009-08-05 2012-05-30 腾讯科技(深圳)有限公司 Method and system for transmitting data packet based on TPC protocol
WO2014090335A1 (en) * 2012-12-14 2014-06-19 Telefonaktiebolaget L M Ericsson (Publ) Handling multipath transmission control protocol signalling in a communications network
KR101975684B1 (en) * 2014-07-21 2019-05-07 후아웨이 테크놀러지 컴퍼니 리미티드 Link control node, link control method and communication system
CN105610820B (en) * 2015-12-28 2019-03-22 中国电子科技集团公司第五十四研究所 A kind of jamming control method and device based on MPTCP
CN105490933B (en) * 2015-12-28 2019-06-11 中国电子科技集团公司第五十四研究所 Path management method and device based on multi-path transmission protocol MPTCP
WO2017220149A1 (en) * 2016-06-23 2017-12-28 Telefonaktiebolaget Lm Ericsson (Publ) Scheduling packets for transport over an mptcp connection

Also Published As

Publication number Publication date
CN108540519A (en) 2018-09-14

Similar Documents

Publication Publication Date Title
CN100587681C (en) System and method for communicating images between intercommunicating users
KR101439534B1 (en) Web Redirect Authentication Method and Apparatus of WiFi Roaming Based on AC-AP Association
CN110995554A (en) Method and device for configuring and accessing intelligent household electrical appliance network and storage medium
CN103069755B (en) Use the method and system that the instant message of multiple client instance transmits
CN105357240A (en) Remote assistance control method and device
US9198222B2 (en) Telecommunication network
MXPA05006171A (en) System and method for handshaking between wireless devices and servers.
CN110247951B (en) File transmission control method, device, equipment and storage medium
CN113596191A (en) Data processing method, network element equipment and readable storage medium
CN110012083B (en) Data transmission method, server and data transmission device
EP3103309B1 (en) Method and system for replicating a communication application on an auxiliary computing device
US20230164234A1 (en) Service continuity event notification method, and apparatus
CN108540519B (en) Balanced download control method and device
CN113329454B (en) Method, network element, system and equipment for releasing route
CN106304030B (en) Communication method, device and system based on virtual identity information
CN103546493A (en) Cross-device communication method
EP2770757A1 (en) Method and terminal for information processing based on rcs-e system
US9942322B1 (en) Call log update across mobile device and WebRTC client device
CN103634766A (en) Incoming call forwarding method, device, system and relative equipment
CN103138961B (en) server control method, controlled server and central control server
CN108632355B (en) Routing method for household appliance network, control terminal, readable storage medium and equipment
CN114080056A (en) Session updating method, terminal and network side equipment
EP1561354B1 (en) Streaming of media content in a multimedia messaging service
CN104780591B (en) Business interoperability implementation method, device, system and relevant device between terminal device
CN106488537B (en) Sending method, device and mobile terminal

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