CN103369149B - Quick dormancy mechanism triggering method and system - Google Patents

Quick dormancy mechanism triggering method and system Download PDF

Info

Publication number
CN103369149B
CN103369149B CN201210089093.0A CN201210089093A CN103369149B CN 103369149 B CN103369149 B CN 103369149B CN 201210089093 A CN201210089093 A CN 201210089093A CN 103369149 B CN103369149 B CN 103369149B
Authority
CN
China
Prior art keywords
value
flow
preset time
initial value
preset
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
CN201210089093.0A
Other languages
Chinese (zh)
Other versions
CN103369149A (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.)
Shenzhen Futaihong Precision Industry Co Ltd
Chi Mei Communication Systems Inc
Original Assignee
Shenzhen Futaihong Precision Industry Co Ltd
Chi Mei Communication Systems Inc
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 Shenzhen Futaihong Precision Industry Co Ltd, Chi Mei Communication Systems Inc filed Critical Shenzhen Futaihong Precision Industry Co Ltd
Priority to CN201210089093.0A priority Critical patent/CN103369149B/en
Publication of CN103369149A publication Critical patent/CN103369149A/en
Application granted granted Critical
Publication of CN103369149B publication Critical patent/CN103369149B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

A kind of quick dormancy mechanism triggering method, including:Monitor the flow of portable electric device;Judge whether flow does not change in a preset time, when flow does not change in the preset time, trigger the quick dormancy mechanism of portable electric device, otherwise, continue to monitor.The present invention also provides a kind of quick dormancy mechanism triggering system.The quick dormancy mechanism of portable electric device can be triggered using the present invention.

Description

Quick dormancy mechanism triggering method and system
Technical field
The present invention relates to a kind of quick dormancy mechanism triggering method and system, more particularly to a kind of portable electric device Quick dormancy triggering method and system.
Background technology
Quick dormancy (fast dormancy) mechanism is a well-known data, services with mobile network to save Save the technology of portable electric device power consumption.The purpose of quick dormancy mechanism is exactly to be not required to transmit in portable electric device During data, allow network to obtain and portable electric device is transferred to the pattern compared with power saving.At present, the triggering of quick dormancy mechanism is Leave each manufacturer's self-developing for, the activity and primary processor sleep typically based on portable electric device primary processor Circulate and trigger.I.e.:When the primary processor completes all active tasks, and is prepared to enter into sleep pattern, primary processor Inner nuclear layer notice radio interface layer (Radio Interface Layer, RIL) trigger quick dormancy, then sent by RIL fast Fast dormancy instruction to modem (modem), quick dormancy instruction notice modem performs quick dormancy.
This trigger mechanism is unstable, and easily impacted because of the variation on primary processor framework.Based on main place The construction principle of device is managed, the primary processor may just have been enter into sleep shape when not yet handling ordering quick dormancy instruction State, therefore send quick dormancy instruction to modem in RIL, the quick dormancy instruction is entered to fall asleep with primary processor Dormancy state.Therefore, a kind of stabilization need to be sought, be not easy that host processor framework influences and portable electric device can be lifted Electric energy saves the trigger mechanism of efficiency.
The content of the invention
In view of the foregoing, it is necessary to a kind of quick dormancy mechanism triggering method is provided, to trigger portable electric device Quick dormancy mechanism.
In view of the foregoing, it there is a need to and a kind of quick dormancy mechanism triggering system be provided, to trigger hand-held electronic dress The quick dormancy mechanism put.
The quick dormancy mechanism triggering method, applied in portable electric device, this method comprises the following steps:Prison Survey step:Monitor the flow of portable electric device;Setting steps:One count value is set, and one is set to the count value Initial value, the counting initial value are time initial value or number initial value;
Wherein, when the counting initial value is time initial value, the counting initial value is the value of preset time, when this is preset Between for will be obtained after a preset time N deciles read flow value interval time;
When the counting initial value is number initial value, the initial value of the count value is 1, and by the number initial value of setting Operation is overlapped to count value;Judgment step:Judge whether flow does not change in the preset time, when flow exists When not changed in the preset time, triggering step is performed, otherwise, continues to monitor;Trigger step:Trigger hand-held electronic The quick dormancy mechanism of device.
The quick dormancy mechanism triggers system, runs in portable electric device, the system includes:Monitoring modular, For monitoring the flow of portable electric device;Setup module, one is set for setting a count value, and to the count value Initial value, the counting initial value are time initial value or number initial value;
Wherein, when the counting initial value is time initial value, the counting initial value is the value of preset time, when this is preset Between for will be obtained after a preset time N deciles read flow value interval time;
When the counting initial value is number initial value, the initial value of the count value is 1, and by the number initial value of setting Operation is overlapped to count value;Judge module, for judging whether flow does not change in a preset time;Triggering Module, for when flow does not change in the preset time, triggering the quick dormancy mechanism of portable electric device.
Compared to prior art, described quick dormancy mechanism triggering method and system, by portable electric device The monitoring of middle flow, to realize the judgement for whether triggering quick dormancy mechanism, so as to reach stable triggering quick dormancy mechanism Purpose;This determination methods based on flow, will not be impacted because primary processor framework changes, closer to quick dormancy mechanism The expected purpose to be reached, the electric energy that can effectively lift portable electric device save efficiency.
Brief description of the drawings
Fig. 1 is the Organization Chart of quick dormancy mechanism triggering system preferred embodiment of the present invention.
Fig. 2 is the flow chart of quick dormancy mechanism triggering method preferred embodiment of the present invention.
Fig. 3 is the judgement sub-process figure of quick dormancy mechanism triggering method preferred embodiment of the present invention.
Main element symbol description
Portable electric device 1
Quick dormancy mechanism triggers system 10
Monitoring modular 100
Judge module 101
Trigger module 102
Setup module 103
Primary processor 11
Modem 12
Following embodiment will combine above-mentioned accompanying drawing and further illustrate the present invention.
Embodiment
As shown in figure 1, it is the Organization Chart of quick dormancy mechanism triggering system preferred embodiment of the present invention.
Quick dormancy mechanism triggering system 10 is run in portable electric device 1, in the portable electric device 1 also Including primary processor 11, modem 12.The portable electric device 1 can be mobile phone, personal digital assistant (Personal Digital Assistant, PDA), the mobile communication device such as tablet personal computer.
Mass data transmission in the portable electric device 1, the battery that can seriously consume portable electric device 1 hold Amount.When portable electric device 1 is connected with mobile communications network, be not constantly be required for substantial amounts of data transfer (such as When being read for a long time to the web page contents of download), now, on the premise of mobile communications network connection is not turned off, subtract The consumption of few battery capacity, so as to extend the service life of the battery of portable electric device 1, turns into a required technology.This When, typically all use quick dormancy mechanism.
Quick dormancy mechanism can not have data transfer when in use in portable electric device 1, by portable electric device 1 Connection be transferred to resting state so that portable electric device 1 enters power down mode.It is described there is no data transfer using, It is always same value to refer to flow value caused by data transfer at a certain time interval.Such as in the web page contents to download When being read for a long time, each second reads flow value caused by a data transfer, if the flow value read every time Equal (as being 2KB), then illustrate that portable electric device 1 does not have data transfer using.
The quick dormancy mechanism triggering system 10 includes monitoring modular 100, judge module 101, trigger module 102 and set Put module 103.The function of each module describes the flow chart for combining Fig. 2 in detail.
As shown in Fig. 2 it is the flow chart of quick dormancy mechanism triggering method preferred embodiment of the present invention.
Step S10, the monitoring modular 100 monitor the flow of portable electric device 1.
The portable electric device 1 has flow generation when carrying out data transmission with mobile communications network.It is described with The data transfer of mobile communications network includes:Send data to mobile communications network and receive data from mobile communications network.Hair When sending data, the primary processor 11 sends data to modem 12 by RIL, and the modem 12 sends data To mobile communications network;When receiving data, the modem 12 receives the data that mobile communications network is sent, the modulatedemodulate The RIL for adjusting device 12 to send data in primary processor 11.Monitoring modular 100 monitors the flow of portable electric device 1, that is, supervises The RIL surveyed in primary processor 11 traffic conditions, are stored with flow value caused by present data transmission in RIL.
Step S12, the judge module 101 judge whether flow does not change in a preset time, work as flow When not changed in the preset time, step S14 is performed, otherwise, return continues to monitor.The preset time is according to hand Hold the performance of formula electronic installation 1, be configured with parameters such as the connection states of mobile communications network, in for example, 2 seconds to 10 seconds Any time.
Judge module 101 judges flow, and whether the process not changed in the preset time will be carried out in figure 3 It is discussed in detail.
Step S14, the trigger module 102 trigger the quick dormancy mechanism of portable electric device 1.
In this step, the process of the triggering of trigger module 102 quick dormancy mechanism is:Control the RIL in primary processor 11 Send quick dormancy instruction to modem 12, modem 12 and send radio resource control (radio Resource control, RRC) online release (connection release) information to mobile communications network, the movement leads to After communication network receives the online release information of RRC, the mobile communications network discharges what the portable electric device 1 was used Internet resources, then the portable electric device 1 enter power down mode.
As shown in figure 3, it is the judgement sub-process figure of quick dormancy mechanism triggering method preferred embodiment of the present invention.
Step S120, the judge module 101 reading monitoring module 100 from the RIL in primary processor 11 are the currently monitored Gained flow value.
Whether step S122, the flow value that the judge module 101 judges to read meet preset requirement.When the flow of reading When value does not meet preset requirement, step S124 is performed, otherwise, performs step S126.
The flow value that the acquiescence of judge module 101 is read for the first time meets preset requirement.Judge the flow read The step of whether value meets preset requirement is as follows:
When reading obtains a flow value, according to the sequencing of reading, take the current flow value and with the current stream The adjacent previous flow value of value with obtain two according to sequencing arrange flow values.When two flow values are equal, Judge that flow value meets preset requirement, when two flow values are unequal, then judge that flow value does not meet preset requirement.
Step S124, the judge module 101 judges that flow changes in the preset time, and returns and perform step Rapid S10.
Step S126, the judge module 101 are overlapped operation to count value.
Before step S126, setup module 103 is that count value sets an initial value.The initial value has two kinds of situations, One kind is time initial value, and one kind is number initial value.When initial value is time initial value, setup module 103 is set first Initial value is the value of preset time;The preset time is reads the interval time of flow value, and by preset time progress N, (N is big In 1 integer) decile, the time value obtained after N deciles is preset time.When initial value is number initial value, mould is set The initial value that block 103 is set is 1.
When initial value is time initial value, it is that count value is added into the preset time that operation is overlapped to count value Value;When initial value is number initial value, it is that count value is done to add 1 operation that operation is overlapped to count value.
Each initial value is corresponding with a preset value, different according to the different preset values of the species of initial value.When initial Be worth for time initial value when, the preset value be the preset time value.When initial value is number initial value, the preset value is The preset time is carried out to the N values of N deciles.For example, the preset time is 6 seconds, the preset time is subjected to 3 deciles, then When initial value is number initial value, preset value corresponding to the initial value is 3.
Step S128, the judge module 101 judge whether count value is less than the preset value, when count value is less than described During preset value, step S130 is performed, otherwise, performs step S132.
Step S130, the judge module 101 wait the preset time, and return and perform step S120.
In above-mentioned steps S120 into step S130 cyclic process, read can obtain a flow value every time.It is described Flow value is named according to the order sequence number of reading, and obtained flow value is read in which time, then is named as which flow value. As read obtained flow value for the first time, then first flow value is named as.In step S122, in the flow value for judging to read When whether meeting preset requirement, sentenced according to the flow value currently read and the previous flow value adjacent with the current flow value It is disconnected.
Step S132, the judge module 101 judges that flow does not change in the preset time, and performs step S14。
Traditional triggering method, in the case where there is multiple application programs to open, without using the application of mobile communications network Factor of the program still as quick dormancy mechanism triggering is considered.And flow during Monitoring Data of the present invention transmission, and according to Flow judges whether triggering quick dormancy mechanism, that is, the application program without using mobile communications network is not taken into account that, than traditional Triggering method, more it is bonded the application target of quick dormancy mechanism.
The above embodiments are merely illustrative of the technical solutions of the present invention and it is unrestricted, although with reference to preferred embodiment to this hair It is bright to be described in detail, it will be understood by those within the art that, technical scheme can be modified Or equivalent substitution, without departing from the spirit and scope of technical solution of the present invention.

Claims (10)

  1. A kind of 1. quick dormancy mechanism triggering method, applied in portable electric device, it is characterised in that this method include with Lower step:
    Monitoring step:Monitor the flow of portable electric device;
    Setting steps:One count value is set, and one initial value is set to the count value, the counting initial value is that the time is initial Value or number initial value;
    Wherein, when the counting initial value is time initial value, the counting initial value is the value of preset time, and the preset time is The interval time of flow value will be obtained reading after a preset time N deciles;
    When the counting initial value is number initial value, the initial value of the count value is 1, and by the number initial value of setting to based on Numerical value is overlapped operation;
    Judgment step:Judge whether flow does not change in the preset time, when flow is not sent out in the preset time During changing, triggering step is performed, otherwise, continues to monitor;
    Trigger step:Trigger the quick dormancy mechanism of portable electric device;
    When the counting initial value is time initial value, the judgment step includes:
    Read the flow value of the currently monitored portable electric device;
    When the flow value of reading does not meet preset requirement, judge that flow changes in the preset time;
    When the flow value of reading meets preset requirement, count value is added to the value of the preset time, and judges that count value is It is no to be less than the preset time;
    When count value is less than the preset time, after the preset time is waited, the currently monitored gained flow value is read;
    When count value is not less than the preset time, judge that flow does not change in the preset time.
  2. 2. quick dormancy mechanism triggering method as claimed in claim 1, it is characterised in that the monitoring step is led by monitoring The traffic conditions of radio interface layer in processor monitor the flow of portable electric device, are stored with the radio interface layer Flow value caused by present data transmission.
  3. 3. quick dormancy mechanism triggering method as claimed in claim 2, it is characterised in that when the counting initial value is the time During initial value, the judgment step includes:
    The currently monitored gained flow value is read from the radio interface layer.
  4. 4. quick dormancy mechanism triggering method as claimed in claim 2, it is characterised in that when the counting initial value is number During initial value, the judgment step includes:
    The currently monitored gained flow value is read from the radio interface layer;
    When the flow value of reading does not meet preset requirement, judge that flow changes in the preset time;
    When the flow value of reading meets preset requirement, count value is carried out plus 1 operates, and judges whether count value is less than one Preset value, the preset value are the N values that the preset time is carried out to N deciles;
    When count value is less than the preset value, after the preset time is waited, the currently monitored gained flow value is read;
    When count value is not less than the preset value, judge that flow does not change in the preset time.
  5. 5. the quick dormancy mechanism triggering method as described in claim 3 or 4, it is characterised in that the flow for judging to read The step of whether value meets preset requirement is as follows:
    When reading obtains a flow value, according to the sequencing of reading, take the current flow value and with the current flow value Adjacent previous flow value with obtain two according to sequencing arrange flow values;
    When two flow values are equal, judge that flow value meets preset requirement;
    When two flow values are unequal, then judge that flow value does not meet preset requirement.
  6. 6. a kind of quick dormancy mechanism triggers system, run in portable electric device, it is characterised in that the system includes:
    Monitoring modular, for monitoring the flow of portable electric device;
    Setup module, one initial value is set for setting a count value, and to the count value, the counting initial value is the time Initial value or number initial value;
    Wherein, when the counting initial value is time initial value, the counting initial value is the value of preset time, and the preset time is The interval time of flow value will be obtained reading after a preset time N deciles;
    When the counting initial value is number initial value, the initial value of the count value is 1, and by the number initial value of setting to based on Numerical value is overlapped operation;
    Judge module, for judging whether flow does not change in the preset time;
    Trigger module, for when flow does not change in the preset time, triggering the quick of portable electric device Dormancy mechanism;
    When the counting initial value is time initial value, whether the judge module judges flow described by following steps Do not changed in preset time:
    Read the flow value of the currently monitored portable electric device;
    When the flow value of reading does not meet preset requirement, judge that flow changes in the preset time;
    When the flow value of reading meets preset requirement, count value is added to the value of the preset time, and judges that count value is It is no to be less than the preset time;
    When count value is less than the preset time, after the preset time is waited, the currently monitored gained flow value is read;
    When count value is not less than the preset time, judge that flow does not change in the preset time.
  7. 7. quick dormancy mechanism as claimed in claim 6 triggers system, it is characterised in that the monitoring modular is led by monitoring The traffic conditions of radio interface layer in processor monitor the flow of portable electric device, are stored with the radio interface layer Flow value caused by present data transmission.
  8. 8. quick dormancy mechanism as claimed in claim 7 triggers system, it is characterised in that when the counting initial value is the time During initial value, the judge module judges whether flow does not change in the preset time by following steps:
    The currently monitored gained flow value is read from the radio interface layer.
  9. 9. quick dormancy mechanism as claimed in claim 7 triggers system, it is characterised in that when the counting initial value is number During initial value, the judge module judges whether flow does not change in the preset time by following steps:
    The currently monitored gained flow value is read from the radio interface layer;
    When the flow value of reading does not meet preset requirement, judge that flow changes in the preset time;
    When the flow value of reading meets preset requirement, count value is carried out plus 1 operates, and judges whether count value is less than one Preset value, the preset value are the N values that the preset time is carried out to N deciles;
    When count value is less than the preset value, after the preset time is waited, the currently monitored gained flow value is read;
    When count value is not less than the preset value, judge that flow does not change in the preset time.
  10. 10. quick dormancy mechanism as claimed in claim 8 or 9 triggers system, it is characterised in that the flow for judging to read The step of whether value meets preset requirement is as follows:
    When reading obtains a flow value, according to the sequencing of reading, take the current flow value and with the current flow value Adjacent previous flow value with obtain two according to sequencing arrange flow values;
    When two flow values are equal, judge that flow value meets preset requirement;
    When two flow values are unequal, then judge that flow value does not meet preset requirement.
CN201210089093.0A 2012-03-30 2012-03-30 Quick dormancy mechanism triggering method and system Expired - Fee Related CN103369149B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210089093.0A CN103369149B (en) 2012-03-30 2012-03-30 Quick dormancy mechanism triggering method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210089093.0A CN103369149B (en) 2012-03-30 2012-03-30 Quick dormancy mechanism triggering method and system

Publications (2)

Publication Number Publication Date
CN103369149A CN103369149A (en) 2013-10-23
CN103369149B true CN103369149B (en) 2017-12-29

Family

ID=49369652

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210089093.0A Expired - Fee Related CN103369149B (en) 2012-03-30 2012-03-30 Quick dormancy mechanism triggering method and system

Country Status (1)

Country Link
CN (1) CN103369149B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104936218A (en) * 2014-03-21 2015-09-23 国基电子(上海)有限公司 User end equipment and power saving method thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651978A (en) * 2009-09-25 2010-02-17 中兴通讯股份有限公司 Method, system and device for switching states of wireless data access equipment
CN102769898A (en) * 2011-05-04 2012-11-07 华为技术有限公司 Power saving mode management method and device of communication equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102557B (en) * 2006-07-07 2010-12-01 乐金电子(昆山)电脑有限公司 Power saving device and its method for wireless LAN of portable information terminal
DE102008048468A1 (en) * 2008-09-24 2010-04-08 Siemens Enterprise Communications Gmbh & Co. Kg Method, telephone, telecommunication system and device for controlling the energy consumption of a telephone
CN101765188A (en) * 2008-12-25 2010-06-30 英华达(上海)电子有限公司 Energy-saving method of running gear and running gear adopting the same
CN102065176B (en) * 2010-11-25 2013-08-21 北京播思软件技术有限公司 Dynamic switching device and method for mobile terminal data mode

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651978A (en) * 2009-09-25 2010-02-17 中兴通讯股份有限公司 Method, system and device for switching states of wireless data access equipment
CN102769898A (en) * 2011-05-04 2012-11-07 华为技术有限公司 Power saving mode management method and device of communication equipment

Also Published As

Publication number Publication date
CN103369149A (en) 2013-10-23

Similar Documents

Publication Publication Date Title
EP2684322B1 (en) Techniques for managing idle state activity in mobile devices
US20200205076A1 (en) Data transmission method, base station and terminal
TWI586187B (en) Dynamic adaptation of a traffic inactivity timer
CN102547935B (en) A kind of method and portable router controlling portable router low-power consumption work
CN104604323A (en) Adaptive fast dormancy controller
CN103546951B (en) Mobile device and its sleep management method
US8407306B1 (en) Systems and methods for managing message delivery based on message priority
CN103415824B (en) Method and apparatus for controlling CPU
CN102572119B (en) A kind of mobile terminal and electricity saving method thereof
WO2013067469A1 (en) Reducing wireless power consumption and signaling overhead for internet application background messages
CN102681649B (en) Device and method for prolonging battery endurance abilities of all kinds of intelligent equipment
CN106326074A (en) Processor operation parameter adjusting method and mobile terminal
CN105530377B (en) It is a kind of to wake up the processing method locked, apparatus and system
CN108196665A (en) A kind of data processing method and device
CN103052135A (en) Mobile terminal and method for processing data of wireless fidelity (Wi-Fi) used on mobile terminal
CN103415823A (en) Method and apparatus for controlling CPU
CN107577508A (en) Applied program processing method, device, readable storage medium storing program for executing and mobile terminal
CN105704818A (en) Radio communication device and method for operation thereof
JP2013118480A (en) Radio access point terminal and connection control method
CN104811965A (en) Method and apparatus for optimizing network resources of terminal
CN103309429A (en) Information processing method and electronic equipment
CN103369149B (en) Quick dormancy mechanism triggering method and system
CN104914976A (en) Data processing method, data processing device and terminal
CN105357387B (en) A kind of method, apparatus and system for waking up terminal
CN104066159B (en) A kind of method that mobile terminal sleeping wakes up

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171229

Termination date: 20190330

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