CN109617802A - Link aggregation implementation method and Related product - Google Patents
Link aggregation implementation method and Related product Download PDFInfo
- Publication number
- CN109617802A CN109617802A CN201811527281.0A CN201811527281A CN109617802A CN 109617802 A CN109617802 A CN 109617802A CN 201811527281 A CN201811527281 A CN 201811527281A CN 109617802 A CN109617802 A CN 109617802A
- Authority
- CN
- China
- Prior art keywords
- network
- estimate
- evaluation
- target
- target radio
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/24—Multipath
- H04L45/245—Link aggregation, e.g. trunking
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/20—Selecting an access point
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/15—Setup of multiple wireless link connections
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/06—Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
Abstract
This application discloses a kind of link aggregation implementation method and Related products, are applied to electronic equipment, wherein this method comprises: carrying out web search, obtain multiple wireless networks, the corresponding hotspot device of each wireless network and a network state parameters;It determines the distance between each corresponding hotspot device of wireless network and the electronic equipment value in the multiple wireless network, obtains multiple distance values;Network state parameters according to the multiple distance value, the multiple wireless network determine the priority orders of the multiple wireless network;At least two wireless networks are chosen from the multiple wireless network according to the priority orders and carry out link aggregation operation.Link aggregation, improving data transmission efficiency may be implemented in the application.
Description
Technical field
This application involves fields of communication technology, and in particular to a kind of link aggregation implementation method and Related product.
Background technique
With the development of mobile communication technology, demand of the user to data communication is higher and higher, at present electronics on the market
Equipment (such as mobile phone, tablet computer) also increasingly tends to therefore, how to realize link aggregation using link aggregation technology
Problems demand solves.
Summary of the invention
The embodiment of the present application provides a kind of link aggregation implementation method and Related product, and link aggregation may be implemented, mention
Rise data transmission efficiency.
In a first aspect, the embodiment of the present application provides a kind of link aggregation implementation method, it is applied to electronic equipment, the method
Include:
Web search is carried out, multiple wireless networks, the corresponding hotspot device of each wireless network and a net are obtained
Network state parameter;
It determines in the multiple wireless network between each corresponding hotspot device of wireless network and the electronic equipment
Distance value obtains multiple distance values;
Network state parameters according to the multiple distance value, the multiple wireless network determine the multiple wireless network
Priority orders;
It is poly- that at least two wireless networks progress link is chosen from the multiple wireless network according to the priority orders
Closing operation.
Second aspect, the embodiment of the present application provide a kind of link aggregation realization device, are applied to electronic equipment, the link
Polymerizeing realization device includes search unit, determination unit and network insertion unit, wherein
Described search unit obtains multiple wireless networks, the corresponding heat of each wireless network for carrying out web search
Point device and a network state parameters;
The determination unit, for determining the corresponding hotspot device of each wireless network and institute in the multiple wireless network
The distance between electronic equipment value is stated, multiple distance values are obtained;And according to the multiple distance value, the multiple wireless network
Network state parameters determine the priority orders of the multiple wireless network;
The network insertion unit, for choosing at least two from the multiple wireless network according to the priority orders
A wireless network carries out link aggregation operation.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, including processor, memory, communication interface and
One or more programs, wherein said one or multiple programs are stored in above-mentioned memory, and are configured by above-mentioned
It manages device to execute, above procedure is included the steps that for executing the instruction in the embodiment of the present application first aspect.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, wherein above-mentioned computer-readable
Storage medium storage is used for the computer program of electronic data interchange, wherein above-mentioned computer program executes computer such as
Step some or all of described in the embodiment of the present application first aspect.
5th aspect, the embodiment of the present application provide a kind of computer program product, wherein above-mentioned computer program product
Non-transient computer readable storage medium including storing computer program, above-mentioned computer program are operable to make to calculate
Machine executes the step some or all of as described in the embodiment of the present application first aspect.The computer program product can be one
A software installation packet.
As can be seen that link aggregation implementation method and Related product described in the embodiment of the present application, are applied to electronics
Equipment carries out web search, obtains multiple wireless networks, each wireless network corresponds to a hotspot device and one network-like
State parameter determines the distance between the corresponding hotspot device of each wireless network and electronic equipment value in multiple wireless networks, obtains
To multiple distance values, the network state parameters according to multiple distance values, multiple wireless networks determine the preferential of multiple wireless networks
Grade sequence chooses at least two wireless networks according to priority orders from multiple wireless networks and carries out link aggregation operation, such as
This, realizes and chooses the good wireless network realization link aggregation of at least two network qualities from multiple wireless networks, improve
Data transmission efficiency.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Figure 1A is the example system architecture figure of wireless communication system locating for a kind of electronic equipment provided by the embodiments of the present application;
Figure 1B is a kind of flow diagram of link aggregation implementation method provided by the embodiments of the present application;
Fig. 2 is the flow diagram of another link aggregation implementation method provided by the embodiments of the present application;
Fig. 3 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 4 A is a kind of functional unit composition block diagram of link aggregation realization device provided by the embodiments of the present application;
Fig. 4 B is a kind of another functional unit composition block diagram of link aggregation realization device provided by the embodiments of the present application;
Fig. 5 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application
Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only
Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art
Every other embodiment obtained without creative efforts, shall fall in the protection scope of this application.
The description and claims of this application and term " first " in above-mentioned attached drawing, " second " etc. are for distinguishing
Different objects, are not use to describe a particular order.In addition, term " includes " and " having " and their any deformations, it is intended that
It is to cover and non-exclusive includes.Such as the process, method, system, product or equipment for containing a series of steps or units do not have
It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also wrap
Include other step or units intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments
It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.
Electronic equipment involved by the embodiment of the present application can be the electronic equipment for having link aggregation fulfillment capability, should
Electronic equipment may include the various handheld devices with wireless communication function, mobile unit, wearable device, calculate equipment or
Other processing equipments and various forms of user equipmenies (User Equipment, UE) of radio modem are connected to,
Mobile station (Mobile Station, MS), terminal device (terminal device) etc..Mobile network appliance can for
Lower at least one: base station, server, the handheld device with wireless communication function, mobile unit, wearable device, calculating are set
Other processing equipments standby or that be connected to radio modem and various forms of user equipmenies, mobile station, terminal device
Etc..
It describes in detail below to the embodiment of the present application.
As shown in Figure 1A, herein described electronic equipment 101 can connect mobile data network 103, mobile data network
For the communication network for being used for transmission data service;Wi-Fi 102, Wi-Fi are that a kind of permission electronic equipment is connected to a wireless office
The technology of domain net;Usually using 2.4G UHF or 5G SHF ISM radio frequency band;And bluetooth 104, a kind of wireless technology standard,
The short-range data exchange etc. between fixed equipment, mobile device and building personal area network can be achieved.
In the embodiment of the present application, Wireless Fidelity (Wireless-Fidelity, Wi-Fi) is referred to as Wi-Fi, is one
Kind radio connection.Electronic equipment may include Wi-Fi module (being referred to as Wi-Fi communication module), so that electronics is set
It is standby to have the function of Wi-Fi.Electronic equipment may search for Wi-Fi Hotspot, and connect wireless network by Wi-Fi Hotspot.Wi-Fi number
It is the data connection path connected by Wi-Fi communication module interface established between electronic equipment and wireless network according to link.
When electronic equipment is surfed the Internet by Wi-Fi Hotspot, the online of the carrier networks such as movement, connection, telecommunications, Ke Yijie can not be passed through
Save traffic fee.
Figure 1B is please referred to, Figure 1B is that the embodiment of the present application provides a kind of flow diagram of link aggregation implementation method,
Applied to electronic equipment;As shown, this link aggregation implementation method includes:
101, web search is carried out, multiple wireless networks, the corresponding hotspot device and one of each wireless network are obtained
A network state parameters.
Wherein, the embodiment of the present application can be applied to indoor environment, such as: smart home environment, in the smart home environment
Including multiple smart home devices, each smart home device can be regarded as a hotspot device, and hotspot device can be following
It is at least one: intelligent TV set, intelligent washing machine, intelligent air condition, intelligent water heater, intelligent door, tablet computer, smart phone,
Intelligent router, intelligent massage chair, intelligent dryer, intelligent electric cooker, intelligent soy milk grinder, intelligent drinking machine etc., herein not
It limits.
In the specific implementation, network state parameters can be following at least one in the embodiment of the present application: signal strength indication,
Target data transmission rate, target round-trip delay, target error rate etc., are not limited thereto.Electronic equipment can star Wi-Fi
Module carries out wireless network search, obtains multiple wireless networks, each wireless network can correspond to a hotspot device in turn
An and network state parameters.
102, determine in the multiple wireless network the corresponding hotspot device of each wireless network and the electronic equipment it
Between distance value, obtain multiple distance values.
Wherein, electronic equipment can detecte the signal strength indication of each wireless network, it is generally the case that signal strength indication is got over
Greatly, then illustrate that distance is closer, in this way, the mapping relations between signal strength indication and distance can be stored in advance in electronic equipment,
It can be determined in multiple wireless networks between the corresponding hotspot device of each wireless network and electronic equipment according to the mapping relations
Distance value, obtain multiple distance values.
Certainly, electronic equipment can also determine the position of the electronic equipment by indoor positioning technologies, due to indoor environment
Under, what the position of each hotspot device can also be fixed, in turn, each wireless network pair in multiple wireless networks can be calculated
The distance between the hotspot device answered and the electronic equipment value, obtain multiple distance values.
103, the network state parameters according to the multiple distance value, the multiple wireless network determine the multiple wireless
The priority orders of network.
Wherein, different distance values, network state parameters reflect the stability of each network, therefore, can be by more
A distance value, multiple wireless networks network state parameters determine the priority orders of multiple wireless networks, it is logical in order to choose
High-quality wireless network is believed, for realizing link aggregation function.
Optionally, above-mentioned steps 103, according to the multiple distance value, the network state parameters of the multiple wireless network
Determine the priority orders of the multiple wireless network, it may include following steps:
31, from multiple target range values of the selection in preset range in the multiple distance value, and determination is described more
A target range is worth corresponding multiple target radio networks;
32, the network state parameters according to the multiple target radio network determine the excellent of the multiple target radio network
First grade sequence.
Wherein, above-mentioned preset range can be by user's self-setting or system default.Under normal conditions, hotspot device with
The distance between electronic equipment is closer, then signal is stronger, then stability is relatively better, and therefore, in the embodiment of the present application, electronics is set
It is standby to be in multiple target range values in preset range from selection in multiple distance values, and determine multiple target range value
Corresponding multiple target radio networks, certainly, the corresponding target radio network of a target range value in turn can foundation
The network state parameters of multiple target radio networks determine the priority orders of multiple target radio networks, for example, signal strength
It is worth bigger, then priority is higher, alternatively, the bit error rate is lower, then priority is higher etc., is not limited thereto.
Still optionally further, above-mentioned steps 32, the network state parameters according to the multiple target radio network determine institute
State the priority orders of multiple target radio networks, it may include following steps:
321, each target radio network is evaluated according to the network state parameters of the multiple target radio network,
Obtain multiple evaluations of estimate;
322, the priority orders of the multiple target radio network are determined according to the multiple evaluation of estimate.
Wherein, electronic equipment can be from least one dimensions of network state parameters to each wireless in target radio network
Network is evaluated, and multiple evaluations of estimate are obtained, and each target radio network can correspond to an evaluation of estimate.Such as: strong according to signal
Angle value evaluates each target radio network in multiple target radio networks, obtains multiple evaluations of estimate, and specifically, electronics is set
The mapping relations that can be preset between signal strength indication and evaluation of estimate in standby can be determined according to the mapping relations in turn
The corresponding evaluation of estimate of each signal strength indication.
It still optionally further, include: target data transmission rate, target in the network state parameters of target radio network i
When round-trip delay, target error rate, the target radio network i is any wireless network in the multiple target radio network
Network;Above-mentioned steps 321, the network state parameters according to the multiple target radio network comment each target radio network
Valence obtains multiple evaluations of estimate, it may include following steps:
3211, according to the first mapping relations between preset message transmission rate and the first evaluation of estimate, the mesh is determined
Mark corresponding the first evaluation of estimate of target of message transmission rate;
3212, according to the second mapping relations between preset round-trip delay and the second evaluation of estimate, determine that the target is past
Return corresponding the second evaluation of estimate of target of time delay;
3213, according to the third mapping relations between the preset bit error rate and third evaluation of estimate, the target error code is determined
The corresponding target third evaluation of estimate of rate;
3214, obtain corresponding first weight of first evaluation of estimate, corresponding second weight of second evaluation of estimate with
And the corresponding third weight of the third evaluation of estimate, first weight, second weight and the third weights sum are
1;
3215, according to first evaluation of estimate of target, the second evaluation of estimate of the target, the target third evaluation of estimate, institute
It states the first weight, second weight and the third weight to be weighted, obtains the evaluation of estimate of the wireless network i.
Wherein, can be stored in advance in electronic equipment between preset message transmission rate and the first evaluation of estimate first is reflected
The second mapping relations and the preset bit error rate and third penetrated between relationship, preset round-trip delay and the second evaluation of estimate are evaluated
Third mapping relations between value.Assuming that the network state parameters of target radio network i include: target data transmission rate, mesh
When marking round-trip delay, target error rate, target radio network i is any wireless network at least two wireless networks, in turn,
Corresponding the first evaluation of estimate of target of target data transmission rate can be determined according to first mapping relations, according to second mapping
Relationship determines corresponding the second evaluation of estimate of target of target round-trip delay, according to the corresponding mesh of third mapping relations target error rate
Third evaluation of estimate is marked, corresponding first weight of the first evaluation of estimate, the second evaluation of estimate can also be stored in advance certainly, in electronic equipment
Corresponding second weight and the corresponding third weight of third evaluation of estimate, the first weight, the second weight and third weights sum are
1, it in turn, can be according to the first evaluation of estimate of target, the second evaluation of estimate of target, target third evaluation of estimate, the first weight, the second weight
It is weighted with third weight, obtains the evaluation of estimate of target radio network i, specifically can obtain mesh according to following formula
Mark the evaluation of estimate of wireless network i: the first weight of evaluation of estimate=target the first evaluation of estimate *+target second of target radio network i is commented
It is worth the * the second weight+target third evaluation of estimate * third weight.
104, at least two wireless networks are chosen from the multiple wireless network according to the priority orders and carry out chain
Road converging operation.
Wherein, priority is higher, then network performance is better, then can be from multiple wireless networks according to the priority orders
At least two wireless networks are chosen to realize that link aggregation operates.
Under illustration, in smart home environment, electronic equipment can determine the electronic equipment and other hotspot devices it
Between distance, obtain multiple distance values, according to multiple distance values and the network state parameters of other multiple hotspot devices, really
Determine the access priority between hotspot device, which reflects the collating sequence of network performance to a certain extent,
In turn, preferentially the high hotspot device of 2 priority of selection carries out link aggregation processing, in this way, realizing the good link of network quality
Converging network is conducive to improving data transmission efficiency.
Optionally, before above-mentioned steps 104, can also include the following steps:
The current electric quantity of A1, the detection electronic equipment;
A2, when the current electric quantity is greater than default power threshold, execute it is described according to the priority orders from described
The step of at least two wireless networks carry out link aggregation operation is chosen in multiple wireless networks.
Wherein, above-mentioned default power threshold can be by user's self-setting or system default.In the specific implementation, intelligent chain
Road polymerize the power consumption that can also increase electronic equipment to a certain extent, in order to guarantee the smooth implementation of intelligent aggregated links function,
Electronic equipment can detecte the current electric quantity of the electronic equipment, when current electric quantity is greater than default power threshold, then execute foundation
The priority orders choose the step of at least two wireless networks carry out link aggregation operation from the multiple wireless network.
In the embodiment of the present application, link aggregation is that equipment can use two or more network interface simultaneously simultaneously
It surfs the Internet, for example, can using simultaneously Wi-Fi and data network, (data network, can also by link aggregation on mobile phone
With referred to as mobile data network) access of Lai Jinhang network, alternatively, being come simultaneously using 2 or 2 or more Wi-Fi networks real
Existing network access.Intelligence link polymerize (Smart Link Aggregation, SLA) function, and the online of user is referred to ask
It asks intelligent and is assigned to different go up on network interface (cellular communication module interface, Wi-Fi communication module interface).Link aggregation
Two or more available networks are at least needed, so the precondition of SLA seeks to keep Wi-Fi and data network total
It deposits.
Optionally, when electronic equipment starting intelligence link polymerizable functional, electronic equipment can execute above-mentioned steps 101.
Optionally, above-mentioned steps 104 can first be chosen at least from the multiple wireless network according to the priority orders
Two wireless networks carry out link aggregation operation based at least two wireless network, include 2 at least two wireless network
It may include steps of when a Wi-Fi data network:
B1, the link-quality for detecting the first Wi-Fi data link detect the link-quality of the 2nd Wi-Fi data link;
B2, link-quality and the link matter of the 2nd Wi-Fi data link according to the first Wi-Fi data link
Measure the allocation of packets ratio determined between the Wi-Fi data link and the 2nd Wi-Fi data link;
B3, the data packet transmitted will be needed according to the allocation of packets pro rate in the first Wi-Fi data-link
It is transmitted in road and the 2nd Wi-Fi data link.
The link-quality of Wi-Fi data link can be by the uplink and downlink message transmission rate of Wi-Fi data link, round-trip
Time delay, bit error rate etc. determine.Wherein, uplink and downlink message transmission rate is higher, round-trip delay is smaller, the bit error rate is lower, the Wi-Fi
The link-quality of data link is higher;Uplink and downlink message transmission rate is lower, round-trip delay is bigger, the bit error rate is higher, the Wi-Fi
The link-quality of data link is lower.
Wi-Fi data link may include Wi-Fi up data link and Wi-Fi down data links.The upper line number of Wi-Fi
It can be determined by the higher uplink bit rate of Wi-Fi data link, round-trip delay, bit error rate etc. according to the quality of link.Wi-
The quality of Fi down data links can pass through the downlink transmission data rate, round-trip delay, the bit error rate etc. of Wi-Fi data link
It determines.
The bit error rate, is the index for measuring the data accuracy of data transmission at the appointed time, the mistake in the bit error rate=transmission
Code/gross yards the * 100% that is transmitted.
Wherein, before executing step 101, electronic equipment can star intelligence link polymerizable functional.Electronic equipment may be used also
To open simultaneously double Wi-Fi connections.
When electronic equipment starts intelligence link polymerizable functional, electronic equipment can send a network request to network-side
(network request) enables data network, electronic equipment can be made to open the first Wi-Fi and the 2nd Wi- at the same time
When Fi network, 2 Wi-Fi networks can be used simultaneously.
Optionally, electronic equipment detects the link-quality of the first Wi-Fi data link, can specifically include following steps:
Electronic equipment measures message transmission rate, round-trip delay, the bit error rate of the first Wi-Fi data link, is based on Wi-Fi
The round-trip delay of data link, message transmission rate, the bit error rate determine the link-quality of the first Wi-Fi data link;
Electronic equipment detects the link-quality of the 2nd Wi-Fi data link, can specifically include following steps:
Electronic equipment measures message transmission rate, round-trip delay, the bit error rate of the 2nd Wi-Fi data link, is based on second
The round-trip delay of Wi-Fi data link, message transmission rate, the bit error rate determine the link-quality of the 2nd Wi-Fi data link.
In the embodiment of the present application, if the link-quality of the first Wi-Fi data link is better than the 2nd Wi-Fi data link
Link-quality, it is determined that the allocation of packets ratio between the first data link of Wi-Fi and the 2nd Wi-Fi data link is greater than
1;If the link-quality of the 2nd Wi-Fi data link is better than the link-quality of the first Wi-Fi data link, it is determined that second
Allocation of packets ratio between Wi-Fi data link and the first data link is greater than 1.
The link-quality of Wi-Fi data link can uplink and downlink message transmission rate based on Wi-Fi data link, round-trip
Time delay, the bit error rate are given a mark, and the quality point of Wi-Fi data link is obtained.Electronic equipment can be by the first Wi-Fi data-link
The ratio that the quality of the quality on road point and the 2nd Wi-Fi data link is divided is as the first Wi-Fi data link and the 2nd Wi-Fi number
According to the allocation of packets ratio between link.
Electronic equipment can also determine the matter of the first Wi-Fi data link according to the quality of the first Wi-Fi data link point
Grade is measured, the credit rating of the 2nd Wi-Fi data link is determined according to the quality of the 2nd Wi-Fi data link point, according to first
The credit rating of the credit rating of Wi-Fi data link and the 2nd Wi-Fi data link come determine the first Wi-Fi data link and
Allocation of packets ratio between 2nd Wi-Fi data link.It is of course also possible to according to the quality of the first Wi-Fi data link
The ratio between credit rating of grade and the 2nd Wi-Fi data link determines the first Wi-Fi data link and the 2nd Wi-Fi data-link
Allocation of packets ratio between road.For example, if the link-quality of the first Wi-Fi data link is I grades, the 2nd Wi-
The credit rating of Fi data link is I grades, then the data packet between the first Wi-Fi data link and the 2nd Wi-Fi data link
Allocation proportion is 1:1;If the link-quality of the first Wi-Fi data link is I grades, the quality etc. of the 2nd Wi-Fi data link
Grade is 2 grades, then the allocation of packets ratio between the first Wi-Fi data link and the 2nd Wi-Fi data link is 1:2;If
The link-quality of first Wi-Fi data link is I grades, and the credit rating of the 2nd Wi-Fi data link is 3 grades, then the first Wi-Fi
Allocation of packets ratio between data link and the 2nd Wi-Fi data link is 1:3;If the first Wi-Fi data link
Link-quality is I grades, and the credit rating of the 2nd Wi-Fi data link is 4 grades, then the first Wi-Fi data link and the 2nd Wi-Fi
Allocation of packets ratio between data link is 1:4;If the link-quality of the first Wi-Fi data link be I grades, second
The credit rating of Wi-Fi data link is 5 grades, then the data between the first Wi-Fi data link and the 2nd Wi-Fi data link
Packet allocation proportion is 1:5.
In the embodiment of the present application, electronic equipment can send upstream data packet, also can receive downlink data packet.It needs to pass
Defeated data packet can be upstream data packet, be also possible to downlink data packet.For upstream data packet, electronic equipment can will be upper
Row allocation of packets is transmitted in the first Wi-Fi up data link and the 2nd Wi-Fi up data link;For downlink data
Packet, electronic equipment can distribute downlink data packet in the first Wi-Fi down data links and the 2nd Wi-Fi down data links
Middle transmission.
The data packet for needing to transmit can be what business different in electronic equipment was initiated, for example, the data for needing to transmit
Packet can be video class business, game class business, voice service, any one business in instant messaging class business and initiate
's.
Optionally, in step B1, electronic equipment detects the link-quality of the first WiFi data link, detects the 2nd Wi-Fi
The link-quality of data link, can specifically include following steps:
Electronic equipment measures the maximum data transfer rate of the first WiFi data link, measures the 2nd Wi-Fi data link
Maximum data transfer rate, maximum data transfer rate, the 2nd Wi-Fi data link based on the first WiFi data link
Maximum data transfer rate determines the link-quality of the first WiFi data link and the link matter of the 2nd Wi-Fi data link
Amount.
In the embodiment of the present application, the link-quality and the of the first Wi-Fi data link can be calculated according to following formula
The link-quality of two Wi-Fi data link:
Weigh_wifi1=max_speed_wifi1/ (max_speed_wifi 1+max_speed_wifi2);
Weigh_wifi2=1-weigh_wifi1;
Wherein, weigh_wifi1 indicates that the link-quality of the first WiFi data link, weigh_wifi2 indicate the 2nd Wi-
The link-quality of Fi data link, max_speed_wifi1 indicate the maximum data transfer rate of the first WiFi data link,
Max_speed_wifi2 indicates the maximum data transfer rate of the 2nd Wi-Fi data link.The link of first WiFi data link
The sum of link-quality of quality and the 2nd Wi-Fi data link is equal to 1.
Electronic equipment can be according to the link-quality of the first WiFi data link and the link matter of the 2nd Wi-Fi data link
The ratio between amount determines the allocation of packets ratio between the first WiFi data link and the 2nd Wi-Fi data link.
For example, the link-quality of the first WiFi data link is 0.2, the link-quality of the 2nd Wi-Fi data link is
0.8, it is determined that the allocation of packets ratio between the first WiFi data link and the 2nd Wi-Fi data link is 2:8.
Optionally, the maximum data transfer rate of the 2nd Wi-Fi data link and the maximum of the first WiFi data link
Message transmission rate can receive the data increment computation rate of (rx) interface by wifi1 and wifi2 to be modified.
For example, counting the data increment computation rate on wifi1 and wifi2 reception (rx) interface every 1s, pass through data
Incremental computations rate is to the maximum data transfer rate of the first WiFi data link and the maximum data of the 2nd Wi-Fi data link
Transmission rate is modified.
Tmp_speed=(rx_bytes-last_rx_bytes)/1;
Revised max_speed_wifi 1=max (max_speed_wifi1, tmp_speed);
Revised max_speed_wifi2=max (max_speed_wifi2, tmp_speed);
Wherein, rx_bytes indicates the data receiver amount in one second on wifi1 and wifi2 receiving interface, last_rx_
Bytes indicates the data receiver amount in one second on wifi1 and wifi2 receiving interface, and tmp_speed indicates that data increment calculates
Rate, max_speed_wifi1 indicate the maximum data transfer rate of the first WiFi data link, max_speed_wifi2 table
Show the maximum data transfer rate of the 2nd Wi-Fi data link.Revised max_speed_wifi1 is max_speed_
Maximum value in wifi1 and tmp_speed, revised max_speed_wifi2 are max_speed_wifi2 and tmp_
Maximum value in speed.
Optionally, the maximum data transfer rate of the 2nd Wi-Fi data link and the maximum of the first WiFi data link
Message transmission rate can be modified by statistics round-trip delay (Round-Trip Time, rtt).
For example, electronic equipment can be based on the rtt of tcp agreement itself, to calculate two interfaces, (Wi-Fi communication module is connect
Mouthful 1 and Wi-Fi communication module interface 2) on delay, data link only calculates first request after three-way handshake
Rtt, such as the rrt of http get, http post.33 confirmation processes for referring to that TCP establishes connection of shaking hands.Transmission control
Agreement (Transmission Control Protocol, tcp) processed is counted by tcp_rtt_estimator () function
Rtt and then calculating Retransmission timeout time (Retransmission Timeout, RTO), so delay is calculated in tcp_rtt_
It is calculated in estimator () function.
Electronic equipment determines that the first current RTT of the first WiFi data link, the 2nd Wi-Fi data link work as respectively
The first preceding RTT, comprising:
Electronic equipment determines the 2nd RTT of one transmission control protocol TCP of operation;
The third that electronic equipment obtains the first Wi-Fi communication module respectively and the 2nd Wi-Fi communication module last time determined
RTT;
Electronic equipment is communicated according to determining the 2nd RTT and the first Wi-Fi communication module obtained and the 2nd Wi-Fi
The 3rd RTT that the module last time determines determines the first RTT of the first WiFi communication module and the 2nd Wi-Fi communication module currently.
Specifically, current the first RTT, the 2nd Wi-Fi of the first WiFi data link can be calculated using following formula
The first current RTT of data link:
Rtt_wifi_1=(rtt_wifi1_3+rtt_2)/2
Rtt_wifi2_1=(rtt_wifi2_3+rtt_2)/2
Wherein, rtt_wifi_1 indicates that the first current RTT of the first WiFi data link, rtt_2 indicate operation one
2nd RTT of transmission control protocol TCP, rtt_wifi1_3 indicate the third determined the last time of the first WiFi data link
RTT;Rtt_wifi2_1 indicates that the first current RTT of the 2nd Wi-Fi data link, rtt_2 indicate to run a transmission control
The 2nd RTT of agreement TCP, rtt_wifi2_3 indicate the 3rd RTT determined the last time of the 2nd Wi-Fi data link.
The embodiment of the present application considers message transmission rate and round-trip delay, and the chain of 2 WiFi data links can be improved
The accuracy in computation of road quality.
As can be seen that link aggregation implementation method described in the embodiment of the present application, is applied to electronic equipment, carries out net
Network search obtains multiple wireless networks, the corresponding hotspot device of each wireless network and a network state parameters, determines
The distance between the corresponding hotspot device of each wireless network and electronic equipment value, obtain multiple distances in multiple wireless networks
Value, the network state parameters according to multiple distance values, multiple wireless networks determine the priority orders of multiple wireless networks, foundation
Priority orders chosen from multiple wireless networks at least two wireless networks carry out link aggregation operation, in this way, realize from
The good wireless network of at least two network qualities is chosen in multiple wireless networks and realizes link aggregation, improves data transmission effect
Rate.
Consistently with embodiment shown in above-mentioned Figure 1B, referring to Fig. 2, Fig. 2 is a kind of chain provided by the embodiments of the present application
Road polymerize the flow diagram of implementation method, as shown, this link aggregation implementation method includes:
201, web search is carried out, multiple wireless networks, the corresponding hotspot device and one of each wireless network are obtained
A network state parameters.
202, determine in the multiple wireless network the corresponding hotspot device of each wireless network and the electronic equipment it
Between distance value, obtain multiple distance values.
203, the network state parameters according to the multiple distance value, the multiple wireless network determine the multiple wireless
The priority orders of network.
204, the current electric quantity of the electronic equipment is detected.
205, when the current electric quantity is greater than default power threshold, according to the priority orders from the multiple wireless
At least two wireless networks are chosen in network carries out link aggregation operation.
Wherein, the specific descriptions of above-mentioned steps 201-205 are referred to link aggregation implementation method described in Figure 1B
Corresponding steps, details are not described herein.
As can be seen that link aggregation implementation method described in the embodiment of the present application, is applied to electronic equipment, carries out net
Network search obtains multiple wireless networks, the corresponding hotspot device of each wireless network and a network state parameters, determines
The distance between the corresponding hotspot device of each wireless network and electronic equipment value, obtain multiple distances in multiple wireless networks
Value, the network state parameters according to multiple distance values, multiple wireless networks determine the priority orders of multiple wireless networks, foundation
Priority orders chosen from multiple wireless networks at least two wireless networks carry out link aggregation operation, in this way, realize from
The good wireless network of at least two network qualities is chosen in multiple wireless networks and realizes link aggregation, improves data transmission effect
Rate.
Consistently with above-mentioned Figure 1B, embodiment shown in Fig. 2, referring to Fig. 3, Fig. 3 is provided by the embodiments of the present application one
The structural schematic diagram of kind electronic equipment 300, as shown, the electronic equipment 300 includes processor 310, memory 320, leads to
Believe interface 330 and one or more programs 321, wherein one or more of programs 321 are stored in above-mentioned memory
In 320, and it is configured to be executed by above-mentioned processor 310, one or more of programs 321 include for executing following steps
Instruction:
Web search is carried out, multiple wireless networks, the corresponding hotspot device of each wireless network and a net are obtained
Network state parameter;
It determines in the multiple wireless network between each corresponding hotspot device of wireless network and the electronic equipment
Distance value obtains multiple distance values;
Network state parameters according to the multiple distance value, the multiple wireless network determine the multiple wireless network
Priority orders;
It is poly- that at least two wireless networks progress link is chosen from the multiple wireless network according to the priority orders
Closing operation.
As can be seen that electronic equipment described in the embodiment of the present application, carries out web search, obtains multiple wireless networks
Network, the corresponding hotspot device of each wireless network and a network state parameters, determine each nothing in multiple wireless networks
The distance between the corresponding hotspot device of gauze network and electronic equipment value, obtain multiple distance values, according to multiple distance values, multiple
The network state parameters of wireless network determine the priority orders of multiple wireless networks, according to priority orders from multiple wireless networks
At least two wireless networks are chosen in network and carry out link aggregation operation, are chosen at least from multiple wireless networks in this way, realizing
The good wireless network of two network qualities realizes link aggregation, improves data transmission efficiency.
In a possible example, it is described according to the multiple distance value, the multiple wireless network it is network-like
In terms of state parameter determines the priority orders of the multiple wireless network, one or more of programs 321 include for executing
The instruction of following steps:
From multiple target range values of the selection in preset range in the multiple distance value, and determine the multiple mesh
The corresponding multiple target radio networks of subject distance value;
Network state parameters according to the multiple target radio network determine the preferential of the multiple target radio network
Grade sequence.
In a possible example, institute is determined in the network state parameters according to the multiple target radio network
In terms of the priority orders for stating multiple target radio networks, one or more of programs 321 include for executing following steps
Instruction:
Network state parameters according to the multiple target radio network evaluate each target radio network, obtain
Multiple evaluations of estimate;
The priority orders of the multiple target radio network are determined according to the multiple evaluation of estimate.
It include: target data transmission speed in the network state parameters of target radio network i in a possible example
When rate, target round-trip delay, target error rate, the target radio network i is any in the multiple target radio network
Wireless network;
Each target radio network is commented in the network state parameters according to the multiple target radio network
Valence, in terms of obtaining multiple evaluations of estimate, one or more of programs 321 include the instruction for executing following steps:
According to the first mapping relations between preset message transmission rate and the first evaluation of estimate, the target data is determined
Corresponding the first evaluation of estimate of target of transmission rate;
According to the second mapping relations between preset round-trip delay and the second evaluation of estimate, the target round-trip delay is determined
Corresponding the second evaluation of estimate of target;
According to the third mapping relations between the preset bit error rate and third evaluation of estimate, determine that the target error rate is corresponding
Target third evaluation of estimate;
Obtain corresponding first weight of first evaluation of estimate, corresponding second weight of second evaluation of estimate and described
The corresponding third weight of third evaluation of estimate, first weight, second weight and the third weights sum are 1;
According to first evaluation of estimate of target, the second evaluation of estimate of the target, the target third evaluation of estimate, described first
Weight, second weight and the third weight are weighted, and obtain the evaluation of estimate of the target radio network i.
In a possible example, one or more of programs 321 further include the instruction for executing following steps:
Detect the current electric quantity of the electronic equipment;
When the current electric quantity is greater than default power threshold, execute it is described according to the priority orders from the multiple
The step of at least two wireless networks carry out link aggregation operation is chosen in wireless network.
It is above-mentioned that mainly the scheme of the embodiment of the present application is described from the angle of method side implementation procedure.It is understood that
, in order to realize the above functions, it comprises execute the corresponding hardware configuration of each function and/or software mould for electronic equipment
Block.Those skilled in the art should be readily appreciated that, in conjunction with each exemplary unit of embodiment description presented herein
And algorithm steps, the application can be realized with the combining form of hardware or hardware and computer software.Some function actually with
Hardware or computer software drive the mode of hardware to execute, the specific application and design constraint item depending on technical solution
Part.Professional technician can specifically realize described function to each using distinct methods, but this reality
Now it is not considered that exceeding scope of the present application.
The embodiment of the present application can carry out the division of functional unit according to above method example to electronic equipment, for example, can
With each functional unit of each function division of correspondence, two or more functions can also be integrated in a processing unit
In.Above-mentioned integrated unit both can take the form of hardware realization, can also realize in the form of software functional units.It needs
It is noted that be schematical, only a kind of logical function partition to the division of unit in the embodiment of the present application, it is practical real
It is current that there may be another division manner.
Fig. 4 A is the functional unit composition block diagram of link aggregation realization device 400 involved in the embodiment of the present application.It should
Link aggregation realization device 400 is applied to electronic equipment, and the link aggregation realization device 400 includes search unit 401, determines
Unit 402 and network insertion unit 403, wherein
Described search unit 401 obtains multiple wireless networks, each wireless network corresponding one for carrying out web search
A hotspot device and a network state parameters;
The determination unit 402, for determining the corresponding hotspot device of each wireless network in the multiple wireless network
The distance between described electronic equipment value, obtains multiple distance values;And according to the multiple distance value, the multiple wireless
The network state parameters of network determine the priority orders of the multiple wireless network;
The network insertion unit 403, for chosen from the multiple wireless network according to the priority orders to
Few two wireless networks carry out link aggregation operation.
As can be seen that link aggregation realization device described in the embodiment of the present application, is applied to electronic equipment, carries out net
Network search obtains multiple wireless networks, the corresponding hotspot device of each wireless network and a network state parameters, determines
The distance between the corresponding hotspot device of each wireless network and electronic equipment value, obtain multiple distances in multiple wireless networks
Value, the network state parameters according to multiple distance values, multiple wireless networks determine the priority orders of multiple wireless networks, foundation
Priority orders chosen from multiple wireless networks at least two wireless networks carry out link aggregation operation, in this way, realize from
The good wireless network of at least two network qualities is chosen in multiple wireless networks and realizes link aggregation, improves data transmission effect
Rate.
In a possible example, it is described according to the multiple distance value, the multiple wireless network it is network-like
In terms of state parameter determines the priority orders of the multiple wireless network, the determination unit 402 is specifically used for:
From multiple target range values of the selection in preset range in the multiple distance value, and determine the multiple mesh
The corresponding multiple target radio networks of subject distance value;
Network state parameters according to the multiple target radio network determine the preferential of the multiple target radio network
Grade sequence.
In a possible example, institute is determined in the network state parameters according to the multiple target radio network
In terms of the priority orders for stating multiple target radio networks, the determination unit 402 is specifically used for:
Network state parameters according to the multiple target radio network evaluate each target radio network, obtain
Multiple evaluations of estimate;
The priority orders of the multiple target radio network are determined according to the multiple evaluation of estimate.
It include: target data transmission speed in the network state parameters of target radio network i in a possible example
When rate, target round-trip delay, target error rate, the target radio network i is any in the multiple target radio network
Wireless network;
Each target radio network is commented in the network state parameters according to the multiple target radio network
Valence, in terms of obtaining multiple evaluations of estimate, the determination unit 402 is specifically used for:
According to the first mapping relations between preset message transmission rate and the first evaluation of estimate, the target data is determined
Corresponding the first evaluation of estimate of target of transmission rate;
According to the second mapping relations between preset round-trip delay and the second evaluation of estimate, the target round-trip delay is determined
Corresponding the second evaluation of estimate of target;
According to the third mapping relations between the preset bit error rate and third evaluation of estimate, determine that the target error rate is corresponding
Target third evaluation of estimate;
Obtain corresponding first weight of first evaluation of estimate, corresponding second weight of second evaluation of estimate and described
The corresponding third weight of third evaluation of estimate, first weight, second weight and the third weights sum are 1;
According to first evaluation of estimate of target, the second evaluation of estimate of the target, the target third evaluation of estimate, described first
Weight, second weight and the third weight are weighted, and obtain the evaluation of estimate of the target radio network i.
In a possible example, as shown in Figure 4 B, Fig. 4 B be Fig. 4 A described in link aggregation realization device again
One modification structures can also include: detection unit 404 compared with Fig. 4 A, specific as follows:
Detection unit 404, for detecting the current electric quantity of the electronic equipment;
By the network insertion unit 403 when the current electric quantity is greater than default power threshold, execute described according to institute
It states priority orders and chooses the step of at least two wireless networks carry out link aggregation operation from the multiple wireless network.
The embodiment of the present application also provides another electronic equipments, as shown in figure 5, for ease of description, illustrate only with
The relevant part of the embodiment of the present application, it is disclosed by specific technical details, please refer to the embodiment of the present application method part.The electronics
Equipment can be include mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), POS
Any terminal device such as (Point of Sales, point-of-sale terminal), vehicle-mounted computer, by taking electronic equipment is mobile phone as an example:
Fig. 5 shows the block diagram of the part-structure of mobile phone relevant to electronic equipment provided by the embodiments of the present application.Ginseng
Fig. 5 is examined, mobile phone includes: radio frequency (Radio Frequency, RF) circuit 910, memory 920, input unit 930, display unit
940, sensor 950, voicefrequency circuit 960, Wireless Fidelity (Wireless Fidelity, Wi-Fi) module 970, processor 980,
And the equal components of power supply 990.It will be understood by those skilled in the art that handset structure shown in Fig. 5 is not constituted to mobile phone
It limits, may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
It is specifically introduced below with reference to each component parts of the Fig. 5 to mobile phone:
RF circuit 910 can be used for sending and receiving for information.In general, RF circuit 910 includes but is not limited to antenna, at least one
A amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition,
RF circuit 910 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication
Standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile
Communication, GSM), general packet radio service (General Packet Radio Service, GPRS), code it is point more
Location (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division
Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE), Email, short message service
(Short Messaging Service, SMS) etc..
Memory 920 can be used for storing software program and module, and processor 980 is stored in memory 920 by operation
Software program and module, thereby executing the various function application and data processing of mobile phone.Memory 920 can mainly include
Storing program area and storage data area, wherein storing program area can application journey needed for storage program area, at least one function
Sequence etc.;Storage data area, which can be stored, uses created data etc. according to mobile phone.In addition, memory 920 may include high speed
Random access memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or
Other volatile solid-state parts.
Input unit 930 can be used for receiving the number or character information of input, and generate with the user setting of mobile phone with
And the related key signals input of function control.Specifically, input unit 930 may include fingerprint recognition mould group 931 and other are defeated
Enter equipment 932.Fingerprint recognition mould group 931 can acquire the finger print data of user on it.In addition to fingerprint recognition mould group 931, input
Unit 930 can also include other input equipments 932.Specifically, other input equipments 932 can include but is not limited to touch-control
One of screen, physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc.
Or it is a variety of.
Display unit 940 can be used for showing information input by user or be supplied to user information and mobile phone it is various
Menu.Display unit 940 may include display screen 941, optionally, can use liquid crystal display (Liquid Crystal
Display, LCD), the forms such as organic or inorganic light emitting diode (Organic Light-Emitting Diode, OLED) come
Configure display screen 941.
Mobile phone may also include at least one sensor 950, such as optical sensor, motion sensor, pressure sensor, temperature
Sensor and other sensors.Specifically, optical sensor may include ambient light sensor (also referred to as light sensor) and connect
Nearly sensor, wherein ambient light sensor can adjust the backlight illumination of mobile phone according to the light and shade of ambient light, and then adjust aobvious
The brightness of display screen 941, proximity sensor can close display screen 941 and/or backlight when mobile phone is moved in one's ear.As movement
One kind of sensor, accelerometer sensor can detect the size of (generally three axis) acceleration in all directions, static Shi Kejian
Size and the direction for measuring gravity, can be used to identify mobile phone posture application (such as horizontal/vertical screen switching, magnetometer pose calibrating),
Vibration identification correlation function (such as pedometer, percussion) etc.;Gyroscope, barometer, the hygrometer, temperature that can also configure as mobile phone
The other sensors such as meter, infrared sensor are spent, details are not described herein.
Voicefrequency circuit 960, loudspeaker 961, microphone 962 can provide the audio interface between user and mobile phone.Audio-frequency electric
Electric signal after the audio data received conversion can be transferred to loudspeaker 961, be converted to sound by loudspeaker 961 by road 960
Signal plays;On the other hand, the voice signal of collection is converted to electric signal by microphone 962, is turned after being received by voicefrequency circuit 960
It is changed to audio data, then by after the processing of audio data playback process device 980, such as another mobile phone is sent to through RF circuit 910,
Or audio data is played to memory 920 to be further processed.
Wi-Fi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics by Wi-Fi module 970
Mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 5 is shown
Wi-Fi module 970, but it is understood that, and it is not belonging to must be configured into for mobile phone, it can according to need completely not
Change in the range of the essence of invention and omits.
Processor 980 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, is led to
It crosses operation or executes the software program and/or module being stored in memory 920, and call and be stored in memory 920
Data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.Optionally, processor 980 can wrap
Include one or more processing units;Preferably, processor 980 can integrate application processor and modem processor, wherein answer
With the main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication.
It is understood that above-mentioned modem processor can not also be integrated into processor 980.
Mobile phone further includes the power supply 990 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe
Reason system and processor 980 are logically contiguous, to realize management charging, electric discharge and power managed by power-supply management system
Etc. functions.
Mobile phone can also include camera 9100, and camera 9100 is for shooting image and video, and by the image of shooting
It is handled with transmission of video to processor 980.
Mobile phone can be with bluetooth module etc., and details are not described herein.
In earlier figures 1B, embodiment shown in Fig. 2, each step method process can be realized based on the structure of the mobile phone.
The embodiment of the present application also provides a kind of computer storage medium, wherein computer storage medium storage is for electricity
The computer program of subdata exchange, the computer program make computer execute any as recorded in above method embodiment
Some or all of method step, above-mentioned computer include electronic equipment.
The embodiment of the present application also provides a kind of computer program product, and above-mentioned computer program product includes storing calculating
The non-transient computer readable storage medium of machine program, above-mentioned computer program are operable to that computer is made to execute such as above-mentioned side
Some or all of either record method step in method embodiment.The computer program product can be a software installation
Packet, above-mentioned computer includes electronic equipment.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because
According to the application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know
It knows, the embodiments described in the specification are all preferred embodiments, related actions and modules not necessarily the application
It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way
It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of said units, it is only a kind of
Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can
To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit,
It can be electrical or other forms.
Above-mentioned unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer-readable access to memory.Based on this understanding, the technical solution of the application substantially or
Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products
Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment
(can be personal computer, server or network equipment etc.) executes all or part of each embodiment above method of the application
Step.And memory above-mentioned includes: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory
The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic or disk.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can store in a computer-readable memory, memory
May include: flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English:
Random Access Memory, referred to as: RAM), disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the application and
Embodiment is expounded, the description of the example is only used to help understand the method for the present application and its core ideas;
At the same time, for those skilled in the art can in specific embodiments and applications according to the thought of the application
There is change place, in conclusion the contents of this specification should not be construed as limiting the present application.
Claims (10)
1. a kind of link aggregation implementation method, which is characterized in that be applied to electronic equipment, which comprises
Web search is carried out, obtains multiple wireless networks, each wireless network corresponds to a hotspot device and one network-like
State parameter;
Determine the distance between each corresponding hotspot device of wireless network and the electronic equipment in the multiple wireless network
Value, obtains multiple distance values;
Network state parameters according to the multiple distance value, the multiple wireless network determine the excellent of the multiple wireless network
First grade sequence;
At least two wireless networks are chosen from the multiple wireless network according to the priority orders and carry out link aggregation behaviour
Make.
2. the method according to claim 1, wherein it is described according to the multiple distance value, it is the multiple wireless
The network state parameters of network determine the priority orders of the multiple wireless network, comprising:
From choosing multiple target range values in the preset range in the multiple distance value, and determine the multiple target away from
Multiple target radio networks corresponding from value;
Network state parameters according to the multiple target radio network determine that the priority of the multiple target radio network is suitable
Sequence.
3. according to the method described in claim 2, it is characterized in that, described according to the network-like of the multiple target radio network
State parameter determines the priority orders of the multiple target radio network, comprising:
Network state parameters according to the multiple target radio network evaluate each target radio network, obtain multiple
Evaluation of estimate;
The priority orders of the multiple target radio network are determined according to the multiple evaluation of estimate.
4. according to the method described in claim 3, it is characterized in that, the network state parameters in target radio network i include: mesh
When marking message transmission rate, target round-trip delay, target error rate, the target radio network i is the multiple Target Wireless
Any wireless network in network;
The network state parameters according to the multiple target radio network evaluate each target radio network, obtain
Multiple evaluations of estimate, comprising:
According to the first mapping relations between preset message transmission rate and the first evaluation of estimate, the target data transmission is determined
Corresponding the first evaluation of estimate of target of rate;
According to the second mapping relations between preset round-trip delay and the second evaluation of estimate, determine that the target round-trip delay is corresponding
The second evaluation of estimate of target;
According to the third mapping relations between the preset bit error rate and third evaluation of estimate, the corresponding mesh of the target error rate is determined
Mark third evaluation of estimate;
Obtain corresponding first weight of first evaluation of estimate, corresponding second weight of second evaluation of estimate and the third
The corresponding third weight of evaluation of estimate, first weight, second weight and the third weights sum are 1;
According to first evaluation of estimate of target, the second evaluation of estimate of the target, the target third evaluation of estimate, first power
Value, second weight and the third weight are weighted, and obtain the evaluation of estimate of the target radio network i.
5. method according to claim 1-4, which is characterized in that the method also includes:
Detect the current electric quantity of the electronic equipment;
When the current electric quantity is greater than default power threshold, execute it is described according to the priority orders from the multiple wireless
The step of at least two wireless networks carry out link aggregation operation is chosen in network.
6. a kind of link aggregation realization device, which is characterized in that be applied to electronic equipment, the link aggregation realization device includes
Search unit, determination unit and network insertion unit, wherein
Described search unit obtains multiple wireless networks, the corresponding hot spot of each wireless network is set for carrying out web search
A standby and network state parameters;
The determination unit, for determining each corresponding hotspot device of wireless network and the electricity in the multiple wireless network
The distance between sub- equipment value, obtains multiple distance values;And according to the multiple distance value, the net of the multiple wireless network
Network state parameter determines the priority orders of the multiple wireless network;
The network insertion unit, for choosing at least two nothings from the multiple wireless network according to the priority orders
Gauze network carries out link aggregation operation.
7. device according to claim 6, which is characterized in that described according to the multiple distance value, the multiple nothing
In terms of the network state parameters of gauze network determine the priority orders of the multiple wireless network, the determination unit is specifically used
In:
From choosing multiple target range values in the preset range in the multiple distance value, and determine the multiple target away from
Multiple target radio networks corresponding from value;
Network state parameters according to the multiple target radio network determine that the priority of the multiple target radio network is suitable
Sequence.
8. device according to claim 7, which is characterized in that in the network according to the multiple target radio network
In terms of state parameter determines the priority orders of the multiple target radio network, the determination unit is specifically used for:
Network state parameters according to the multiple target radio network evaluate each target radio network, obtain multiple
Evaluation of estimate;
The priority orders of the multiple target radio network are determined according to the multiple evaluation of estimate.
9. a kind of electronic equipment, which is characterized in that including processor, memory, communication interface, and one or more programs,
One or more of programs are stored in the memory, and are configured to be executed by the processor, described program packet
Include the instruction for executing the step in the method according to claim 1 to 5.
10. a kind of computer readable storage medium, which is characterized in that storage is used for the computer program of electronic data interchange,
In, the computer program makes computer execute the method according to claim 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811527281.0A CN109617802B (en) | 2018-12-13 | 2018-12-13 | Link aggregation implementation method and related product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811527281.0A CN109617802B (en) | 2018-12-13 | 2018-12-13 | Link aggregation implementation method and related product |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109617802A true CN109617802A (en) | 2019-04-12 |
CN109617802B CN109617802B (en) | 2021-07-30 |
Family
ID=66009275
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811527281.0A Active CN109617802B (en) | 2018-12-13 | 2018-12-13 | Link aggregation implementation method and related product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109617802B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111278081A (en) * | 2020-01-21 | 2020-06-12 | Oppo广东移动通信有限公司 | Network access control method and related device |
CN112073995A (en) * | 2020-09-03 | 2020-12-11 | Oppo广东移动通信有限公司 | Data transmission method, device, storage medium and electronic equipment |
WO2022100344A1 (en) * | 2020-11-16 | 2022-05-19 | Oppo广东移动通信有限公司 | Positioning and communication method, terminal, communication device, and storage medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102685750A (en) * | 2012-06-12 | 2012-09-19 | 刘梦阳 | Method for accessing wireless network, equipment and wireless network system |
CN103118419A (en) * | 2013-01-24 | 2013-05-22 | 中兴通讯股份有限公司 | Terminal wireless access point reclosure method and device using the same |
US8467395B1 (en) * | 2011-07-12 | 2013-06-18 | Qlogic, Corporation | Method and system for link aggregation |
US8971337B2 (en) * | 2010-02-26 | 2015-03-03 | Alaxala Networks Corporation | Packet relay device |
CN104980988A (en) * | 2014-04-03 | 2015-10-14 | 上海宽带技术及应用工程研究中心 | Multi-link aggregation wireless communication system and method |
CN105101354A (en) * | 2015-08-18 | 2015-11-25 | 小米科技有限责任公司 | Wireless network connection method and device |
CN105338569A (en) * | 2015-09-30 | 2016-02-17 | 宇龙计算机通信科技(深圳)有限公司 | Multi-bearer data transmission method and device |
CN106304278A (en) * | 2015-05-19 | 2017-01-04 | 中兴通讯股份有限公司 | Network selecting method, device and mobile terminal |
CN106454735A (en) * | 2016-10-28 | 2017-02-22 | 维沃移动通信有限公司 | Method for processing WIFI information and mobile terminal |
CN107567071A (en) * | 2016-06-30 | 2018-01-09 | 上海连尚网络科技有限公司 | A kind of method and apparatus for being used to inquire about hotspot |
CN108777666A (en) * | 2018-08-23 | 2018-11-09 | Oppo广东移动通信有限公司 | The shunt method and relevant device of link aggregation |
-
2018
- 2018-12-13 CN CN201811527281.0A patent/CN109617802B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8971337B2 (en) * | 2010-02-26 | 2015-03-03 | Alaxala Networks Corporation | Packet relay device |
US8467395B1 (en) * | 2011-07-12 | 2013-06-18 | Qlogic, Corporation | Method and system for link aggregation |
CN102685750A (en) * | 2012-06-12 | 2012-09-19 | 刘梦阳 | Method for accessing wireless network, equipment and wireless network system |
CN103118419A (en) * | 2013-01-24 | 2013-05-22 | 中兴通讯股份有限公司 | Terminal wireless access point reclosure method and device using the same |
CN104980988A (en) * | 2014-04-03 | 2015-10-14 | 上海宽带技术及应用工程研究中心 | Multi-link aggregation wireless communication system and method |
CN106304278A (en) * | 2015-05-19 | 2017-01-04 | 中兴通讯股份有限公司 | Network selecting method, device and mobile terminal |
CN105101354A (en) * | 2015-08-18 | 2015-11-25 | 小米科技有限责任公司 | Wireless network connection method and device |
CN105338569A (en) * | 2015-09-30 | 2016-02-17 | 宇龙计算机通信科技(深圳)有限公司 | Multi-bearer data transmission method and device |
CN107567071A (en) * | 2016-06-30 | 2018-01-09 | 上海连尚网络科技有限公司 | A kind of method and apparatus for being used to inquire about hotspot |
CN106454735A (en) * | 2016-10-28 | 2017-02-22 | 维沃移动通信有限公司 | Method for processing WIFI information and mobile terminal |
CN108777666A (en) * | 2018-08-23 | 2018-11-09 | Oppo广东移动通信有限公司 | The shunt method and relevant device of link aggregation |
Non-Patent Citations (4)
Title |
---|
TAKAFUMI TAKIGUCHI;HIROMU MASUI;AKIRA HIDAKA;YOSHIO SUGIZAKI;OSA: "A new application level link aggregation and its implementation on Android terminals", 《2012 8TH INTERNATIONAL WIRELESS COMMUNICATIONS AND MOBILE COMPUTING CONFERENCE (IWCMC)》 * |
曹言佳: "基于多链路聚合的电力通信终端设计与实现", 《CNKI》 * |
苏德虎: "基于链路聚合的WLAN高效数据传输技术研究", 《CNKI》 * |
谢克峰: "网络链路聚合技术的应用分类与常见故障排除", 《网络安全技术与应用》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111278081A (en) * | 2020-01-21 | 2020-06-12 | Oppo广东移动通信有限公司 | Network access control method and related device |
CN111278081B (en) * | 2020-01-21 | 2022-04-22 | Oppo广东移动通信有限公司 | Network access control method and related device |
CN112073995A (en) * | 2020-09-03 | 2020-12-11 | Oppo广东移动通信有限公司 | Data transmission method, device, storage medium and electronic equipment |
CN112073995B (en) * | 2020-09-03 | 2023-09-12 | Oppo广东移动通信有限公司 | Data transmission method and device, storage medium and electronic equipment |
WO2022100344A1 (en) * | 2020-11-16 | 2022-05-19 | Oppo广东移动通信有限公司 | Positioning and communication method, terminal, communication device, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109617802B (en) | 2021-07-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109803325A (en) | Data distribution method, device, mobile terminal and storage medium | |
CN109803318A (en) | Data packet shunt method, device, mobile terminal and storage medium | |
CN103458305B (en) | Video broadcasting method, device, terminal unit server | |
CN109640379A (en) | Link aggregation implementation method and Related product | |
CN109640329A (en) | Link aggregation implementation method and Related product | |
CN107734537A (en) | Measuring method, transmitting terminal and the receiving terminal of network performance parameter | |
CN103457943B (en) | Numeric value transfer, terminal, server and system | |
CN109617802A (en) | Link aggregation implementation method and Related product | |
CN109379247A (en) | The method and device that the network delay of a kind of pair of application program is detected | |
CN109618420A (en) | Link aggregation implementation method and Related product | |
CN109922504A (en) | Data distribution method and Related product | |
CN109922539A (en) | Method for connecting network and Related product | |
CN106793010A (en) | A kind of method for network access and equipment | |
CN109862556A (en) | Packet distribution method, device, mobile terminal and storage medium | |
CN107888550A (en) | Performance indications collecting method and device, tactful sending method and device | |
CN109121199A (en) | Localization method, positioning device, mobile terminal and storage medium | |
CN109474521A (en) | Link aggregation implementation method and Related product | |
CN110267125A (en) | Intelligent meter reading method and Related product | |
CN110022235A (en) | Information processing method, terminal and server | |
CN110062416A (en) | The notice of resources relationship determines method, base station and terminal | |
CN108650041A (en) | A kind of signal quality display methods and mobile terminal | |
CN109587765A (en) | Link aggregation implementation method and Related product | |
CN110198560A (en) | A kind of power distribution method and terminal | |
CN107786412A (en) | A kind of communication means and Related product of game virtual dedicated network | |
CN107577795A (en) | A kind of methods, devices and systems for recommending song |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |