CN105722247B - Network speed superposition device and method - Google Patents

Network speed superposition device and method Download PDF

Info

Publication number
CN105722247B
CN105722247B CN201610063976.2A CN201610063976A CN105722247B CN 105722247 B CN105722247 B CN 105722247B CN 201610063976 A CN201610063976 A CN 201610063976A CN 105722247 B CN105722247 B CN 105722247B
Authority
CN
China
Prior art keywords
terminal
network
data
communication network
speed
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
CN201610063976.2A
Other languages
Chinese (zh)
Other versions
CN105722247A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610063976.2A priority Critical patent/CN105722247B/en
Publication of CN105722247A publication Critical patent/CN105722247A/en
Application granted granted Critical
Publication of CN105722247B publication Critical patent/CN105722247B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections
    • H04W76/16Involving different core network technologies, e.g. a packet-switched [PS] bearer in combination with a circuit-switched [CS] bearer

Landscapes

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

Abstract

The invention discloses a network speed superposition device, which comprises: the terminal comprises a starting module, a judging module and a judging module, wherein the starting module is used for starting a mobile network of the terminal when the terminal is connected with a wireless local area network and the running network speed of the terminal is less than a preset threshold value; the superposition module is used for connecting the started mobile network so as to superpose the running network speed of the terminal; and the operation module is used for operating according to the superposed operation network speed. The invention also discloses a network speed superposition method. The invention improves the internet speed when the terminal is connected with the wireless local area network.

Description

Network speed superposition device and method
Technical Field
The invention relates to the technical field of communication, in particular to a network speed superposition device and a network speed superposition method.
Background
In life, for office workers, the office workers work in the daytime, and generally, under the condition that the office provides a wireless local area network, users can directly connect the wireless local area network to reduce the use of a mobile network.
Disclosure of Invention
The invention mainly aims to provide a network speed superposition device and a network speed superposition method, and aims to solve the technical problem that when a wireless local area network is connected at a position with a poor network signal, information sending or receiving is delayed and even fails due to low network speed.
In order to achieve the above object, the present invention provides a network speed superimposing apparatus, including:
the terminal comprises a starting module, a judging module and a judging module, wherein the starting module is used for starting a mobile network of the terminal when the terminal is connected with a wireless local area network and the running network speed of the terminal is less than a preset threshold value;
the superposition module is used for connecting the started mobile network so as to superpose the running network speed of the terminal;
and the operation module is used for operating according to the superposed operation network speed.
Optionally, the superimposing module includes:
the determining unit is used for determining the current running network speed of the terminal in real time in the process of connecting the mobile network;
the adjusting module is used for adjusting the data consumption amount currently corresponding to the mobile network according to the current running network speed of the terminal;
and the superposition unit is used for superposing the current running network speed of the terminal according to the current corresponding data consumption of the mobile network so as to enable the superposed running network speed to be equal to the preset threshold value.
And the superposition unit is used for superposing the current running network speed of the terminal according to the current corresponding data consumption of the mobile network so as to enable the superposed running network speed to be equal to the preset threshold value.
Optionally, the network speed superimposing apparatus further includes:
and the processing module is used for closing the mobile network and outputting prompt information when detecting that the flow residual value of the mobile network data in the mobile network is smaller than a preset flow value.
In addition, in order to achieve the above object, the present invention further provides a network speed stacking method, including the following steps:
when a terminal is connected with a wireless local area network and the running network speed of the terminal is less than a preset threshold value, starting a mobile network of the terminal;
connecting the started mobile network to superpose the running network speed of the terminal;
and the terminal operates according to the superposed operating network speed.
Optionally, the step of connecting the mobile network started up to superimpose the running wire speed of the terminal includes:
determining the current running network speed of the terminal in real time in the process of connecting the mobile network;
adjusting the current corresponding data consumption of the mobile network according to the current running network speed of the terminal;
and superposing the current running network speed of the terminal according to the current corresponding data consumption of the mobile network so as to enable the superposed running network speed to be equal to the preset threshold value.
Optionally, after the step of the terminal operating according to the network speed after the overlapping, the network speed overlapping method further includes:
and when detecting that the flow residual value of the mobile network data in the mobile network is smaller than a preset flow value, closing the mobile network and outputting prompt information.
The invention provides a network speed superposition device and a method, wherein the network speed superposition device comprises: the mobile network of the terminal is started by the starting module, the superposition module is connected with the mobile network started when the running network speed of the terminal is less than a preset threshold value, the running network speed of the terminal is superposed, and the final running module runs according to the running network speed after superposition, so that the situation that even in an environment with poor wireless network signals, the network can be supplemented through mobile network data is realized, the speed of the terminal for surfing the internet is improved, and the situation that the terminal can surf the internet normally in the environment with poor wireless network signals is realized.
Drawings
FIG. 1 is a schematic diagram of a network topology of a multi-channel data download system of a first embodiment of the present invention;
fig. 2 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 3 is a flowchart of a terminal end of a multi-channel data downloading method according to a second embodiment of the present invention;
FIG. 4 is a flow chart of a server side of a multi-channel data downloading method according to a second embodiment of the present invention
FIG. 5 is a flowchart illustrating an exception handling mechanism incorporated in a multi-channel data download method according to a second embodiment of the present invention;
FIG. 6 is a network topology diagram of a multi-channel data download system of a third embodiment of the present invention;
fig. 7 is a flowchart of a terminal side of a multi-channel data download method according to a fourth embodiment of the present invention;
FIG. 8 is a flow chart of a server side of a multi-channel data download method according to a fourth embodiment of the present invention;
FIG. 9 is a timing diagram of a multi-channel data download method according to a fourth embodiment of the present invention;
FIG. 10 is a flowchart illustrating a multi-channel data downloading method according to a fourth embodiment of the present invention after adding an exception handling mechanism;
FIG. 11 is a timing diagram of a multi-channel data download method according to a fourth embodiment of the present invention;
fig. 12 is a functional block diagram of a fifth embodiment of a wire speed superimposing apparatus according to the present invention;
FIG. 13 is a schematic diagram of a refinement function module of the overlay module of FIG. 3;
FIG. 14 is a diagram illustrating a scenario in which a terminal of the present invention is connected to a WLAN and one or two mobile networks;
fig. 15 is a schematic view of a scenario in which a terminal connects two wlans and one or two mobile networks according to the present invention;
FIG. 16 is a functional block diagram of a sixth embodiment of a wire speed superimposing apparatus according to the present invention;
fig. 17 is a schematic flow chart of a fifth embodiment of the wire speed superposing method according to the fifth embodiment of the invention;
FIG. 18 is a flow chart illustrating a preferred embodiment of the present invention for connecting the mobile network to enable the mobile network to overlay the operating network speed of the terminal;
fig. 19 is a flowchart illustrating a network speed superimposing method according to a sixth embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The mobile terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
In the embodiment of the present invention, the multichannel data downloading system and the communication protocol are described with reference to fig. 1 to 11:
referring to fig. 1, a schematic diagram of a network topology structure of a multi-channel data downloading system according to an embodiment of the present invention includes: a terminal 100, at least two communication stations connected with the terminal 100 through a communication network, and a server 400 communicatively connected with the communication stations.
It should be understood that the communication station may be: an LTE site, a GSM site, a GPRS site, a CDMA site, an EDGE site, a WLAN site, a CDMA-2000 site, a TD-SCDMA site, a WCDMA site or a WIFI site. Correspondingly, the communication network may be: an LTE communication network, a GSM communication network, a GPRS communication network, a CDMA communication network, an EDGE communication network, a WLAN communication network, a CDMA-2000 communication network, a TD-SCDMA communication network, a WCDMA communication network, or a WIFI communication network.
The server 400 may comprise suitable hardware, logic, circuitry and/or code that may be operable to store and provide data to be downloaded by the terminal, including app applications, games, etc. Furthermore, in the embodiment of the present invention, the server 400 includes a decision module 401 for splitting the data packet and distributing the data download traffic according to the network quality measurement report.
The communication station may comprise suitable hardware, logic, circuitry and/or code that may be operable to provide a data transmission channel. The data transmission channel is a physical data connection channel between the terminal 100 and the server 400.
Referring to fig. 2, the terminal 100 of an embodiment of the present invention may include a communication unit 110, an audio/video (a/V) input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, an interface unit 170, a controller 180, a power supply unit 190, and the like. Fig. 2 shows a terminal having various components, but it is to be understood that not all of the shown components are required to be implemented. More or fewer components may alternatively be implemented.
The communication unit 110 typically includes one or more components that allow communication between the terminal 100 and a communication system or communication network. For example, the communication unit 110 may include a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115. In an embodiment of the present invention, the communication unit 110 includes at least one mobile communication module 112 and at least one wireless internet module 113.
The broadcast receiving module 111 receives a broadcast signal and/or broadcast associated information from an external broadcast management server via a broadcast channel. The broadcast channel may include a satellite channel and/or a terrestrial channel.
The mobile communication module 112 transmits and/or receives radio signals to and/or from at least one of a base station (e.g., access point, node B, etc.), an external terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received according to text and/or multimedia messages.
The wireless internet module 113 supports wireless internet access of the mobile terminal. The module may be internally or externally coupled to the terminal. The wireless internet Access technology related to the module may include Wireless Local Area Network (WLAN) (Wi-Fi), wireless broadband (Wibro), worldwide interoperability for microwave Access (Wimax), High Speed Downlink Packet Access (HSDPA), and the like.
The short-range communication module 114 is a module for supporting short-range communication. Some examples of short-range communication technologies include bluetooth, Radio Frequency Identification (RFID), infrared data Association (IrDA), Ultra Wideband (UWB), zigbee, and the like.
The location information module 115 is a module for checking or acquiring location information of the mobile terminal. A typical example of the position information module is a Global Positioning System (GPS).
In an embodiment of the present invention, the communication unit 110 includes at least one mobile communication module 112 and at least one wireless internet module 113. Thus, the terminal 100 of embodiments of the present invention may be in at least two different communication networks.
In the embodiment of the present invention, when the terminal 100 has a data download task, the terminal 100 performs channel quality measurement on a plurality of communication networks in which the terminal is currently located. In the embodiment of the present invention, specifically, when the terminal has a data download task, an available communication network is detected; if only one communication network is available, the data downloading task is completed by the communication network alone. If there are two or more available communication networks, the channel quality measurement is performed on a plurality of communication networks where the terminal is currently located, respectively.
The channel quality measurement includes at least one of: measuring the signal strength of the communication network, measuring the signal-to-noise ratio of the communication network, measuring the link estimation delay of the communication network, measuring the network bandwidth of the communication network, and acquiring the bandwidth support capability of the terminal.
Preferably, the terminal may estimate and measure the link delay by sending the preamble packet. Namely: the terminal sends a ping packet or a custom test data packet similar to the ping packet through the communication network, and records the time of returning ACK, thereby obtaining the link estimation delay. The ping packet and the custom test packet herein do not contain user data and are only used for link quality measurement. In addition, the signal strength, the signal-to-noise ratio, and the network bandwidth can be obtained from a broadcast message (a broadcast message issued by a base station site or the like).
The bandwidth support capability of the terminal 100 is determined by its own software, hardware environment (e.g., carrier aggregation manner adopted by the terminal 100, etc.), and information thereof may be stored in the terminal 100.
In the embodiment of the present invention, the terminal 100 generates a channel quality measurement result according to a protocol rule agreed with the server 400 in advance, and combines the channel quality measurement result with the data download request to generate a first data packet, and sends the first data packet to the server 400.
The data download request includes identification information for identifying an index of the data resource (e.g., an index ID of the APP1 to be downloaded) that the terminal 100 needs to download. The index may be an index primary key in a database table.
Preferably, the first data packet may adopt a message structure of TCP/IP or UDP. When the first data packet is sent, the communication network with the best channel quality can be selected for online data access according to the channel quality measurement result. For example, if the first communication network (e.g., WIFI network) has the strongest signal strength, the smallest link delay, and the highest signal-to-noise ratio, the first communication network is preferentially selected for uplink data access, and the first data packet is sent to the server 400 via the first communication network.
In the embodiment of the present invention, in addition to measuring the channel quality in real time, the channel quality measurement result may be obtained by:
(1) after the channel quality is measured in real time for the first time, the channel quality measurement result of the communication network where the terminal is located is stored, and when the terminal is located in the same communication network environment again, the channel quality measurement result can be directly obtained.
(2) Through statistical analysis, the estimated values of the signal intensity, the signal-to-noise ratio, the link estimation delay and the network bandwidth of each communication network are obtained, and the estimated values are stored in the terminal, so that the information of the signal intensity, the signal-to-noise ratio, the link estimation delay and the network bandwidth can be obtained by inquiring the stored information.
The server 400 allocates a data download task to each communication network according to the channel quality measurement result. Specifically, when the server 400 receives the first data packet, the unpacking operation is performed according to the agreed protocol rule to obtain the channel quality measurement result and the data downloading request, so that the server 400 can obtain the channel quality measurement result, the data resource required to be downloaded by the terminal, the size of the data resource, and other information.
Preferably, in the embodiment of the present invention, the server 400 allocates the data downloading task to each communication network according to the following preset algorithm:
step 10: allocating weights for signal strength, signal-to-noise ratio, link estimation delay, network bandwidth and bandwidth support capacity in advance;
step 11: calculating the channel quality of each communication network according to the received channel quality measurement result and the corresponding weight value;
step 12: and normalizing the channel quality of each communication network to determine the data downloading task of each communication network.
The assignment of data download tasks by the server 400 is described in detail below with reference to an example:
in this example, it is assumed that the terminal 100 is in two available communication networks (a first communication network and a second communication network).
The server 400 allocates the following weights to the signal strength, the signal-to-noise ratio, and the link estimation delay in advance, respectively: 0.4, 0.1, 0.2. In practice, the smaller the network bandwidth and the bandwidth support capability of the terminal, the smaller the network bandwidth and the bandwidth support capability, so that the network bandwidth and the bandwidth support capability are distributed as a whole with the weight: 0.3. if the network bandwidth is smaller than the bandwidth supporting capability, the weight of the network bandwidth is 0.3 and the weight of the bandwidth supporting capability is 0; if the bandwidth supporting capability is smaller than the network bandwidth, the weight of the bandwidth supporting capability is 0.3 and the weight of the network bandwidth is 0; if the two are equal, the network bandwidth or bandwidth support capability is arbitrarily selected to allocate a weight of 0.3, and the other weight is 0.
According to the weight setting, if the received channel quality measurement results of the first communication network are respectively: the signal strength is 4, the signal-to-noise ratio is 12db, the link estimation delay is 0.1ms, the network bandwidth is 20MHz, and the bandwidth support capability is 20MHz, then the channel quality of the first communication network is:
P1=0.4×4+0.1×12+0.2×0.1+0.3×20+0×20=8.82
the received channel quality measurement results of the second communication network are respectively: the signal strength is 4, the signal-to-noise ratio is 10db, the link estimation delay is 0.5ms, the network bandwidth is 5MHz, and the bandwidth support capability is 20MHz, then the channel quality of the second communication network is:
P2=0.4×4+0.1×10+0.2×0.5+0.3×5+0×20=4.2
then, P1 and P2 were normalized separately as follows:
Figure BDA0000918419350000081
Figure BDA0000918419350000082
the data download task for the first communication network is 68% and the data download task for the second communication network is 32%.
It should be understood that the data download tasks may be distributed to each communication network according to other algorithms, for example, an average distribution manner (for example, when the channel quality of two communication networks where the user is located is close, the data download tasks are distributed to each communication network by 50%), or a direct distribution manner according to the link estimation delay (for example, if the channel quality of one communication network is poor, for example, the link estimation delay is greater than 1ms, all the data download tasks are distributed to the other communication network). The assignment of the data download task may be set by the user, for example, the user may set the data download task of the first communication network to be fixed to 20% and the data download task of the second communication network to be fixed to 80% in order to save the traffic of the first communication network.
Therefore, after the data downloading task of each communication network is determined, the server divides the data required to be downloaded by the terminal into a plurality of data packets according to the data downloading task of each communication network. Preferably, the server splits the data packets according to a rule agreed with the terminal in advance, adds a packet header to each data packet after splitting to form a plurality of new data packets, and loads the plurality of data packets into the cache queue. In one embodiment, the data packets in the buffer queue are buffered, and the server does not delete the data packets until the terminal is confirmed to completely download the data packets.
For example, according to the above data downloading tasks of 68% and 32%, the data can be divided into a second data packet and a third data packet, which are downloaded through the first communication network and the second communication network respectively, wherein the data amount of the second data packet accounts for 68% of the total data amount, and the data amount of the third data packet accounts for 32% of the total data amount.
The server 400 divides the data to be downloaded by the terminal into a plurality of data packets according to the data download task of each communication network and loads the data packets into the cache queue. The terminal 100 downloads the corresponding data packet from the buffer queue through each communication network.
After the data packets are completely downloaded, the terminal 100 reassembles the data packets downloaded through each communication network to obtain the data that the terminal needs to download. Preferably, after the terminal 100 finishes downloading the data, unpacking the data according to a rule agreed with the server to obtain a data packet, and recombining (e.g., overlapping) the data packet according to an agreed server identifier to obtain complete data, thereby implementing downloading of the multi-channel data.
In this embodiment, according to the channel quality measurement result of the terminal, the channel quality of each communication network is analyzed, and the link quality, the link delay, the maximum bandwidth supported by the link, and the terminal capability (mainly, the bandwidth support capability, the carrier aggregation scheme, and the like) are comprehensively considered to comprehensively consider the more optimal communication network, so that the data download task (data load) of each communication network is adjusted, and the more optimal node is enabled to undertake more data packet download tasks. The received data packets are recombined at the terminal by splitting the data packets and then transmitting the data packets through multiple channels. Therefore, multichannel downloading of data is achieved, idle resources are fully utilized, the peak rate which can be achieved in the downloading process is the sum of multiple channels, the splitting of a large data packet is reduced, the overall transmission rate is improved, the throughput of the terminal is improved, and the user experience is improved.
In order to avoid the problems of data downloading failure and the like caused by communication network abnormality, an abnormality processing mechanism is added to the multi-channel data downloading system in the embodiment of the present invention, that is, in the data downloading process, when the terminal 100 detects that the communication network connection is abnormal (for example, the terminal 100 is disconnected from the WIFI communication network or the LTE communication network), the abnormality processing mechanism is started to download data. Specifically, the exception handling mechanism of this embodiment may be implemented in several ways:
the first method is as follows: the terminal 100 detects whether there is an abnormal communication network during data downloading, and if so, detects a time length during which the abnormal communication network (e.g., WIFI communication network) is abnormal, and if the time length exceeds a preset time length T1, sends a status packet to the server 400 through another normal communication network (e.g., LTE communication network) to notify the server 400 that there is an abnormality in the communication network and an interruption position for downloading through the abnormal communication network.
The server 400 receives the status packet, i.e. extracts the data packet to be downloaded (i.e. the data that has not been downloaded) from the cache, so that the terminal 100 switches to other normal communication networks, and continues downloading the data packet from the interrupt position to complete the downloading of the data resource (breakpoint resume).
The second method comprises the following steps: the server 400 compares the downloaded data amount with the abnormal download threshold value when receiving the status packet, and if the downloaded data amount is smaller than the abnormal download threshold value, notifies the terminal 100 to delete the data packet downloaded through the abnormal communication network, switches to the normal communication network, and downloads data again; and if the data is larger than the abnormal downloading threshold, downloading the data according to the first mode.
The third method comprises the following steps: the terminal 100 deletes the data packet downloaded through the abnormal communication network and switches to the normal communication network to download the data again.
Specifically, if there are 2 or more normal communication networks, the switching may be performed according to the above-mentioned channel quality measurement result (for example, switching to the communication network with the best channel quality measurement result), or according to the size of the data download amount completed by the normal communication network (for example, switching to the communication network with the largest data download amount), or performing the switching by considering the channel quality measurement result and the size of the completed data download amount comprehensively.
In this embodiment, the communication network anomaly includes the terminal being out of its coverage, a communication network service outage, and the like.
After the data is completely downloaded, the terminal 100 reassembles a plurality of data packets downloaded through different communication networks to obtain the data that the terminal needs to download.
By adding an exception handling mechanism, the problem of data downloading caused by network environment mutation can be avoided, the situation of data downloading failure under the abnormal condition of a communication network can be avoided, the high-speed and complete downloading of data is further ensured, the throughput of the terminal is improved, and the user experience is optimized.
Second embodiment
Referring to fig. 3 and 4, a flowchart of a multi-channel data downloading method according to a first embodiment of the present invention is shown. As shown in fig. 3, in the multi-channel data downloading method according to the first embodiment of the present invention, at the terminal, in step S01, the terminal performs channel quality measurement on each of the plurality of communication networks where the terminal is currently located. And after the channel quality measurement result is obtained, the terminal combines the channel quality measurement result into the data downloading request to generate a first data packet and sends the first data packet to the server. In step S02, the terminal downloads data through the plurality of communication networks according to the data download task assigned by the server to each communication network based on the channel quality measurement result. Specifically, the terminal downloads corresponding data packets through each communication network, wherein the data packets are data packets corresponding to each communication network, and the data packets are obtained by splitting data to be downloaded by the terminal into a plurality of data packets corresponding to each communication network based on a data downloading task of each communication network. In step S03, the terminal reassembles the plurality of data packets downloaded through different communication networks to obtain the data that the terminal needs to download.
Referring to fig. 4, at the side of the server, in step S101, a channel quality measurement result from the terminal is received. In step S102, a data download task is allocated for each communication network based on the channel quality measurement result. Specifically, after the server determines the data downloading task of each communication network, the server splits the data to be downloaded by the terminal into a plurality of data packets according to the data downloading task of each communication network, and loads the data packets into a cache queue for the terminal to download. When in use
It should be understood that the implementation principle and details of the multi-channel data downloading method of the second embodiment of the present invention are the same as those of the first embodiment described above, and are not described herein again.
In addition, in order to avoid the problem of communication network abnormality in the data downloading process, an abnormality processing mechanism is added in the multi-channel data downloading method in the embodiment of the present invention, that is, in the data downloading process, when the terminal 100 detects that the communication network connection is abnormal (for example, the terminal 100 is separated from the WIFI communication network or the LTE communication network), the abnormality processing mechanism is started to perform data downloading. Referring to fig. 5, specifically, after adding the exception handling mechanism, the method for downloading multi-channel data according to the embodiment of the present invention includes:
s11, the terminal measures the channel quality of each of the plurality of communication networks in which the terminal is currently located, and sends the channel quality measurement result to the server.
And S12, the server receives the channel quality measurement result from the terminal and distributes data downloading tasks for each communication network based on the channel quality measurement result.
And S13, the terminal downloads data through the plurality of communication networks according to the data downloading tasks distributed by the server for each communication network based on the channel quality measurement result.
S14, the terminal detects whether the data download is completed, if so, executes step S20, and if not, executes step S15.
S15, the terminal detects whether there is an abnormal communication network, if so, detects the abnormal time length of the abnormal communication network in step S16, and determines that the time length exceeds the preset time length T1 (e.g., 1 second) in step S17, otherwise, continues to execute step S14. If the preset time duration is exceeded, a status packet is sent to the server through other normal communication networks in step S18 to notify the server that there is an abnormality in the communication network and an interruption location for downloading through the abnormal communication network, and step S19 is executed, otherwise, step S14 is continued.
In step S19, when the server receives the status packet, it extracts the data packet to be downloaded from the buffer queue, and performs breakpoint transmission, or notifies the terminal to delete the data downloaded via the abnormal network and re-download the data packet, and then performs step S14. Specifically, the data can be continuously downloaded in any one of the following three ways:
the first method is as follows: carrying out breakpoint continuous transmission through a normal communication network, namely: and the server receives the state packet, extracts the data packet to be downloaded from the buffer queue, switches to a normal communication network, and continues to download the data packet from the interrupt position.
The second method comprises the following steps: the server 400 compares the downloaded data volume with the abnormal download threshold value when receiving the status packet, and if the downloaded data volume is smaller than the abnormal download threshold value, notifies the terminal 100 to delete the data packet downloaded through the abnormal communication network, and switches to the normal communication network to download the data again; and if the data is larger than the abnormal downloading threshold, downloading the data according to the first mode.
The third method comprises the following steps: the terminal 100 deletes the data packet downloaded through the abnormal communication network and switches to the normal communication network to download the data again.
Specifically, if there are 2 or more normal communication networks, the switching may be performed according to the above-mentioned channel quality measurement result (for example, switching to the communication network with the best channel quality measurement result), or according to the size of the data download amount completed by the normal communication network (for example, switching to the communication network with the largest data download amount), or performing the switching by considering the channel quality measurement result and the size of the completed data download amount comprehensively.
In this embodiment, the communication network anomaly includes the terminal being out of its coverage, a communication network service outage, and the like.
In step S20, the terminal reassembles the plurality of data packets downloaded through different communication networks to obtain the data that the terminal needs to download.
Before data downloading is not finished, if an abnormal communication network is recovered to be normal, the downloading position at the moment can be recorded, the communication network is switched to carry out breakpoint continuous transmission, and the network can be ignored, and other networks finish downloading. It should be understood that other ways may be used, and the embodiment of the present invention is not limited thereto.
The multichannel data downloading method of the embodiment of the invention analyzes the channel quality of each communication network according to the channel quality measurement result of the terminal, comprehensively considers the link quality, the link delay, the maximum bandwidth supported by the link and the terminal capability (mainly bandwidth supporting capability, carrier aggregation scheme and the like) to comprehensively consider the more optimal communication network, thereby adjusting the data downloading task (data load) of each communication network and leading the more optimal node to bear more data packet downloading tasks. The received data packets are recombined at the terminal by splitting the data packets and then transmitting the data packets through multiple channels. Therefore, multichannel downloading of data is achieved, idle resources are fully utilized, the peak rate which can be achieved in the downloading process is the sum of multiple channels, the splitting of a large data packet is reduced, the overall transmission rate is improved, the throughput of the terminal is improved, and the user experience is improved. And by adding an exception handling mechanism, the problem of data downloading caused by network environment mutation can be avoided, the situation of data downloading failure under the abnormal condition of a communication network can be avoided, the high-speed and complete downloading of data is further ensured, the throughput of the terminal is improved, and the user experience is optimized.
Third embodiment
Fig. 6 is a network topology diagram of a multi-channel data downloading system according to a third embodiment of the present invention. In this embodiment, the communication networks available to the terminal 100 include an LTE communication network and a WIFI communication network, and the terminal 100 implements multi-channel data downloading through the LTE communication network and the WIFI communication network. Specifically, the multichannel data download system of the embodiment includes: server 400, LTE communication network 301, WIFI communication network 302, LTE station 201, WIFI station 202, and terminal 100. The terminal 100 is in communication connection with an LTE site 201 and a WIFI site 202 respectively; the LTE station 201 and the WIFI station 202 are respectively in communication connection with the server 400.
The LTE station 201 may comprise suitable hardware, logic, circuitry, and/or code that may be operable to provide a first data transmission channel. The first data transmission path establishes a first physical data connection path between the terminal 100 and the server 400. Specifically, the LTE station 201 faces the terminal 100, and the LTE communication network 301 faces the server 400.
The WIFI station 202 may comprise suitable hardware, logic, circuitry, and/or code that may be operable to provide a second data transmission channel. The second data channel is a second physical data connection channel between the terminal 100 and the server 400. The physical data channel includes: wireless channels and wired channels (between WIFI sites and servers). Specifically, the WIFI station 202 faces the terminal 100, and the WIFI communication network 302 faces the server 400.
The terminal 100 is configured to perform channel quality measurement on the LTE communication network 301 and the WIFI communication network 302 where the terminal is currently located.
In the embodiment of the invention, the terminal generates the channel measurement result according to the protocol rule agreed with the server in advance, combines the channel quality measurement result into the data downloading request to generate the first data packet, and sends the first data packet to the server.
The data downloading request contains identification information for identifying the index (for example, the index ID of the APP 1) of the data needing to be downloaded by the terminal. The index may be an index primary key in a database table.
Preferably, the first data packet may adopt a message structure of TCP/IP or UDP. When the first data packet is sent, a communication network (e.g., the WIFI communication network 302) with the best channel quality may be selected for online data access according to the channel quality measurement result.
The server 400 allocates data download tasks to the LTE communication network 301 and the WIFI communication network 302 according to the channel quality measurement result.
Specifically, the server receives the first data packet, performs unpacking operation according to the agreed protocol rule to obtain the channel measurement result and the data download request, so that the server can obtain the channel measurement result, the data resource required to be downloaded by the terminal, the size of the data resource, and the like.
Preferably, the server 400 may distribute the data downloading task by the weighting method, the average distribution, the distribution based on the estimated delay of the link, the distribution based on the user setting, and the like.
Thus, after determining the data download task of each communication network, the server 400 divides the data to be downloaded by the terminal 100 into the second data packet and the third data packet according to the data download task of each communication network. Preferably, the server 400 splits the data packets according to a rule agreed with the terminal in advance, adds a packet header to each data packet after splitting, forms a second data packet and a third data packet, and loads the second data packet and the third data packet into the cache queue. In one embodiment, the server 40 does not delete the buffered packets in the buffer queue until it is confirmed that the terminal 100 has completely downloaded.
For example, according to the data download tasks of 68% and 32%, the data can be split into a second data packet and a third data packet, wherein the data amount of the second data packet accounts for 68% of the total data amount, and the data amount of the third data packet accounts for 32% of the total data amount.
According to the data downloading task, the terminal 100 downloads the second data packet and the third data packet from the cache queue through the LTE communication network 301 and the WIFI communication network 302, respectively.
After the data packets are completely downloaded, the terminal 100 reassembles the data packets downloaded through the LTE communication network 301 and the WIFI communication network 302 to obtain data that the terminal needs to download. Preferably, after the terminal finishes downloading the data, unpacking the data according to a rule agreed with the server to obtain a data packet, and recombining (for example, overlapping) the data packet according to an agreed server identifier to obtain complete data, thereby realizing downloading of the multi-channel data.
In order to avoid data downloading failure caused by abnormality of the WIFI communication network or the LTE communication network in the data downloading process, an abnormality handling mechanism is added in the embodiment of the present invention, that is, in the data downloading process, when the terminal 100 detects that the communication network connection is abnormal (for example, the terminal 100 is disconnected from the WIFI communication network or the LTE communication network), the abnormality handling mechanism is started to download data. Specifically, the exception handling mechanism of this embodiment may be implemented in several ways:
the first method is as follows: the terminal 100 detects whether there is an abnormal communication network during data downloading, and if so, detects a time length during which the abnormal communication network (e.g., WIFI communication network) is abnormal, and if the time length exceeds a preset time length T1, sends a status packet to the server 400 through another normal communication network (e.g., LTE communication network) to notify the server 400 that there is an abnormality in the communication network and an interruption position for downloading through the abnormal communication network.
The server 400 receives the status packet, i.e. extracts the data packet to be downloaded (i.e. the data that has not been downloaded) from the cache, so that the terminal 100 switches to other normal communication networks, and continues downloading the data packet from the interrupt position to complete the downloading of the data resource (breakpoint resume).
The second method comprises the following steps: the server 400 compares the downloaded data amount with the abnormal download threshold value when receiving the status packet, and if the downloaded data amount is smaller than the abnormal download threshold value, notifies the terminal 100 to delete the data packet downloaded through the abnormal communication network, switches to the normal communication network, and downloads data again; and if the data is larger than the abnormal downloading threshold, downloading the data according to the first mode.
The third method comprises the following steps: the terminal 100 deletes the data packet downloaded through the abnormal communication network and switches to the normal communication network to download the data again.
The multichannel data download system of this embodiment realizes the multichannel download of data through LTE communication network and WIFI communication network, has realized LTE + WIFI's data aggregation, make full use of idle resource for can reach the peak rate and be the multichannel sum in the download process, through reducing big data packet split, improve holistic transmission rate, improve the throughput at terminal, promote user experience. And by adding an exception handling mechanism, the problem of data downloading caused by network environment mutation can be avoided, the situation of data downloading failure under the abnormal condition of a communication network can be avoided, the high-speed and complete downloading of data is further ensured, the throughput of the terminal is improved, and the user experience is optimized.
Fourth embodiment
Referring to fig. 7 and 8, a flowchart of a multi-channel data downloading method according to a fourth embodiment of the present invention is shown. Referring to fig. 7, in this embodiment, at one end of the terminal, in step S21, the terminal performs channel quality measurement on the LTE communication network and the WIFI communication network where the terminal is currently located, respectively. And after the channel quality measurement result is obtained, the terminal combines the channel quality measurement result into the data downloading request to generate a first data packet and sends the first data packet to the server. In step S22, the terminal downloads data through the LTE communication network and the WIFI communication network, respectively, according to the data download task allocated by the server to the LTE communication network and the WIFI communication network based on the channel quality measurement result. Specifically, the terminal downloads corresponding data packets through each communication network, wherein the data packets are data packets corresponding to the LTE communication network and the WIFI communication network, and the data packets are split into a plurality of data packets corresponding to the LTE communication network and the WIFI communication network by the server based on a data downloading task of each communication network. In step S23, the terminal reassembles the multiple data packets downloaded through the LTE communication network and the WIFI communication network to obtain the data that the terminal needs to download.
Referring to fig. 8, at the side of the server, in step S201, a channel quality measurement result from the terminal is received. In step S202, data download tasks are allocated for the LTE communication network and the WIFI communication network based on the channel quality measurement result. After determining the data downloading task of each communication network, the server divides the data to be downloaded by the terminal into two data packets (a second data packet and a third data packet) according to the data downloading task of each communication network, and loads the data packets into a cache queue for the terminal to download.
In the embodiment, the data aggregation of LTE + WIFI is realized, the multichannel downloading of data is realized, idle resources are fully utilized, the peak rate which can be reached in the downloading process is the sum of multiple channels, the large data packet is split and reduced, the overall transmission rate is improved, the throughput of the terminal is improved, and the user experience is improved.
Fig. 9 is a timing chart of a multi-channel data downloading method according to a fourth embodiment of the present invention. Terminal 100 establishes a first network connection with LTE site 201 and terminal 100 establishes a second network connection with WIFI site 202, such that terminal 100 is in both the LTE communication network and the WIFI communication network. When the terminal 100 has data to be downloaded, channel quality measurement is performed, and the channel quality measurement result is incorporated into the download request to generate a first data packet. The terminal 100 transmits the first data packet to the server 400 through the WIFI communication network or the LTE communication network (shown in fig. 6 as being transmitted through the LTE network). After receiving the first data packet, the server 400 returns an acknowledgement frame ACK to the terminal 100. The server 400 analyzes the first data packet to obtain a channel quality measurement result, and allocates a data download task for the LTE communication network and the WIFI communication network according to the channel quality measurement result. The server 400 allocates the data to be downloaded by the terminal 100 to the second data packet and the third data packet according to the data download task, and loads the second data packet and the third data packet into the buffer queue. The terminal 100 downloads the second data packet and the third data packet through the LTE communication network and the WIFI communication network, respectively. After the second data packet and the third data packet are downloaded through the dual channels, the terminal 100 performs unpacking and reassembly to obtain a complete data packet, so that the terminal 100 completes data downloading and returns an acknowledgement frame ACK to the server through the WIFI communication network or the LTE communication network.
In order to avoid data downloading failure caused by abnormality of the WIFI communication network or the LTE communication network in the data downloading process, an abnormality processing mechanism is added, that is, in the data downloading process, when the terminal 100 detects that the communication network connection is abnormal (for example, the terminal 100 is separated from the WIFI communication network or the LTE communication network), the abnormality processing mechanism is started to download data.
Referring to fig. 10, after the exception handling mechanism is added, in step S31, the terminal performs channel quality measurement on the LTE communication network and the WIFI communication network where the terminal is currently located, and sends the channel quality measurement result to the server. And after the channel quality measurement result is obtained, the terminal combines the channel quality measurement result into the data downloading request to generate a first data packet and sends the first data packet to the server. In step S32, the server receives the channel quality measurement result from the terminal, and allocates a data download task for the LTE communication network and the WIFI communication network based on the channel quality measurement result. After determining the data downloading task of each communication network, the server divides the data to be downloaded by the terminal into two data packets (a second data packet and a third data packet) according to the data downloading task of each communication network, and loads the two data packets into a cache queue. In step S33, the terminal downloads data through the LTE communication network and the WIFI communication network, respectively, according to the data download task allocated by the server to the LTE communication network and the WIFI communication network based on the channel quality measurement result.
In step S34, the terminal detects whether the data download is completed, and if so, executes step S40, and if not, executes step S35.
In step S35, the terminal detects whether there is an abnormal communication network, if so, detects the abnormal time length of the abnormal communication network in step S36, and determines that the time length exceeds a preset time length T1 (e.g., 1 second) in step S37, otherwise, continues to execute step S34. If the preset time duration is exceeded, a status packet is sent to the server through other normal communication networks in step S38 to notify the server that there is an abnormality in the communication network and an interruption location for downloading through the abnormal communication network, and step S39 is executed, otherwise, step S34 is continued.
In step S39, when the server receives the status packet, it extracts the data packet to be downloaded from the buffer queue, and performs breakpoint transmission, or notifies the terminal to delete the data downloaded via the abnormal network and re-download the data packet, and then performs step S34. Specifically, the data can be continuously downloaded in any one of the following three ways:
the first method is as follows: carrying out breakpoint continuous transmission through a normal communication network, namely: and the server receives the state packet, extracts the data packet to be downloaded from the buffer queue, switches to a normal communication network, and continues to download the data packet from the interrupt position.
The second method comprises the following steps: the server 400 compares the downloaded data volume with the abnormal download threshold value when receiving the status packet, and if the downloaded data volume is smaller than the abnormal download threshold value, notifies the terminal 100 to delete the data packet downloaded through the abnormal communication network, and switches to the normal communication network to download the data again; and if the data is larger than the abnormal downloading threshold, downloading the data according to the first mode.
The third method comprises the following steps: the terminal 100 deletes the data packet downloaded through the abnormal communication network and switches to the normal communication network to download the data again.
In step S40, the terminal reassembles the plurality of data packets downloaded through different communication networks to obtain the data that the terminal needs to download.
Fig. 11 is a timing chart of a multi-channel data downloading method according to a fourth embodiment of the present invention. Terminal 100 establishes a first network connection with LTE site 201 and terminal 100 establishes a second network connection with WIFI site 202, such that terminal 100 is in both the LTE communication network and the WIFI communication network. When the terminal 100 has data to be downloaded, channel quality measurement is performed, and the channel quality measurement result is incorporated into the download request to generate a first data packet. The terminal 100 transmits the first data packet to the server 400 through the WIFI communication network or the LTE communication network (shown in fig. 6 as being transmitted through the LTE network). After receiving the first data packet, the server 400 returns an acknowledgement frame ACK to the terminal 100. The server 400 analyzes the first data packet to obtain a channel quality measurement result, and allocates a data download task for the LTE communication network and the WIFI communication network according to the channel quality measurement result. The server 400 allocates the data to be downloaded by the terminal 100 to the second data packet and the third data packet according to the data download task, and loads the second data packet and the third data packet into the buffer queue. The terminal 100 downloads the second data packet and the third data packet through the LTE communication network and the WIFI communication network, respectively. In the downloading process, if it is detected that the communication network is abnormal and the abnormal duration exceeds the preset value, a status packet is generated and sent to the server 400 through the normal communication network (shown as the LTE communication network in fig. 9). The status packet contains the interrupt location. After receiving the status packet, the server 400 extracts the data packet to be downloaded from the cache queue, and switches to the normal communication network to enable the terminal 100 to continue downloading the data packet from the interrupted location (or continue downloading the data packet in the above-mentioned manner two or three). Therefore, after the second data packet and the third data packet are downloaded through the dual channels, the terminal 100 performs unpacking and reassembly to obtain a complete data packet. The terminal 100 completes the data download, and the normal communication network (shown as the LTE communication network in fig. 9) returns an acknowledgement frame ACK to the server.
Before data downloading is not finished, if an abnormal communication network is recovered to be normal, the downloading position at the moment can be recorded, the communication network is switched to carry out breakpoint continuous transmission, and the network can be ignored, and other networks finish downloading. It should be understood that other ways may be used, and the embodiment of the present invention is not limited thereto.
The multichannel data download system of this embodiment realizes the multichannel download of data through LTE communication network and WIFI communication network, has realized LTE + WIFI's data aggregation, make full use of idle resource for can reach the peak rate and be the multichannel sum in the download process, through reducing big data packet split, improve holistic transmission rate, improve the throughput at terminal, promote user experience. And by adding an exception handling mechanism, the problem of data downloading caused by network environment mutation can be avoided, the situation of data downloading failure under the abnormal condition of a communication network can be avoided, the high-speed and complete downloading of data is further ensured, the throughput of the terminal is improved, and the user experience is optimized.
By the multichannel data downloading method and the multichannel data downloading system, according to the channel quality measurement result of the terminal, the channel quality of each communication network is analyzed, the link quality, the link delay, the maximum bandwidth supported by the link and the terminal capability (mainly bandwidth supporting capability, a carrier aggregation scheme and the like) are comprehensively considered, and a better communication network is comprehensively considered, so that the data downloading task (data load) of each communication network is adjusted, a better node bears more data packet downloading tasks, multichannel downloading of data is realized, idle resources are fully utilized, the peak rate can be the sum of multiple channels in the downloading process, the integral transmission rate is improved by splitting a large data packet to be small, the throughput of the terminal is improved, and the user experience is improved. And by adding an exception handling mechanism, the problem of data downloading caused by network environment mutation can be avoided, the situation of data downloading failure under the abnormal condition of a communication network can be avoided, the high-speed and complete downloading of data is further ensured, the throughput of the terminal is improved, and the user experience is optimized. On the other hand, the data aggregation of LTE + WIFI is realized, idle resources are fully utilized, the downlink rate peak value of the terminal can break through the rate limit of LTE or WIFI under the existing network, the downlink rate reaches the superposition of the rate peak values of the LTE and the WIFI, and the throughput rate of the existing terminal is greatly improved; the download rate of the user can be increased exponentially, and the user experience is improved.
Based on the hardware structure of the mobile terminal and the structure of the communication device, the network speed superposition device provided by the invention has various embodiments.
Referring to fig. 12, fig. 12 is a functional block diagram of a fifth embodiment of the wire speed superimposing apparatus according to the present invention.
It is emphasized that the functional block diagram of fig. 12 is merely an exemplary diagram of a preferred embodiment for those skilled in the art, and those skilled in the art can easily add new functional blocks around the functional block of the wire speed stacking apparatus shown in fig. 12; the names of the function modules are self-defined names which are only used for assisting in understanding the program function blocks of the network speed superposition device and are not used for limiting the technical scheme of the invention, and the core of the technical scheme of the invention is the functions which are to be achieved by the function modules with the respective defined names.
This embodiment proposes a fast stack device of net, fast stack device of net includes:
the system comprises a starting module 10, a network management module and a control module, wherein the starting module is used for starting a mobile network of a terminal when the terminal is connected with a wireless local area network and the running network speed of the terminal is less than a preset threshold value;
in this embodiment, when the terminal is connected to a wireless local area network and the operating network speed of the terminal is less than a preset threshold, mobile network data may be supplemented at this time, that is, the starting module 10 starts the mobile network of the terminal and obtains mobile network data corresponding to the mobile network. In this embodiment, the terminal includes, but is not limited to, a mobile phone, a PAD, a PC computer, and the like, and the WIreless lan includes, but is not limited to, a WIreless local area network (wifi), an NFC (Near field communication, or Near field communication), and the like.
Further, the starting module 10 may start the mobile network of the terminal and obtain mobile network data corresponding to the mobile network only when the operating network speed of the terminal when the terminal is connected to the wireless local area network is less than a preset threshold and when the terminal currently operates a preset application, such as a WeChat application, a short message application, and the like, where the preset application may be an application set by a user in advance or an application set by a default of the terminal. In this embodiment, in order to reduce consumption of mobile network data, the preset application is preferably an information interaction application, such as a QQ application, a WeChat application, or a mailbox application, and when the terminal runs other applications, such as a Taobao application or a video application, the mobile network of the terminal is not started. Of course, the preset application may also be a video application such as an arcade application, etc. without considering the data consumption of the mobile network.
In this embodiment, the network speed when the terminal is connected to the wireless local area network is less than the preset threshold, and the mobile network of the terminal is started only when the terminal runs the preset application, and the mobile network data corresponding to the mobile network is acquired, so that the mobile network data of the terminal can be prevented from being used without limitation when other applications which take traffic are run, and the waste of the mobile network data is reduced.
A superposition module 20, configured to connect the started mobile network to superpose the running network speed of the terminal;
in this embodiment, the implementation manner that the overlay module 20 connects to the started mobile network to overlay the running network speed of the terminal includes:
1) in a first mode, when the overlay module 20 connects the started mobile network to overlay the running network speed of the terminal, the speed limit may be performed when the terminal uses the mobile network data corresponding to the mobile network, for example, the data traffic consumed by the mobile network data per second is set to a fixed value, for example, 20k/s, so that the unlimited increase of the network speed is prevented, and the waste of the mobile network data is avoided.
2) In a second mode, in order to improve the intelligence of increasing the network speed, referring to fig. 13, the overlay module 20 includes:
a determining unit 21, configured to determine, in real time, a current operating network speed of the terminal in a process of connecting to the mobile network;
an adjusting module 22, configured to adjust a data consumption amount currently corresponding to the mobile network according to a current operating network speed of the terminal;
and the superimposing unit 23 is configured to superimpose the current operating network speed of the terminal according to the current corresponding data consumption of the mobile network, so that the superimposed operating network speed is equal to the preset threshold.
In this embodiment, in the process of connecting the mobile network, the determining unit 21 determines the current operating network speed of the terminal in real time, the adjusting module 22 adjusts the current corresponding data consumption of the mobile network according to the current operating network speed of the terminal, and the superimposing unit 23 superimposes the current operating network speed of the terminal according to the current corresponding data consumption of the mobile network, so that the superimposed operating network speed is equal to the preset threshold, for example: when the current operation network speed of the terminal is 3k/s, if the preset threshold value for achieving the normal internet surfing network speed is 12k/s, the current corresponding data consumption of the mobile network is adjusted to be 9k at this time, and it can be understood that the current operation unit is second (/ s), the current operation network speed of the terminal can be overlapped according to the current corresponding data consumption 9k of the mobile network, so that the overlapped operation network speed is equal to 12 k/s. That is, when the network speed is increased for the wireless local area network, the network speed of the wireless local area network is increased to the network speed meeting the preset threshold value, so that the network speed requirement of the internet can be met, and the excessive consumption of the mobile network data can be reduced.
It can be understood that, when the terminal is connected to the wireless local area network, the terminal is substantially connected to a preset channel link in the wireless local area network, and the preset channel link is determined according to a specific situation, for example, if the channel link required by the current terminal to run the WeChat application is 4, the terminal is connected to the 4 channel links in the wireless local area network; and the number of channel links required by the current terminal to run video applications such as the Aichi art is 10, and the terminal is connected with the 10 channel links in the wireless local area network. If the network speed corresponding to the current connection channel link of the terminal is less than the preset threshold, it may be that the wireless local area network has poor network quality, where the influencing factors of the network quality include network delay, maximum bandwidth, signal strength, and the like. Then, in the case of a poor network signal, the terminal starts a mobile network to connect to the mobile network, and similarly, the terminal connects to the mobile network substantially also to each channel link of the mobile network, and in the case of starting the mobile network, the specific way of the terminal connecting to the mobile network is as follows: firstly, determining a channel link to be connected currently by the terminal, for example, only 4 channel links are needed for the terminal to run a WeChat application, and 10 channel links are needed for running a video application such as Aiqiyi, therefore, determining the channel link to be connected currently by the terminal, further determining a link allocation proportion between the wireless local area network and the mobile network, wherein the link allocation proportion between the wireless local area network and the mobile network can be determined according to the signal quality of the two networks, and after determining the link allocation proportion between the wireless local area network and the mobile network, the terminal connects the channel links corresponding to the wireless local area network and the mobile network according to the determined allocation proportion.
As can be understood by those skilled in the art, the more the channel links are connected, the more the bandwidth resources occupied by the terminal are, and thus the network speed is faster, in this embodiment, since the network speed of the terminal connected to the wireless local area network is less than the preset threshold, which indicates that the current network quality of the wireless local area network is poor, when the channel links are connected, the channel links corresponding to more mobile networks may be connected, and the channel links of fewer wireless local area networks may be connected.
And the operation module 30 is used for operating according to the superposed operation network speed.
In this embodiment, the number of the wireless local area networks to which the terminal initially connects may be one, or may be two, and similarly, when the starting module 10 starts the mobile data network and connects the started mobile network, the number of the connected mobile networks may also be one or two.
Referring to fig. 14, when the wlan connected to the terminal is only one wlan, then, when the first mobile network is started, the started first mobile network is connected, at this time, the operating network speed of the terminal is superimposed, it is further determined whether the operating network speed according to the superimposed operating network speed reaches the preset threshold, if the operating network speed does not reach the preset threshold, the second mobile network is started, and the started second mobile network is connected, at this time, the operating network speed of the terminal is superimposed, so that the terminal is operated in a scenario where one wlan and one mobile network are connected first, and if the operating network speed of the terminal is still less than the preset threshold, the terminal is operated in a scenario where one wlan and two mobile networks are connected.
Referring to fig. 15, when the wireless lan to which the terminal is connected is two wireless lans, then, when the first mobile network is started, the started first mobile network is connected, at this time, the operating network speed of the terminal is superimposed, it is further determined whether the operating network speed according to the superimposed operation reaches the preset threshold, if the operating network speed does not reach the preset threshold, the second mobile network is started, and the started second mobile network is connected, at this time, the operating network speed of the terminal is superimposed. The terminal can operate in a scene of connecting two wireless local area networks and one mobile network, and if the operating network speed of the terminal is still smaller than the preset threshold value in the scene, the terminal can operate in the scene of connecting the two wireless local area networks and the two mobile networks.
The network speed superposition device that this embodiment provided, the network speed superposition device includes: the mobile network of the terminal is started by the starting module, the superposition module is connected with the mobile network started when the running network speed of the terminal is less than a preset threshold value, the running network speed of the terminal is superposed, and the final running module runs according to the running network speed after superposition, so that the situation that even in an environment with poor wireless network signals, the network can be supplemented through mobile network data is realized, the speed of the terminal for surfing the internet is improved, and the situation that the terminal can surf the internet normally in the environment with poor wireless network signals is realized.
Further, in order to improve flexibility of the wire speed superposition, referring to fig. 16, a sixth embodiment of the wire speed superposition device according to the present invention is proposed based on the fifth embodiment, and in this embodiment, the wire speed superposition device further includes:
and the processing module 40 is configured to close the mobile network and output a prompt message when detecting that the remaining flow value of the mobile network data in the mobile network is smaller than a preset flow value.
In this embodiment, when it is detected that the remaining value of the mobile network data traffic in the mobile network is smaller than a preset traffic value, for example, when it is detected that the remaining value of the mobile network data traffic is smaller than 100M, the processing module 40 closes the mobile network and outputs a prompt message, where the method for outputting the prompt message may be: displaying information 'when the residual value of the flow is less than 100M' on the current display interface of the terminal; or popping up a preset prompt window on the current display interface, and outputting prompt information on the prompt window to prompt a user that the flow residual value of the current mobile network data is smaller than a preset threshold value; or popping up a preset prompt window on the current display interface, and switching to a preset information interface when the user clicks the prompt window to prompt that the flow residual value of the current mobile network data is smaller than a preset threshold value.
In this embodiment, when it is detected that the remaining value of the traffic of the mobile network data in the mobile network is smaller than the preset traffic value, the mobile network is closed, and the prompt message is output, so that the mobile network data is prevented from being used by the terminal without limitation, and excessive consumption of the mobile network data is reduced.
The invention further provides a network speed superposition method.
Referring to fig. 18 and 17, fig. 18 and 17 are schematic flow charts of a fifth embodiment of the wire speed superimposing method according to the present invention.
The embodiment provides a network speed superposition method, which comprises the following steps:
step S10, when the terminal is connected with a wireless local area network and the running network speed of the terminal is less than a preset threshold value, starting the mobile network of the terminal;
in this embodiment, when a terminal is connected to a wireless local area network and an operating network speed of the terminal is less than a preset threshold, mobile network data may be supplemented, that is, a mobile network of the terminal is started, and mobile network data corresponding to the mobile network is acquired. In this embodiment, the terminal includes, but is not limited to, a mobile phone, a PAD, a PC computer, and the like, and the WIreless lan includes, but is not limited to, a WIreless local area network (wifi), an NFC (Near field communication, or Near field communication), and the like.
Further, the mobile network of the terminal may be started and mobile network data corresponding to the mobile network may be acquired only when the operating network speed of the terminal when connected to the wireless local area network is less than a preset threshold and when the terminal currently operates a preset application, such as a WeChat application, a short message application, and the like, where the preset application may be an application set by a user in advance or an application set by a default of the terminal. In this embodiment, in order to reduce consumption of mobile network data, the preset application is preferably an information interaction application, such as a QQ application, a WeChat application, or a mailbox application, and when the terminal runs other applications, such as a Taobao application or a video application, the mobile network of the terminal is not started. Of course, the preset application may also be a video application such as an arcade application, etc. without considering the data consumption of the mobile network.
In this embodiment, the network speed when the terminal is connected to the wireless local area network is less than the preset threshold, and the mobile network of the terminal is started only when the terminal runs the preset application, and the mobile network data corresponding to the mobile network is acquired, so that the mobile network data of the terminal can be prevented from being used without limitation when other applications which take traffic are run, and the waste of the mobile network data is reduced.
Step S20, connecting the started mobile network to superpose the running network speed of the terminal;
in this embodiment, the implementation manner of step S20 includes:
1) in a first mode, when the terminal is connected to the started mobile network to superimpose the running network speed of the terminal, the speed of the terminal using the mobile network data corresponding to the mobile network can be limited, for example, the data traffic consumed by the mobile network data per second is set to a fixed value, for example, 20k/s, so that the unlimited increase of the network speed is prevented, and the waste of the mobile network data is avoided.
2) In the second mode, in order to improve the intelligence of increasing the network speed, referring to fig. 19, the step S20 includes:
step S21, determining the current running network speed of the terminal in real time in the process of connecting the mobile network;
step S22, adjusting the data consumption of the mobile network according to the current running network speed of the terminal;
and step S23, superposing the current running network speed of the terminal according to the current corresponding data consumption of the mobile network, so that the superposed running network speed is equal to the preset threshold value.
In this embodiment, in the process of connecting the mobile network, a current operating network speed of the terminal is determined in real time, a current corresponding data consumption amount of the mobile network is adjusted according to the current operating network speed of the terminal, and the current operating network speed of the terminal is superimposed according to the current corresponding data consumption amount of the mobile network, so that the superimposed operating network speed is equal to the preset threshold, for example: when the current operation network speed of the terminal is 3k/s, if the preset threshold value for achieving the normal internet surfing network speed is 12k/s, the current corresponding data consumption of the mobile network is adjusted to be 9k at this time, and it can be understood that the current operation unit is second (/ s), the current operation network speed of the terminal can be overlapped according to the current corresponding data consumption 9k of the mobile network, so that the overlapped operation network speed is equal to 12 k/s. That is, when the network speed is increased for the wireless local area network, the network speed of the wireless local area network is increased to the network speed meeting the preset threshold value, so that the network speed requirement of the internet can be met, and the excessive consumption of the mobile network data can be reduced.
It can be understood that, when the terminal is connected to the wireless local area network, the terminal is substantially connected to a preset channel link in the wireless local area network, and the preset channel link is determined according to a specific situation, for example, if the channel link required by the current terminal to run the WeChat application is 4, the terminal is connected to the 4 channel links in the wireless local area network; and the number of channel links required by the current terminal to run video applications such as the Aichi art is 10, and the terminal is connected with the 10 channel links in the wireless local area network. If the network speed corresponding to the current connection channel link of the terminal is less than the preset threshold, it may be that the wireless local area network has poor network quality, where the influencing factors of the network quality include network delay, maximum bandwidth, signal strength, and the like. Then, in the case of a poor network signal, the terminal starts a mobile network to connect to the mobile network, and similarly, the terminal connects to the mobile network substantially also to each channel link of the mobile network, and in the case of starting the mobile network, the specific way of the terminal connecting to the mobile network is as follows: firstly, determining a channel link to be connected currently by the terminal, for example, only 4 channel links are needed for the terminal to run a WeChat application, and 10 channel links are needed for running a video application such as Aiqiyi, therefore, determining the channel link to be connected currently by the terminal, further determining a link allocation proportion between the wireless local area network and the mobile network, wherein the link allocation proportion between the wireless local area network and the mobile network can be determined according to the signal quality of the two networks, and after determining the link allocation proportion between the wireless local area network and the mobile network, the terminal connects the channel links corresponding to the wireless local area network and the mobile network according to the determined allocation proportion.
As can be understood by those skilled in the art, the more the channel links are connected, the more the bandwidth resources occupied by the terminal are, and thus the network speed is faster, in this embodiment, since the network speed of the terminal connected to the wireless local area network is less than the preset threshold, which indicates that the current network quality of the wireless local area network is poor, when the channel links are connected, the channel links corresponding to more mobile networks may be connected, and the channel links of fewer wireless local area networks may be connected.
And step S30, operating according to the superposed operating network speed.
In this embodiment, the number of the wireless local area networks to which the terminal initially connects may be one, or may be two, and similarly, when the mobile data network is started and the started mobile network is connected, the number of the connected mobile networks may also be one or two.
Referring to fig. 14, when the wlan connected to the terminal is only one wlan, then, when the first mobile network is started, the started first mobile network is connected, at this time, the operating network speed of the terminal is superimposed, it is further determined whether the operating network speed according to the superimposed operating network speed reaches the preset threshold, if the operating network speed does not reach the preset threshold, the second mobile network is started, and the started second mobile network is connected, at this time, the operating network speed of the terminal is superimposed, so that the terminal is operated in a scenario where one wlan and one mobile network are connected first, and if the operating network speed of the terminal is still less than the preset threshold, the terminal is operated in a scenario where one wlan and two mobile networks are connected.
Referring to fig. 15, when the wireless lan to which the terminal is connected is two wireless lans, then, when the first mobile network is started, the started first mobile network is connected, at this time, the operating network speed of the terminal is superimposed, it is further determined whether the operating network speed according to the superimposed operation reaches the preset threshold, if the operating network speed does not reach the preset threshold, the second mobile network is started, and the started second mobile network is connected, at this time, the operating network speed of the terminal is superimposed. The terminal can operate in a scene of connecting two wireless local area networks and one mobile network, and if the operating network speed of the terminal is still smaller than the preset threshold value in the scene, the terminal can operate in the scene of connecting the two wireless local area networks and the two mobile networks.
According to the network speed superposition method provided by the embodiment, when the terminal is connected with the wireless local area network and the running network speed of the terminal is less than the preset threshold value, the mobile network of the terminal is started firstly, then the started mobile network is connected to superpose the running network speed of the terminal, and finally the terminal runs according to the superposed running network speed, so that the network can be supplemented through mobile network data even in an environment with poor wireless network signals, the network surfing speed of the terminal is improved, and the normal network surfing can be realized in the environment with poor wireless network signals.
Further, in order to improve flexibility of the wire speed superposition, referring to fig. 10, a sixth embodiment of the wire speed superposition method according to the present invention is proposed based on the fifth embodiment, in this embodiment, after the step S30, the wire speed superposition method further includes:
and step S40, when detecting that the flow residual value of the mobile network data in the mobile network is smaller than the preset flow value, closing the mobile network and outputting prompt information.
In this embodiment, when it is detected that the remaining value of the mobile network data traffic in the mobile network is smaller than a preset traffic value, for example, when it is detected that the remaining value of the mobile network data traffic is smaller than 100M, the mobile network is closed, and a prompt message is output, where the method for outputting the prompt message may be: displaying information 'when the residual value of the flow is less than 100M' on the current display interface of the terminal; or popping up a preset prompt window on the current display interface, and outputting prompt information on the prompt window to prompt a user that the flow residual value of the current mobile network data is smaller than a preset threshold value; or popping up a preset prompt window on the current display interface, and switching to a preset information interface when the user clicks the prompt window to prompt that the flow residual value of the current mobile network data is smaller than a preset threshold value.
In this embodiment, when it is detected that the remaining value of the traffic of the mobile network data in the mobile network is smaller than the preset traffic value, the mobile network is closed, and the prompt message is output, so that the mobile network data is prevented from being used by the terminal without limitation, and excessive consumption of the mobile network data is reduced.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system 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 system. 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 system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (6)

