CN110087290A - Power consumption management-control method, terminal and computer readable storage medium - Google Patents

Power consumption management-control method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN110087290A
CN110087290A CN201910329918.3A CN201910329918A CN110087290A CN 110087290 A CN110087290 A CN 110087290A CN 201910329918 A CN201910329918 A CN 201910329918A CN 110087290 A CN110087290 A CN 110087290A
Authority
CN
China
Prior art keywords
application program
interaction
case
power consumption
program
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.)
Granted
Application number
CN201910329918.3A
Other languages
Chinese (zh)
Other versions
CN110087290B (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910329918.3A priority Critical patent/CN110087290B/en
Publication of CN110087290A publication Critical patent/CN110087290A/en
Application granted granted Critical
Publication of CN110087290B publication Critical patent/CN110087290B/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the present application discloses a kind of power consumption management-control method, terminal and computer readable storage medium, which includes: to start in the case where the operation of the first application program and provide the second application program of service for first application program;In the case where second application program launching, determine between first application program and second application program whether there is interaction;In the case where between first application program and second application program without interaction, second application program is nullified.The embodiment of the present application provides the second application program of service by the first application program launching for the first application program, without nullifying second application program when interaction between the first application program and the second application program;It solves due to the mutual cruising ability for drawing influence mobile terminal between application program in existing mobile terminal, the problem for causing user experience effect poor;The power consumption for reducing terminal, improves user experience.

Description

Power consumption management-control method, terminal and computer readable storage medium
Technical field
The invention relates to field of terminal technology more particularly to a kind of power consumption management-control methods, terminal and computer Readable storage medium storing program for executing.
Background technique
With the popularization of mobile terminal, universal and development, function is more and more, and performance is more and more stronger, and experience is increasingly It is abundant, it brings great convenience for people's lives, people is made increasingly to be unable to do without it.As people use mobile terminal Average duration is growing, and for the duration performance of mobile terminal also increasingly by the concern of user, becoming, which influences user, uses body The key factor tested.
Influence mobile terminal continuation of the journey a major reason be: the mutual drawing between application program, cause user be not desired to using Application program or function behave and networked, positioned from the background, operated using sensor etc. so that electricity disappears That consumes is also faster.Widespread practice is to limit these application startings, but certain functions can be prevented from making after limiting at present With causing user experience effect poor.
Summary of the invention
In view of this, the embodiment of the present application be designed to provide a kind of power consumption management-control method, terminal and computer can Storage medium is read, to solve since the mutual drawing between application program influences the cruising ability of mobile terminal in existing mobile terminal, The problem for causing user experience effect poor.
It is as follows that the embodiment of the present application solves technical solution used by above-mentioned technical problem:
According to the one aspect of the embodiment of the present application, a kind of power consumption management-control method provided, this method is used for terminal, described Power consumption management-control method includes:
In the case where the operation of the first application program, starts and provide the second of service using journey for first application program Sequence;
In the case where second application program launching, first application program and second application program are determined Between whether have interaction;
In the case where between first application program and second application program without interaction, described second is nullified Application program.
It is described in the case where second application program launching in a kind of possible embodiment, determine described Whether there is interaction between one application program and second application program, later further include:
In the case where having interactive between first application program and second application program, judge that described first answers It whether is malice interaction with the interaction between program and second application program;
In the case that interaction between first application program and second application program is malice interaction, nullify Second application program.
It is described to have between first application program and second application program in a kind of possible embodiment In the case where interaction, judge whether the interaction between first application program and second application program is malice interaction packet It includes:
In the case where having interactive between first application program and second application program, obtains described first and answer With the interaction data and frequency of interaction between program and second application program;
According to the interaction data and frequency of interaction between first application program and second application program, institute is judged State whether the interaction between the first application program and second application program is malice interaction.
It is described according between first application program and second application program in a kind of possible embodiment Interaction data and frequency of interaction, judge whether the interaction between first application program and second application program is evil Meaning interaction include:
If the interaction data is sky data and the frequency of interaction is fixed frequency, judge that described first applies journey Interaction between sequence and second application program is malice interaction.
It is described not have between first application program and second application program in a kind of possible embodiment In the case where having interaction, second application program is nullified, before further include:
Obtain terminal current battery capacity or memory;
It is low in the current battery capacity of the terminal memory current lower than default battery power threshold or the terminal In the case where default memory threshold, execution is described not to hand between first application program and second application program Mutually in the case where, nullify second application program the step of.
It is described not have between first application program and second application program in a kind of possible embodiment In the case where having interaction, nullifying second application program includes:
In the case where between first application program and second application program without interaction, described first is recorded The time not interacted between application program and second application program;
The time not interacted between first application program and second application program is more than preset time In the case of, nullify second application program.
In a kind of possible embodiment, described in the case where the operation of the first application program, starting is described first The second application program that application program provides service includes:
In the case where first application program operation, first application program is detected to second application program Call instruction;
In the case where detecting call instruction of first application program to second application program, described in acquisition The packet name of second application program;
Determine whether the packet name of second application program is in the white list of first application program;
In the case where in the white list that the packet name of second application program is in first application program, start institute State the second application program.
In a kind of possible embodiment, whether the packet name of determination second application program is in described first In the white list of application program, later further include:
In the case where the packet name of second application program is not in the white list of first application program, forbid opening Move second application program.
According to the other side of the embodiment of the present application, a kind of terminal provided, the terminal includes memory, processor And it is stored in the power consumption control program that can be run on the memory and on the processor, the power consumption control program is by institute State the step of realizing above-mentioned power consumption management-control method when processor executes.
According to the other side of the embodiment of the present application, a kind of computer readable storage medium provided, the computer Power consumption control program is stored on readable storage medium storing program for executing, the power consumption control program realizes above-mentioned power consumption when being executed by processor The step of management-control method.
The power consumption management-control method, terminal and computer readable storage medium of the embodiment of the present application apply journey by first Sequence starting provides the second application program of service for the first application program, does not have between the first application program and the second application program Second application program is nullified when having interactive;It solves in existing mobile terminal since the mutual drawing between application program influences to move The cruising ability of dynamic terminal, the problem for causing user experience effect poor;The power consumption for reducing terminal, improves user's body It tests.
Detailed description of the invention
Fig. 1 is the hardware structural diagram for realizing the mobile terminal of each embodiment of the application;
Fig. 2 is a kind of communications network system architecture diagram provided by the embodiments of the present application;
Fig. 3 is the power consumption management-control method flow diagram of the application first embodiment;
Fig. 4 is the calling set interface schematic diagram of first application program of the embodiment of the present application;
Fig. 5 is the terminal structure schematic diagram of the application second embodiment.
The embodiments will be further described with reference to the accompanying drawings for realization, functional characteristics and the advantage of the application purpose.
Specific embodiment
In order to be clearer and more clear technical problems to be solved in this application, technical solution and beneficial effect, tie below Drawings and examples are closed, the application is further elaborated.It should be appreciated that specific embodiment described herein is only To explain the application, it is not used to limit the application.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate Computer, laptop, palm PC, PDA (Personal Digital Assistant, personal digital assistant), PMP (Portable Media Player, portable media player), navigation device, wearable device, Intelligent bracelet, pedometer The fixed terminals such as equal mobile terminals, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
First embodiment
As shown in figure 3, the application first embodiment provides a kind of power consumption management-control method, this method is used for terminal, the function Consuming management-control method includes:
Step S31, in the case where the first application program is run, start provide service for first application program the Two application programs.
In the present embodiment, when the first application program is run, if desired using the clothes of second application program offer Business, then start second application program
In one embodiment, described in the case where the operation of the first application program, start as described first using journey The second application program that sequence provides service includes:
In the case where first application program operation, first application program is detected to second application program Call instruction;
In the case where detecting call instruction of first application program to second application program, described in acquisition The packet name of second application program;
Determine whether the packet name of second application program is in the white list of first application program;
In the case where in the white list that the packet name of second application program is in first application program, start institute State the second application program.
In this embodiment, API (the Application Programming of terminal system can be passed through Interface, application programming interface) detect the first application program to the calling of other applications.Wherein described One application program and second application program are different application programs, such as first application program is that Taobao applies journey Sequence, second application program are Alipay application program, camera application, text input application program etc..
In this embodiment, the white list of first application program can be configured or at end by software mode The set interface at end is configured, and is specifically not limited thereto.
As illustratively, please referring to shown in Fig. 4, in the calling set interface of first application program, it is provided with C, F Application program can be called, and A, B, D, E application program cannot be called.Therefore, when calling C F application program When, C F application program can be directly initiated.
In another embodiment, whether the packet name of the determination second application program is in first application In the white list of program, later further include:
In the case where the packet name of second application program is not in the white list of first application program, forbid opening Move second application program.
Still connect it is above-mentioned illustratively, when calling A, B, D, E application program, the corresponding application program of No starting.
Step S32, in the case where second application program launching, first application program and described second are determined Whether there is interaction between application program.
In the present embodiment, the interaction between first application program and second application program can pass through The application components such as Content Provider, Broadcast and bind Service interact.Wherein, Content Provider can access the data (with the return of Cursor object form) in other applications with striding course, it is of course also possible to The data of other applications are increased, are deleted, change operation;Broadcast all application programs can be sent extensively into system It broadcasts, and the application program for needing striding course to communicate can monitor these broadcast;Bind Service and Content Provider It is similar, also data in accessible other applications, but unlike, that Content Provider is returned is Cursor Object, and what bind Service was returned is Java object.
In one embodiment, described in the case where second application program launching, determine first application Whether there is interaction between program and second application program, later further include:
In the case where having interactive between first application program and second application program, judge that described first answers It whether is malice interaction with the interaction between program and second application program;
In the case that interaction between first application program and second application program is malice interaction, nullify Second application program.
In this embodiment, when determine the interaction between first application program and second application program for dislike When meaning interaction, second application program is directly nullified, avoids the interior of the second application program occupied terminal system of malice interaction It deposits, consumes the battery capacity of terminal.
In this embodiment, described to have interactive feelings between first application program and second application program Under condition, judge whether the interaction between first application program and second application program is that malice interaction includes:
In the case where having interactive between first application program and second application program, obtains described first and answer With the interaction data and frequency of interaction between program and second application program;
According to the interaction data and frequency of interaction between first application program and second application program, institute is judged State whether the interaction between the first application program and second application program is malice interaction.
Specifically, the interaction data and interaction according between first application program and second application program Frequency judges whether the interaction between first application program and second application program is that malice interaction includes:
If the interaction data is sky data and the frequency of interaction is fixed frequency, judge that described first applies journey Interaction between sequence and second application program is malice interaction.
Step S33, it in the case where between first application program and second application program without interaction, nullifies Second application program.
In the present embodiment, when determining between first application program and second application program without interaction, Second application program is nullified, the memory of the second application program occupied terminal system of malice interaction is avoided, consumes terminal Battery capacity.
In one embodiment, described not interacted between first application program and second application program In the case where, nullifying second application program includes:
In the case where between first application program and second application program without interaction, described first is recorded The time not interacted between application program and second application program;
The time not interacted between first application program and second application program is more than preset time In the case of, nullify second application program.
In this embodiment, when determine do not have between first application program and second application program interaction When time is more than preset time, second application program is nullified.It can be imaginable that, if within a preset time, It is interacted again between first application program and second application program, then continues to interact.
In one embodiment, described not interacted between first application program and second application program In the case where, second application program is nullified, before further include:
Obtain terminal current battery capacity or memory;
It is low in the current battery capacity of the terminal memory current lower than default battery power threshold or the terminal In the case where default memory threshold, execution is described not to hand between first application program and second application program Mutually in the case where, nullify second application program the step of.
In this embodiment, when judging current low battery or current memory deficiency, in order to save terminal Electricity, memory headroom, can between first application program and second application program without interaction when, nullify described the Two application programs save electricity, the memory of terminal with this.Wherein, the default battery power threshold and the default memory Threshold value can be set by system default, can also be not especially limited by user's manual setting, the present embodiment.
The power consumption management-control method of the embodiment of the present application provides service by the first application program launching for the first application program The second application program, without nullifying described second using journey when interaction between the first application program and the second application program Sequence;It solves in existing mobile terminal due to the mutual cruising ability for drawing influence mobile terminal between application program, leads to user The poor problem of experience effect;The power consumption for reducing terminal, improves user experience.
Second embodiment
As shown in figure 5, the application second embodiment provides a kind of terminal, the terminal includes memory 41, processor 42 And it is stored in the power consumption control program that can be run on the memory 41 and on the processor 42, the power consumption manages program When being executed by the processor 42, the step of for realizing power consumption management-control method as described below:
In the case where the operation of the first application program, starts and provide the second of service using journey for first application program Sequence;
In the case where second application program launching, first application program and second application program are determined Between whether have interaction;
In the case where between first application program and second application program without interaction, described second is nullified Application program.
When the power consumption control program is executed by the processor 42, it is also used to realize power consumption management-control method as described below The step of:
It is described in the case where second application program launching, determine first application program and it is described second application Whether interaction is had between program, later further include:
In the case where having interactive between first application program and second application program, judge that described first answers It whether is malice interaction with the interaction between program and second application program;
In the case that interaction between first application program and second application program is malice interaction, nullify Second application program.
When the power consumption control program is executed by the processor 42, it is also used to realize power consumption management-control method as described below The step of:
It is described in the case where have interactive between first application program and second application program, judge described Whether the interaction between one application program and second application program is that malice interaction includes:
In the case where having interactive between first application program and second application program, obtains described first and answer With the interaction data and frequency of interaction between program and second application program;
According to the interaction data and frequency of interaction between first application program and second application program, institute is judged State whether the interaction between the first application program and second application program is malice interaction.
When the power consumption control program is executed by the processor 42, it is also used to realize power consumption management-control method as described below The step of:
The interaction data and frequency of interaction according between first application program and second application program, sentences Whether the interaction between first application program and second application program of breaking is that malice interaction includes:
If the interaction data is sky data and the frequency of interaction is fixed frequency, judge that described first applies journey Interaction between sequence and second application program is malice interaction.
When the power consumption control program is executed by the processor 42, it is also used to realize power consumption management-control method as described below The step of:
In the case where described no interactive between first application program and second application program, described in cancellation Second application program, before further include:
Obtain terminal current battery capacity or memory;
It is low in the current battery capacity of the terminal memory current lower than default battery power threshold or the terminal In the case where default memory threshold, execution is described not to hand between first application program and second application program Mutually in the case where, nullify second application program the step of.
When the power consumption control program is executed by the processor 42, it is also used to realize power consumption management-control method as described below The step of:
In the case where described no interactive between first application program and second application program, described in cancellation Second application program includes:
In the case where between first application program and second application program without interaction, described first is recorded The time not interacted between application program and second application program;
The time not interacted between first application program and second application program is more than preset time In the case of, nullify second application program.
When the power consumption control program is executed by the processor 42, it is also used to realize power consumption management-control method as described below The step of:
It is described in the case where the operation of the first application program, start and provide the second of service for first application program and answer Include: with program
In the case where first application program operation, first application program is detected to second application program Call instruction;
In the case where detecting call instruction of first application program to second application program, described in acquisition The packet name of second application program;
Determine whether the packet name of second application program is in the white list of first application program;
In the case where in the white list that the packet name of second application program is in first application program, start institute State the second application program.
When the power consumption control program is executed by the processor 42, it is also used to realize power consumption management-control method as described below The step of:
Whether the packet name of determination second application program is in the white list of first application program, later Further include:
In the case where the packet name of second application program is not in the white list of first application program, forbid opening Move second application program.
The terminal of the embodiment of the present application is answered by the first application program launching for the first application program provides service second With program, second application program is nullified when no interaction between the first application program and the second application program;It solves Being drawn in existing mobile terminal due to mutual between application program influences the cruising ability of mobile terminal, cause user experience effect compared with The problem of difference;The power consumption for reducing terminal, improves user experience.
3rd embodiment
The application 3rd embodiment provides a kind of computer readable storage medium, deposits on the computer readable storage medium Power consumption control program is contained, for realizing power consumption pipe described in first embodiment when the power consumption control program is executed by processor The step of prosecutor method.
It should be noted that the computer readable storage medium of the present embodiment, belongs to same with the method for first embodiment Design, specific implementation process is shown in embodiment of the method in detail, and the technical characteristic in embodiment of the method is right in the present embodiment It should be applicable in, which is not described herein again.
The computer readable storage medium of the embodiment of the present application is that the first application program mentions by the first application program launching For the second application program of service, answered between the first application program and the second application program without nullifying described second when interaction Use program;It solves in existing mobile terminal due to the mutual cruising ability for drawing influence mobile terminal between application program, causes The poor problem of user experience effect;The power consumption for reducing terminal, improves user experience.
It will appreciated by the skilled person that whole or certain steps, system, dress in method disclosed hereinabove Functional module/unit in setting may be implemented as software, firmware, hardware and its combination appropriate.In hardware embodiment, Division between the functional module/unit referred in the above description not necessarily corresponds to the division of physical assemblies;For example, one Physical assemblies can have multiple functions or a function or step and can be executed by several physical assemblies cooperations.Certain objects Reason component or all physical assemblies may be implemented as by processor, such as central processing unit, digital signal processor or micro process The software that device executes, is perhaps implemented as hardware or is implemented as integrated circuit, such as specific integrated circuit.Such software Can be distributed on a computer-readable medium, computer-readable medium may include computer storage medium (or non-transitory be situated between Matter) and communication media (or fugitive medium).As known to a person of ordinary skill in the art, term computer storage medium includes In any method or skill for storing information (such as computer readable instructions, data structure, program module or other data) The volatile and non-volatile implemented in art, removable and nonremovable medium.Computer storage medium includes but is not limited to RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storages, magnetic Box, tape, disk storage or other magnetic memory apparatus or it can be used for storing desired information and can be visited by computer Any other medium asked.In addition, known to a person of ordinary skill in the art be, communication media generally comprises computer-readable Other numbers in the modulated data signal of instruction, data structure, program module or such as carrier wave or other transmission mechanisms etc According to, and may include any information delivery media.
Above by reference to Detailed description of the invention preferred embodiment of the present application, not thereby limit to the interest field of the application.This Field technical staff does not depart from made any modifications, equivalent replacements, and improvements in scope of the present application and essence, should all be at this Within the interest field of application.

Claims (10)

1. a kind of power consumption management-control method, this method is used for terminal, and the power consumption management-control method includes:
In the case where the operation of the first application program, starts and provide the second application program of service for first application program;
In the case where second application program launching, determine between first application program and second application program Whether interaction is had;
In the case where between first application program and second application program without interaction, second application is nullified Program.
2. power consumption management-control method according to claim 1, which is characterized in that described in second application program launching In the case of, determine between first application program and second application program whether there is interaction, later further include:
In the case where having interactive between first application program and second application program, judge that described first applies journey Whether the interaction between sequence and second application program is malice interaction;
In the case that interaction between first application program and second application program is malice interaction, described in cancellation Second application program.
3. power consumption management-control method according to claim 2, which is characterized in that described in first application program and described In the case where having interaction between second application program, the friendship between first application program and second application program is judged It whether is mutually that malice interaction includes:
In the case where having interactive between first application program and second application program, obtains described first and apply journey Interaction data and frequency of interaction between sequence and second application program;
According to the interaction data and frequency of interaction between first application program and second application program, described is judged Whether the interaction between one application program and second application program is malice interaction.
4. power consumption management-control method according to claim 3, which is characterized in that described according to first application program and institute The interaction data and frequency of interaction between the second application program are stated, judges first application program and second application program Between interaction whether be malice interaction include:
If the interaction data is sky data and the frequency of interaction is fixed frequency, judge first application program and Interaction between second application program is malice interaction.
5. power consumption management-control method according to claim 1, which is characterized in that described in first application program and described Between second application program in the case where no interaction, second application program is nullified, before further include:
Obtain terminal current battery capacity or memory;
In the current battery capacity of the terminal memory current lower than default battery power threshold or the terminal lower than pre- If in the case where memory threshold, there is no interaction described in execution between first application program and second application program In the case of, nullify second application program the step of.
6. power consumption management-control method according to claim 1, which is characterized in that described in first application program and described Between second application program in the case where no interaction, nullifying second application program includes:
In the case where between first application program and second application program without interaction, first application is recorded The time not interacted between program and second application program;
The case where time not interacted between first application program and second application program is more than preset time Under, nullify second application program.
7. power consumption management-control method according to claim 1, which is characterized in that described the case where the first application program is run Under, starting the second application program for providing service for first application program includes:
In the case where first application program operation, first application program is detected to the tune of second application program With instruction;
In the case where detecting call instruction of first application program to second application program, described second is obtained The packet name of application program;
Determine whether the packet name of second application program is in the white list of first application program;
In the case where in the white list that the packet name of second application program is in first application program, start described the Two application programs.
8. power consumption management-control method according to claim 7, which is characterized in that the packet of determination second application program Whether name is in the white list of first application program, later further include:
In the case where the packet name of second application program is not in the white list of first application program, No starting institute State the second application program.
9. a kind of terminal, which is characterized in that the terminal includes memory, handles and is stored on the memory and can be in institute The power consumption control program run on processor is stated, the power consumption control program realizes such as claim when being executed by the processor Described in any one of 1 to 8 the step of power consumption management-control method.
10. a kind of computer readable storage medium, which is characterized in that be stored with power consumption pipe on the computer readable storage medium Program is controlled, the power consumption control program realizes such as power consumption described in any item of the claim 1 to 8 when being executed by the processor The step of management-control method.
CN201910329918.3A 2019-04-23 2019-04-23 Power consumption management and control method, terminal and computer readable storage medium Active CN110087290B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910329918.3A CN110087290B (en) 2019-04-23 2019-04-23 Power consumption management and control method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910329918.3A CN110087290B (en) 2019-04-23 2019-04-23 Power consumption management and control method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110087290A true CN110087290A (en) 2019-08-02
CN110087290B CN110087290B (en) 2023-08-11

Family

ID=67416192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910329918.3A Active CN110087290B (en) 2019-04-23 2019-04-23 Power consumption management and control method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110087290B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114666874A (en) * 2020-12-22 2022-06-24 华为技术有限公司 Terminal device and application program interaction method, device and medium thereof

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107181700A (en) * 2017-07-19 2017-09-19 努比亚技术有限公司 Control method, mobile terminal and the storage medium of application program for mobile terminal
CN107734616A (en) * 2017-10-31 2018-02-23 广东欧珀移动通信有限公司 Closing application program method, apparatus, storage medium and electronic equipment
CN107831886A (en) * 2017-11-21 2018-03-23 广东欧珀移动通信有限公司 Association starts management-control method, device, storage medium and the intelligent terminal of application
CN107862203A (en) * 2017-11-21 2018-03-30 广东欧珀移动通信有限公司 Control method, device, storage medium and the terminal of application program
CN107861773A (en) * 2017-11-21 2018-03-30 广东欧珀移动通信有限公司 Associate management-control method, device, storage medium and the mobile terminal started
CN107944258A (en) * 2017-11-21 2018-04-20 广东欧珀移动通信有限公司 Start control method, device, storage medium and the terminal of application with method of service
CN107944277A (en) * 2017-11-21 2018-04-20 广东欧珀移动通信有限公司 Using the control method of startup, device, storage medium and intelligent terminal
CN107943650A (en) * 2017-11-21 2018-04-20 广东欧珀移动通信有限公司 Control method, device, storage medium and the terminal of application program

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107181700A (en) * 2017-07-19 2017-09-19 努比亚技术有限公司 Control method, mobile terminal and the storage medium of application program for mobile terminal
CN107734616A (en) * 2017-10-31 2018-02-23 广东欧珀移动通信有限公司 Closing application program method, apparatus, storage medium and electronic equipment
CN107831886A (en) * 2017-11-21 2018-03-23 广东欧珀移动通信有限公司 Association starts management-control method, device, storage medium and the intelligent terminal of application
CN107862203A (en) * 2017-11-21 2018-03-30 广东欧珀移动通信有限公司 Control method, device, storage medium and the terminal of application program
CN107861773A (en) * 2017-11-21 2018-03-30 广东欧珀移动通信有限公司 Associate management-control method, device, storage medium and the mobile terminal started
CN107944258A (en) * 2017-11-21 2018-04-20 广东欧珀移动通信有限公司 Start control method, device, storage medium and the terminal of application with method of service
CN107944277A (en) * 2017-11-21 2018-04-20 广东欧珀移动通信有限公司 Using the control method of startup, device, storage medium and intelligent terminal
CN107943650A (en) * 2017-11-21 2018-04-20 广东欧珀移动通信有限公司 Control method, device, storage medium and the terminal of application program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114666874A (en) * 2020-12-22 2022-06-24 华为技术有限公司 Terminal device and application program interaction method, device and medium thereof

Also Published As

Publication number Publication date
CN110087290B (en) 2023-08-11

Similar Documents

Publication Publication Date Title
CN108391025A (en) A kind of network access management method, mobile terminal and computer readable storage medium
CN109710135A (en) Split screen display available control method, terminal and computer readable storage medium
CN108282771A (en) A kind of network access management method, mobile terminal and computer readable storage medium
CN109684023A (en) Multi-screen display method, terminal and the storage medium of application program
CN109725866A (en) Application interface display methods, terminal and computer readable storage medium
CN109769067A (en) Terminal screen method for handover control, terminal and computer readable storage medium
CN109992183A (en) Preview picture and the method for selection, terminal and storage medium
CN109462700A (en) A kind of call method, mobile terminal and computer readable storage medium
CN108965602A (en) Application program display methods, mobile terminal and computer readable storage medium
CN110187808A (en) Dynamic wallpaper setting method, device and computer readable storage medium
CN110113779A (en) Test method, system, test platform, mobile terminal and the medium of eSIM card
CN109618049A (en) Terminal screen method for handover control, terminal and computer readable storage medium
CN110020386A (en) Application page sharing method, mobile terminal and computer readable storage medium
CN108776600A (en) Application program pretrigger method, mobile terminal and computer readable storage medium
CN108650399A (en) A kind of volume adjusting method, mobile terminal and computer readable storage medium
CN109348071A (en) Call-information display methods, terminal and computer readable storage medium
CN109729199A (en) Screen display method, terminal and computer readable storage medium
CN109788131A (en) Notification message processing method, terminal and computer readable storage medium
CN109445660A (en) A kind of wearable device control method, mobile terminal and wearable device
CN109889651A (en) A kind of notification message processing method, terminal and computer readable storage medium
CN108495302A (en) SIM card initializes accelerated method, mobile terminal and readable storage medium storing program for executing
CN109101301A (en) A kind of display control method, mobile terminal and computer readable storage medium
CN108776566A (en) A kind of method for information display, mobile terminal and computer readable storage medium
CN110392163A (en) Put out screen control method, mobile terminal and computer readable storage medium
CN110167004A (en) A kind of network registering method, mobile terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant