CN102833166B - Method and device for data flow distribution and mobile communication terminal - Google Patents

Method and device for data flow distribution and mobile communication terminal Download PDF

Info

Publication number
CN102833166B
CN102833166B CN201210309310.2A CN201210309310A CN102833166B CN 102833166 B CN102833166 B CN 102833166B CN 201210309310 A CN201210309310 A CN 201210309310A CN 102833166 B CN102833166 B CN 102833166B
Authority
CN
China
Prior art keywords
data traffic
user
application
suspended
currently used
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.)
Expired - Fee Related
Application number
CN201210309310.2A
Other languages
Chinese (zh)
Other versions
CN102833166A (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 CN201210309310.2A priority Critical patent/CN102833166B/en
Publication of CN102833166A publication Critical patent/CN102833166A/en
Application granted granted Critical
Publication of CN102833166B publication Critical patent/CN102833166B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention is applicable to the field of mobile communication, and provides a method and a device for data flow distribution and a mobile communication terminal. The method includes the steps of collecting applications of a background needing to access a data network, and hanging current unused applications of a user; reading current data traffic initiatively used by the user; distributing required data traffic to current hung unused applications of the user. Under the condition of limited data traffic, according to the current applications initiatively used by the user, various applications using the data traffic in background are dynamically managed and distributed, so that overuse of data traffic for background applications can be avoided, and the applications consuming the data traffic in the background can also run in good time.

Description

A kind of data traffic distribution method, device and mobile communication terminal
Technical field
The invention belongs to moving communicating field, more particularly, to a kind of data traffic distribution method, device and mobile communication are eventually End.
Background technology
With the fast development of mobile communication, the offer of mobile data communication service is increasingly increased with demand, by using As long as carrier data flow package user has enough data traffics just can enjoy freely, easily online or terminal should With etc., this makes data traffic become user and weighs a terminal or the whether excellent important symbol of software.
At present, the data traffic of user is often limited, due to lacking to using of data traffic to software and application Management, mobile terminal often wastes data traffic and is used for the renewal on backstage etc..For real-time application type software, user is in order to real-time Understand application message, need frequently downloading data application, software often automatically updates information on backstage, such as weather forecast letter Breath, news etc. are applied, and lead to the waste of data traffic.Existing management type application is also only to hang up background application or restriction Flow uses the purpose reaching management within somes KB, without data traffic is carried out with the function of flexible management.
Content of the invention
The embodiment of the present invention provides a kind of data traffic distribution method it is intended to solve in the case of limited flow, to backstage Application abuse data traffic, leads to the problem that the data traffic of user wastes.
The embodiment of the present invention is achieved in that a kind of data traffic distribution method, and methods described comprises the steps:
Collecting backstage needs to access the application of data network, and not currently used for user application is hung up;
Read the data traffic that user currently actively uses;
The data traffic currently actively being used according to user, required to the user being suspended not currently used application distribution Data traffic.
The another object of the embodiment of the present invention is to provide a kind of data traffic distributor, and described device includes:
Unit is hung up in application, needs to access the application of data network for collecting backstage, answers not currently used for user With hanging up;
Active flow reading unit, for reading the data traffic that user currently actively uses;And
Assignment of traffic unit, the data that the user for being read according to described active flow reading unit currently actively uses Flow, to the required data traffic of the user being suspended not currently used application distribution.
The another object of the embodiment of the present invention is to provide the mobile communication terminal comprising said apparatus.
The embodiment of the present invention passes through the application under data traffic limited circumstances, currently actively using according to user, to rear Platform is applied into Mobile state management using the items of data traffic and is distributed, and background application both will not have been made to use excessive data flow Amount, the application of backstage consumed flow simultaneously can also work in good time.
Brief description
Fig. 1 is the flowchart of data traffic distribution method provided in an embodiment of the present invention;
Fig. 2 is the flowchart of the data traffic distribution method that one example of the present invention provides;
Fig. 3 is the structure chart of data traffic distributor provided in an embodiment of the present invention.
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become more apparent, below in conjunction with drawings and Examples, right The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only in order to explain the present invention, and It is not used in the restriction present invention.
The embodiment of the present invention, in the case that data traffic is limited, according to the application of user's active use, is dynamically distributed Backstage use data network application required for data traffic it is ensured that user's active use application required for data flow Amount, reduces the waste of data traffic.
What Fig. 1 showed data traffic distribution method provided in an embodiment of the present invention realizes flow process, and details are as follows:
In step S101, collecting backstage needs to access the application of data network, and not currently used for user application is hung Rise;
In embodiments of the present invention, when hanging up not currently used for user application, first according to current applied field Whether scape, judges whether collected application is used by active user, or allow backstage to download, and is then to continue user currently should With or carry out backstage download, otherwise by not currently used for user application hang up.
Wherein, the currently used application of user will not be suspended, simultaneously for user need display download application, then to Whether user's prompting is hung up, and when user is not intended to application and is suspended, this application also will not be suspended.
In step s 102, read the data traffic that user currently actively uses;
In an embodiment of the present invention, the data traffic that user currently actively uses includes the currently used application of user, And user selects the data traffic that the application do not hung up is used.
In step s 103, the data traffic currently actively being used according to user, does not currently use to the user being suspended The required data traffic of application distribution.
As a preferred embodiment of the present invention, currently can not made to the user being suspended according to the priority of application The required data traffic of application distribution.
First, by not currently used for the user being suspended application according to the prioritization setting.
Secondly, the priority according to application and distribution formula are to needed for the user being suspended not currently used application distribution Data traffic.
The data traffic distribution accessing the application of data network is needed to be to be executed successively according to the priority level of application, preferentially Highest-ranking first carry out, and the application after being finished is placed on the minimum position of priority level.
In an embodiment of the present invention, the prioritization of application determines according to the usage frequency of application.
As one embodiment of the present of invention, in order to according to current application situation in real time, neatly to needed for application The data traffic wanted is allocated, and system automatically periodically can execute said method it is also possible to point out at set intervals Whether user carries out the distribution of dynamic data flow.
In embodiments of the present invention, permissible to the required data traffic of the user being suspended not currently used application distribution Determined using some calculating formulas, such as actively employ the flow of P in a period of time T, flow N to be distributed can so count Calculate:
Work as P<When 1, N=1;
When 1<P<During α,
Work as P>During α,
Wherein, T is a time period, a minimum chronomere, T >=1, and P is that user currently actively makes in time period T Data traffic, N is the required data traffic of the not currently used application of the user being suspended, and 1 is the lower limit of data traffic, α is the upper limit of data traffic, and e is constant.
This assignment of traffic formula can ensure that the growth rate of N(1/eT)Less than the growth rate of P, and the period is longer(T gets over Greatly), growth rate is less, because the period is longer, the flow actively using is more, because flow is limited, needs the stream of distribution Amount can not be more.
Implement process with what example described the embodiment of the present invention in detail below, as shown in Figure 2:
In step s 201, according to user instruction, it is switched to the limited scene of data traffic, such as SIM online, during switching Broadcast i.e. trigger, start a data flow dynamics distribution service it is assumed that for servicing A, that is, being switched to data traffic Under limited scene, service A is activated;
In step S202, service A collects all applications needing access data network in the background;
In step S203, judge to service the application that in A, whether collected application is used by active user, or whether Backstage is allowed to download, if then execution step S204;Otherwise, execution step S206;
In step S204, continue user's current application or carry out backstage download;
In step S205, judge network application whether using completing, or whether hang over backstage, if execution step S202, otherwise execution step S204;
In step S206, carry out priority arrangement by applying determined by service A according to the frequency being used at ordinary times, put It is assumed that being queue D in a queue;
In step S207, the time interval of detection network service;
In step S208, in the network traffics limited time, judge whether the time interval of network service reaches pre- If threshold value, such as 5 minutes, be then execution step S209, otherwise execution step S207;
In step S209, service A reads user and currently actively uses flow it is assumed that being P Bit;
In step S2010, according to user's data traffic that currently active uses, calculate and distribute to net in queue D The data traffic N Bit of network application;
From queue D, in step S2011, take out the application of limit priority, put into by low priority after end of run In queue D.
In data traffic limited this period, constantly this operation of circulation, one of queue D application has used Afterwards, it is placed on queue D end, until being switched to no network or terminate service A when not being subject to flow restriction as user.
Fig. 3 shows the structure of data traffic distributor provided in an embodiment of the present invention, for convenience of description, only illustrates The part related to the embodiment of the present invention.
This data traffic distributor can be operate in each mobile communication terminal(Such as mobile phone, panel computer etc.)Interior The unit that software unit, hardware cell or software and hardware combine is it is also possible to be integrated into mobile communication eventually as independent suspension member In the application system at end.
Unit 31 collection backstage is hung up in application to be needed to access the application of data network, and not currently used for user application is hung Rise.
In embodiments of the present invention, the data traffic that user currently actively uses includes the currently used application of user, with And user selects the data traffic that the application do not hung up is used.
Active flow reading unit 32 reads the data traffic that user currently actively uses.
Assignment of traffic unit 33 is used for the data flow currently actively using according to the user that active flow reading unit reads Amount, to the required data traffic of the user being suspended not currently used application distribution.
As a preferred embodiment of the present invention, not currently used to the user being suspended according to the priority of application The required data traffic of application distribution.
Prioritization module 331 is by not currently used for the user being suspended application according to the prioritization setting.
Assignment of traffic module 332 is according to needed for the priority of application is to the user being suspended not currently used application distribution Data traffic.
The data traffic distribution accessing the application of data network is needed to be to be executed successively according to the priority level of application, preferentially Highest-ranking first carry out, and the application after being finished is placed on the minimum position of priority level.
In embodiments of the present invention, prioritization determines according to the usage frequency of application.
In embodiments of the present invention, assignment of traffic unit 33 is required to the user being suspended not currently used application distribution Data traffic can be determined using some calculating formulas, in a period of time T, such as actively employ the flow of P, stream to be distributed Amount N can so calculate:
Work as P<When 1, N=1;
When 1<P<During α,
Work as P>During α,
Wherein, T is a time period, a minimum chronomere, T >=1, and P is that user currently actively makes in time period T Data traffic, N is the required data traffic of the not currently used application of the user being suspended, and 1 is the lower limit of data traffic, α is the upper limit of data traffic, and e is constant.
This assignment of traffic formula can ensure that the growth rate of N(1/eT)Less than the growth rate of P, and the period is longer(T gets over Greatly), growth rate is less, because the period is longer, the flow actively using is more, because flow is limited, needs the stream of distribution Amount can not be more.
The embodiment of the present invention passes through the application under data traffic limited circumstances, currently actively using according to user, to rear Platform is applied into Mobile state management using the items of data traffic and is distributed, and background application both will not have been made to use excessive data flow Amount, the application of backstage consumption data flow simultaneously can also work in good time.
Those of ordinary skill in the art are further appreciated that all or part of step realizing in above-described embodiment method is can Completed with the hardware instructing correlation by program, described program can be stored in a computer read/write memory medium In, described storage medium, including ROM/RAM, disk, CD etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all essences in the present invention Any modification, equivalent and improvement made within god and principle etc., should be included within the scope of the present invention.

Claims (9)

1. a kind of data traffic distribution method is it is characterised in that methods described comprises the steps:
Collecting backstage needs to access the application of data network, and not currently used for user application is hung up;
Read the data traffic that user currently actively uses;
The data traffic currently actively being used according to user, to the required number of the user being suspended not currently used application distribution According to flow, wherein, the described user being suspended is not currently used to apply required data traffic to determine as follows:
Work as P<When 1, N=1;
When 1<P<During α,
Work as P>During α,
Wherein, T is a time period, a minimum chronomere, T >=1, and P is that user currently actively uses in time period T Data traffic, N is the required data traffic of the not currently used application of the user being suspended, and 1 is the lower limit of data traffic, and α is The upper limit of data traffic, e is constant.
2. the method for claim 1 is it is characterised in that the data traffic that described user currently actively uses includes user Currently used application, and user selects the data traffic that the application do not hung up is used.
3. the method for claim 1 is it is characterised in that described distribute to the not currently used application of the user being suspended The step of required data traffic is specially:
By not currently used for the described user being suspended application according to the prioritization setting;
Data traffic needed for the described user being suspended not currently used application distribution for the priority according to application.
4. method as claimed in claim 3 is it is characterised in that described priority sorts according to the usage frequency of application.
5. a kind of data traffic distributor is it is characterised in that described device includes:
Unit is hung up in application, needs to access the application of data network for collecting backstage, not currently used for user application is hung Rise;
Active flow reading unit, for reading the data traffic that user currently actively uses;And
Assignment of traffic unit, the data flow that the user for being read according to described active flow reading unit currently actively uses Amount, to the required data traffic of the user being suspended not currently used application distribution;Wherein, the described user being suspended is current The required data traffic of untapped application determines as follows:
Work as P<When 1, N=1;
When 1<P<During α,
Work as P>During α,
Wherein, T is a time period, a minimum chronomere, T >=1, and P is that user currently actively uses in time period T Data traffic, N is the required data traffic of the not currently used application of the user being suspended, and 1 is the lower limit of data traffic, and α is The upper limit of data traffic, e is constant.
6. device as claimed in claim 5 is it is characterised in that the data traffic that described user currently actively uses includes user Currently used application, and user selects the data traffic that the application do not hung up is used.
7. device as claimed in claim 5 is it is characterised in that described assignment of traffic unit includes:
Prioritization module, for arranging not currently used for the described user being suspended application according to the priority setting Sequence;And
Assignment of traffic module, distributes institute for the priority according to application to the not currently used application of the described user being suspended The data traffic needing.
8. device as claimed in claim 7 is it is characterised in that described priority sorts according to the usage frequency of application.
9. a kind of mobile communication terminal it is characterised in that described mobile communication terminal comprise the arbitrary right of claim 5 to 8 will Seek described data traffic distributor.
CN201210309310.2A 2012-08-28 2012-08-28 Method and device for data flow distribution and mobile communication terminal Expired - Fee Related CN102833166B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210309310.2A CN102833166B (en) 2012-08-28 2012-08-28 Method and device for data flow distribution and mobile communication terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210309310.2A CN102833166B (en) 2012-08-28 2012-08-28 Method and device for data flow distribution and mobile communication terminal

Publications (2)

Publication Number Publication Date
CN102833166A CN102833166A (en) 2012-12-19
CN102833166B true CN102833166B (en) 2017-02-08

Family

ID=47336139

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210309310.2A Expired - Fee Related CN102833166B (en) 2012-08-28 2012-08-28 Method and device for data flow distribution and mobile communication terminal

Country Status (1)

Country Link
CN (1) CN102833166B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092691B (en) * 2013-01-23 2019-03-01 Oppo广东移动通信有限公司 A kind of process management method and administrative unit of Android system
CN104065822B (en) * 2014-06-27 2017-06-20 宇龙计算机通信科技(深圳)有限公司 Standby flow control methods and standby volume control device
CN104539809B (en) * 2015-01-16 2019-10-08 努比亚技术有限公司 The monitoring method and device of a kind of mobile terminal and its flow

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5838968A (en) * 1996-03-01 1998-11-17 Chromatic Research, Inc. System and method for dynamic resource management across tasks in real-time operating systems
US6643367B1 (en) * 1999-04-29 2003-11-04 Intel Corporation Dynamic and scheduled computer telephony resource allocation
CN1479512A (en) * 2002-08-29 2004-03-03 深圳市中兴通讯股份有限公司 Calling flow control method
CN1505324A (en) * 2002-12-03 2004-06-16 深圳市中兴通讯股份有限公司 Transmission line resource dynamic management adapting process
CN102521041A (en) * 2011-12-14 2012-06-27 华为终端有限公司 Method for processing application program and wireless handheld device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8510743B2 (en) * 2007-10-31 2013-08-13 Google Inc. Terminating computer applications
CN102148743B (en) * 2010-02-05 2013-08-21 联芯科技有限公司 Data flow control method, device and mobile terminal
CN102291849A (en) * 2010-06-18 2011-12-21 中兴通讯股份有限公司 Method and system for triggering release of VoIP (Voice over Internet Protocol) session
CN101951652B (en) * 2010-08-13 2013-03-13 北京携远天成技术有限公司 Method for automatically switching WiFi and 3G in video transmission
CN102123382A (en) * 2010-12-24 2011-07-13 北京三星通信技术研究有限公司 Use and management method of network data services of application programs and electronic equipment
CN102110220B (en) * 2011-02-14 2013-01-23 宇龙计算机通信科技(深圳)有限公司 Application program monitoring method and device
CN102404727B (en) * 2011-11-24 2017-12-05 中兴通讯股份有限公司 The method of controlling security and device of mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5838968A (en) * 1996-03-01 1998-11-17 Chromatic Research, Inc. System and method for dynamic resource management across tasks in real-time operating systems
US6643367B1 (en) * 1999-04-29 2003-11-04 Intel Corporation Dynamic and scheduled computer telephony resource allocation
CN1479512A (en) * 2002-08-29 2004-03-03 深圳市中兴通讯股份有限公司 Calling flow control method
CN1505324A (en) * 2002-12-03 2004-06-16 深圳市中兴通讯股份有限公司 Transmission line resource dynamic management adapting process
CN102521041A (en) * 2011-12-14 2012-06-27 华为终端有限公司 Method for processing application program and wireless handheld device

Also Published As

Publication number Publication date
CN102833166A (en) 2012-12-19

Similar Documents

Publication Publication Date Title
JP6001023B2 (en) Battery power management for mobile devices
CN104081339B (en) The data transmission by network connection is managed based on priority and data application plan
CN103024825B (en) Method and device of distributing network source among multiple applications of terminal
CN103250456A (en) Communication scheduling based on priority and resource utilization
Kumar Efficient resource allocation and QoS enhancements of IoT with fog network
WO2016086406A1 (en) Network resource deployment method and device
WO2012036672A1 (en) Prediction of mobile bandwidth and usage requirements
CN102833166B (en) Method and device for data flow distribution and mobile communication terminal
CN103731855A (en) Method and device for screening high-data service hot spot cells
CN105007210A (en) Network virtualization frame in long term evolution system and resource blocks allocation method
Kim et al. Dual-side dynamic controls for cost minimization in mobile cloud computing systems
CN103873513B (en) Adaptive method for down loading and system
CN103249122A (en) Connection dormancy method and wireless communicaiton device and computer readalbe recording medium
Abiko et al. Radio resource allocation method for network slicing using deep reinforcement learning
JP2015529409A (en) Speed control system and method based on WLAN network
CN105517179A (en) Wireless resource scheduling method and scheduler
CN109548120A (en) Communication means, device, site apparatus and the access point apparatus of WLAN
CN102316507A (en) Method for detecting mobile terminal network signal, system and mobile terminal thereof
CN105993190A (en) Bearer resource processing method and apparatus
CN113747450A (en) Service deployment method and device in mobile network and electronic equipment
CN102238267A (en) Mobile terminal and communication service condition conversion control method thereof
CN104080125B (en) A kind of triggering method and device based on network load and M2M service priority
CN103826228A (en) Method and device for planning and allocating resources
CN101466093A (en) Method and device for processing communication business
CN104509155A (en) Method and device for transmitting service

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

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

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

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

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

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170208

CF01 Termination of patent right due to non-payment of annual fee