1. A wire speed superposition device, characterized in that the wire speed superposition device comprises:
the terminal comprises a starting module and a control module, wherein the starting module is used for starting a mobile network of the terminal when the terminal is connected with a wireless local area network, the running network speed of the terminal is less than a preset threshold value and a preset application is currently run by the terminal;
the superposition module is used for connecting the started mobile network so as to superpose the running network speed of the terminal;
when the superposition module terminal is connected with the started mobile network so as to superpose the running network speed of the terminal, limiting the speed of the mobile network data corresponding to the mobile network used by the terminal;
the operation module is used for operating according to the superposed operation network speed;
the terminal is connected with the channel link terminal corresponding to the wireless local area network and the mobile network according to the determined distribution proportion; the method specifically comprises the following steps: determining a channel link to be connected currently by the terminal, and further determining a link allocation proportion of the wireless local area network and the mobile network, wherein the link allocation proportion of the wireless local area network and the mobile network can be determined according to signal quality of two networks;
the network overlay apparatus further includes:
the quality detection module is used for respectively measuring the channel quality of the LTE communication network and the WIFI communication network where the terminal is located and sending the channel quality measurement result to the server;
and the data downloading module is used for downloading data through the LTE communication network and the WIFI communication network respectively according to data downloading tasks distributed by the server for the LTE communication network and the WIFI communication network based on the channel quality measurement result.
2. The wire speed superposition device of claim 1, wherein the wire speed superposition device further comprises:
and the processing module is used for closing the mobile network and outputting prompt information when detecting that the flow residual value of the mobile network data in the mobile network is smaller than a preset flow value.
3. The network speed overlay apparatus of claim 2 wherein the data download module downloads data over an LTE communication network and a WIFI communication network, respectively, comprising:
the terminal downloads corresponding data packets through each communication network, wherein the data packets are data packets corresponding to the LTE communication network and the WIFI communication network, and the data packets are data packets which are divided into two by the server based on the data downloading task of each communication network and are required to be downloaded by the terminal;
the terminal recombines the data packets downloaded through the LTE communication network and the WIFI communication network to obtain the data required to be downloaded by the terminal.
4. A network speed superposition method is characterized by comprising the following steps:
when a terminal is connected with a wireless local area network, the running network speed of the terminal is less than a preset threshold value, and the terminal runs a preset application currently, starting a mobile network of the terminal;
connecting the started mobile network to superpose the running network speed of the terminal;
when the mobile network started by the terminal is superposed to superpose the running network speed of the terminal, limiting the speed of the mobile network data corresponding to the mobile network used by the terminal;
the terminal operates according to the superposed operating network speed;
the terminal is connected with the channel link terminal corresponding to the wireless local area network and the mobile network according to the determined distribution proportion; the method specifically comprises the following steps: determining a channel link to be connected currently by the terminal, and further determining a link allocation proportion of the wireless local area network and the mobile network, wherein the link allocation proportion of the wireless local area network and the mobile network can be determined according to signal quality of two networks;
the method further comprises the following steps:
respectively measuring the channel quality of an LTE communication network and a WIFI communication network where the terminal is located, and sending the channel quality measurement result to a server;
and respectively downloading data through the LTE communication network and the WIFI communication network according to data downloading tasks distributed to the LTE communication network and the WIFI communication network by the server based on the channel quality measurement result.
5. The network speed stacking method according to claim 4, wherein after the step of the terminal operating according to the network speed after stacking, the network speed stacking method further comprises:
and when detecting that the flow residual value of the mobile network data in the mobile network is smaller than a preset flow value, closing the mobile network and outputting prompt information.
6. The wire speed stacking method of claim 5, further comprising:
downloading corresponding data packets through each communication network respectively, wherein the data packets are data downloading tasks of the server based on each communication network, and data needing to be downloaded by the terminal are divided into two data packets corresponding to the LTE communication network and the WIFI communication network;
the terminal recombines the data packets downloaded through the LTE communication network and the WIFI communication network to obtain the data required to be downloaded by the terminal.
CN201610063976.2A 2016-01-29 2016-01-29 Network speed superposition device and method Active CN105722247B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610063976.2A CN105722247B (en) 2016-01-29 2016-01-29 Network speed superposition device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610063976.2A CN105722247B (en) 2016-01-29 2016-01-29 Network speed superposition device and method

Publications (2)

Publication Number Publication Date
CN105722247A CN105722247A (en) 2016-06-29
CN105722247B true CN105722247B (en) 2020-09-01

Family

ID=56154510

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610063976.2A Active CN105722247B (en) 2016-01-29 2016-01-29 Network speed superposition device and method

Country Status (1)

Country Link
CN (1) CN105722247B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105722248A (en) * 2016-01-29 2016-06-29 努比亚技术有限公司 Network speed superposing device and method
CN105722246B (en) * 2016-01-29 2020-08-07 南京博雅区块链研究院有限公司 Network speed superposition device and method
CN105898888A (en) * 2016-01-29 2016-08-24 努比亚技术有限公司 Network speed stacking device and method
CN106376099A (en) * 2016-09-18 2017-02-01 惠州Tcl移动通信有限公司 Method and system for downloading files based on LTE network and WIFI network meanwhile
CN106851682B (en) * 2017-01-03 2020-03-27 努比亚技术有限公司 User equipment and method for realizing data transmission
CN106658571A (en) * 2017-01-03 2017-05-10 努比亚技术有限公司 Terminal and network acceleration control method thereof

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101720107B (en) * 2009-03-23 2013-05-29 上海通琅信息技术有限公司 Multi-way integrated communication system and method for wireless multimedia transmission
CN101631124A (en) * 2009-06-16 2010-01-20 中兴通讯股份有限公司 Method and device for downloading data
US9066271B2 (en) * 2009-09-25 2015-06-23 Lg Electronics Inc. Mobile terminal and method of managing and performing data communication using the same
WO2013051754A1 (en) * 2011-10-07 2013-04-11 엘지전자 주식회사 Method for accessing multiple networks, and communication equipment for same
CN102340891B (en) * 2011-10-12 2018-10-26 南京中兴新软件有限责任公司 Multi-mode terminal service switching method and device
CN103561414B (en) * 2013-09-23 2015-11-04 深圳酷派技术有限公司 terminal and multi-channel data transmission method
CN105120509A (en) * 2015-06-26 2015-12-02 努比亚技术有限公司 Network access method and device
CN105228133A (en) * 2015-07-10 2016-01-06 努比亚技术有限公司 Multi-channel data method for down loading and system
CN105228210B (en) * 2015-08-25 2017-05-24 努比亚技术有限公司 Multichannel routing method and device

