CN101896000A - Method and device for processing mobile terminal Wi-Fi application - Google Patents
Method and device for processing mobile terminal Wi-Fi application Download PDFInfo
- Publication number
- CN101896000A CN101896000A CN2010102367905A CN201010236790A CN101896000A CN 101896000 A CN101896000 A CN 101896000A CN 2010102367905 A CN2010102367905 A CN 2010102367905A CN 201010236790 A CN201010236790 A CN 201010236790A CN 101896000 A CN101896000 A CN 101896000A
- Authority
- CN
- China
- Prior art keywords
- application
- length
- sleep
- traffic rate
- priority
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/16—Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
- H04W28/18—Negotiating wireless communication parameters
Landscapes
- Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a method for processing mobile terminal Wi-Fi application. The method comprises the following steps of: in the operating process of the Wi-Fi application, detecting whether application with higher priority is operated or not by using the mobile terminal; and if determining the application with higher priority is operated, adjusting a Wi-Fi communication speed according to a condition of occupying system resources by the application with higher priority. The invention also discloses a device for processing the mobile terminal Wi-Fi application. Due the method and the device, the system resource consumption of the Wi-Fi application can be reduced under the condition of not interrupting the Wi-Fi application.
Description
Technical field
The present invention relates to moving communicating field, relate in particular to a kind of method and apparatus that mobile terminal Wi-Fi application is handled.
Background technology
Along with the development of mobile communication technology, the Wi-Fi technology is known by people gradually.Wi-Fi can be described as WiMAX, be a kind of can be with PC, hand-held mobile terminal etc. with the interconnected technology of wireless mode.The Wi-Fi technology is used widely in multiple portable terminal, bring many problems that also exist simultaneously easily to daily life: the Wi-Fi The Application of Technology, not only cause the portable terminal electric quantity consumption big, and the volume of portable terminal is also bigger, and it is also apparent in view that it disposes relative PC gap.The more important thing is that the Wi-Fi functional module in the portable terminal when promptly Wi-Fi is applied in operation, needs to consume a large amount of system resources.Therefore, when Wi-Fi uses highlyer and when also needing the application of many system resources to carry out simultaneously with other priority, need adjust the process that Wi-Fi uses, method commonly used at present is: Wi-Fi communication is suspended, promptly temporarily stop the process that Wi-Fi uses.But the business that this method can't be recovered for having no progeny in those again is inapplicable, for example: do not support the network download of breakpoint transmission etc.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of method and apparatus that mobile terminal Wi-Fi application is handled, and can reduce the consumption of Wi-Fi application to system resource under the situation of not interrupting the Wi-Fi application.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention provides a kind of method that mobile terminal Wi-Fi application is handled, this method comprises:
Wi-Fi uses in the running, and whether the portable terminal detection is current has higher being applied in of priority to carry out, and defines higher being applied in when carrying out of priority, according to the application that priority is higher the situation that takies of system resource is regulated the Wi-Fi traffic rate.
Wherein, the method for described adjusting Wi-Fi traffic rate is: for Wi-Fi uses be set the length of one's sleep, the size of regulating the Wi-Fi traffic rate by the length of regulating the length of one's sleep.
Wherein, the set length of one's sleep is long more, and the Wi-Fi traffic rate is more little; The set length of one's sleep is short more, and the Wi-Fi traffic rate is big more.
Wherein, describedly be: before or after Wi-Fi uses data processing operation in the running, insert the length of one's sleep by the method for regulating the Wi-Fi traffic rate length of one's sleep is set.
Wherein, be not more than the network service time-out time the described length of one's sleep, and be not less than the central processing unit CPU application required time of handoff procedure.
Described portable terminal is in testing process, and this method further comprises:
Higher application finishes if portable terminal is determined priority, then again the Wi-Fi traffic rate is adjusted to original value.
The present invention also provides a kind of device that mobile terminal Wi-Fi application is handled, and this device comprises: detection module and adjustment module; Wherein,
Described detection module is used for Wi-Fi and uses running, and whether detects currently has higher being applied in of priority to carry out, and defines higher being applied in when carrying out of priority, notifies adjustment module;
Described adjustment module is used for according to the higher application of priority the situation that takies of system resource being regulated the Wi-Fi traffic rate.
Wherein, the process of described adjustment module adjusting Wi-Fi traffic rate is:
Adjustment module is that Wi-Fi uses be set the length of one's sleep, the size of regulating the Wi-Fi traffic rate by the length of regulating the length of one's sleep.
Wherein, described adjustment module is specially by the process of regulating the Wi-Fi traffic rate length of one's sleep is set: insert the length of one's sleep before or after the data processing operation in Wi-Fi application running.
Wherein, described detection module when being further used for determining that the higher application of priority has finished, is notified adjustment module in testing process; Accordingly,
Described adjustment module after being further used for receiving the notice of detection module, is adjusted to original value with the Wi-Fi traffic rate.
The method and apparatus that mobile terminal Wi-Fi application is handled provided by the invention, Wi-Fi uses in the running, portable terminal detects and determines currently when having the higher application of priority to carry out simultaneously, according to the application that priority is higher the situation that takies of system resource is regulated the Wi-Fi traffic rate.The present invention inserted the length of one's sleep by use the data processing operation in the running at Wi-Fi before or after, play the effect of the running time that prolongs the Wi-Fi application, thereby reduced the Wi-Fi traffic rate.Wi-Fi uses when entering sleep state, also with regard to corresponding control of surrendering CPU, reserves more cpu resource for the higher application of priority, therefore, is guaranteeing that Wi-Fi uses unbroken while, can guarantee that also the higher application of priority moves better.
Description of drawings
The method realization flow schematic diagram that Fig. 1 handles mobile terminal Wi-Fi application for the present invention;
The apparatus structure schematic diagram that Fig. 2 handles mobile terminal Wi-Fi application for the present invention.
Embodiment
Basic thought of the present invention is: Wi-Fi uses in the running, portable terminal detects and determines current when having the higher application of priority to carry out simultaneously, according to the higher application of priority the situation that takies of system resource is regulated the Wi-Fi traffic rate, guaranteeing that Wi-Fi is applied in than operation under the low communication speed does not interrupt.
Wherein, the method of described adjusting Wi-Fi traffic rate is: for Wi-Fi uses be set a length of one's sleep, promptly use in the running sleep operation is set at Wi-Fi, be equivalent to increase the running time that Wi-Fi uses, thereby reduced the Wi-Fi traffic rate, reduced taking system resource; Can the corresponding Wi-Fi of adjusting traffic rate by the length of regulating the length of one's sleep.
Further, when portable terminal determines that the higher application of priority has finished, can again the Wi-Fi traffic rate be adjusted to original value.
Among the present invention, but the described situation that takies simple defining to system resource is the situation that takies to CPU (CPU); It is the Wi-Fi functional module that described Wi-Fi uses.
Below in conjunction with drawings and the specific embodiments the present invention is described in further detail.
The method realization flow schematic diagram that Fig. 1 handles mobile terminal Wi-Fi application for the present invention, as shown in Figure 1, the performing step of this method is as follows:
Step 101:Wi-Fi uses in the running, and whether the portable terminal detection is current has higher being applied in of priority to carry out, if detect, then execution in step 102; If detect less than, then execution in step 103;
Whether in addition be specially: portable terminal is used in the running at Wi-Fi, detect current other priority ratio Wi-Fi and use the high operation that is applied in, if detect the higher application of priority, then execution in step 102; If detect less than the higher application of priority, then execution in step 103.
Here, described portable terminal detects the priority of using: portable terminal can be determined this parallel priority of using according to the type that current and Wi-Fi use parallel application, because, portable terminal is when the configuration different application, the priority of the variant type application of corresponding configuration and variant type application are to the situation that takies of system resource, promptly to the situation that takies of CPU, that is to say, portable terminal is grasped the situation that takies of CPU is existing the priority and the various application of various application, this content is a prior art, no longer describes in detail herein.
Step 102: the situation that takies of system resource is regulated the Wi-Fi traffic rate according to the application that priority is higher;
Be specially: portable terminal detects higher being applied in when carrying out of priority, according to the application that known priority is higher the situation that takies of system resource is regulated the Wi-Fi traffic rate, if the higher application of priority need take more system resources, then that the adjusting of Wi-Fi traffic rate is lower, execution in step 103 afterwards; If the higher application of priority need take less system resource, it is higher relatively then the Wi-Fi traffic rate to be regulated ground, and execution in step 103.Certainly, regulate in any case here, the Wi-Fi traffic rate of final gained is all less than the value before regulating.
The method of adjusting Wi-Fi traffic rate of the present invention is: for Wi-Fi uses be set a length of one's sleep, by the size that the length of regulating the length of one's sleep is regulated the Wi-Fi traffic rate, in simple terms, the length of one's sleep is long more, and the Wi-Fi traffic rate is more little; The length of one's sleep is short more, and the Wi-Fi traffic rate is big more.
But the length of one's sleep can not be oversize, also can not be too short, and here, with the upper limit of the length of one's sleep, promptly maximum is made as and is not more than network service time-out time MaxSleepTime; With the lower limit of the length of one's sleep, promptly minimum value is made as the CPU application required time of handoff procedure that is not less than.Be provided with like this former because: if the length of one's sleep is oversize, surpassed network service time-out time MaxSleepTime, network service will be interrupted, and is identical with the interruption Wi-Fi applicable cases of mentioning in the prior art; If the length of one's sleep is too short, use the required time of handoff procedure less than CPU, can increase the burden of CPU on the contrary, the occupancy that Wi-Fi uses CPU not only can not descend, and can increase on the contrary.
Here, the distribution of cpu resource is finished automatically by operating system, enters sleep state as long as Wi-Fi uses, then abandon the use of CPU, operating system can change other application automatically over to, and like this, the higher application of priority will have multimachine more can obtain the right to use of CPU.
Among the present invention, when not considering that reached MaxSleepTime the length of one's sleep, Wi-Fi uses the still not enough higher required situation of application of priority of the cpu resource that is discharged, because portable terminal can limit the concurrent of two application, does not therefore have the not enough situation of cpu resource certainly.
Below the idiographic flow of regulating the Wi-Fi traffic rate in the Wi-Fi application process is described.
At first to Wi-Fi functional module in the existing portable terminal, i.e. the operational environment of Wi-Fi application is simply described.
Wi-Fi uses medium access control (MAC) layer that is operated in transmission control protocol (TCP)/internet interconnection protocol (IP) stack, be in the levels relation with the IP communication layers, corresponding respectively transmission interface and receiving interface based on the MAC agreement are defined as Wi-Fi_send and Wi-Fi_recv respectively with described two interfaces here.Wherein, described Wi-Fi_send is realized by the IP communication layers, Wi-Fi_recv is used by Wi-Fi and realizes, use for Wi-Fi, the communicating requirement that the IP communication layers is initiated is found in action by detecting Wi-Fi_recv downwards, after data processing operations such as encapsulation, related data is sent to network side; On the other hand, transmit next data behind data processing operations such as parsing, send to the IP communication layers by Wi-Fi_send from network side.
Among the present invention, being operating as of described adjusting Wi-Fi traffic rate: after Wi-Fi uses data processing operation in the running, insert the length of one's sleep, make Wi-Fi use and enter sleep state, concrete:
Wi-Fi_recv is called, the IP communication layers sends data downwards through Wi-Fi_recv, the Wi-Fi functional module is carried out data processing operations such as encapsulation to the data that the IP communication layers issues, and according to entering sleep state the length of one's sleep that is provided with, again with processed related data send to network side after finishing the length of one's sleep;
After the Wi-Fi functional module receives the data of network side transmitted, at first data are carried out data processing operations such as parsing, entered sleep state afterwards, again with processed related data by Wi-Fi_send send to IP communication layers after finishing the length of one's sleep.
In addition, also can before above-mentioned execution data processing operation, be introduced into sleep state, carry out data processing operation afterwards again.
Step 103:Wi-Fi traffic rate adjustment process finishes.
Further, higher application finishes if portable terminal is determined priority, then can again the Wi-Fi traffic rate be adjusted to original value;
Concrete, if portable terminal can be notified portable terminal after detecting the application end that the higher application of priority has finished or priority is higher, portable terminal is adjusted to original higher value by regulating the length of one's sleep with the Wi-Fi traffic rate again.Here, if original Wi-Fi does not have sleep operation in using, portable terminal then can be adjusted to 0 again with the length of one's sleep.
Below in conjunction with a specific embodiment method of the present invention is described.
Two application that present embodiment relates to, Wi-Fi uses, and the Wi-Fi that refers in particular to by the network download file uses, and the higher video telephony applications of priority, and described video telephony applications comprises the foundation of conversation and the processing of video image etc.Portable terminal at its other resources configuration, improves the communication speed of Wi-Fi in order to improve Wi-Fi user's experience effect as far as possible, and when Wi-Fi used full speed operation, the consumption of CPU was very big.
When portable terminal is being carried out the Wi-Fi application of network download file, portable terminal is initiated video telephony applications, for the use priority of this portable terminal, wish that on the basis that guarantees the smooth work of video telephone the Wi-Fi that keeps the network download file uses continuous service.Because the system configuration of this portable terminal is not sufficient to guarantee to use under the situation of full speed operation at Wi-Fi, finishes smooth video calling, might produce the problem that video mosaic or call tone quality descend.The method flow of this embodiment is as follows:
Wi-Fi uses in the running, and mobile phone users is initiated visual telephone service, and portable terminal then can detect video telephony applications and carried out this moment; Portable terminal is used to Wi-Fi and is sent a notice, and notice Wi-Fi application is current to have higher being applied in of priority to carry out, and needs according to regulating the Wi-Fi traffic rate length of one's sleep that is provided with; Wi-Fi uses according to the adjusting that realizes the length of one's sleep in the notice the Wi-Fi traffic rate, reduces self occupation rate to CPU.Wherein, comprise the length of one's sleep that portable terminal is provided with the situation that takies of system resource according to the higher application of priority in the described notice.
Further, after visual telephone service finishes, portable terminal can send a notice to the Wi-Fi application again, and notice Wi-Fi uses and can readjust the Wi-Fi traffic rate, for example: can the Wi-Fi traffic rate be adjusted to original video telephony applications again and trigger preceding big Wi-Fi traffic rate.
For realizing said method, the present invention also provides a kind of device that mobile terminal Wi-Fi application is handled, and as shown in Figure 2, this device comprises: detection module and adjustment module; Wherein,
Described detection module is used for Wi-Fi and uses running, and whether detects currently has higher being applied in of priority to carry out, and defines higher being applied in when carrying out of priority, notifies adjustment module;
Described adjustment module is used for according to the higher application of priority the situation that takies of system resource being regulated the Wi-Fi traffic rate.
The process that described adjustment module is regulated the Wi-Fi traffic rate is:
Adjustment module is that Wi-Fi uses be set a length of one's sleep, the size of regulating the Wi-Fi traffic rate by the length of regulating the length of one's sleep.
Described adjustment module is specially by the process of regulating the Wi-Fi traffic rate length of one's sleep is set:
Insert the length of one's sleep before or after the data processing operation of adjustment module in Wi-Fi application running.
Described detection module when being further used for determining that the higher application of priority has finished, is notified adjustment module in testing process; Accordingly,
Described adjustment module after being further used for receiving the notice of detection module, is adjusted to original value with the Wi-Fi traffic rate.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. the method that mobile terminal Wi-Fi application is handled is characterized in that, this method comprises:
Wi-Fi uses in the running, and whether the portable terminal detection is current has higher being applied in of priority to carry out, and defines higher being applied in when carrying out of priority, according to the application that priority is higher the situation that takies of system resource is regulated the Wi-Fi traffic rate.
2. the method that mobile terminal Wi-Fi application is handled according to claim 1, it is characterized in that, the method of described adjusting Wi-Fi traffic rate is: for Wi-Fi uses be set the length of one's sleep, the size of regulating the Wi-Fi traffic rate by the length of regulating the length of one's sleep.
3. the method that mobile terminal Wi-Fi application is handled according to claim 2 is characterized in that the set length of one's sleep is long more, and the Wi-Fi traffic rate is more little; The set length of one's sleep is short more, and the Wi-Fi traffic rate is big more.
4. according to claim 2 or the 3 described methods that mobile terminal Wi-Fi application is handled, it is characterized in that, describedly be: before or after Wi-Fi uses data processing operation in the running, insert the length of one's sleep by the method for regulating the Wi-Fi traffic rate length of one's sleep is set.
5. according to claim 2 or the 3 described methods that mobile terminal Wi-Fi application is handled, it is characterized in that be not more than the network service time-out time the described length of one's sleep, and be not less than the central processing unit CPU application required time of handoff procedure.
6. according to claim 1, the 2 or 3 described methods that mobile terminal Wi-Fi application is handled, it is characterized in that described portable terminal is in testing process, this method further comprises:
Higher application finishes if portable terminal is determined priority, then again the Wi-Fi traffic rate is adjusted to original value.
7. the device that mobile terminal Wi-Fi application is handled is characterized in that, this device comprises: detection module and adjustment module; Wherein,
Described detection module is used for Wi-Fi and uses running, and whether detects currently has higher being applied in of priority to carry out, and defines higher being applied in when carrying out of priority, notifies adjustment module;
Described adjustment module is used for according to the higher application of priority the situation that takies of system resource being regulated the Wi-Fi traffic rate.
8. the device that mobile terminal Wi-Fi application is handled according to claim 7 is characterized in that, the process that described adjustment module is regulated the Wi-Fi traffic rate is:
Adjustment module is that Wi-Fi uses be set the length of one's sleep, the size of regulating the Wi-Fi traffic rate by the length of regulating the length of one's sleep.
9. the device that mobile terminal Wi-Fi application is handled according to claim 8, it is characterized in that, described adjustment module is specially by the process of regulating the Wi-Fi traffic rate length of one's sleep is set: insert the length of one's sleep before or after the data processing operation in Wi-Fi application running.
10. according to claim 7, the 8 or 9 described devices that mobile terminal Wi-Fi application is handled, it is characterized in that described detection module when being further used for determining that the higher application of priority has finished, is notified adjustment module in testing process; Accordingly,
Described adjustment module after being further used for receiving the notice of detection module, is adjusted to original value with the Wi-Fi traffic rate.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010102367905A CN101896000A (en) | 2010-07-22 | 2010-07-22 | Method and device for processing mobile terminal Wi-Fi application |
PCT/CN2010/077658 WO2012009884A1 (en) | 2010-07-22 | 2010-10-11 | Method and device for processing wireless fidelity (wi-fi) applications of mobile terminals |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010102367905A CN101896000A (en) | 2010-07-22 | 2010-07-22 | Method and device for processing mobile terminal Wi-Fi application |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101896000A true CN101896000A (en) | 2010-11-24 |
Family
ID=43105015
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010102367905A Pending CN101896000A (en) | 2010-07-22 | 2010-07-22 | Method and device for processing mobile terminal Wi-Fi application |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101896000A (en) |
WO (1) | WO2012009884A1 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005027431A1 (en) * | 2003-09-16 | 2005-03-24 | Utstarcom (China) Co. Ltd. | A method for controlling a wireless access based on multi-services priority in umts |
WO2005034444A1 (en) * | 2003-10-03 | 2005-04-14 | Fujitsu Limited | Virtually centralized uplink scheduling |
CN101557652A (en) * | 2008-04-11 | 2009-10-14 | 深圳富泰宏精密工业有限公司 | Device and method for enhancing wireless transmission rate of cell phone |
-
2010
- 2010-07-22 CN CN2010102367905A patent/CN101896000A/en active Pending
- 2010-10-11 WO PCT/CN2010/077658 patent/WO2012009884A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005027431A1 (en) * | 2003-09-16 | 2005-03-24 | Utstarcom (China) Co. Ltd. | A method for controlling a wireless access based on multi-services priority in umts |
WO2005034444A1 (en) * | 2003-10-03 | 2005-04-14 | Fujitsu Limited | Virtually centralized uplink scheduling |
CN101557652A (en) * | 2008-04-11 | 2009-10-14 | 深圳富泰宏精密工业有限公司 | Device and method for enhancing wireless transmission rate of cell phone |
Also Published As
Publication number | Publication date |
---|---|
WO2012009884A1 (en) | 2012-01-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2011203884B2 (en) | Explicit congestion notification based rate adaptation using binary marking in communication systems | |
US9185343B2 (en) | Methods and systems for mobile telepresence | |
CN102149144B (en) | Method for adjusting bandwidth, micro base station, home gateway and system | |
US9973729B2 (en) | Display and service adjustments to enable multi-tasking during a video call | |
WO2019119837A1 (en) | Service identification method and device, and network device | |
US7961756B1 (en) | Integrated multimedia system | |
CN102549523A (en) | Apparatus and methods for optimizing power consumption in a wireless device | |
CN101778181A (en) | Method and system for mobile terminal to achieve three-part call of videophone | |
WO2017054286A1 (en) | Method and device for carrying voice call | |
CN102905315A (en) | Non-real-time traffic scheduling method, equipment and system | |
CN102984784A (en) | Transmitting data over multiple networks | |
US8830853B2 (en) | Signal processing | |
WO2013178108A1 (en) | Rate control system and method based on wlan | |
CN103560970A (en) | Method for realizing downlink speed limitation of network device with multiple LAN ports | |
CN102984785A (en) | Transmitting data over multiple networks | |
CN101896000A (en) | Method and device for processing mobile terminal Wi-Fi application | |
EP3406057B1 (en) | Data sub-flow management | |
CN112235307B (en) | Video call method and device and electronic equipment | |
CN103428474A (en) | Video and audio monitoring method based on cell phone mobile terminal design | |
CN108206924A (en) | Control method, device and the mostly logical terminal of multi-channel video call | |
CN101431802B (en) | Data transmission method, network node and network system | |
JP2013126055A (en) | Communication device | |
CN104104667B (en) | Improve the method and device of networking telephone VOIP voice quality | |
CN103002168A (en) | Method and device for resource management of Voice of Internet Phone Digital Signal Processor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20101124 |