CN109587053A - Network shunt method and relevant device - Google Patents
Network shunt method and relevant device Download PDFInfo
- Publication number
- CN109587053A CN109587053A CN201811628047.7A CN201811628047A CN109587053A CN 109587053 A CN109587053 A CN 109587053A CN 201811628047 A CN201811628047 A CN 201811628047A CN 109587053 A CN109587053 A CN 109587053A
- Authority
- CN
- China
- Prior art keywords
- target
- network module
- wireless network
- electronic equipment
- application
- 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
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/10—Flow control between communication endpoints
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/18—Selecting a network or a communication service
Abstract
This application discloses a kind of network shunt method and relevant devices, applied to the electronic equipment including multiple wireless network modules, the described method includes: being currently at link aggregation open state in the electronic equipment, and in the case that the target application of the electronic equipment front stage operation is setting application, the target scene that the target application is presently in is determined;Determine that target radio network module, the target network module are at least one of at least two wireless network modules that the link aggregation is used in the multiple wireless network module based on the target scene;For the associated data flow of target scene described in the target radio network module assignment.The intelligence of shunting can be promoted using the embodiment of the present application.
Description
Technical field
This application involves electronic technology field more particularly to a kind of network shunt method and relevant devices.
Background technique
Link aggregation (Link Aggregation) makes electronic equipment (such as smart phone etc.) that can use two simultaneously
Or more than two wireless network modules (such as wifi module, data network module) transmit data.Link aggregation is increasing chain
Road bandwidth, realization link transmission elasticity and redundancy etc. are a critically important technologies.Under link aggregation state, how for
The shunting of different networks module is the technical issues that need to address.
Summary of the invention
The embodiment of the present application provides a kind of network shunt method and relevant device, for promoting the intelligence shunted.
In a first aspect, the embodiment of the present application provides a kind of network shunt method, it is applied to include multiple wireless network modules
Electronic equipment, which comprises
It is currently at link aggregation open state in the electronic equipment, and the target of the electronic equipment front stage operation is answered
In the case where for setting application, the target scene that the target application is presently in is determined;
Determine that target radio network module, the target network module are the multiple wireless network based on the target scene
At least one of at least two wireless network modules of the link aggregation are used in network module;
For the associated data flow of target scene described in the target radio network module assignment.
Second aspect, the embodiment of the present application provide a kind of network shunt device, are applied to include multiple wireless network modules
Electronic equipment, described device includes:
Scene determination unit, for being currently at link aggregation open state in the electronic equipment, and the electronics is set
In the case that the target application of standby front stage operation is setting application, the target scene that the target application is presently in is determined;
Network module determination unit, for determining target radio network module, the target network based on the target scene
Network module is to be used at least two wireless network modules of the link aggregation in the multiple wireless network module at least
One;
Dividing cell, for being the associated data flow of target scene described in the target radio network module assignment.
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 method described 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 method 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
Step some or all of described in method of the machine execution as described in the embodiment of the present application first aspect.The computer program produces
Product can be a software installation packet.
As can be seen that in the embodiment of the present application, being currently at link aggregation open state in electronic equipment, and electronics is set
In the case that the target application of standby front stage operation is setting application, the target scene that target application is presently in is determined, then base
Target radio network module is determined in target scene, is finally the associated data of target radio network module assignment target scene
Stream, realizes the different scenes based on application and is shunted, improve the intelligence of shunting.
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 a kind of schematic diagram of the program running space of smart phone provided by the embodiments of the present application;
Figure 1B is a kind of system architecture diagram of Android system provided by the embodiments of the present application;
Fig. 2 is a kind of flow diagram of network shunt method provided by the embodiments of the present application;
Fig. 3 is the flow diagram of another network shunt method provided by the embodiments of the present application;
Fig. 4 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 5 is a kind of structural schematic diagram of network shunt device 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
The embodiment of the application a part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people
Member's every other embodiment obtained without making creative work, all should belong to the model of the application protection
It encloses.
It is described in detail separately below.
The description and claims of this application and term " first ", " second ", " third " and " in the attached drawing
Four " etc. are not use to describe a particular order for distinguishing different objects.In addition, term " includes " and " having " and it
Any deformation, it is intended that cover and non-exclusive include.Such as it contains the process, method of a series of steps or units, be
System, product or equipment are not limited to listed step or unit, but optionally further comprising the step of not listing or list
Member, or optionally further comprising 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 may include the various handheld devices with wireless communication function, mobile unit, wearable device, meter
Calculate equipment or be connected to radio modem other processing equipments and various forms of user equipment (User
Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal device) etc..
As shown in Figure 1A, the electronic equipments such as smart phone are typically provided with program running space at present, and program operation is empty
Between include user's space and operating system space, wherein user's space operation have one or more application program, this or more
A application program is the third party application of electronic equipment installation, network shunt method described in the embodiment of the present application it is soft
Part algorithm may operate in user's space, and operating system space motion has the operating system of electronic equipment.
The electronic equipment can specifically run the Mobile operating system iOS of Android android system, Apple Inc.'s exploitation
Deng not doing unique restriction herein.As shown in Figure 1B, by taking electronic equipment operation has android system as an example, corresponding user
Space includes the application layer (Applications) in the android system, and operating system space may include the Android system
Application framework layer (Application Framework), system Runtime Library layer (including system Runtime Library layer in system
Android Runtime when Libraries and Android are run), Linux inner core (Linux Kernel).Wherein, it applies
It include all kinds of application programs directly interacted with user, or the service routine for running on backstage write by Java language on layer.
For example, the program for the common basic function realized on smart phone, such as short message service (Short Messaging
Service, SMS) short message, dialing, Photo Browser, calendar, game, map, WWW (World Wide Web,
Web) programs such as browser and the other applications of developer's exploitation.Application framework layer provides exploitation Android
A series of class libraries needed for application program can be used in reusing component, can also realize personalized extension by inheriting.System
Runtime Library layer is the support of application framework, provides service for the various components in android system.System Runtime Library layer by
System class libraries and Android are constituted when running.It include core library and Dalvik virtual machine two parts when Android is run.Linux
Inner nuclear layer is for realizing hardware device drivers, process and memory management, network protocol stack, power management, the cores such as wireless communication
Function.
It describes in detail below to the embodiment of the present application.
Referring to Fig. 2, Fig. 2 is that the embodiment of the present application provides a kind of flow diagram of network shunt method, it is applied to
Electronic equipment including multiple wireless network modules, present networks shunt method include:
Step 201: being currently at link aggregation open state, and the electronic equipment front stage operation in the electronic equipment
Target application be setting application in the case where, the electronic equipment determines the target scene that the target application is presently in.
Wherein, the safety priority for setting application is greater than or equal to the first estate, and setting application for example can be bank's class
Using, shopping class application, instant messaging class application etc..Wherein, setting the safety priority of application, to can be user customized,
It is customized to be also possible to electronic equipment, is not limited thereto.
It wherein, is bank's class in application, the scene that target application is presently in for example can be payment field in target application
Scape, scene of transferring accounts, service inquiry scene, business consultation scene etc..It is shopping class in application, target application is current in target application
Locating scene for example has payment scene, article to choose scene, consulting scene, shopping cart scene etc..It is instant in target application
Communication class in application, the scene that target application is presently in for example have picture and text chat scenario, payment scene, voice communication scene,
Video calling scene etc..
Wherein, the wireless network module that electronic equipment includes for example have wifi module, bluetooth module, data network module,
Neighbouring sensing network (neighbor awareness network, NAN) network module etc..Data network module can support
Two generation mobile communication technologies (2-Generation wireless telephone technology, 2G) network, third generation hand
The machine communication technology (3rd-Generation wireless telephonetechnology, 3G) network, long term evolution (Long
Term Evolution, LTE) network, the 5th generation mobile communication technology (5th-Generation wireless telephone
Technology, 5G) network etc..
Step 202: the electronic equipment determines target radio network module, the target network based on the target scene
Module is in the multiple wireless network module at least one at least two wireless network modules of the link aggregation
It is a.
Step 203: the electronic equipment is the associated data of target scene described in the target radio network module assignment
Stream.
Specifically, at present in the case where electronic equipment is in link aggregation, if there is data flow will be handled, electronic equipment is regardless of this
A little data flows be what data flow be these data flows are given be used at least two wireless network modules of link aggregation into
Row processing.
And in the embodiment of the present application, link aggregation open state, and electronic equipment foreground are currently in electronic equipment
In the case that the application of operation is setting application, first determines the target scene that setting application is presently in, be then based on target field
Scape determines target radio network module, is finally the associated data flow of target radio network module assignment target scene, realizes
Different scenes based on setting application are shunted, and the intelligence of shunting is improved.
In the implementation of the application, at least two wireless network module includes that mobile data network is corresponding
Data network module, electronic equipment determine target radio network module based on the target scene, comprising: in the target scene
In the case where set scene, electronic equipment is described to set using the data network module as the target radio network module
The security level for determining scene is greater than or equal to predetermined level.
Wherein, the security level of mobile data network is higher than other wireless networks (such as Wi-Fi network, mobile phone hot spot)
Security level, therefore the security level of the corresponding data network module of mobile data network is greater than at least two wireless network
The security level of other wireless network modules in module in addition to the data network module.
Wherein, set scene for example can be payment scene, scene of transferring accounts, chat scenario etc..Wherein, the peace of set scene
It is customized that congruent grade can be user, and it is customized to be also possible to electronic equipment, is not limited thereto.
As an example it is assumed that setting application is the application of bank's class, set scene is payment scene, then in link aggregation
Under, if the application of front stage operation is the application of bank's class, and bank's class application is currently at payment scene, then scene will be paid
Associated data flow is given data network module and is handled.
As can be seen that the data flow relatively high for security level, using the higher wireless network module of security level into
Row processing, promotes the safety of data processing.
Further, it is described before electronic equipment is using the data network module as the target radio network module
Method further include:
Electronic equipment determines that the geographical location that the electronic equipment is presently in is not setting geographical location, the setting ground
Reason position is the associated geographical location of the target application.
Where it is assumed that target application is the application of bank's class, the target application is in the associated geographical location that sets of target application
The geographical location of all entity StoreFronts of associated bank, such as target application are agricultural bank APP, then target application is associated with
Set geographical location as the geographical location of the entity StoreFront of all agricultural banks.Assuming that target application is that instant messaging class is answered
With the user of electronic equipment frequent locating place (such as family, office, is in the associated geographical location that sets of target application
School, dormitory, library etc.) geographical location.Assuming that target application is shopping class application, the geographical position of the associated setting of target application
It is set to the geography in the frequent locating place (such as family, office, school, dormitory, library, supermarket) of user of electronic equipment
Position.
If the geographical location that electronic equipment is presently in is not setting geographical location, then it represents that electronic equipment is presently in
Environment be not safer environment, then indicating that other wireless networks under the environment are not safer networks, therefore right
In the relatively high data flow of security level, the case where the geographical location that electronic equipment is presently in is not setting geographical location
Under, it is handled using the higher wireless network module of the such security level of data network module, promotes the safety of data processing
Property.
Further, it is described before electronic equipment is using the data network module as the target radio network module
Method further include:
Electronic equipment determines other nothings at least two wireless network module in addition to the data network module
The security level of line network module is respectively less than or is equal to the second grade.
If the security level of other wireless network modules is less than or equal to the second grade, then it represents that other under the environment
Wireless network is not safer network, therefore the data flow relatively high for security level, in this way using data network module
The higher wireless network module of security level is handled, and the safety of data processing is promoted.
Further, the method also includes:
In the case where the target scene is not set scene, electronic equipment is by least two wireless network module
As the target radio network module.
As can be seen that for security level without so high data flow, normal use is used at least the two of link aggregation
A wireless network module is handled, to guarantee link bandwidth.
Further, electronic equipment using at least two wireless network module as the target radio network module it
Before, the method also includes:
Electronic equipment obtains the first current hardware circuit solution of at least two wireless network module;
Electronic equipment determines that the absolute value of the difference of the first hardware circuit solution of any two is less than or equal to preset threshold.
As can be seen that the quality in the corresponding link of at least two wireless network modules for link aggregation is much the same
In the case of, just using the data flow of at least two wireless network module processing target scenes for link aggregation, so that protecting
In the case where demonstrate,proving link bandwidth, the stability of data processing can guarantee.
Further, electronic equipment obtain the first current hardware circuit solution of at least two wireless network module it
Before, the method also includes:
Electronic equipment determines the current data increment rate of at least two wireless network module respectively;Electronic equipment point
The second hardware circuit solution of at least two wireless network modules last time determination is not obtained;Electronic equipment determines institute respectively
State current the first round-trip delay (Round-Trip Time, RTT) of at least two wireless network modules;Electronic equipment is according to really
Fixed at least two data increment rates, at least two second hardware circuit solutions obtained and determination at least two first
RTT determines the first current hardware circuit solution of at least two wireless network modules.
Wherein, at least two second hardware circuit solutions and at least two wireless network modules correspond, and at least two
First RTT and at least two wireless network modules correspond, at least two data increments and at least two wireless network modules
It corresponds.At least two the oneth RTT and at least two wireless network modules correspond.
Wherein, RTT is an important performance indicator in a computer network, and RTT indicates that sending data from transmitting terminal opens
Begin to transmitting terminal to receive the time delay that the confirmation instruction from receiving end is undergone in total, confirmation instruction is after receiving end receives data
Soon send.
Further, electronic equipment determines the current data increment rate of at least two wireless network module respectively
Specific implementation has:
Electronic equipment obtains at least two wireless network module in first data volume at the first moment respectively, and described
One moment was current time;Electronic equipment obtains at least two wireless network module in second data at the second moment respectively
Amount, second moment is earlier than first moment;Electronic equipment is according at least two first data volumes of acquisition and at least two
A second data volume determines the current data increment rate of at least two wireless network module.
Wherein, the difference at the first moment and the second moment is previously set, and it is customized which can be electronic equipment
, it can also be customized with user, it is not limited thereto.
Wherein, at least two first data volumes and at least two network data models correspond, at least two second numbers
It is corresponded according to amount and at least two network data models.
Further, electronic equipment is determined according at least two first data volumes of acquisition and at least two second data volumes
The specific implementation of the current data increment rate of at least two wireless network module has: electronic equipment is according to acquisition
At least two first data volumes, at least two second data volumes got and calculation formula determine at least two wireless network
The current data increment rate of network module;
First calculation formula are as follows: data increment rate=(first the-the second data volume of data volume)/(when the first moment-the second
It carves).
In the implementation of the application, electronic equipment determines that at least two wireless network module is current respectively
The specific implementation of first RTT has:
Electronic equipment, which determines, runs a transmission control protocol (Transmission Control Protocol, TCP)
2nd RTT;Electronic equipment obtains the 3rd RTT determined at least two wireless network modules last time respectively;Electronic equipment
Determine that at least two wireless network module is current according to determining the 2nd RTT and at least two the 3rd RTT obtained
The first RTT.
Wherein, at least two the 3rd RTT and at least two wireless network modules correspond.
Wherein, since the 2nd RTT refer to transmitting terminal sending TCP packet to the institute that makes an immediate response received for TCP packet
The transmission time of consuming.
Electronic equipment determines that the specific implementation of the 2nd RTT of one transmission control protocol TCP of operation has: electronic equipment
The 2nd RTT of one transmission control protocol TCP of operation is counted by tcp_rtt_estimator () function.2nd RTT be
The rtt of first request after three-way handshake, such as the rrt of http get, http post.It shakes hands for 3 times and to refer to that TCP is built
3 confirmation processes of vertical connection.
Further, described in electronic equipment is determined according to determining the 2nd RTT at least two the 3rd RTT obtained
The specific implementation of the first current RTT of at least two wireless network modules has: electronic equipment is according to determining described second
RTT, at least two the 3rd RTT obtained and the second calculation formula determine current first of at least two wireless network module
RTT;
Second calculation formula are as follows: the first RTT=(the 2nd RTT of the 3rd RTT+)/2.
In the implementation of the application, electronic equipment according at least two determining data increment rates, obtain
At least two second hardware circuit solutions and at least two the oneth RTT determined determine that at least two wireless network modules are current
The specific implementation of first hardware circuit solution has:
Electronic equipment is according at least two determining data increment rates, at least two second peak transmissions obtained speed
Rate, the rule of at least two the oneth RTT of determination and first determine the first current peak transmission of at least two wireless network modules
Rate;Wherein, first rule is in the case where the first RTT is less than default RTT, by data increment rate and the second peak value
The greater in transmission rate is as the first hardware circuit solution;The case where the first RTT is greater than or equal to the default RTT
Under, the first hardware circuit solution, the n are used as by n times of the greater in data increment rate and the second hardware circuit solution
For the positive number less than 1.
Further, the method also includes:
In the case where the absolute value of the difference of the first hardware circuit solution of any two is greater than the preset threshold, electronics
Equipment is using the maximum wireless network module of the first hardware circuit solution described at least two wireless network module as institute
State target radio network module.
As can be seen that the mass difference in the corresponding link of at least two wireless network modules for link aggregation compares
In the case where, only the data flow of that preferable wireless network module processing target scene of link-quality, improves data processing
Stability.
In the implementation of the application, electronic equipment is target scene described in the target radio network module assignment
Associated data flow, comprising:
Electronic equipment determines at least two wireless network according at least two first hardware circuit solutions of acquisition respectively
The shunting weight of network module;
It is that described at least two wireless wireless network modules distribute that electronic equipment, which shunts weight according to determining at least two,
The associated data flow of target scene.
In the implementation of the application, electronic equipment is distinguished according at least two first hardware circuit solutions of acquisition
Determine the specific implementation of the shunting weight of at least two wireless network module:
Determination is described at least respectively according at least two first hardware circuit solutions and Second Rule of acquisition for electronic equipment
The shunting weight of two wireless network modules, the Second Rule are to shunt weight to be equal to the first hardware circuit solution except in described
The sum of at least two first hardware circuit solutions.
Wherein, the shunting weight of at least two wireless network module and be equal to 1.
As an example it is assumed that the wireless network module for link aggregation is wifi module and data network module, determine
The shunting weight of wifi module is 1/3, and the shunting weight of data network module is 2/3, if the current associated number of target scene
Have 3 according to stream, then electronic equipment by 1 data flow point to wifi module, by 2 data flow points to data network module.Again
As an example it is assumed that the wireless network module for link aggregation is wifi module and data network module, wifi module is determined
Shunting weight be 1/3, the shunting weight of data network module is 2/3, if currently associated data flow has 4 to target scene
Item, then electronic equipment by 1 data flow point to wifi module, by 3 data flow points to data network module.
As can be seen that the actual conditions based at least two wireless network modules are the distribution of at least two wireless network modules
Data flow is realized and is rationally shunted under link aggregation state for different networks module, and then promotes the steady of data transmission
It is qualitative.
It is consistent with the embodiment shown in Fig. 2, referring to Fig. 3, Fig. 3 is a kind of network provided by the embodiments of the present application
The flow diagram of shunt method, applied to the electronic equipment including multiple wireless network modules, the multiple wireless network mould
Block includes at least two wireless network modules for the link aggregation, and at least two wireless network module includes movement
The corresponding data network module of data network, present networks shunt method include:
Step 301: being currently at link aggregation open state, and the electronic equipment front stage operation in the electronic equipment
Target application be setting application in the case where, electronic equipment determines the target scene that the target application is presently in.
Step 302: electronic equipment determines whether the target scene is set scene.
If so, thening follow the steps 303.
If it is not, thening follow the steps 305.
Step 303: electronic equipment determines whether the geographical location that the electronic equipment is presently in is setting geographical location,
The associated geographical location of the target application is in the geographical location that sets.
If it is not, thening follow the steps 304.
If so, thening follow the steps 305.
Further, step 303 can be used step " electronic equipment determines to be removed at least two wireless network module
Whether the security level of other wireless network modules except the data network module is respectively less than or is equal to the second grade " it replaces
It changes.
Step 304: electronic equipment using data network module as the target radio network module, the set scene
Security level is greater than or equal to predetermined level.
Step 305: electronic equipment obtains the first current hardware circuit solution of at least two wireless network module.
Step 306: electronic equipment determine the absolute value of the difference of the first hardware circuit solution of any two whether be less than or
Equal to preset threshold.
If so, thening follow the steps 307.
If it is not, thening follow the steps 308.
Step 307: electronic equipment is using at least two wireless network module as the target radio network module.
Step 308: electronic equipment is maximum by the first hardware circuit solution described at least two wireless network module
Wireless network module as the target radio network module.
Step 309: electronic equipment is the associated data flow of target scene described in the target radio network module assignment.
It should be noted that the specific implementation process of the present embodiment can be found in specific implementation described in above method embodiment
Process no longer describes herein.
It is consistent with above-mentioned Fig. 2 and embodiment shown in Fig. 3, referring to Fig. 4, Fig. 4 is provided by the embodiments of the present application one
The structural schematic diagram of kind electronic equipment, electronic equipment includes multiple wireless network modules, as shown, the electronic equipment includes place
Manage device, memory, communication interface and one or more programs, wherein said one or multiple programs are stored in above-mentioned deposit
In reservoir, and it is configured to be executed by above-mentioned processor, above procedure includes the instruction for executing following steps:
It is currently at link aggregation open state in the electronic equipment, and the target of the electronic equipment front stage operation is answered
In the case where for setting application, the target scene that the target application is presently in is determined;
Determine that target radio network module, the target network module are the multiple wireless network based on the target scene
At least one of at least two wireless network modules of the link aggregation are used in network module;
For the associated data flow of target scene described in the target radio network module assignment.
As can be seen that in the embodiment of the present application, being currently at link aggregation open state in electronic equipment, and electronics is set
In the case that the application of standby front stage operation is setting application, determines the target scene that setting application is presently in, be then based on mesh
Mark scene determines target radio network module, is finally the associated data flow of target radio network module assignment target scene, real
Show the different scenes based on setting application to be shunted, improves the intelligence of shunting.
In the implementation of the application, at least two wireless network module includes that mobile data network is corresponding
Data network module, in terms of determining target radio network module based on the target scene, above procedure includes being specifically used for
Execute the instruction of following steps:
In the case where the target scene is set scene, using the data network module as the Target Wireless net
The security level of network module, the set scene is greater than or equal to predetermined level.
In the implementation of the application, using the data network module as the target radio network module it
Before, above procedure includes the instruction for being also used to execute following steps:
Determining geographical location that the electronic equipment is presently in is not setting geographical location, it is described set geographical location as
The associated geographical location of target application.
In the implementation of the application, above procedure includes the instruction for being also used to execute following steps:
In the case where the target scene is not set scene, using at least two wireless network module as described in
Target radio network module.
In the implementation of the application, using at least two wireless network module as the Target Wireless net
Before network module, above procedure includes the instruction for being also used to execute following steps:
Obtain the first current hardware circuit solution of at least two wireless network module;
Determine that the absolute value of the difference of the first hardware circuit solution of any two is less than or equal to preset threshold.
In the implementation of the application, above procedure includes the instruction for being also used to execute following steps:
In the case where the absolute value of the difference of the first hardware circuit solution of any two is greater than the preset threshold, by institute
State the maximum wireless network module of the first hardware circuit solution described at least two wireless network modules as the target without
Line network module.
In the implementation of the application, for target scene described in the target radio network module assignment it is associated
In terms of data flow, above procedure includes the instruction specifically for executing following steps:
At least two wireless network module is determined respectively according at least two first hardware circuit solutions of acquisition
Shunt weight;
Shunting weight according to determining at least two is that described at least two wireless wireless network modules distribute the target
The data flow of scene relating.
It should be noted that the specific implementation process of the present embodiment can be found in specific implementation described in above method embodiment
Process no longer describes herein.
Above-described embodiment is mainly described the scheme of the embodiment of the present application from the angle of method side implementation procedure.It can
With understanding, in order to realize the above functions, it comprises execute the corresponding hardware configuration of each function and/or soft for electronic equipment
Part module.Those skilled in the art should be readily appreciated that, described in conjunction with the examples disclosed in the embodiments of the present disclosure
Unit and algorithm steps, the application can be realized with the combining form of hardware or hardware and computer software.Some function is studied carefully
Unexpectedly it is executed in a manner of hardware or computer software driving hardware, the specific application and design constraint depending on technical solution
Condition.Professional technician can specifically realize described function to each using distinct methods, but this
It realizes 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 the 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.The 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.
It is below the application Installation practice, the application Installation practice is realized for executing the application embodiment of the method
Method.Referring to Fig. 5, Fig. 5 is a kind of network shunt device provided by the embodiments of the present application, it is applied to include multiple wireless networks
The electronic equipment of network module, the network shunt device include:
Scene determination unit 501, for being currently at link aggregation open state, and the electronics in the electronic equipment
In the case that the target application of equipment front stage operation is setting application, the target scene that the target application is presently in is determined;
Network module determination unit 502, for determining target radio network module, the target based on the target scene
Network module is to be used at least two wireless network modules of the link aggregation in the multiple wireless network module extremely
It is one few;
Dividing cell 503, for being the associated data flow of target scene described in the target radio network module assignment.
As can be seen that in the embodiment of the present application, being currently at link aggregation open state in electronic equipment, and electronics is set
In the case that the application of standby front stage operation is setting application, determines the target scene that setting application is presently in, be then based on mesh
Mark scene determines target radio network module, is finally the associated data flow of target radio network module assignment target scene, real
Show the different scenes based on setting application to be shunted, improves the intelligence of shunting.
In the implementation of the application, at least two wireless network module includes that mobile data network is corresponding
Data network module, in terms of determining target radio network module based on the target scene, network module determination unit 502 has
Body is used for:
In the case where the target scene is set scene, using the data network module as the Target Wireless net
The security level of network module, the set scene is greater than or equal to predetermined level.
In the implementation of the application, using the data network module as the target radio network module it
Before, network module determination unit 502 is also used to determine that the geographical location that the electronic equipment is presently in is not to set geographical position
It sets, the associated geographical location of the target application is in the geographical location that sets.
In the implementation of the application, network module determination unit 502 is also used in the target scene not be to set
In the case where determining scene, using at least two wireless network module as the target radio network module.
In the implementation of the application, using at least two wireless network module as the Target Wireless net
Before network module, network module determination unit 502 is also used to obtain the current first peak of at least two wireless network module
It is worth transmission rate;Determine that the absolute value of the difference of the first hardware circuit solution of any two is less than or equal to preset threshold.
In the implementation of the application, network module determination unit 502 is also used to pass in the first peak value of any two
It, will be described at least two wireless network module in the case that the absolute value of the difference of defeated rate is greater than the preset threshold
The maximum wireless network module of first hardware circuit solution is as the target radio network module.
In the implementation of the application, for target scene described in the target radio network module assignment it is associated
In terms of data flow, dividing cell 503 is specifically used for:
At least two wireless network module is determined respectively according at least two first hardware circuit solutions of acquisition
Shunt weight;
Shunting weight according to determining at least two is that described at least two wireless wireless network modules distribute the target
The data flow of scene relating.
It should be noted that scene determination unit 501, network module determination unit 502 and dividing cell 503 can pass through place
Unit is managed to realize.
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 network shunt method, which is characterized in that applied to the electronic equipment including multiple wireless network modules, the side
Method includes:
It is currently at link aggregation open state in the electronic equipment, and the target application of the electronic equipment front stage operation is
In the case where setting application, the target scene that the target application is presently in is determined;
Determine that target radio network module, the target network module are the multiple wireless network mould based on the target scene
At least one of at least two wireless network modules of the link aggregation are used in block;
For the associated data flow of target scene described in the target radio network module assignment.
2. the method according to claim 1, wherein at least two wireless network module includes mobile data
The corresponding data network module of network, it is described that target radio network module is determined based on the target scene, comprising:
In the case where the target scene is set scene, using the data network module as the target radio network mould
The security level of block, the set scene is greater than or equal to predetermined level.
3. according to the method described in claim 2, it is characterized in that, it is described using the data network module as the target without
Before line network module, the method also includes:
Determine that the geographical location that the electronic equipment is presently in is not setting geographical location, the geographical location that sets is described
The associated geographical location of target application.
4. according to the method in claim 2 or 3, which is characterized in that the method also includes:
In the case where the target scene is not set scene, using at least two wireless network module as the target
Wireless network module.
5. according to the method described in claim 4, it is characterized in that, described using at least two wireless network module as institute
Before stating target radio network module, the method also includes:
Obtain the first current hardware circuit solution of at least two wireless network module;
Determine that the absolute value of the difference of the first hardware circuit solution of any two is less than or equal to preset threshold.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
In the case where the absolute value of the difference of the first hardware circuit solution of any two is greater than the preset threshold, by described in extremely
The maximum wireless network module of first hardware circuit solution described in few two wireless network modules is as the Target Wireless net
Network module.
7. method according to claim 5 or 6, which is characterized in that described for the target radio network module assignment institute
State the associated data flow of target scene, comprising:
Determine the shunting of at least two wireless network module respectively according at least two first hardware circuit solutions of acquisition
Weight;
Shunting weight according to determining at least two is that described at least two wireless wireless network modules distribute the target scene
Associated data flow.
8. a kind of network shunt device, which is characterized in that applied to the electronic equipment including multiple wireless network modules, the dress
It sets and includes:
Scene determination unit, for being currently at link aggregation open state in the electronic equipment, and before the electronic equipment
In the case that the target application of platform operation is setting application, the target scene that the target application is presently in is determined;
Network module determination unit, for determining target radio network module, the target network mould based on the target scene
Block is at least one of at least two wireless network modules that the link aggregation is used in the multiple wireless network module;
Dividing cell, for being the associated data flow of target scene described in the target radio network module assignment.
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 7.
10. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium is for storing computer
Program, the computer program are executed by processor, to realize the method according to claim 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811628047.7A CN109587053B (en) | 2018-12-28 | 2018-12-28 | Network shunting method and related equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811628047.7A CN109587053B (en) | 2018-12-28 | 2018-12-28 | Network shunting method and related equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109587053A true CN109587053A (en) | 2019-04-05 |
CN109587053B CN109587053B (en) | 2021-09-07 |
Family
ID=65933459
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811628047.7A Active CN109587053B (en) | 2018-12-28 | 2018-12-28 | Network shunting method and related equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109587053B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020038175A1 (en) * | 2018-08-23 | 2020-02-27 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Data-stream allocation method for link aggregation and related devices |
CN112291816A (en) * | 2020-11-13 | 2021-01-29 | Oppo广东移动通信有限公司 | Data transmission method, device, storage medium and electronic equipment |
CN116709417A (en) * | 2022-10-14 | 2023-09-05 | 荣耀终端有限公司 | Temperature control method and related equipment |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102790803A (en) * | 2012-07-19 | 2012-11-21 | 南京邮电大学 | Streaming media service multi-stream concurrent transmission method based on multi-terminal fusion |
CN103716252A (en) * | 2012-09-29 | 2014-04-09 | 中兴通讯股份有限公司 | Flow-distribution link aggregation and device |
US20150003466A1 (en) * | 2013-06-28 | 2015-01-01 | Broadcom Corporation | Enhanced Link Aggregation in a Communications System |
CN104837167A (en) * | 2015-04-29 | 2015-08-12 | 深圳市金立通信设备有限公司 | Network switching method |
CN105933098A (en) * | 2015-01-30 | 2016-09-07 | 诺基亚通信公司 | Controlling LTE/WI-FI aggregation |
CN106211164A (en) * | 2016-07-28 | 2016-12-07 | 宇龙计算机通信科技(深圳)有限公司 | Terminal network changing method, terminal network switching device and terminal |
CN107182055A (en) * | 2017-06-22 | 2017-09-19 | 深圳传音通讯有限公司 | Mobile terminal network connection processing method and mobile terminal |
CN107547745A (en) * | 2017-08-31 | 2018-01-05 | 广东欧珀移动通信有限公司 | Resource allocation method and Related product |
US20180054724A1 (en) * | 2016-08-19 | 2018-02-22 | Intel IP Corporation | Device discovery during link aggregation in wireless communications |
CN107786738A (en) * | 2017-10-18 | 2018-03-09 | 广东欧珀移动通信有限公司 | Network control method and equipment |
CN108777666A (en) * | 2018-08-23 | 2018-11-09 | Oppo广东移动通信有限公司 | The shunt method and relevant device of link aggregation |
CN108881012A (en) * | 2018-08-23 | 2018-11-23 | Oppo广东移动通信有限公司 | link aggregation method and related product |
CN108990110A (en) * | 2018-07-26 | 2018-12-11 | Oppo广东移动通信有限公司 | Network flux management method, device, storage medium and terminal |
-
2018
- 2018-12-28 CN CN201811628047.7A patent/CN109587053B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102790803A (en) * | 2012-07-19 | 2012-11-21 | 南京邮电大学 | Streaming media service multi-stream concurrent transmission method based on multi-terminal fusion |
CN103716252A (en) * | 2012-09-29 | 2014-04-09 | 中兴通讯股份有限公司 | Flow-distribution link aggregation and device |
US20150003466A1 (en) * | 2013-06-28 | 2015-01-01 | Broadcom Corporation | Enhanced Link Aggregation in a Communications System |
CN105933098A (en) * | 2015-01-30 | 2016-09-07 | 诺基亚通信公司 | Controlling LTE/WI-FI aggregation |
CN104837167A (en) * | 2015-04-29 | 2015-08-12 | 深圳市金立通信设备有限公司 | Network switching method |
CN106211164A (en) * | 2016-07-28 | 2016-12-07 | 宇龙计算机通信科技(深圳)有限公司 | Terminal network changing method, terminal network switching device and terminal |
US20180054724A1 (en) * | 2016-08-19 | 2018-02-22 | Intel IP Corporation | Device discovery during link aggregation in wireless communications |
CN107182055A (en) * | 2017-06-22 | 2017-09-19 | 深圳传音通讯有限公司 | Mobile terminal network connection processing method and mobile terminal |
CN107547745A (en) * | 2017-08-31 | 2018-01-05 | 广东欧珀移动通信有限公司 | Resource allocation method and Related product |
CN107786738A (en) * | 2017-10-18 | 2018-03-09 | 广东欧珀移动通信有限公司 | Network control method and equipment |
CN108990110A (en) * | 2018-07-26 | 2018-12-11 | Oppo广东移动通信有限公司 | Network flux management method, device, storage medium and terminal |
CN108777666A (en) * | 2018-08-23 | 2018-11-09 | Oppo广东移动通信有限公司 | The shunt method and relevant device of link aggregation |
CN108881012A (en) * | 2018-08-23 | 2018-11-23 | Oppo广东移动通信有限公司 | link aggregation method and related product |
Non-Patent Citations (1)
Title |
---|
任政等: "基于数据包分割的多网络链路分流系统及方法", 《数字通信世界》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020038175A1 (en) * | 2018-08-23 | 2020-02-27 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Data-stream allocation method for link aggregation and related devices |
US11166330B2 (en) | 2018-08-23 | 2021-11-02 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Data-stream allocation method for link aggregation and related devices |
CN112291816A (en) * | 2020-11-13 | 2021-01-29 | Oppo广东移动通信有限公司 | Data transmission method, device, storage medium and electronic equipment |
CN116709417A (en) * | 2022-10-14 | 2023-09-05 | 荣耀终端有限公司 | Temperature control method and related equipment |
Also Published As
Publication number | Publication date |
---|---|
CN109587053B (en) | 2021-09-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108777666A (en) | The shunt method and relevant device of link aggregation | |
CN106375142B (en) | The test method and device of application program | |
CN104995889B (en) | For modifying the method and device thereof of M2M service setting | |
CN104081339B (en) | The data transmission by network connection is managed based on priority and data application plan | |
CN104335641B (en) | Data service handling method, device and system under roaming scence | |
CN109587053A (en) | Network shunt method and relevant device | |
CN102984783B (en) | Method and apparatus for controlling terminal's access to wireless network | |
US20150230074A1 (en) | Charging Control Method, Device, and System for Data Service of Roaming Subscriber | |
CN106171019B (en) | Determine the method, apparatus, terminal and server of terminal roaming status | |
CN103404181A (en) | Method, system, gateway and server for cancelling redirection | |
CN109075995A (en) | The device that performance measurement data for NFV performance management is subscribed to | |
CN106302211A (en) | The request amount control method of a kind of Internet resources and device | |
CN107872771A (en) | Method, mobile management net element and the terminal device of short message are handled in Internet of Things | |
CN109495857A (en) | Charging method, mobile edge calculations server, charge system and policy control rule network element | |
CN107734556A (en) | Data transfer control method and Related product | |
CN103250382A (en) | Distribution method, apparatus and system | |
CN109451537A (en) | Network shunt method and relevant device | |
CN109547222A (en) | The flow statistical method and device of network request | |
CN106791679A (en) | A kind of determination method and device of video transmission path | |
CN104205887A (en) | Billing method, access network device and gateway device | |
CN109392093A (en) | A kind of sending method and equipment of paging message | |
CN109495931A (en) | The data transmission method and relevant apparatus of link aggregation | |
CN111294856B (en) | Shared flow terminal identification method, device, equipment and readable storage medium | |
CN107612831A (en) | A kind of transmission method and device of the data message for accessing source station | |
CN109640178A (en) | Network shunt method and relevant device |
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 |