Also Published As

Publication number Publication date
CN105722247A (en) 2016-06-29

Similar Documents

Publication Publication Date Title
CN105722247B (en) Network speed superposition device and method
CN105592515B (en) Network switching device and method
US20220007279A1 (en) Data transmission method, terminal, and access-network network element
US20200107225A1 (en) Communication method and device
US20220007265A1 (en) Radio access control method, apparatus, and system
US20200413284A1 (en) Systems and methods for classifying traffic flows to enable intelligent use of spectrum
US10575317B2 (en) Distributed media classification algorithm in a service controller platform
US8249505B1 (en) Method and apparatus for selecting a mode in a multi-mode communications client
US20180035413A1 (en) Method for controlling multimode radio communications system, control server and terminal
AU2021202691B2 (en) Terminal roaming steering method and apparatus, device, and computer-readable storage medium
CN112314033A (en) Selecting and managing network slices
CN105474700A (en) Method and apparatus for offloading traffic from cellular to WLAN using assistance information
US10212048B2 (en) Service offloading method, device, and system
CN105682161B (en) Network connection device and method
US11902134B2 (en) Adaptive resource allocation to facilitate device mobility and management of uncertainty in communications
KR20120067456A (en) Apparatus and method for forwarding handover data in wireless communication system
CN103987091A (en) Service bandwidth changing method, controller and system
CN104955125B (en) Support dispatching method, terminal and the system of multiple types linking Internet
CN112631753A (en) Task unloading method, equipment and storage medium
CN112087784B (en) Pilot frequency switching method and device based on uplink coverage
EP2437546B1 (en) Method for controlling communication transfers of mobile equipments between wireless access networks having different access technologies, based on a load- balancing
US9635586B2 (en) Method and apparatus for using call admission control for client balancing
CN112566182B (en) Network cooperative control method, controller, control system, device and medium
US20150319683A1 (en) Communication system, communication device, and connection selection control method
US20090080395A1 (en) Mobile communication system, base station device, and mobile communication method

Legal Events

Date Code Title Description
C06 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