CN106686709B - Screen awakening method and mobile terminal - Google Patents

Screen awakening method and mobile terminal Download PDF

Info

Publication number
CN106686709B
CN106686709B CN201710156373.1A CN201710156373A CN106686709B CN 106686709 B CN106686709 B CN 106686709B CN 201710156373 A CN201710156373 A CN 201710156373A CN 106686709 B CN106686709 B CN 106686709B
Authority
CN
China
Prior art keywords
application
terminal
service notification
electric quantity
screen
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
CN201710156373.1A
Other languages
Chinese (zh)
Other versions
CN106686709A (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 CN201710156373.1A priority Critical patent/CN106686709B/en
Publication of CN106686709A publication Critical patent/CN106686709A/en
Application granted granted Critical
Publication of CN106686709B publication Critical patent/CN106686709B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0264Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by selectively disabling software applications
    • 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

The present invention is suitable for the communications field, provides a kind of screen awakening method and mobile terminal.The described method includes: monitoring whether to receive the Service Notification or application message notice for waking up terminal screen;When receiving the Service Notification or application message notice for waking up terminal screen, the wake source of the terminal screen is obtained, the wake source of the terminal screen includes: that the Service Notification or application message notify corresponding application packet name;Judge whether apply is preset application according to the wake source;It is not preset in application, obtaining the current electric quantity of terminal in the application, judges whether the current electric quantity of the terminal is lower than the first default power threshold;When the current electric quantity of the terminal is lower than the first default power threshold, the terminal screen is not waken up.By the above method, it is not necessarily to user's operation, saves the operating time of user.

Description

Screen awakening method and mobile terminal
Technical field
The embodiment of the present invention belongs to the communications field more particularly to a kind of screen awakening method and mobile terminal.
Background technique
Currently, terminal (such as mobile phone, tablet computer) can install using more and more.Some apply the mistake in installation Cheng Zhonghui prompts the user whether to agree to open Push Service notice or application message notice, when user agrees to open, terminal Will real-time reception application PUSH message and application receive PUSH message after wake up screen at the first time to inform user.
Although above-mentioned method for pushing quickly checks the message using push convenient for user, in the current electric quantity of terminal When lower, PUSH message simultaneously wakes up screen and consumes faster by the electricity for causing terminal.When there is above-mentioned existing situation, in order to avoid Excessive waste electricity, improves the cruise duration of terminal, and in low battery, the push of applicative notifications is usually turned off manually in user, To consume the time of user.
Summary of the invention
The embodiment of the invention provides a kind of screen awakening method and mobile terminals, it is intended to solve in existing method, use Family needs to be turned off manually the push function of application in low battery, thus the problem that the time for expending user is excessive.
The embodiment of the present invention in a first aspect, providing a kind of screen awakening method, the screen awakening method includes:
Monitor whether to receive the Service Notification or application message notice for waking up terminal screen;
When receiving the Service Notification or application message notice for waking up terminal screen, the terminal screen is obtained Wake source, the wake source of the terminal screen include: that the Service Notification or application message notify corresponding application packet name;
Judge whether apply is preset application according to the wake source;
It is not preset in application, obtaining the current electric quantity of terminal in the application, judges the current electric quantity of the terminal Whether the first default power threshold is lower than;
When the current electric quantity of the terminal is lower than the first default power threshold, the terminal screen is not waken up.
The second aspect of the embodiment of the present invention, provides a kind of mobile terminal, and the mobile terminal includes:
Notice receives monitoring unit, disappears for monitoring whether to receive the Service Notification for waking up terminal screen or applying Breath notice;
Wake source acquiring unit, for receiving Service Notification or application message notice for waking up terminal screen When, the wake source of the terminal screen is obtained, the wake source of the terminal screen includes: that the Service Notification or application message are logical Know corresponding application packet name;
It is preset to apply judging unit, for judging whether apply is preset application according to the wake source;
Current electric quantity acquiring unit is sentenced for not being preset in the application in application, obtaining the current electric quantity of terminal Whether the current electric quantity for the terminal of breaking is lower than the first default power threshold;
Wakeup unit does not wake up screen when being lower than the first default power threshold for the current electric quantity in the terminal The terminal screen.
The third aspect of the embodiment of the present invention provides a kind of mobile terminal, and the mobile terminal includes processor,
The processor is logical for monitoring whether to receive Service Notification for waking up terminal screen or application message Know;When receiving the Service Notification or application message notice for waking up terminal screen, the wake-up of the terminal screen is obtained Source, the wake source of the terminal screen include: that the Service Notification or application message notify corresponding application packet name;According to described Wake source judges whether apply is preset application;It is not preset in application, obtaining the current electric quantity of terminal in the application, Judge whether the current electric quantity of the terminal is lower than the first default power threshold;It is pre- lower than first in the current electric quantity of the terminal If when power threshold, not waking up the terminal screen.
In embodiments of the present invention, due to for waking up terminal screen Service Notification or application message notify it is corresponding When using not being lower than the first default power threshold for the current electric quantity of preset application and the terminal, the end panel is not waken up Curtain, therefore, can active filtering fall it is certain it is unessential application frequently wake up terminal screens caused by power consumption, to extend The cruise duration of battery, also, it is not necessarily to user's operation, also save the operating time of user.
Detailed description of the invention
Fig. 1 is a kind of flow chart for screen awakening method that first embodiment of the invention provides;
Fig. 2 is a kind of structure chart for mobile terminal that second embodiment of the invention provides;
Fig. 3 is a kind of schematic block diagram for mobile terminal that third embodiment of the invention provides.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
In the embodiment of the present invention, monitors whether to receive Service Notification or application message for waking up terminal screen and lead to Know, when receiving the Service Notification or application message notice for waking up terminal screen, obtains the wake-up of the terminal screen Source, the wake source of the terminal screen includes: that the Service Notification or application message notify corresponding application packet name, according to described Whether wake source judges using being preset application, is not preset in application, obtaining the current electric quantity of terminal in the application, Judge whether the current electric quantity of the terminal is lower than the first default power threshold, it is pre- lower than first in the current electric quantity of the terminal If when power threshold, not waking up the terminal screen.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Embodiment one:
Fig. 1 shows a kind of flow chart of screen awakening method of first embodiment of the invention offer, and details are as follows:
Step S11 monitors whether to receive Service Notification or application message notice for waking up terminal screen.
It should be pointed out that when using user agrees to unlatching push function in installation process or after installation, then in the application After receiving Service Notification or application message notice, the Service Notification or application message notice will be used to wake up terminal screen.
Step S12 obtains the end when receiving the Service Notification or application message notice for waking up terminal screen The wake source of screen is held, the wake source of the terminal screen includes: that the Service Notification or application message notify corresponding application Packet name.
Specifically, the wake-up mechanism for monitoring terminal is obtained when judging that terminal screen wakes up by step S11 The wake source of terminal screen, the wake source of the terminal screen include that Service Notification or application message notify corresponding application packet Name, this using packet name can unique identification application, in addition, the wake source of terminal screen can also include Service Notification or application disappear Breath notifies corresponding wake actions, and wake actions here are mainly used for description application, and to receive Service Notification or application message logical The movement of terminal screen is waken up when knowing, for example, when the Service Notification or application message for receiving the application of certain class notify, it may be only It is that certain class application is notified to receive new message;In Service Notification or the application message notice for receiving another kind of application, The application interface of another application may actively be opened.
Step S13 judges whether apply is preset application according to the wake source.
Here preset application is to agree to open push function using user in installation process or after installation, and current Electricity can also wake up the application of terminal screen when being lower than the first default power threshold.
Specifically, by the comparing using packet name using the preset application of Bao Mingyu in wake source, if with preset application Either one or two of using packet name it is identical, then determine this using the corresponding application of packet name be preset application, otherwise, it is determined that this application packet The corresponding application of name is not preset application.
Step S14 is not preset in application, obtaining the current electric quantity of terminal in the application, judges the terminal Whether current electric quantity is lower than the first default power threshold.
Wherein, the first default power threshold can be set according to actual conditions, for example, can be according to total use of the battery of terminal Duration is set, when the battery of terminal it is total using duration be greater than first always use duration when, set a numerical value (such as It 20%) is the first default power threshold, when the battery of terminal total always uses duration no more than first using duration, setting is another One numerical value (such as 15%) is the first default power threshold.Since the total of battery of terminal uses duration longer, battery Power consumption is bigger, also faster, therefore, always determines that the first default power threshold enables to determination using duration according to battery First default power threshold is more acurrate.
It optionally, is preset in application, waking up the terminal screen in the application.
Step S15 does not wake up the end panel when the current electric quantity of the terminal is lower than the first default power threshold Curtain.
Due to not waking up the end when application is not for preset application and current electric quantity is lower than the first default power threshold Screen is held, therefore, certain unessential applications can be filtered out and frequently wake up power consumption caused by terminal screen, but can be protected Card user timely receives the Service Notification or application message notice of important application, to extend the cruise duration of battery.
Optionally, when the current electric quantity of the terminal is not less than the first default power threshold, the terminal screen is waken up. Due to the current electric quantity in terminal be not less than the first default power threshold when, wake up the terminal screen, thus it is guaranteed that user and When receive important application Service Notification or application message notice.
Optionally, it is described the application be it is preset in application, waking up the terminal screen, comprising:
A1, the application be it is preset in application, obtain terminal current electric quantity, judge the current electric quantity of the terminal Whether second default power threshold is lower than, and the second default power threshold is less than the described first default power threshold.For example, false If the first default power threshold is 20%, then the second default power threshold can be set as 10%, and certainly, specific value can be according to reality Situation setting, is not construed as limiting herein.
A2, the terminal current electric quantity be lower than the second default power threshold when, obtain the priority of the application, if The priority of the application is higher than preset priority, wakes up the terminal screen, if the priority of the application is lower than default Priority, then do not wake up the terminal screen.
A3, the terminal current electric quantity be not less than the second default power threshold when, wake up the terminal screen.
In above-mentioned A1~A3, when the current electric quantity of terminal is lower than the second default power threshold, according to the priority of application It chooses whether to wake up terminal screen, due to further segmenting default power threshold and also having carried out stroke the priority of application Point, therefore, insignificant application can be further filtered as waking up battery consumption caused by terminal screen.
Optionally, the priority of the application determines in the following manner:
A1, when receiving Service Notification for waking up terminal screen or application message notifies, record receives described The first time point of Service Notification or application message notice.When terminal receives a notice for waking up terminal screen, Record receives the first time point of the notice, which can be accurate to millisecond.
A2, when user clicks and checks that the Service Notification or application message notify, record user checks that the service is logical Know or application message notice the second time point.Wherein, user checks that Service Notification or application message notice refer to that user clicks The Service Notification or application message pushed in terminal screen notifies, alternatively, showing the Service Notification or application in terminal screen When message informing, user opens the Service Notification or application message notifies corresponding application.It should be pointed out that working as terminal screen When showing that a plurality of Service Notification or application message notify, user opens the Service Notification or application message notifies corresponding application Time point is the second time point that user checks a plurality of Service Notification or application message notice.Wherein, second time point Millisecond can be equally accurate to.
A3, check that the Service Notification or application disappear according to the first time point and the second time point counting user Cease the duration of notice.Specifically, the second time point and first time point are made the difference and obtains user and checks Service Notification or application The duration of message informing.
A4, counting user check the Service Notification of each application or the duration of application message notice within a preset period of time, It is determined according to the duration for Service Notification or the application message notice for checking each application in the preset time period of statistics described each The priority of application.Wherein, preset time period can be a week or one month etc..Specifically, counting user is in preset time The same duration notified using each Service Notification or application message is checked in section, is calculated separately and is checked finger in the same application Determine item number (wherein, specifying item number can be the item number that minimum Service Notification or application message notice are received in preset application) The total duration of Service Notification or application message notice, compare the user of calculating the specified item number for checking different application it is total when Long, then the priority of the corresponding application of total duration longest is minimum, and corresponding, the priority of the most short corresponding application of total duration is most It is high.Alternatively, counting user checks the Service Notification of each application or the duration of application message notice within a preset period of time, determine It is shorter than the duration number of preset duration in each application, calculates the duration number for being shorter than preset duration and user in preset time The ratio that the Service Notification of corresponding application or the duration total number of application message notice are checked in section is corresponded to when ratio is bigger Application priority it is higher, ratio is smaller, and the priority of corresponding application is lower.
Optionally, the priority of the application can also determine in the following manner:
A1 ', statistics same application receive the notice total number of Service Notification and/or application message notice, and statistics User check the Service Notification that the same application receives or application message notice check total degree.
A2 ', the notice total number and the ratio for checking total degree are calculated, each application is determined according to the ratio Priority.
In above-mentioned A1 ' and A2 ', mainly check that Service Notification and/or the frequency of application message notice determine by user The Service Notification and/or application message notify the priority of corresponding application.When the frequency that user checks is higher, then user checks Service Notification and/or application message notify the priority of corresponding application also higher, on the contrary, the Service Notification that user checks And/or application message notifies the priority of corresponding application also lower.
In first embodiment of the invention, monitor whether to receive the Service Notification or application message for waking up terminal screen Notice obtains calling out for the terminal screen when receiving the Service Notification or application message notice for waking up terminal screen Awake source, the wake source of the terminal screen includes: that the Service Notification or application message notify corresponding application packet name, according to institute Wake source is stated to judge using whether being preset application, in the application not to be preset in application, obtaining the current electricity of terminal Amount, judges whether the current electric quantity of the terminal is lower than the first default power threshold, the terminal current electric quantity lower than the When one default power threshold, the terminal screen is not waken up.Due to for waking up terminal screen Service Notification or application disappear When breath notifies corresponding application not for the current electric quantity of preset application and the terminal lower than the first default power threshold, do not call out Wake up the terminal screen, therefore, can active filtering fall certain unessential applications and frequently wake up consumption caused by terminal screens Electricity to extend the cruise duration of battery, also, is not necessarily to user's operation, also saves the operating time of user.
It should be understood that in embodiments of the present invention, magnitude of the sequence numbers of the above procedures are not meant to the elder generation of execution sequence Afterwards, the execution sequence of each process should be determined by its function and internal logic, the implementation process structure without coping with the embodiment of the present invention At any restriction.
Embodiment two:
Fig. 2 shows a kind of structure chart for mobile terminal that second embodiment of the invention provides, which be can wrap The user equipment communicated through wireless access network RAN with one or more core nets is included, which can be mobile electricity Words (or being " honeycomb " phone), computer with mobile device etc., for example, user equipment can also be portable, pocket Formula, hand-held, built-in computer or vehicle-mounted mobile device, they exchange voice and/or data with wireless access network.Again For example, the mobile device may include smart phone, tablet computer, personal digital assistant PDA, point-of-sale terminal POS or vehicle mounted electric Brain etc..For ease of description, only parts related to embodiments of the present invention are shown.
The mobile terminal includes: that notice receives monitoring unit 21, wake source acquiring unit 22, preset application judgement list Member 23, current electric quantity acquiring unit 24, screen not wakeup unit 25.Wherein:
Notice receives monitoring unit 21, receives the Service Notification for waking up terminal screen or application for monitoring whether Message informing.
Wake source acquiring unit 22, for receiving Service Notification or application message notice for waking up terminal screen When, the wake source of the terminal screen is obtained, the wake source of the terminal screen includes: that the Service Notification or application message are logical Know corresponding application packet name.
Wherein, this using packet name can unique identification application, in addition, the wake source of terminal screen can also include that service is logical Know or application message notify corresponding wake actions, wake actions here be mainly used for description application receive Service Notification or The movement of terminal screen is waken up when application message notifies.
Preset application judging unit 23, for judging whether apply is preset application according to the wake source.
Here preset application is to agree to open push function using user in installation process or after installation, and current Electricity can also wake up the application of terminal screen when being lower than the first default power threshold.
Current electric quantity acquiring unit 24, for not being preset in the application in application, obtaining the current electric quantity of terminal, Judge whether the current electric quantity of the terminal is lower than the first default power threshold.
Wherein, the first default power threshold can be set according to actual conditions, for example, can be according to total use of the battery of terminal Duration is set, when the battery of terminal it is total using duration be greater than first always use duration when, set a numerical value (such as It 20%) is the first default power threshold, when the battery of terminal total always uses duration no more than first using duration, setting is another One numerical value (such as 15%) is the first default power threshold.Since the total of battery of terminal uses duration longer, battery Power consumption is bigger, also faster, therefore, always determines that the first default power threshold enables to determination using duration according to battery First default power threshold is more acurrate.
Screen not do not call out when being lower than the first default power threshold for the current electric quantity in the terminal by wakeup unit 25 It wakes up the terminal screen.
Optionally, the mobile terminal includes:
First screen wakeup unit, for being preset in application, waking up the terminal screen in the application.
Second screen wakeup unit is called out when being not less than the first default power threshold for the current electric quantity in the terminal It wakes up the terminal screen.
Optionally, the first screen wakeup unit includes:
Current electric quantity obtains module, for being preset in the application in application, obtaining the current electric quantity of terminal, judgement Whether the current electric quantity of the terminal is lower than the second default power threshold, and it is pre- that the second default power threshold is less than described first If power threshold.For example, it is assumed that the first default power threshold is 20%, then the second default power threshold can be set as 10%, certainly, Specific value can be set according to actual conditions, and be not construed as limiting herein.
Current electric quantity is lower than the second default power threshold execution module, is lower than second for the current electric quantity in the terminal When default power threshold, the priority of the application is obtained, if the priority of the application is higher than preset priority, wakes up institute Terminal screen is stated, if the priority of the application is lower than preset priority, does not wake up the terminal screen.
Current electric quantity is not less than the second default power threshold execution module, for being not less than in the current electric quantity of the terminal When the second default power threshold, the terminal screen is waken up.
Above-mentioned current electric quantity obtains module, current electric quantity not lower than the second default power threshold execution module, current electric quantity Lower than in the second default power threshold execution module, when the current electric quantity of terminal is lower than the second default power threshold, according to answering Priority chooses whether to wake up terminal screen, due to further segmenting to default power threshold and to the priority of application Also it is divided, therefore, can further filter insignificant application as waking up battery consumption caused by terminal screen.
Optionally, the mobile terminal includes the first priority determining unit.
First priority determining unit, for determining the priority of application in the following manner:
When receiving the Service Notification or application message notice for waking up terminal screen, record receives the service The first time point of notice or application message notice.When terminal receives a notice for waking up terminal screen, record The first time point of the notice is received, which can be accurate to millisecond.
When user clicks and checks that the Service Notification or application message notify, record user check the Service Notification or Second time point of application message notice.Wherein, user checks that Service Notification or application message notice refer to that user clicks push It is notified in the Service Notification or application message of terminal screen, alternatively, showing the Service Notification or application message in terminal screen When notice, user opens the Service Notification or application message notifies corresponding application.It should be pointed out that when terminal screen is shown When a plurality of Service Notification or application message notify, user opens the Service Notification or application message notifies the time of corresponding application Point is the second time point that user checks a plurality of Service Notification or application message notice.Wherein, second time point is same Millisecond can be accurate to.
The Service Notification or application message are checked according to the first time point and the second time point counting user The duration of notice.Specifically, the second time point was made the difference with first time point obtain user check Service Notification or application disappear Cease the duration of notice.
Counting user checks the Service Notification of each application or the duration of application message notice within a preset period of time, according to The duration of Service Notification or application message notice that each application is checked in the preset time period of statistics determines each application Priority.Wherein, preset time period can be a week or one month etc..Specifically, counting user is within a preset period of time It checks the same duration notified using each Service Notification or application message, calculates separately and check specified item in the same application The service of number (wherein, specifying item number can be the item number that minimum Service Notification or application message notice are received in preset application) The total duration of notice or application message notice, compares total duration of the user in the specified item number for checking different application of calculating, then The priority of the corresponding application of total duration longest is minimum, corresponding, the highest priority of the most short corresponding application of total duration.Or Person, counting user are checked the Service Notification of each application or the duration of application message notice within a preset period of time, are determined each It is shorter than the duration number of preset duration in, calculates the duration number for being shorter than preset duration and user within a preset period of time The ratio for checking the Service Notification of corresponding application or the duration total number of application message notice, it is corresponding to answer when ratio is bigger Priority is higher, and ratio is smaller, and the priority of corresponding application is lower.
Optionally, the mobile terminal includes the second priority determining unit.
Second priority determining unit, for determining the priority of application in the following manner:
Statistics same application receives the notice total number and counting user of Service Notification and/or application message notice That checks Service Notification that the same application receives or application message notice checks total degree.
The notice total number and the ratio for checking total degree are calculated, the excellent of each application is determined according to the ratio First grade.
Second priority determining unit is mainly the frequency for passing through user and checking Service Notification and/or application message notice Rate determines that the Service Notification and/or application message notify the priority of corresponding application.When the frequency that user checks is higher, then use The Service Notification and/or application message that family is checked notify the priority of corresponding application also higher, on the contrary, the service that user checks Notice and/or application message notify the priority of corresponding application also lower.
In second embodiment of the invention, due in the Service Notification or application message notice correspondence for waking up terminal screen Application for it is preset application and the terminal current electric quantity be lower than the first default power threshold when, do not wake up the terminal Screen, therefore, can active filtering fall it is certain it is unessential application frequently wake up terminal screens caused by power consumption, to prolong The cruise duration of battery has been grown, also, has been not necessarily to user's operation, has also saved the operating time of user.
Embodiment three:
Fig. 3 is a kind of schematic block diagram for mobile terminal that third embodiment of the invention provides, the movement as shown in the figure Terminal may include: one or more processors 401 (one is only shown in figure);One or more input equipments 402 are (in figure only Show one), one or more output equipments 403 (one is only shown in figure), memory 404 and display 405.Above-mentioned processing Device 401, input equipment 402, output equipment 403, memory 404 and display 405 are connected by bus 406.Memory 402 is used In store instruction, processor 401 is used to execute the instruction of the storage of memory 404.Wherein:
The processor 401 receives the Service Notification or application message for waking up terminal screen for monitoring whether Notice;When receiving the Service Notification or application message notice for waking up terminal screen, calling out for the terminal screen is obtained Awake source, the wake source of the terminal screen includes: that the Service Notification or application message notify corresponding application packet name;According to institute It states wake source and judges whether apply is preset application;In the application not to be preset in application, obtaining the current electricity of terminal Amount, judges whether the current electric quantity of the terminal is lower than the first default power threshold;The terminal current electric quantity lower than the When one default power threshold, the terminal screen is not waken up.
It should be appreciated that in embodiments of the present invention, the processor 401 can be central processing unit (Central Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at Reason device is also possible to any conventional processor etc..
Input equipment 402 may include that Trackpad, fingerprint adopt sensor (for acquiring the finger print information and fingerprint of user Directional information), microphone, data receiver interface etc..Output equipment 403 may include display (LCD etc.), loudspeaker, data Transmission interface etc..
The memory 404 may include read-only memory and random access memory, and to processor 401 provide instruction and Data.The a part of of memory 404 can also include nonvolatile RAM.For example, memory 404 can also be deposited Store up the information of device type.
Display 405 can be used for showing information input by user or the information etc. for being supplied to user.Display 405 can wrap Display panel is included, optionally, liquid crystal display (Liquid Crystal Display, LCD), organic light-emitting diodes can be used Forms such as (Organic Light-Emitting Diode, OLED) are managed to configure display panel.Further, the display 405 may also include touch panel, and the touch panel can cover display panel, when touch panel detects on it or nearby After touch operation, processor 401 is sent to determine the type of touch event, is followed by subsequent processing device 401 according to the class of touch event Type provides corresponding visual output on a display panel.
In the specific implementation, processor 401 described in the embodiment of the present invention, input equipment 402, output equipment 403, depositing Realization described in the embodiment of screen awakening method provided in an embodiment of the present invention can be performed in reservoir 404 and display 405 Implementation described in terminal described in embodiment two also can be performed in mode, and details are not described herein.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (6)

1. a kind of screen awakening method, which is characterized in that the screen awakening method includes:
Monitor whether to receive the Service Notification or application message notice for waking up terminal screen;
When receiving the Service Notification or application message notice for waking up terminal screen, the wake-up of the terminal screen is obtained Source, the wake source of the terminal screen include: that the Service Notification or application message notify corresponding application packet name;
Judge whether apply is preset application according to the wake source;
It is described application for it is preset in application, obtain terminal current electric quantity, judge the terminal current electric quantity whether Lower than the first default power threshold;
When the current electric quantity of the terminal is lower than the first default power threshold, the terminal screen is not waken up;In the terminal Current electric quantity be not less than the first default power threshold when, wake up the terminal screen;
It is preset in application, obtaining the current electric quantity of terminal in the application, judges whether the current electric quantity of the terminal is low In the second default power threshold, the second default power threshold is less than the described first default power threshold;
When the current electric quantity of the terminal is lower than the second default power threshold, the priority of the application is obtained, if described answer Priority is higher than preset priority, wakes up the terminal screen, if the priority of the application is preferential lower than preset Grade, then do not wake up the terminal screen;When the current electric quantity of the terminal is not less than the second default power threshold, described in wake-up Terminal screen.
2. screen awakening method according to claim 1, which is characterized in that the priority of the application is in the following manner It determines:
When receiving the Service Notification or application message notice for waking up terminal screen, record receives the Service Notification Or the first time point of application message notice;
When user clicks and checks that the Service Notification or application message notify, record user checks the Service Notification or application Second time point of message informing;
The Service Notification or application message notice are checked according to the first time point and the second time point counting user Duration;
Counting user checks the Service Notification of each application or the duration of application message notice within a preset period of time, according to statistics Preset time period in check each application Service Notification or application message notice duration determine the excellent of each application First grade.
3. screen awakening method according to claim 1, which is characterized in that the priority of the application is in the following manner It determines:
Statistics same application receives the notice total number of Service Notification and/or application message notice and counting user is checked Service Notification or the application message notice that the same application receives check total degree;
The notice total number and the ratio for checking total degree are calculated, the preferential of each application is determined according to the ratio Grade.
4. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
Notice receives monitoring unit, logical for monitoring whether to receive Service Notification for waking up terminal screen or application message Know;
Wake source acquiring unit, for obtaining when receiving the Service Notification or application message notice for waking up terminal screen The wake source of the terminal screen is taken, the wake source of the terminal screen includes: the Service Notification or application message notice pair That answers applies packet name;
It is preset to apply judging unit, for judging whether apply is preset application according to the wake source;
Current electric quantity acquiring unit judges institute for not being preset in the application in application, obtaining the current electric quantity of terminal Whether the current electric quantity for stating terminal is lower than the first default power threshold;
Screen not wakeup unit, for being lower than first for preset application and in the current electric quantity of the terminal in the application When default power threshold, the terminal screen is not waken up;
First screen wakeup unit, for being preset in application, waking up the terminal screen in the application;
Second screen wakeup unit when being not less than the first default power threshold for the current electric quantity in the terminal, wakes up institute State terminal screen;
The first screen wakeup unit includes:
Current electric quantity obtains module, for being preset in the application in application, obtaining the current electric quantity of terminal, described in judgement Whether the current electric quantity of terminal is lower than the second default power threshold, and the second default power threshold is less than the described first default electricity Measure threshold value;
Current electric quantity is lower than the second default power threshold execution module, default lower than second for the current electric quantity in the terminal When power threshold, the priority of the application is obtained, if the priority of the application is higher than preset priority, wakes up the end Screen is held, if the priority of the application is lower than preset priority, does not wake up the terminal screen;
Current electric quantity is not less than the second default power threshold execution module, is not less than second for the current electric quantity in the terminal When default power threshold, the terminal screen is waken up.
5. mobile terminal according to claim 4, which is characterized in that the mobile terminal includes that the first priority determines list Member;
First priority determining unit, for determining the priority of application in the following manner:
When receiving the Service Notification or application message notice for waking up terminal screen, record receives the Service Notification Or the first time point of application message notice;
When user clicks and checks that the Service Notification or application message notify, record user checks the Service Notification or application Second time point of message informing;
The Service Notification or application message notice are checked according to the first time point and the second time point counting user Duration;
Counting user checks the Service Notification of each application or the duration of application message notice within a preset period of time, according to statistics Preset time period in check each application Service Notification or application message notice duration determine the excellent of each application First grade.
6. mobile terminal according to claim 4, which is characterized in that the mobile terminal includes that the second priority determines list Member;
Second priority determining unit, for determining the priority of application in the following manner:
Statistics same application receives the notice total number of Service Notification and/or application message notice and counting user is checked Service Notification or the application message notice that the same application receives check total degree;
The notice total number and the ratio for checking total degree are calculated, the preferential of each application is determined according to the ratio Grade.
CN201710156373.1A 2017-03-15 2017-03-15 Screen awakening method and mobile terminal Active CN106686709B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710156373.1A CN106686709B (en) 2017-03-15 2017-03-15 Screen awakening method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710156373.1A CN106686709B (en) 2017-03-15 2017-03-15 Screen awakening method and mobile terminal

Publications (2)

Publication Number Publication Date
CN106686709A CN106686709A (en) 2017-05-17
CN106686709B true CN106686709B (en) 2019-08-09

Family

ID=58829182

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710156373.1A Active CN106686709B (en) 2017-03-15 2017-03-15 Screen awakening method and mobile terminal

Country Status (1)

Country Link
CN (1) CN106686709B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107436674A (en) * 2017-08-22 2017-12-05 深圳天珑无线科技有限公司 terminal control method, device and non-transitory computer-readable medium
CN108834206B (en) * 2018-06-08 2021-05-25 Oppo广东移动通信有限公司 Control method of electronic device and electronic device
CN109817162B (en) * 2019-02-25 2021-11-19 京东方科技集团股份有限公司 Notification message response method, processor, driving chip and display device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105979101A (en) * 2016-07-18 2016-09-28 广东乐源数字技术有限公司 System for selectively pushing unread messages
CN106161790A (en) * 2016-06-30 2016-11-23 努比亚技术有限公司 A kind of mobile terminal and control method thereof
CN106211286A (en) * 2016-06-29 2016-12-07 努比亚技术有限公司 A kind of control method and mobile terminal
CN106385704A (en) * 2016-08-11 2017-02-08 深圳市金立通信设备有限公司 Group message management method and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106211286A (en) * 2016-06-29 2016-12-07 努比亚技术有限公司 A kind of control method and mobile terminal
CN106161790A (en) * 2016-06-30 2016-11-23 努比亚技术有限公司 A kind of mobile terminal and control method thereof
CN105979101A (en) * 2016-07-18 2016-09-28 广东乐源数字技术有限公司 System for selectively pushing unread messages
CN106385704A (en) * 2016-08-11 2017-02-08 深圳市金立通信设备有限公司 Group message management method and terminal

Also Published As

Publication number Publication date
CN106686709A (en) 2017-05-17

Similar Documents

Publication Publication Date Title
CN101611364B (en) Methods and device for limiting battery power consumption in a wireless communication device
CN103823543B (en) Portable electronic device and the method operated wherein
CN108966322A (en) A kind of data transmission method, base station and terminal
CN103500002B (en) The method of application program management, device and terminal unit
US9049255B2 (en) Visual event notification on a handheld communications device
CN106686709B (en) Screen awakening method and mobile terminal
CN103401991B (en) A kind of method and apparatus that the communication event of terminal unit is pointed out
US9070273B2 (en) Communications device having battery monitoring capabilities and performing pre-scheduled events
CN104244378B (en) Improve the wireless communication device and method of power management
CN106569585A (en) Method and terminal of managing application program process
CN102057656A (en) Developing a notification framework for electronic device events
CN108112063A (en) Electric quantity managing method, power management device, terminal and readable storage medium storing program for executing
CN110018904A (en) Information processing method, device, computer equipment and computer readable storage medium
CN110032266B (en) Information processing method, information processing device, computer equipment and computer readable storage medium
CN108768870B (en) Flow control methods, device and mobile terminal
CN106874727A (en) Double screen terminal applies processing method, device and a kind of terminal
CN108334345A (en) Applied program processing method, device, readable storage medium storing program for executing and mobile terminal
CN107025143A (en) Notifier processes method, device and the communication terminal of a kind of application message
CN104021062A (en) Information processing method and electronic device
CN106648460B (en) Step counting data filtering method and intelligent terminal
CN108108090A (en) Communication information based reminding method and device
CN105653279A (en) Clock system and wakeup method for mobile terminal and functional chip
CN107861855A (en) A kind of method, terminal, system and computer-readable recording medium for reducing abnormal power consumption
CN106686708B (en) Data service management method and device
CN106095566A (en) A kind of response control mehtod and mobile terminal

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

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

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

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

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant