CN109474521A - Link aggregation implementation method and Related product - Google Patents

Link aggregation implementation method and Related product Download PDF

Info

Publication number
CN109474521A
CN109474521A CN201811575947.XA CN201811575947A CN109474521A CN 109474521 A CN109474521 A CN 109474521A CN 201811575947 A CN201811575947 A CN 201811575947A CN 109474521 A CN109474521 A CN 109474521A
Authority
CN
China
Prior art keywords
wireless network
electronic equipment
network
equipment
electricity consumption
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811575947.XA
Other languages
Chinese (zh)
Inventor
黄园
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811575947.XA priority Critical patent/CN109474521A/en
Publication of CN109474521A publication Critical patent/CN109474521A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • H04L45/245Link aggregation, e.g. trunking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

This application discloses a kind of link aggregation implementation method and Related products, applied to electronic equipment, wherein, this method comprises: carrying out web search, obtain multiple wireless networks, the corresponding electricity consumption of equipment historical record of each wireless network and a hotspot device, the electricity consumption of equipment historical record is for the electronic equipment when accessing wireless network to electric quantity consumption situation caused by the electronic equipment;The priority orders of the multiple wireless network are determined according to the corresponding electricity consumption of equipment historical record of wireless network each in 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.The application preferentially can realize link aggregation using the low wireless network of power consumption, improve the cruising ability of electronic equipment under link aggregation, also improve link aggregation intelligence.

Description

Link aggregation implementation method and Related product
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) is also increasingly tended to using link aggregation technology, at present, link aggregation, that is, random Two wireless networks are selected to carry out link aggregation operation, therefore, the problem for how promoting link aggregation intelligence is urgently to be resolved.
Summary of the invention
The embodiment of the present application provides a kind of link aggregation implementation method and Related product, can promote link aggregation intelligence Property.
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:
Carry out web search, obtain multiple wireless networks, the corresponding electricity consumption of equipment historical record of each wireless network with And a hotspot device, the electricity consumption of equipment historical record give the electronic equipment when accessing wireless network for the electronic equipment Caused electric quantity consumption situation;
It is determined according to the corresponding electricity consumption of equipment historical record of wireless network each in the multiple wireless network the multiple The priority orders of wireless network;
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, each wireless network corresponding one sets for carrying out web search Standby power consumption historical record and a hotspot device, the electricity consumption of equipment historical record are the electronic equipment in access wireless network To electric quantity consumption situation caused by the electronic equipment when network;
The determination unit, for according to the corresponding electricity consumption of equipment history of wireless network each in the multiple wireless network Record determines 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, the corresponding electricity consumption of equipment historical record and one of each wireless network A hotspot device, electricity consumption of equipment historical record is for electronic equipment when accessing wireless network to electricity caused by the electronic equipment Expenditure Levels determine multiple wireless networks according to the corresponding electricity consumption of equipment historical record of wireless network each in multiple wireless networks Priority orders, according to priority orders chosen from multiple wireless networks at least two wireless networks carry out link aggregation behaviour Make, in this way, the priority orders of wireless network can be realized by the electricity consumption of equipment situation of wireless network, it can be preferentially using consumption The low wireless network of electricity realizes link aggregation, improves the cruising ability of electronic equipment under link aggregation, and it is poly- also to improve link Close intelligence.
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. 4 C 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..
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.
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.
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 electricity consumption of equipment history note of each wireless network are obtained Record and a hotspot device, the electricity consumption of equipment historical record give the electronics when accessing wireless network for the electronic equipment Electric quantity consumption situation caused by equipment.
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, tablet computer, smart phone, intelligent door, Tablet computer, smart phone, intelligent massage chair, intelligent dryer, intelligent electric cooker, intelligent soy milk grinder, intelligent drinking machine etc., It is not limited thereto.
In the specific implementation, electronic equipment can star Wi-Fi module in the embodiment of the present application, in turn, wireless network is carried out Search obtains multiple wireless networks, and each wireless network can correspond to a hotspot device, and each wireless network corresponds to equipment consumption Electric historical record, electricity consumption of equipment historical record is for electronic equipment when accessing wireless network to electricity caused by the electronic equipment Expenditure Levels, since electronic equipment is when accessing different electronic equipments, caused power consumption condition is different, therefore, at this When electronic equipment accesses a hotspot device, then it can recorde and access the corresponding electricity consumption of equipment situation of the hotspot device, set Standby power consumption records, and electricity consumption of equipment historical record may include following information: the IP address of hotspot device, access hotspot device when Between, access hotspot device when foreground application, be not limited thereto.In the concrete realization, each time electronic equipment from it is different When being connected to the network between hotspot device, corresponding electricity consumption of equipment record can be generated.
102, according to described in the corresponding electricity consumption of equipment historical record determination of wireless network each in the multiple wireless network The priority orders of multiple wireless networks.
Wherein, electricity consumption of equipment historical record reflects the power consumption after electronic equipment access hotspot device to a certain extent Therefore rate can determine multiple according to the corresponding electricity consumption of equipment historical record of each wireless network in multiple wireless networks The priority orders of wireless network promote the cruising ability of electronic equipment convenient for choosing the low wireless network of power consumption rate.
Optionally, above-mentioned steps 102 are gone through according to the corresponding electricity consumption of equipment of wireless network each in the multiple wireless network Records of the Historian record determines the priority orders of the multiple wireless network, it may include following steps:
21, foreground application is obtained;
22, the determining and institute from the corresponding electricity consumption of equipment historical record of each wireless network in the multiple wireless network The corresponding target device power consumption historical record of foreground application is stated, multiple target device power consumption historical records are obtained;
23, the corresponding par devices power consumption of each wireless network is determined according to the multiple target device power consumption historical record Value, obtains multiple par devices electricity consumption values;
24, the priority orders of the multiple wireless network are determined according to the multiple par devices electricity consumption value.
Wherein, above-mentioned foreground application can be following at least one: desktop application, game application, instant messaging application, lock Screen application, payment application, browser application, Video Applications etc., are not limited thereto.The corresponding power consumption of different foreground applications Situation is different, is based on foregoing description, electronic equipment can be from the corresponding equipment of each wireless network in multiple wireless networks Target device power consumption historical record corresponding with foreground application is determined in power consumption historical record, is obtained multiple target device power consumptions and is gone through Records of the Historian record, the corresponding target device power consumption historical record of each wireless network in turn can be according to multiple target device power consumptions Historical record determines the corresponding par devices electricity consumption value of each wireless network, obtains multiple par devices electricity consumption values, specifically, Such as: calculating total electricity consumption value and always using duration, par devices electricity consumption value=total electricity consumption value/always uses duration, finally, electronics is set The standby priority orders that multiple wireless networks can be determined according to multiple par devices electricity consumption value, specifically, par devices consumption Electricity value is smaller, then priority is higher.
103, 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 power consumption more saves, and electronic equipment can then can be from multiple nothings according to the priority orders At least two wireless networks are chosen in gauze network to realize that link aggregation operates, in this way, can guarantee that as much as possible electronics is set Standby continuation of the journey duration.
Under illustration, in smart home environment, electronic equipment can obtain multiple wireless networks by web search, The corresponding hotspot device of each wireless network, the corresponding electricity consumption of equipment historical record of each wireless network, in this way, according to setting Standby power consumption historical record can determine that electronic equipment accesses the power consumption condition of the electronic equipment, so, it is possible according to power consumption condition, The low wireless network of selection power consumption to a certain extent, can promote electronic equipment in link aggregation to realize link aggregation Under cruising ability.
Wherein, at least two nothings are chosen according to the priority orders in above-mentioned steps 103 from the multiple wireless network Gauze network carries out link aggregation operation, it may include following steps:
31, the corresponding indoor location of the electronic equipment is obtained;
32, it determines between indoor location hotspot device corresponding with wireless network each in the multiple wireless network Distance, obtain multiple distance values;
33, at least two distance values for being less than pre-determined distance value are chosen from the multiple distance value, according to described preferential Grade sequence chooses at least two wireless networks from the corresponding wireless network of at least two distance value and carries out link aggregation behaviour Make.
Wherein, above-mentioned pre-determined distance value can be by user's self-setting or system default.Electronic equipment can pass through room Interior location technology determines the corresponding indoor location of the electronic equipment, and hotspot device is closer apart from electronic equipment, then stability is better, In the specific implementation, due to the position of each hotspot device be it is fixed, hence, it can be determined that indoor location and multiple wireless networks In the distance between the corresponding hotspot device of each wireless network, obtain multiple distance values, in turn, chosen from multiple distance values Less than at least two distance values of pre-determined distance value, according to priority orders from the corresponding wireless network of at least two distance values It chooses at least two wireless networks and carries out link aggregation operation, so, it is possible the stability for guaranteeing link aggregation network.
Optionally, after above-mentioned steps 103, can also include the following steps:
A1, the residual electric quantity for obtaining the electronic equipment;
A2, the corresponding target device power consumption rate of the link aggregation operation is estimated;
A3, estimate the electronic equipment according to the residual electric quantity and the target device power consumption rate estimate use Duration;
A4, it is described estimate using duration be less than preset duration when, push prompt information.
Wherein, above-mentioned preset duration can carry out electricity by user's self-setting or system default, electronic equipment Monitoring, obtains the residual electric quantity of electronic equipment.After link aggregation operation, due to having accessed at least one wireless network then Power consumption rate can be accelerated, and after link aggregation operation, then total amount of equipment power consumption in available preset time period, target are set Standby power consumption rate=total amount of equipment power consumption/preset time period (duration), alternatively, the operation of available progress link aggregation is corresponding The par devices electricity consumption value of each wireless network in wireless network, then target device power consumption rate is being averaged for each wireless network The sum of electricity consumption of equipment value.In turn, can estimate estimating for electronic equipment with target device power consumption rate according to residual electric quantity makes It with duration, estimates using duration=residual electric quantity/target device power consumption rate, is less than preset duration using duration estimating When, then prompt information can be pushed, prompt information can be prompting user's charging, alternatively, prompting residue uses duration, alternatively, User's disconnecting link converging operation etc. is prompted, is not limited thereto.
Optionally, when electronic equipment starting intelligence link polymerizable functional, electronic equipment can execute above-mentioned steps 101.
Optionally, before above-mentioned steps 101, it is also contemplated that following steps:
B1, current network rate is obtained;
B2, when the current network rate is lower than default network rate, the step of executing the progress web search.
Wherein, above-mentioned default network rate can be by user's self-setting or system default.In the specific implementation, electronics is set Standby available current network rate thens follow the steps 101 when network rate is lower than default network rate in this prior, due to Network rate is low, then influences user experience, in this case, it may be considered that link aggregation is realized, to enhance the upper dictyosome of user It tests.
Optionally, when electronic equipment starting intelligence link polymerizable functional, electronic equipment can execute above-mentioned steps 101.
Optionally, before above-mentioned steps 101, can also include the following steps:
The current electric quantity of C1, the detection electronic equipment;
C2, when the current electric quantity is greater than default power threshold, the step of executing the progress web search.
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 described in execution The step of carrying out web search.
It optionally, can be first according to the priority orders from the multiple wireless during executing above-mentioned steps 103 At least two wireless networks are chosen in network, based at least two wireless network carry out link aggregation operation, this at least two When a wireless network includes 2 Wi-Fi data networks, it may include steps of:
D1, the link-quality for detecting the first Wi-Fi data link detect the link-quality of the 2nd Wi-Fi data link;
D2, 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;
D3, 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 D1, 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 electricity consumption of equipment historical record of each wireless network and a hotspot device, Electricity consumption of equipment historical record be electronic equipment when accessing wireless network to electric quantity consumption situation caused by the electronic equipment, according to Determine that the priority of multiple wireless networks is suitable according to the corresponding electricity consumption of equipment historical record of wireless network each in multiple wireless networks Sequence chooses at least two wireless networks according to priority orders from multiple wireless networks and carries out link aggregation operation, in this way, can It, can be preferentially using low wireless of power consumption to realize the priority orders of wireless network by the electricity consumption of equipment situation of wireless network Network implementations link aggregation, improves the cruising ability of electronic equipment under link aggregation, also improves link aggregation intelligence.
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, current network rate is obtained.
202, when the current network rate is lower than default network rate, web search is carried out, multiple wireless networks are obtained Network, the corresponding electricity consumption of equipment historical record of each wireless network and a hotspot device, the electricity consumption of equipment historical record For the electronic equipment when accessing wireless network to electric quantity consumption situation caused by the electronic equipment.
203, according to described in the corresponding electricity consumption of equipment historical record determination of wireless network each in the multiple wireless network The priority orders of multiple wireless networks.
204, 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, the specific descriptions of above-mentioned steps 201-204 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, acquisition is worked as Preceding network rate carries out web search, obtains multiple wireless networks, often when current network rate is lower than default network rate The corresponding electricity consumption of equipment historical record of one wireless network and a hotspot device, electricity consumption of equipment historical record are electronic equipment When accessing wireless network to electric quantity consumption situation caused by the electronic equipment, according to each wireless network in multiple wireless networks The corresponding electricity consumption of equipment historical record of network determines the priority orders of multiple wireless networks, according to priority orders from multiple wireless At least two wireless networks are chosen in network and carry out link aggregation operation, in this way, can pass through the electricity consumption of equipment feelings of wireless network Condition realizes the priority orders of wireless network, preferentially can realize link aggregation using the low wireless network of power consumption, improve chain Road polymerize the cruising ability of lower electronic equipment, also improves link aggregation intelligence.
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:
Carry out web search, obtain multiple wireless networks, the corresponding electricity consumption of equipment historical record of each wireless network with And a hotspot device, the electricity consumption of equipment historical record give the electronic equipment when accessing wireless network for the electronic equipment Caused electric quantity consumption situation;
It is determined according to the corresponding electricity consumption of equipment historical record of wireless network each in the multiple wireless network the multiple The priority orders of wireless network;
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 electricity consumption of equipment historical record of each wireless network and a hotspot device, electricity consumption of equipment historical record are electricity Sub- equipment when accessing wireless network to electric quantity consumption situation caused by the electronic equipment, according to each in multiple wireless networks The corresponding electricity consumption of equipment historical record of wireless network determines the priority orders of multiple wireless networks, according to priority orders from more At least two wireless networks are chosen in a wireless network and carry out link aggregation operation, in this way, can pass through the equipment of wireless network Power consumption condition realizes the priority orders of wireless network, preferentially can realize link aggregation using the low wireless network of power consumption, mention The cruising ability of electronic equipment under link aggregation has been risen, link aggregation intelligence is also improved.
In a possible example, described according to the corresponding equipment of wireless network each in the multiple wireless network In terms of power consumption historical record determines the priority orders of the multiple wireless network, one or more of programs 321 include using In the instruction for executing following steps:
Obtain foreground application;
From the corresponding electricity consumption of equipment historical record of each wireless network in the multiple wireless network determine with it is described The corresponding target device power consumption historical record of foreground application, obtains multiple target device power consumption historical records;
The corresponding par devices electricity consumption value of each wireless network is determined according to the multiple target device power consumption historical record, Obtain multiple par devices electricity consumption values;
The priority orders of the multiple wireless network are determined according to the multiple par devices electricity consumption value.
In a possible example, it is described chosen from the multiple wireless network according to the priority orders to Few two wireless networks carry out link aggregation operating aspect, and one or more of programs 321 include for executing following steps Instruction:
Obtain the corresponding indoor location of the electronic equipment;
It determines between indoor location hotspot device corresponding with wireless network each in the multiple wireless network Distance obtains multiple distance values;
At least two distance values for being less than pre-determined distance value are chosen from the multiple distance value, it is suitable according to the priority Sequence chooses at least two wireless networks from the corresponding wireless network of at least two distance value and carries out link aggregation operation.
In a possible example, one or more of programs 321 further include the instruction for executing following steps:
Obtain the residual electric quantity of the electronic equipment;
It estimates the link aggregation and operates corresponding target device power consumption rate;
When estimating use of the electronic equipment is estimated according to the residual electric quantity and the target device power consumption rate It is long;
In described estimate using duration less than preset duration, prompt information is pushed.
In a possible example, one or more of programs 321 further include the instruction for executing following steps:
Obtain current network rate;
When the current network rate is lower than default network rate, the step of executing the progress web search.
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 includes search unit 401, determines list Member 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 electricity consumption of equipment historical record and a hotspot device, the electricity consumption of equipment historical record are the electronic equipment in access nothing To electric quantity consumption situation caused by the electronic equipment when gauze network;
The determination unit 402, for according to the corresponding electricity consumption of equipment of wireless network each in the multiple wireless network Historical record determines 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 electricity consumption of equipment historical record of each wireless network and a hotspot device, Electricity consumption of equipment historical record be electronic equipment when accessing wireless network to electric quantity consumption situation caused by the electronic equipment, according to Determine that the priority of multiple wireless networks is suitable according to the corresponding electricity consumption of equipment historical record of wireless network each in multiple wireless networks Sequence chooses at least two wireless networks according to priority orders from multiple wireless networks and carries out link aggregation operation, in this way, can It, can be preferentially using low wireless of power consumption to realize the priority orders of wireless network by the electricity consumption of equipment situation of wireless network Network implementations link aggregation, improves the cruising ability of electronic equipment under link aggregation, also improves link aggregation intelligence.
In a possible example, described according to the corresponding equipment of wireless network each in the multiple wireless network In terms of power consumption historical record determines the priority orders of the multiple wireless network, the determination unit 402 is specifically used for:
Obtain foreground application;
From the corresponding electricity consumption of equipment historical record of each wireless network in the multiple wireless network determine with it is described The corresponding target device power consumption historical record of foreground application, obtains multiple target device power consumption historical records;
The corresponding par devices electricity consumption value of each wireless network is determined according to the multiple target device power consumption historical record, Obtain multiple par devices electricity consumption values;
The priority orders of the multiple wireless network are determined according to the multiple par devices electricity consumption value.
In a possible example, it is described chosen from the multiple wireless network according to the priority orders to Few two wireless networks carry out link aggregation operating aspect, and the network insertion unit 403 is specifically used for:
Obtain the corresponding indoor location of the electronic equipment;
It determines between indoor location hotspot device corresponding with wireless network each in the multiple wireless network Distance obtains multiple distance values;
At least two distance values for being less than pre-determined distance value are chosen from the multiple distance value, it is suitable according to the priority Sequence chooses at least two wireless networks from the corresponding wireless network of at least two distance value and carries out link aggregation operation.
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: first acquisition unit 404, estimate unit 405 and push unit compared with Fig. 4 A 406, specific as follows:
The first acquisition unit 404, for obtaining the residual electric quantity of the electronic equipment;
It is described to estimate unit 405, corresponding target device power consumption rate is operated for estimating the link aggregation;And according to The estimating using duration of the electronic equipment is estimated according to the residual electric quantity and the target device power consumption rate;
The push unit 406, for pushing prompt information in described estimate using duration less than preset duration.
In a possible example, as shown in Figure 4 C, Fig. 4 C be Fig. 4 A described in link aggregation realization device again One modification structures can also include: second acquisition unit 407 compared with Fig. 4 A, specific as follows:
The second acquisition unit 407, for obtaining current network rate;
By described search unit 401 when the current network rate is lower than default network rate, execution is described to carry out net The step of network is searched for.
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 (PersonalDigital 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, multiple wireless networks, the corresponding electricity consumption of equipment historical record and one of each wireless network are obtained A hotspot device, the electricity consumption of equipment historical record are made when accessing wireless network to the electronic equipment by the electronic equipment At electric quantity consumption situation;
It is determined according to the corresponding electricity consumption of equipment historical record of wireless network each in the multiple wireless network the multiple wireless The priority orders of network;
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 described according to each wireless network in the multiple wireless network The corresponding electricity consumption of equipment historical record of network determines the priority orders of the multiple wireless network, comprising:
Obtain foreground application;
The determining and foreground from the corresponding electricity consumption of equipment historical record of each wireless network in the multiple wireless network Using corresponding target device power consumption historical record, multiple target device power consumption historical records are obtained;
The corresponding par devices electricity consumption value of each wireless network is determined according to the multiple target device power consumption historical record, is obtained Multiple par devices electricity consumption values;
The priority orders of the multiple wireless network are determined according to the multiple par devices electricity consumption value.
3. method according to claim 1 or 2, which is characterized in that it is described according to the priority orders from the multiple At least two wireless networks are chosen in wireless network carries out link aggregation operation, comprising:
Obtain the corresponding indoor location of the electronic equipment;
Determine the distance between indoor location hotspot device corresponding with wireless network each in the multiple wireless network, Obtain multiple distance values;
From the multiple distance value choose be less than pre-determined distance value at least two distance values, according to the priority orders from At least two wireless networks, which are chosen, in the corresponding wireless network of at least two distance value carries out link aggregation operation.
4. method according to claim 1-3, which is characterized in that the method also includes:
Obtain the residual electric quantity of the electronic equipment;
It estimates the link aggregation and operates corresponding target device power consumption rate;
The estimating using duration of the electronic equipment is estimated according to the residual electric quantity and the target device power consumption rate;
In described estimate using duration less than preset duration, prompt information is pushed.
5. method according to claim 1-4, which is characterized in that the method also includes:
Obtain current network rate;
When the current network rate is lower than default network rate, the step of executing the progress web search.
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 equipment consumption of each wireless network for carrying out web search Electric historical record and a hotspot device, the electricity consumption of equipment historical record are the electronic equipment when accessing wireless network To electric quantity consumption situation caused by the electronic equipment;
The determination unit, for according to the corresponding electricity consumption of equipment historical record of wireless network each in the multiple wireless network Determine 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 each wireless in the multiple wireless network In terms of the corresponding electricity consumption of equipment historical record of network determines the priority orders of the multiple wireless network, the determination unit tool Body is used for:
Obtain foreground application;
The determining and foreground from the corresponding electricity consumption of equipment historical record of each wireless network in the multiple wireless network Using corresponding target device power consumption historical record, multiple target device power consumption historical records are obtained;
The corresponding par devices electricity consumption value of each wireless network is determined according to the multiple target device power consumption historical record, is obtained Multiple par devices electricity consumption values;
The priority orders of the multiple wireless network are determined according to the multiple par devices electricity consumption value.
8. device according to claim 6 or 7, which is characterized in that it is described according to the priority orders from described more At least two wireless networks are chosen in a wireless network and carry out link aggregation operating aspect, and the network insertion unit is specifically used In:
Obtain the corresponding indoor location of the electronic equipment;
Determine the distance between indoor location hotspot device corresponding with wireless network each in the multiple wireless network, Obtain multiple distance values;
From the multiple distance value choose be less than pre-determined distance value at least two distance values, according to the priority orders from At least two wireless networks, which are chosen, in the corresponding wireless network of at least two distance value carries out link aggregation operation.
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.
CN201811575947.XA 2018-12-22 2018-12-22 Link aggregation implementation method and Related product Pending CN109474521A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811575947.XA CN109474521A (en) 2018-12-22 2018-12-22 Link aggregation implementation method and Related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811575947.XA CN109474521A (en) 2018-12-22 2018-12-22 Link aggregation implementation method and Related product

Publications (1)

Publication Number Publication Date
CN109474521A true CN109474521A (en) 2019-03-15

Family

ID=65675334

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811575947.XA Pending CN109474521A (en) 2018-12-22 2018-12-22 Link aggregation implementation method and Related product

Country Status (1)

Country Link
CN (1) CN109474521A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111163510A (en) * 2019-12-27 2020-05-15 Oppo广东移动通信有限公司 Network control method, network control device, storage medium and electronic equipment
EP3944657A4 (en) * 2019-04-08 2022-06-01 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Data transmission method and related apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102209369A (en) * 2011-05-20 2011-10-05 北京航空航天大学 Method based on wireless network interface selection to improve a smart phone user experience
CN104144480A (en) * 2013-05-10 2014-11-12 中兴通讯股份有限公司 Inner-access-technological-network communication method and device
CN104540176A (en) * 2015-01-12 2015-04-22 深圳市中兴移动通信有限公司 Access method of wireless network, device and terminal
CN106793010A (en) * 2016-12-30 2017-05-31 广东欧珀移动通信有限公司 A kind of method for network access and equipment
CN108777666A (en) * 2018-08-23 2018-11-09 Oppo广东移动通信有限公司 The shunt method and relevant device of link aggregation

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102209369A (en) * 2011-05-20 2011-10-05 北京航空航天大学 Method based on wireless network interface selection to improve a smart phone user experience
CN104144480A (en) * 2013-05-10 2014-11-12 中兴通讯股份有限公司 Inner-access-technological-network communication method and device
WO2014180195A1 (en) * 2013-05-10 2014-11-13 中兴通讯股份有限公司 Method and device for interworking between access technology networks
CN104540176A (en) * 2015-01-12 2015-04-22 深圳市中兴移动通信有限公司 Access method of wireless network, device and terminal
CN106793010A (en) * 2016-12-30 2017-05-31 广东欧珀移动通信有限公司 A kind of method for network access and equipment
CN108777666A (en) * 2018-08-23 2018-11-09 Oppo广东移动通信有限公司 The shunt method and relevant device of link aggregation

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3944657A4 (en) * 2019-04-08 2022-06-01 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Data transmission method and related apparatus
US11974168B2 (en) 2019-04-08 2024-04-30 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for data transmission through communication link, electronic device, and storage medium
CN111163510A (en) * 2019-12-27 2020-05-15 Oppo广东移动通信有限公司 Network control method, network control device, storage medium and electronic equipment
CN111163510B (en) * 2019-12-27 2023-09-22 Oppo广东移动通信有限公司 Network control method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN109803318A (en) Data packet shunt method, device, mobile terminal and storage medium
CN109379247A (en) The method and device that the network delay of a kind of pair of application program is detected
CN107734537A (en) Measuring method, transmitting terminal and the receiving terminal of network performance parameter
CN105046059B (en) Play sport track determines method and device
CN109151796A (en) NAN equipment finding method, relevant device and computer readable storage medium
CN104519262B (en) Obtain the method, apparatus and terminal of video data
CN109640379A (en) Link aggregation implementation method and Related product
CN109640329A (en) Link aggregation implementation method and Related product
CN107391518A (en) Count system, the method and device of page load performance information
CN107707642B (en) Brush amount terminal determines method and device
CN109729384A (en) The selection method and device of video code conversion
CN110267125A (en) Intelligent meter reading method and Related product
CN107888550A (en) Performance indications collecting method and device, tactful sending method and device
CN108966296A (en) Signal prompt method, mobile terminal and computer readable storage medium
CN107766139A (en) Application management method and device
CN109121199A (en) Localization method, positioning device, mobile terminal and storage medium
CN109618420A (en) Link aggregation implementation method and Related product
CN107715449A (en) A kind of account login method and relevant device
CN109617802A (en) Link aggregation implementation method and Related product
CN109922539A (en) Method for connecting network and Related product
CN109474521A (en) Link aggregation implementation method and Related product
CN109862556A (en) Packet distribution method, device, mobile terminal and storage medium
CN107577795A (en) A kind of methods, devices and systems for recommending song
CN110062405A (en) The solution and Related product of WiFi channel disturbance
CN106791074B (en) Song information display methods, device and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190315