CN107889164B - Wireless local area network distribution processing method and related product - Google Patents

Wireless local area network distribution processing method and related product Download PDF

Info

Publication number
CN107889164B
CN107889164B CN201711185154.2A CN201711185154A CN107889164B CN 107889164 B CN107889164 B CN 107889164B CN 201711185154 A CN201711185154 A CN 201711185154A CN 107889164 B CN107889164 B CN 107889164B
Authority
CN
China
Prior art keywords
wireless
mobile terminal
application program
application
application programs
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711185154.2A
Other languages
Chinese (zh)
Other versions
CN107889164A (en
Inventor
肖龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201711185154.2A priority Critical patent/CN107889164B/en
Publication of CN107889164A publication Critical patent/CN107889164A/en
Application granted granted Critical
Publication of CN107889164B publication Critical patent/CN107889164B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/08Load balancing or load distribution
    • H04W28/082Load balancing or load distribution among bearers or channels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/56Allocation or scheduling criteria for wireless resources based on priority criteria
    • H04W72/566Allocation or scheduling criteria for wireless resources based on priority criteria of the information or information source or recipient
    • H04W72/569Allocation or scheduling criteria for wireless resources based on priority criteria of the information or information source or recipient of the traffic information

Abstract

The embodiment of the invention discloses a wireless local area network shunting processing method and a related product, wherein the method comprises the following steps: under the condition that a mobile terminal is connected with a first wireless Access Point (AP) and a second wireless AP, whether the mobile terminal receives network requests initiated by at least two application programs currently is detected, and the working frequency of the first wireless AP is different from that of the second wireless AP; if yes, determining a target application program with the highest priority in the at least two application programs; and sending the network request initiated by the target application program to a first wireless AP for processing, and sending the network request initiated by other application programs to a second wireless AP for processing, wherein the other application programs are application programs except the target application program in at least two application programs. The embodiment of the invention can improve the network utilization rate of the wireless local area network in the dual-frequency band.

Description

Wireless local area network distribution processing method and related product
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a wireless local area network distribution processing method and a related product.
Background
With the popularization of mobile terminals such as mobile phones and tablet computers, the functions of the mobile phones are more and more abundant. At present, many mobile phones support 2.4G and 5G dual-band wireless local area networks and can support a mode of simultaneous dual-band operation. At present, when a mobile phone works in a dual-frequency band simultaneously, network requests on the two frequency bands are randomly allocated, and the network utilization rate of a wireless local area network is low.
Disclosure of Invention
The embodiment of the invention provides a wireless local area network shunt processing method and a related product, which can improve the network utilization rate of a wireless local area network in double frequency bands.
A first aspect of an embodiment of the present invention provides a wireless local area network offloading method, including:
under the condition that a mobile terminal is connected with a first wireless Access Point (AP) and a second wireless AP, detecting whether the mobile terminal receives network requests initiated by at least two application programs currently, wherein the working frequency of the first wireless AP is different from that of the second wireless AP;
if yes, determining a target application program with the highest priority level in the at least two application programs;
and sending the network request initiated by the target application program to the first wireless AP for processing, and sending the network request initiated by other application programs to the second wireless AP for processing, wherein the other application programs are application programs except the target application program in the at least two application programs.
A second aspect of the embodiments of the present invention provides a mobile terminal, including a first detecting unit, a determining unit, and a processing unit, where:
the first detecting unit is configured to detect whether the mobile terminal receives a network request initiated by at least two application programs currently under the condition that the mobile terminal is connected to a first wireless access point AP and a second wireless AP, where an operating frequency of the first wireless AP is different from an operating frequency of the second wireless AP;
the determining unit is configured to determine a target application program with a highest priority level in the at least two application programs when the first detecting unit detects that the mobile terminal currently receives the network request initiated by the at least two application programs;
the processing unit is configured to send the network request initiated by the target application to the first wireless AP for processing, and send the network request initiated by another application to the second wireless AP for processing, where the another application is an application other than the target application in the at least two applications.
A third aspect of embodiments of the present invention provides a mobile terminal, including a processor and a memory, where the memory is configured to store one or more programs, where the one or more programs are configured to be executed by the processor, and where the program includes instructions for performing some or all of the steps described in any of the methods according to the first aspect of embodiments of the present invention.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium for storing a computer program for electronic data exchange, wherein the computer program causes a computer to perform some or all of the steps as described in any one of the methods of the first aspect of embodiments of the present invention.
A fifth aspect of embodiments of the present invention provides a computer program product comprising a non-transitory computer readable storage medium having a computer program stored thereon, the computer program being operable to cause a computer to perform some or all of the steps of a method as described in any one of the first aspects of embodiments of the present invention.
In the embodiment of the invention, under the condition that a mobile terminal is connected with a first wireless Access Point (AP) and a second wireless AP, if the mobile terminal receives network requests initiated by at least two application programs, a target application program with the highest priority in the at least two application programs is determined; and sending the network request initiated by the target application program to the first wireless AP for processing, and sending the network request initiated by other application programs to the second wireless AP for processing. The embodiment of the invention can independently allocate one wireless AP for processing to the target application program with high priority, allocate other applications with lower priority to another wireless AP for processing, improve the network utilization rate of the wireless local area network in double frequency bands, allocate better network resources to the target application with higher priority and improve the user internet experience.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a wireless local area network offloading processing method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of another wlan offloading processing method according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of another wlan offloading processing method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a mobile terminal disclosed in the embodiment of the present invention;
fig. 5 is a schematic structural diagram of another mobile terminal disclosed in the embodiment of the present invention;
fig. 6 is a schematic structural diagram of another mobile terminal disclosed in the embodiment of the present invention;
fig. 7 is a schematic structural diagram of another mobile terminal disclosed in the embodiment of the present invention;
fig. 8 is a schematic structural diagram of another mobile terminal disclosed in the embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," and the like in the description and claims of the present invention and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The Mobile terminal according to the embodiment of the present invention may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, and various forms of User Equipment (UE), Mobile Stations (MS), terminal devices (terminal device), and the like, which have wireless communication functions. For convenience of description, the above-mentioned devices are collectively referred to as a mobile terminal.
The following describes embodiments of the present invention in detail.
Referring to fig. 1, fig. 1 is a flowchart illustrating a wlan offloading processing method according to an embodiment of the present invention, and as shown in fig. 1, the wlan offloading processing method includes the following steps.
101, under the condition that the mobile terminal connects the first wireless access point AP and the second wireless AP, the mobile terminal detects whether the mobile terminal currently receives network requests initiated by at least two application programs. If yes, go to step 102; if not, go to step 104. And the working frequency of the first wireless AP is different from that of the second wireless AP.
In the embodiment of the present invention, a wireless Access Point (AP) is an access point of a wireless network, and is commonly referred to as a "hot spot". The wireless local area network of the mobile terminal may include WiFi, and the mobile terminal in the embodiment of the present invention supports dual-band WiFi, for example, WiFi in 2.4G band and WiFi in 5G band. The mobile terminal may simultaneously connect two wireless APs in different operating frequency bands, for example, the mobile terminal may simultaneously connect a first wireless AP and a second wireless AP, where an operating frequency of the first wireless AP is different from an operating frequency of the second wireless AP. For example, the working frequency band of the first wireless AP is 2.4GHz, and the working frequency band of the second wireless AP is 5 GHz; or the working frequency band of the first wireless AP is 5GHz, and the working frequency band of the second wireless AP is 2.4 GHz. Under the condition that the mobile terminal is connected with the first wireless AP and the second wireless AP at the same time, and the first wireless AP and the second wireless AP can access the network, whether the mobile terminal receives network requests initiated by at least two application programs currently is detected. If the mobile terminal currently receives network requests initiated by at least two applications, the priorities of the at least two applications can be determined, and step 102 is performed. Step 104 may be performed if the mobile terminal currently receives only one application-initiated network request. The application programs in the embodiments of the present invention may include third party application programs and system application programs.
Optionally, after step 101 is executed and before step 102 is executed, the following steps may also be executed.
Under the condition that the mobile terminal receives network requests initiated by at least two application programs currently, the mobile terminal judges whether the priorities of the applications of the at least two application programs are the same; if not, go to step 102.
Optionally, if the priorities of the applications of the at least two application programs are the same, step (11) is performed.
(11) The mobile terminal determines a wireless AP corresponding to a first application program according to a preset corresponding relation table of the application program and the wireless AP, and sends a network request initiated by the first application program to the wireless AP corresponding to the first application program for processing, wherein the first application program is any one of at least two application programs.
In the embodiment of the present invention, when the priorities of the at least two applications are different, the wireless AP may be allocated to the at least two applications according to the priorities for processing. When the priorities of the at least two applications are the same, the wireless AP corresponding to each of the at least two applications may be determined according to a preset correspondence table between the application and the wireless AP, and the network request initiated by each application is sent to the corresponding wireless AP for processing. According to the embodiment of the invention, when the priorities of at least two application programs initiating the network request are the same, the wireless AP to which the network request initiated by each application program should be processed can be determined according to the preset corresponding relation between the application programs and the wireless APs.
102, the mobile terminal determines a target application program with the highest priority in at least two application programs.
In the embodiment of the present invention, the priority of the application program may be set in advance, for example, a user may set an application program priority list in advance. The application priority list may include all applications in the mobile terminal and a corresponding priority size for each application. The application priority list may be set manually by a user or may be set by the system according to the download amount of the application. The downloading amount of the application program can be determined from the accumulated downloading amount of the application program counted on the application downloading platform.
The priority of the application program may also be calculated by the mobile terminal according to a preset rule, for example, the priority of the application program may be set according to the activity of the application program. The liveness of an application is determined based on a cumulative usage time and a cumulative number of opens of the application over a past period of time (e.g., a past month). For example, the activity P of an application is axx + bxy, where P is the activity of the application, X is the cumulative usage duration of the application in the past month, Y is the cumulative number of times the application was turned on in the past month, and a and B are weighting factors, such as 0.4 for a and 0.6 for B. Generally, the longer the cumulative usage of an application over a period of time in the past, the more the cumulative number of times the application was opened, the higher the activity of the application, and the higher the priority of the application.
Optionally, step 102 may include:
the mobile terminal determines a foreground application program of the at least two application programs as a target application program.
In the embodiment of the invention, when the mobile terminal detects that the mobile terminal currently receives the network requests initiated by the at least two application programs, the mobile terminal can take the foreground application program in the at least two application programs as the target application program.
The foreground application in this embodiment is an application that is currently running in the system of the mobile terminal and is displayed to the user. The foreground application program corresponds to a background application program which runs in the system background of the mobile terminal and is not displayed to the user. In general, a user can only see foreground applications on the system, but cannot see background applications.
For example, in a mobile phone, the foreground application may be an application that is visible to a user running on the mobile phone system, such as a photo-type application, a video-type application, and the like running on the mobile phone system. The background application program may be a program running in the background of the mobile phone, for example, a social application such as a WeChat running in the background of the mobile phone for receiving a message, an application update running in the background of the mobile phone, and the like.
Generally speaking, if the application program initiating the network request is a foreground application program, it indicates that the real-time requirement of the application program is very high, and the invention can directly use the foreground application program as the target application program with the highest priority, and can meet the network requirement of the foreground application.
103, the mobile terminal sends the network request initiated by the target application program to the first wireless AP for processing, and sends the network request initiated by other application programs to the second wireless AP for processing, wherein the other application programs are application programs except the target application program in the at least two application programs.
In the embodiment of the invention, after determining the target application program with the highest priority in at least two application programs, the mobile terminal sends the network request initiated by the target application program to the first wireless AP for processing, and sends the network request initiated by the application programs except the target application program in the at least two application programs to the second wireless AP for processing. The wireless AP can be independently allocated to the target application program with high priority for processing, and other applications with lower priority are allocated to another wireless AP for processing, so that the network utilization rate of the wireless local area network on the dual-frequency band can be improved, better network resources can be allocated to the target application with higher priority, and the user internet experience is improved.
Optionally, the working frequency band of the first wireless AP is 5GHz, and the working frequency band of the second wireless AP is 2.4 GHz. Because the data transmission rate of the wireless AP of the 5G frequency band is faster than that of the wireless AP of the 2.4G frequency band, the target application program with high priority is allocated to the first wireless AP with higher data transmission rate, and other applications with lower priority are allocated to the first wireless AP with relatively lower data transmission rate, so that better network resources can be allocated to the target application with higher priority, and the user internet experience is further improved.
And 104, if the mobile terminal only receives a network request initiated by one application program currently, sending the network request initiated by the application program to the first wireless AP and/or the second wireless AP for processing.
In the embodiment of the present invention, the mobile terminal may determine a target wireless AP corresponding to the application program according to the pre-established correspondence table between the application program and the wireless AP, and send a network request initiated by the application program to the target wireless AP for processing.
The mobile terminal can also send the multiple network requests initiated by the application program to the first wireless AP and the second wireless AP for processing respectively, and can process the multiple network requests initiated by the application program in parallel, so that the network utilization rate is improved, and the execution duration of the multiple network requests is shortened.
By implementing the method shown in fig. 1, a wireless AP can be separately allocated to a target application with a high priority for processing, and other applications with a low priority are allocated to another wireless AP for processing, so that the network utilization rate of the wireless local area network in the dual-frequency band can be improved, better network resources can be allocated to the target application with a high priority, and the user experience of surfing the internet can be improved.
Referring to fig. 2, fig. 2 is a schematic flow chart of another wlan offloading processing method according to an embodiment of the present invention, and fig. 2 is obtained by further optimizing on the basis of fig. 1. As shown in fig. 2, the wireless lan offload processing method may include the following steps.
201, in a situation that a mobile terminal connects a first wireless access point AP and a second wireless AP, the mobile terminal detects whether the mobile terminal currently receives network requests initiated by at least two application programs. If yes, go to step 202; if not, go to step 205. And the working frequency of the first wireless AP is different from that of the second wireless AP.
202, the mobile terminal detects whether the mobile terminal is currently in an unlocked state. If yes, go to step 203, otherwise go to step 206.
In the embodiment of the invention, if the mobile terminal is in the unlocking state, the mobile terminal is indicated to have a foreground application program, and step 203 is executed; if the mobile terminal is in the locked state, it indicates that the mobile terminal has no foreground application, and the priorities of all applications initiating the network request are similar, step 206 is executed.
And 203, the mobile terminal determines the foreground application program in the at least two application programs as the target application program.
And 204, the mobile terminal sends the network request initiated by the target application program to the first wireless AP for processing, and sends the network request initiated by other application programs to the second wireless AP for processing, wherein the other application programs are application programs except the target application program in at least two application programs.
205, if the mobile terminal currently receives only one network request initiated by an application program, the network request initiated by the application program is sent to the first wireless AP and/or the second wireless AP for processing.
And 206, the mobile terminal determines the wireless AP corresponding to each application program in the at least two application programs according to a preset correspondence table between the application programs and the wireless APs, and sends the network request initiated by each application program to the corresponding wireless AP for processing.
In the embodiment of the present invention, if at least two application programs initiating the network request are running in the background, it can be considered that the priority levels of the at least two application programs are the same, and the priority levels are both lower, a wireless AP corresponding to each application program of the at least two application programs can be determined according to a preset correspondence table between the application program and the wireless AP, and the network request initiated by each application program is sent to the corresponding wireless AP for processing. In the embodiment of the invention, when the priorities of at least two application programs initiating the network request are the same and are lower, the wireless AP to which the network request initiated by each application program is processed is determined according to the preset corresponding relation between the application programs and the wireless AP.
Optionally, step 206 may also be: the mobile terminal determines a wireless AP corresponding to each of the at least two application programs according to the network request processing capabilities of the first wireless AP and the second wireless AP.
For example, if there are three network requests initiated by the application programs, the network requests initiated by two application programs may be handled by a first wireless AP with a relatively strong network request handling capability, and the network requests initiated by one application program may be handled by a second wireless AP with a relatively weak network request handling capability. Therefore, the network utilization rate of the wireless AP can be improved, and the user experience is improved.
In the embodiment of the present invention, the steps 201 and 203-205 can refer to the detailed description of the steps 101 to 104 shown in fig. 1, and are not described herein again.
By implementing the method shown in fig. 2, a wireless AP can be individually allocated to a foreground application with a high priority for processing, and other applications with a low priority are allocated to another wireless AP for processing, so that the network utilization rate of the wireless local area network in the dual-frequency band can be improved, better network resources can be allocated to target applications with a high priority, and the user experience of surfing the internet can be improved. The priorities of all the application programs are the same, and the network request can be allocated to the wireless AP according to the network request processing capacity of the wireless AP, so that the network utilization rate of the wireless AP can be improved, and the user experience is improved.
Referring to fig. 3, fig. 3 is a schematic flow chart of another wlan offloading processing method according to an embodiment of the present invention, and fig. 3 is obtained by further optimizing based on fig. 1. As shown in fig. 3, the wireless lan offload processing method may include the following steps.
301, under the condition that the mobile terminal connects the first wireless access point AP and the second wireless AP, the mobile terminal detects whether the mobile terminal currently receives network requests initiated by at least two application programs. If yes, go to step 302; if not, go to step 306. And the working frequency of the first wireless AP is different from that of the second wireless AP.
302, the mobile terminal determines a target application program with the highest priority in the at least two application programs.
303, the mobile terminal outputs an editable correspondence table between the application programs and the wireless APs.
The mobile terminal 304 receives an edit instruction for the correspondence table between the editable application and the wireless AP, edits the target application to correspond to the first wireless AP, and edits the other applications to correspond to the second wireless AP.
In the embodiment of the invention, after determining the target application program with the highest priority in the at least two application programs, the mobile terminal can output the corresponding relation table between the application program edited by the user and the wireless AP. The user can edit the corresponding relation between the application program and the wireless AP, and manually select the wireless AP corresponding to the application program.
And 305, the mobile terminal sends the network request initiated by the target application program to the first wireless AP process, and sends the network request initiated by other application programs to the second wireless AP process, wherein the other application programs are application programs except the target application program in at least two application programs.
306, if the mobile terminal currently receives only one network request initiated by an application program, the mobile terminal sends the network request initiated by the application program to the first wireless AP and/or the second wireless AP for processing.
In the embodiment of the present invention, the steps 301-302-305-206 can refer to the detailed description of the steps 101-104 shown in fig. 1, and are not described herein again.
By implementing the method shown in fig. 3, a wireless AP can be manually selected to be individually allocated to a target application program with a high priority for processing, and other applications with a lower priority are allocated to another wireless AP for processing, so that the network utilization rate of the wireless local area network in the dual-frequency band can be improved, better network resources can be allocated to the target application with the higher priority, and the user internet experience is improved.
The above description has introduced the solution of the embodiment of the present invention mainly from the perspective of the method-side implementation process. It is understood that the mobile terminal includes hardware structures and/or software modules for performing the respective functions in order to implement the above-described functions. Those of skill in the art will readily appreciate that the present invention can be implemented in hardware or a combination of hardware and computer software, with the exemplary elements and algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The embodiment of the present invention may perform the division of the functional units for the mobile terminal according to the method example described above, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present invention is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention. As shown in fig. 4, the mobile terminal 400 includes a first detecting unit 401, a determining unit 402, and a processing unit 403, wherein:
a first detecting unit 401, configured to detect whether the mobile terminal currently receives network requests initiated by at least two application programs when the mobile terminal connects the first wireless access point AP and the second wireless AP, where an operating frequency of the first wireless AP is different from an operating frequency of the second wireless AP.
A determining unit 402, configured to determine, when the first detecting unit 401 detects that the mobile terminal currently receives network requests initiated by at least two application programs, a target application program with a highest priority level in the at least two application programs.
The processing unit 403 is configured to send a network request initiated by a target application to a first wireless AP process, and send a network request initiated by another application to a second wireless AP process, where the another application is an application other than the target application in at least two applications.
Optionally, the determining unit 402 determines the target application program with the highest priority in the at least two application programs in a specific manner:
the determination unit 402 determines a foreground application of the at least two applications as a target application.
Optionally, as shown in fig. 5, the mobile terminal 400 further includes a second detection unit 404.
A second detecting unit 404, configured to detect whether the mobile terminal is currently in an unlocked state.
The determining unit 402 is further configured to determine a foreground application of the at least two applications as a target application when the second detecting unit 404 detects that the mobile terminal is in the unlocked state.
Optionally, as shown in fig. 6, the mobile terminal 400 further includes an output unit 405 and a receiving unit 406.
An output unit 405 is configured to output an editable correspondence table between the application programs and the wireless APs.
A receiving unit 406, configured to receive an edit instruction for the correspondence table between the editable application program and the wireless AP, edit the target application program to correspond to the first wireless AP, and edit the other application programs to correspond to the second wireless AP.
Optionally, as shown in fig. 6, the mobile terminal 400 may further include a judging unit 407.
The determining unit 407 is configured to determine whether the priorities of the applications of the at least two applications are the same when the mobile terminal currently receives network requests initiated by the at least two applications.
The determining unit 402 is further configured to determine, if the determination result of the determining unit 407 is negative, a target application with the highest priority level in the at least two applications.
The determining unit 402 is further configured to, if the determination result of the determining unit 407 is yes, determine a wireless AP corresponding to a first application according to a preset correspondence table between the application and the wireless AP, and send a network request initiated by the first application to the wireless AP corresponding to the first application for processing, where the first application is any one of at least two applications.
For specific implementation of the mobile terminal shown in fig. 4 to fig. 6, reference may be made to the method embodiments in fig. 1 to fig. 3, which are not described herein again.
By implementing the mobile terminal shown in fig. 4, the mobile terminal can allocate a wireless AP to a target application with a high priority for processing, and allocate other applications with a lower priority to another wireless AP for processing, so that the network utilization rate of the wireless local area network in the dual-frequency band can be improved, better network resources can be allocated to the target application with a higher priority, and the user experience of surfing the internet can be improved.
Referring to fig. 7, fig. 7 is a schematic structural diagram of another mobile terminal according to an embodiment of the disclosure. As shown in fig. 7, the mobile terminal 700 includes a processor 701 and a memory 702, where the mobile terminal 700 may further include a bus 703, the processor 701 and the memory 702 may be connected to each other through the bus 703, and the bus 703 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, or the like. The bus 703 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 7, but this is not intended to represent only one bus or type of bus. The mobile terminal 700 may also include, among other things, an input-output device 704, and the input-output device 704 may include a display screen, such as a liquid crystal display screen.
The memory 702 is used to store one or more programs containing instructions;
the processor 701 is configured to invoke instructions stored in the memory 702 to perform the method steps illustrated in fig. 1-3.
For specific implementation of the mobile terminal shown in fig. 7, reference may be made to the method embodiments in fig. 1 to fig. 3, which are not described herein again.
By implementing the mobile terminal shown in fig. 7, the mobile terminal may allocate a wireless AP to a target application with a high priority for processing, and allocate other applications with a lower priority to another wireless AP for processing, so as to improve the network utilization of the wireless lan in the dual frequency bands, and allocate better network resources to the target application with a higher priority, thereby improving the user experience of surfing the internet.
As shown in fig. 8, for convenience of description, only the parts related to the embodiment of the present invention are shown, and details of the specific technology are not disclosed, please refer to the method part in the embodiment of the present invention. The mobile terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, and the like, taking the mobile terminal as the mobile phone as an example:
fig. 8 is a block diagram illustrating a partial structure of a mobile phone related to a mobile terminal according to an embodiment of the present invention. Referring to fig. 8, the handset includes: a Radio Frequency (RF) circuit 910, a memory 920, an input unit 930, a display unit 940, a sensor 950, an audio circuit 960, a Wireless Fidelity (WiFi) module 970, a processor 980, and a power supply 990. Those skilled in the art will appreciate that the handset configuration shown in fig. 8 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 8:
RF circuitry 910 may be used for the reception and transmission of information. In general, the RF circuit 910 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 910 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 920 may be used to store software programs and modules, and the processor 980 may execute various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 920. The memory 920 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the mobile phone, and the like. Further, the memory 920 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 930 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 930 may include a fingerprint recognition module 931 and other input devices 932. Fingerprint identification module 931, can gather the fingerprint data of user above it. The input unit 930 may include other input devices 932 in addition to the fingerprint recognition module 931. In particular, other input devices 932 may include, but are not limited to, one or more of a touch screen, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 940 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The Display unit 940 may include a Display screen 941, and optionally, the Display screen 941 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. The display screen 941 may display a search interface shown in fig. 2.
The handset may also include at least one sensor 950, such as a light sensor, motion sensor, pressure sensor, temperature sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen 941 according to the brightness of ambient light, and the proximity sensor may turn off the display screen 941 and/or the backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 960, speaker 961, microphone 962 may provide an audio interface between a user and a cell phone. The audio circuit 960 may transmit the electrical signal converted from the received audio data to the speaker 961, and the audio signal is converted by the speaker 961 to be played; on the other hand, the microphone 962 converts the collected sound signal into an electrical signal, converts the electrical signal into audio data after being received by the audio circuit 960, and then processes the audio data by the audio data playing processor 980, and then sends the audio data to, for example, another mobile phone through the RF circuit 910, or plays the audio data to the memory 920 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 970, and provides wireless broadband Internet access for the user. Although fig. 8 shows the WiFi module 970, it is understood that it does not belong to the essential constitution of the handset, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 980 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 920 and calling data stored in the memory 920, thereby integrally monitoring the mobile phone. Alternatively, processor 980 may include one or more processing units; preferably, the processor 980 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 980.
The handset also includes a power supply 990 (e.g., a battery) for supplying power to the various components, which may preferably be logically connected to the processor 980 via a power management system, thereby providing management of charging, discharging, and power consumption via the power management system.
The mobile phone may further include a camera 9100, and the camera 9100 is used for shooting images and videos and transmitting the shot images and videos to the processor 980 for processing.
The mobile phone can also be provided with a Bluetooth module and the like, which are not described herein again.
In the embodiments shown in fig. 1 to fig. 3, the method flows of the steps may be implemented based on the structure of the mobile phone.
An embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the wireless local area network offloading processing methods described in the above method embodiments.
Embodiments of the present invention further provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to execute some or all of the steps of any of the wireless local area network offloading processing methods described in the above method embodiments.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a memory and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above embodiments of the present invention are described in detail, and the principle and the implementation of the present invention are explained by applying specific embodiments, and the above description of the embodiments is only used to help understanding the method of the present invention and the core idea thereof; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A wireless local area network distribution processing method is characterized by comprising the following steps:
under the condition that a mobile terminal is connected with a first wireless Access Point (AP) and a second wireless AP, detecting whether the mobile terminal receives network requests initiated by at least two application programs currently, wherein the working frequency of the first wireless AP is different from that of the second wireless AP;
if yes, determining a target application program with the highest priority level in the at least two application programs;
sending the network request initiated by the target application program to the first wireless AP for processing, and sending the network request initiated by other application programs to the second wireless AP for processing, wherein the other application programs are application programs except the target application program in the at least two application programs;
wherein the determining a target application with a highest priority among the at least two applications comprises:
determining that a foreground application of the at least two applications is the target application;
wherein, before determining that a foreground application of the at least two applications is the target application, the method further comprises:
detecting whether the mobile terminal is in an unlocked state currently or not, wherein when the mobile terminal is in the unlocked state, the mobile terminal is indicated to have a foreground application program;
and if the mobile terminal is in an unlocked state, executing the step of determining that a foreground application program in the at least two application programs is the target application program.
2. The method of claim 1, wherein after determining a highest priority target application of the at least two applications, the method further comprises:
outputting an editable corresponding relation table of the application program and the wireless AP;
receiving an edit instruction aiming at the corresponding relation table of the editable application program and the wireless AP, editing the target application program to correspond to the first wireless AP, editing the other application programs to correspond to the second wireless AP, executing the steps of sending the network request initiated by the target application program to the first wireless AP for processing, and sending the network request initiated by the other application programs to the second wireless AP for processing.
3. The method of claim 1, wherein after detecting whether the mobile terminal currently receives at least two application-initiated network requests and before determining a highest priority target application of the at least two applications, the method further comprises:
under the condition that the mobile terminal currently receives network requests initiated by the at least two application programs, judging whether the priorities of the applications of the at least two application programs are the same;
and if not, executing the step of determining the target application program with the highest priority in the at least two application programs.
4. The method of claim 3, further comprising:
if the priorities of the at least two application programs are the same, determining a wireless AP corresponding to a first application program according to a preset corresponding relation table of the application programs and the wireless AP, and sending a network request initiated by the first application program to the wireless AP corresponding to the first application program for processing, wherein the first application program is any one of the at least two application programs.
5. A wireless local area network distribution processing method is characterized by comprising the following steps:
under the condition that a mobile terminal is connected with a first wireless Access Point (AP) and a second wireless AP, detecting whether the mobile terminal receives network requests initiated by at least two application programs currently, wherein the working frequency of the first wireless AP is different from that of the second wireless AP;
if yes, determining a target application program with the highest priority level in the at least two application programs;
sending the network request initiated by the target application program to the first wireless AP for processing, and sending the network request initiated by other application programs to the second wireless AP for processing, wherein the other application programs are application programs except the target application program in the at least two application programs;
wherein the content of the first and second substances,
after determining the target application with the highest priority in the at least two applications, the method further includes:
outputting an editable corresponding relation table of the application program and the wireless AP;
receiving an edit instruction aiming at the corresponding relation table of the editable application program and the wireless AP, editing the target application program to correspond to the first wireless AP, editing the other application programs to correspond to the second wireless AP, executing the steps of sending the network request initiated by the target application program to the first wireless AP for processing, and sending the network request initiated by the other application programs to the second wireless AP for processing.
6. A mobile terminal, comprising a first detection unit, a determination unit, and a processing unit, wherein:
the first detecting unit is configured to detect whether the mobile terminal receives a network request initiated by at least two application programs currently under the condition that the mobile terminal is connected to a first wireless access point AP and a second wireless AP, where an operating frequency of the first wireless AP is different from an operating frequency of the second wireless AP;
the determining unit is configured to determine a target application program with a highest priority level in the at least two application programs when the first detecting unit detects that the mobile terminal currently receives the network request initiated by the at least two application programs;
the processing unit is configured to send a network request initiated by the target application to the first wireless AP for processing, and send a network request initiated by another application to the second wireless AP for processing, where the another application is an application other than the target application in the at least two applications;
the determining unit determines a mode of a target application program with the highest priority in the at least two application programs to be specifically:
the determining unit determines a foreground application program of the at least two application programs as the target application program;
wherein the mobile terminal further comprises:
the second detection unit is used for detecting whether the mobile terminal is in an unlocked state currently or not, and when the mobile terminal is in the unlocked state, the mobile terminal is indicated to have a foreground application program;
the determining unit is further configured to determine a foreground application program of the at least two application programs as the target application program when the second detecting unit detects that the mobile terminal is in an unlocked state.
7. The mobile terminal of claim 6, wherein the mobile terminal further comprises:
the output unit is used for outputting the corresponding relation table of the editable application program and the wireless AP;
a receiving unit, configured to receive an edit instruction for the correspondence table between the editable application program and the wireless AP, edit the target application program to correspond to the first wireless AP, and edit the other application programs to correspond to the second wireless AP.
8. A mobile terminal, comprising a first detection unit, a determination unit, and a processing unit, wherein:
the first detecting unit is configured to detect whether the mobile terminal receives a network request initiated by at least two application programs currently under the condition that the mobile terminal is connected to a first wireless access point AP and a second wireless AP, where an operating frequency of the first wireless AP is different from an operating frequency of the second wireless AP;
the determining unit is configured to determine a target application program with a highest priority level in the at least two application programs when the first detecting unit detects that the mobile terminal currently receives the network request initiated by the at least two application programs;
the processing unit is configured to send a network request initiated by the target application to the first wireless AP for processing, and send a network request initiated by another application to the second wireless AP for processing, where the another application is an application other than the target application in the at least two applications;
wherein the content of the first and second substances,
the mobile terminal further includes:
the output unit is used for outputting the corresponding relation table of the editable application program and the wireless AP;
a receiving unit, configured to receive an edit instruction for the correspondence table between the editable application program and the wireless AP, edit the target application program to correspond to the first wireless AP, and edit the other application programs to correspond to the second wireless AP.
9. A mobile terminal comprising a processor and a memory for storing one or more programs configured for execution by the processor, the programs comprising instructions for performing the method of any of claims 1-5.
10. A computer-readable storage medium for storing a computer program for electronic data exchange, wherein the computer program causes a computer to perform the method according to any one of claims 1-5.
CN201711185154.2A 2017-11-23 2017-11-23 Wireless local area network distribution processing method and related product Active CN107889164B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711185154.2A CN107889164B (en) 2017-11-23 2017-11-23 Wireless local area network distribution processing method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711185154.2A CN107889164B (en) 2017-11-23 2017-11-23 Wireless local area network distribution processing method and related product

Publications (2)

Publication Number Publication Date
CN107889164A CN107889164A (en) 2018-04-06
CN107889164B true CN107889164B (en) 2021-03-09

Family

ID=61774790

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711185154.2A Active CN107889164B (en) 2017-11-23 2017-11-23 Wireless local area network distribution processing method and related product

Country Status (1)

Country Link
CN (1) CN107889164B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110944408B (en) * 2019-10-31 2022-05-17 维沃移动通信有限公司 Data transmission method and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106255036A (en) * 2016-07-29 2016-12-21 宇龙计算机通信科技(深圳)有限公司 A kind of eSIM changing method and terminal unit
CN106559882A (en) * 2015-09-25 2017-04-05 中兴通讯股份有限公司 It is a kind of to authorize the method and device for assisting access device contention access parameter configuration
CN106851357A (en) * 2013-09-30 2017-06-13 华为终端有限公司 Media data transmission method and equipment
CN107211463A (en) * 2015-04-08 2017-09-26 诺基亚技术有限公司 The selection of the conditional carrier wave based on UE of ENB controls
CN107295666A (en) * 2016-04-05 2017-10-24 中兴通讯股份有限公司 A kind of power distribution method and device
WO2017196055A2 (en) * 2016-05-10 2017-11-16 엘지전자 주식회사 Method for transmitting sounding reference signal in wireless communication system supporting unlicensed band, and apparatus supporting same

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106851357A (en) * 2013-09-30 2017-06-13 华为终端有限公司 Media data transmission method and equipment
CN107211463A (en) * 2015-04-08 2017-09-26 诺基亚技术有限公司 The selection of the conditional carrier wave based on UE of ENB controls
CN106559882A (en) * 2015-09-25 2017-04-05 中兴通讯股份有限公司 It is a kind of to authorize the method and device for assisting access device contention access parameter configuration
CN107295666A (en) * 2016-04-05 2017-10-24 中兴通讯股份有限公司 A kind of power distribution method and device
WO2017196055A2 (en) * 2016-05-10 2017-11-16 엘지전자 주식회사 Method for transmitting sounding reference signal in wireless communication system supporting unlicensed band, and apparatus supporting same
CN106255036A (en) * 2016-07-29 2016-12-21 宇龙计算机通信科技(深圳)有限公司 A kind of eSIM changing method and terminal unit

Also Published As

Publication number Publication date
CN107889164A (en) 2018-04-06

Similar Documents

Publication Publication Date Title
CN109803325B (en) Data distribution method and device, mobile terminal and storage medium
CN109803318B (en) Data packet distribution method and device, mobile terminal and storage medium
CN107708168B (en) SIM card switching method, mobile terminal and computer readable storage medium
CN110311704B (en) Antenna switching method and related product
CN107707768B (en) Processing method for running game application and related product
CN107066401B (en) Data transmission method based on mobile terminal architecture and mobile terminal
CN110430592B (en) Network control method and related product
CN106604314B (en) WiFi roaming network access method and terminal equipment
CN107071147B (en) Parameter adjusting method and device
CN110247692B (en) Channel switching method, channel switching device, electronic device and readable storage medium
CN107480489B (en) unlocking control method and related product
CN110224719B (en) Communication control method and related product
CN111258407B (en) Application function control method and related product
CN109922504B (en) Data distribution method and related product
CN107205116B (en) Image selection method, mobile terminal, image selection device, and computer-readable storage medium
CN109922539B (en) Network connection method and related product
CN108966296B (en) Signal prompting method, mobile terminal and computer readable storage medium
CN110209245B (en) Face recognition method and related product
CN106776038B (en) Hot application resource allocation method and mobile terminal
CN108429863B (en) Method for switching antenna, mobile terminal and computer readable storage medium
CN110212965B (en) Antenna switching method and related product
CN110428782B (en) Brightness adjusting method and related product
CN108877733B (en) Color temperature adjusting method and related device
CN107770381B (en) Network management method and related product
CN110266359B (en) Antenna switching method and device, electronic equipment and computer readable storage medium

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant