CN106648029B - A kind of power consumption management-control method and mobile terminal based on Push Service - Google Patents
A kind of power consumption management-control method and mobile terminal based on Push Service Download PDFInfo
- Publication number
- CN106648029B CN106648029B CN201611233609.9A CN201611233609A CN106648029B CN 106648029 B CN106648029 B CN 106648029B CN 201611233609 A CN201611233609 A CN 201611233609A CN 106648029 B CN106648029 B CN 106648029B
- Authority
- CN
- China
- Prior art keywords
- push
- push component
- component
- association
- unit
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/329—Power saving characterised by the action undertaken by task scheduling
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention discloses a kind of power consumption management-control method based on Push Service, comprising steps of obtaining the push component of application program after receiving the enabled instruction of application program;Detection push component whether there is affiliate application;If so, judging whether the association push component of affiliate application is of the same name with push component, if so, forbidding pushing component progress Push Service.The present invention also provides a kind of mobile terminals, comprising: push acquiring unit, for obtaining the push component of application program;Detection unit whether there is affiliate application for detecting push component;Judging unit of the same name, for judging that it is whether of the same name with push component that the association of affiliate application pushes component;Forbid unit, pushes component progress Push Service for forbidding.The present invention can effectively reduce the number of applications of running background, reduce number of ads, promote mobile phone cruising ability and user experience.
Description
Technical field
The present invention relates to field of terminal technology more particularly to a kind of power consumption management-control methods and movement based on Push Service eventually
End.
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.With people's being averaged using mobile phone
Duration is growing, and the duration performance of mobile phone becomes one affected user experience also increasingly by the concern of user
Key factor.Therefore, a kind of tactful solution for just becoming promotion mobile phone continuation of the journey on software view of power consumption control is designed.
Currently, influencing a major reason of mobile phone continuation of the journey is that wake source is more in mobile phone, and when mobile phone wakes up, have too
More background applications are being run, and there are Push Service (PushService), the mode of Push Service is for certain applications: an application
The PushService of program (App) is opened, it is meant that other application all may association starting.Worse, domestic backstage
Push Service provider is too many, their function has different emphasis, and some specializes in PUSH message, and what is had is available big
Data, some are also attached to advertisement.So many App will use the sdk of more companies, the PushService used due to App is not
Same, thus installation App it is more, the background service of unlatching is also more, electric quantity consumption it is also faster.
Summary of the invention
It is a primary object of the present invention to propose a kind of power consumption management-control method and mobile terminal based on Push Service, it is intended to
The background service opened is reduced, electric quantity consumption is reduced.
To achieve the above object, the present invention proposes a kind of power consumption management-control method based on Push Service, which is characterized in that institute
State method comprising steps of
After receiving the enabled instruction of application program, the push component of the application program is obtained;
The push component is detected with the presence or absence of affiliate application;
If so, judging whether the association push component of the affiliate application is of the same name with the push component;
If so, the push component is forbidden to carry out Push Service.
Optionally, before the detection push component whether there is affiliate application, the method also includes:
The push component is judged with the presence or absence of length connection, detects the push component with the presence or absence of pass if so, executing
The step of joining application program.
Optionally, the detection push component judges the associated application with the presence or absence of after affiliate application
Program association push component whether with the push component it is of the same name before, the method also includes:
The association push component of the affiliate application is judged with the presence or absence of long connection, if so, executing described in judgement
The association push component of affiliate application whether with push component step of the same name.
Optionally, after the association push component of the judgement affiliate application is with the presence or absence of long connection, judgement
The affiliate application association push component whether with the push component it is of the same name before, the method also includes: judge
Whether the network address of the long connection of the association push component is identical as the network address of the long connection of the push component;If so, holding
Row judge the affiliate application association push component whether with push component step of the same name.
Optionally, it is described forbid the push component to carry out Push Service after, the method also includes:
The application program or the push component and affiliate application are associated storage.
In addition, to achieve the above object, the present invention also provides a kind of mobile terminals characterized by comprising
Acquiring unit is pushed, for after receiving the enabled instruction of application program, obtaining the push of the application program
Component;
Detection unit, for detecting the push component with the presence or absence of affiliate application;
Judging unit of the same name judges the associated application journey if there are affiliate applications for the push component
Whether the association push component of sequence is of the same name with the push component;
Forbid unit, if the association for the affiliate application pushes component and the push component is of the same name, prohibits
Only the push component carries out Push Service.
It optionally, further include long connection judgment unit, for judging the push component with the presence or absence of long connection.
Optionally, the long connection judgment unit is also used to judge that the association push component of affiliate application whether there is
Long connection.
Optionally, the long connection judgment unit is also used to judge network address and the institute of the long connection of the association push component
Whether the network address for stating the long connection of push component is identical.
Optionally, further include associated storage unit, be used for the application program or the push component and associated application
Program is associated storage.
Power consumption management-control method and mobile terminal proposed by the present invention based on Push Service, by forbidding with associated application
The push component of program carries out Push Service, to reduce power consumption.
Detailed description of the invention
The hardware structural diagram of Fig. 1 mobile terminal of each embodiment to realize the present invention;
Fig. 2 is the process signal of one embodiment of the power consumption management-control method based on Push Service in the embodiment of the present invention
Figure;
Fig. 3 is another embodiment process signal of the power consumption management-control method based on Push Service in the embodiment of the present invention
Figure;
Fig. 4 is another embodiment process signal of the power consumption management-control method based on Push Service in the embodiment of the present invention
Figure;
Fig. 5 is another embodiment process signal of the power consumption management-control method based on Push Service in the embodiment of the present invention
Figure;
Fig. 6 is one embodiment structural schematic diagram of mobile terminal in the embodiment of the present invention;
Fig. 7 is another example structure schematic diagram of mobile terminal in the embodiment of the present invention;
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The mobile terminal of each embodiment of the present invention is realized in description with reference to the drawings.In subsequent description, use
For indicate element such as " module ", " component " or " unit " suffix only for being conducive to explanation of the invention, itself
There is no specific meanings.Therefore, " module " can be used mixedly with " component ".
Mobile terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as moving
Phone, smart phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP
The mobile terminal of (portable media player), navigation device etc. and such as number TV, desktop computer etc. are consolidated
Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that in addition to being used in particular for moving
Except the element of purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
The hardware structural diagram of Fig. 1 each embodiment one optional intelligent terminal to realize the present invention.
Intelligent terminal 100 may include wireless communication unit 110, A/V (audio/video) input unit 120, user's input
Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power supply unit 190
Etc..
Fig. 1 shows the mobile terminal 100 with various assemblies, it should be understood that being not required for implementing all show
Component out.More or fewer components can alternatively be implemented.The element of mobile terminal 100 will be discussed in more detail below.
Wireless communication unit 110 usually may include one or more components, allow mobile terminal 100 and wireless communication
Radio communication between system or network.For example, wireless communication unit 110 may include broadcasting reception module 111, move and lead to
Believe at least one of module 112, wireless Internet module 113, short range communication module 114 and location information module 115.
Broadcasting reception module 111 receives broadcast singal and/or broadcast from external broadcast management server via broadcast channel
Relevant information.Broadcast channel may include satellite channel and/or terrestrial channel.Broadcast management server, which can be, to be generated and sent
The broadcast singal and/or broadcast related information generated before the server or reception of broadcast singal and/or broadcast related information
And send it to the server of terminal.Broadcast singal may include TV broadcast singal, radio signals, data broadcasting
Signal etc..Moreover, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase
Closing information can also provide via mobile communications network, and in this case, broadcast related information can be by mobile communication mould
Block 112 receives.Broadcast singal can exist in a variety of manners, for example, it can be with the electronics of digital multimedia broadcasting (DMB)
Program guide (EPG), digital video broadcast-handheld (DVB-H) electronic service guidebooks (ESG) etc. form and exist.Broadcast
Receiving module 111 can receive signal broadcast by using various types of broadcast systems.Particularly, broadcasting reception module 111
It can be wide by using such as multimedia broadcasting-ground (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video
It broadcasts-holds (DVB-H), the Radio Data System of forward link media (MediaFLO@), received terrestrial digital broadcasting integrated service
(ISDB-T) etc. digit broadcasting system receives digital broadcasting.Broadcasting reception module 111, which may be constructed such that, to be adapted to provide for extensively
Broadcast the various broadcast systems and above-mentioned digit broadcasting system of signal.Via the received broadcast singal of broadcasting reception module 111 and/
Or broadcast related information can store in memory 160 (or other types of storage medium).
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal
And at least one of server and/or receive from it radio signal.Such radio signal may include that voice is logical
Talk about signal, video calling signal or according to text and/or Multimedia Message transmission and/or received various types of data.
The Wi-Fi (Wireless Internet Access) of the support mobile terminal of wireless Internet module 113.The module can be internally or externally
It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved in the module may include WLAN (Wireless LAN) (Wi-Fi), Wibro
(WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting short range communication.Some examples of short-range communication technology include indigo plant
Tooth TM, radio frequency identification (RFID), Infrared Data Association (IrDA), ultra wide band (UWB), purple honeybee TM etc..
Location information module 115 is the module for checking or obtaining the location information of mobile terminal.Location information module
115 typical case is GPS (global positioning system).According to current technology, GPS calculate from three or more satellites away from
From information and correct time information and for the Information application triangulation of calculating, thus according to longitude, latitude and height
Degree accurately calculates three-dimensional current location information.Currently, three satellites are used simultaneously for the method for calculating position and temporal information
And the error of calculated position and temporal information is corrected by using an other satellite.In addition, GPS can be by real-time
Ground Continuous plus current location information carrys out calculating speed information.
A/V input unit 120 is for receiving audio or video signal.A/V input unit 120 may include 121 He of camera
Microphone 122, camera 121 is to the static images obtained in video acquisition mode or image capture mode by image capture apparatus
Or the image data of video is handled.Treated, and picture frame may be displayed on display unit 151.It is handled through camera 121
Picture frame afterwards can store in memory 160 (or other storage mediums) or be sent out via wireless communication unit 110
It send, two or more cameras 121 can be provided according to the construction of mobile terminal 100.Microphone 122 can be in telephone relation mould
Sound (audio data) is received via microphone 122 in formula, logging mode, speech recognition mode etc. operational mode, and energy
It is enough audio data by such acoustic processing.Audio that treated (voice) data can be in the case where telephone calling model
Be converted to the format output that mobile communication base station can be sent to via mobile communication module 112.Microphone 122 can be implemented various
The noise of type is eliminated (or inhibition) algorithm and is made an uproar with eliminate that (or inhibition) generate during sending and receiving audio signal
Sound or interference.
The order that user input unit 130 can be inputted according to user generates key input data to control mobile terminal 100
Various operations.User input unit 130 allows user to input various types of information, and may include keyboard, metal dome,
Touch tablet (for example, the sensitive component of detection due to the variation of resistance, pressure, capacitor etc. caused by being contacted), shakes idler wheel
Bar etc..Particularly, when touch tablet is superimposed upon in the form of layer on display unit 151, touch screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 100, (for example, mobile terminal 100 opens or closes shape
State), the position of mobile terminal 100, user is for the presence or absence of contact (that is, touch input) of mobile terminal 100, mobile terminal
100 orientation, the acceleration or deceleration movement of mobile terminal 100 and direction etc., and generate for controlling mobile terminal 100
The order of operation or signal.For example, sensing unit 140 can sense when mobile terminal 100 is embodied as sliding-type mobile phone
The sliding-type phone is to open or close.In addition, sensing unit 140 be able to detect power supply unit 190 whether provide electric power or
Whether person's interface unit 170 couples with external device (ED).Sensing unit 140 may include proximity sensor 141.
Interface unit 170 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..Identification module can be storage and use each of mobile terminal 100 for verifying user
It plants information and may include subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM)
Etc..In addition, the device (hereinafter referred to as " identification device ") with identification module can take the form of smart card, therefore, know
Other device can be connect via port or other attachment devices with mobile terminal 100.Interface unit 170, which can be used for receiving, to be come from
The input (for example, data information, electric power etc.) of external device (ED) and the input received is transferred in mobile terminal 100
One or more elements can be used for transmitting data between mobile terminal 100 and external device (ED).
In addition, when mobile terminal 100 is connect with external base, interface unit 170 may be used as allowing will be electric by it
Power, which is provided from pedestal to the path or may be used as of mobile terminal 100, allows the various command signals inputted from pedestal to pass through it
It is transferred to the path of mobile terminal 100.The various command signals or electric power inputted from pedestal may be used as identification mobile terminal 100
The signal whether being accurately fitted on pedestal.Output unit 150 is configured to the offer of vision, audio and/or tactile manner
Output signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.).Output unit 150 may include showing
Show unit 151, audio output module 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information handled in mobile terminal 100.For example, when mobile terminal 100 is in electricity
When talking about call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia file
Downloading etc.) relevant user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling mode
Or when image capture mode, display unit 151 can show captured image and/or received image, show video or figure
Picture and the UI or GUI of correlation function etc..
Meanwhile when display unit 151 and touch tablet in the form of layer it is superposed on one another to form touch screen when, display unit
151 may be used as input unit and output device.Display unit 151 may include liquid crystal display (LCD), thin film transistor (TFT)
In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least
It is a kind of.Some in these displays may be constructed such that transparence to allow user to watch from outside, this is properly termed as transparent
Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific
Desired embodiment, mobile terminal 100 may include two or more display units (or other display devices), for example, moving
Dynamic terminal 100 may include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for detecting
Touch input pressure and touch input position and touch input area.
Audio output module 152 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
It is when under the isotypes such as formula, speech recognition mode, broadcast reception mode, wireless communication unit 110 is received or in memory
The audio data transducing audio signal and output stored in 160 is sound.Moreover, audio output module 152 can provide with
The relevant audio output of specific function that mobile terminal 100 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output module 152 may include loudspeaker, buzzer etc..
Alarm unit 153 can provide output notifying event to mobile terminal 100.Typical event can be with
Including calling reception, message sink, key signals input, touch input etc..Other than audio or video output, alarm unit
153 can provide output in different ways with the generation of notification event.For example, alarm unit 153 can be in the form of vibration
Output is provided, when receiving calling, message or some other entrance communications (incoming communication), alarm list
Member 153 can provide tactile output (that is, vibration) to notify to user.By providing such tactile output, even if
When the mobile phone of user is in the pocket of user, user also can recognize that the generation of various events.Alarm unit 153
The output of the generation of notification event can be provided via display unit 151 or audio output module 152.
Memory 160 can store the software program etc. of the processing and control operation that are executed by controller 180, Huo Zheke
Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And
And memory 160 can store about the vibrations of various modes and audio signal exported when touching and being applied to touch screen
Data.
Memory 160 may include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, more
Media card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random-access storage
Device (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory
(PROM), magnetic storage, disk, CD etc..Moreover, mobile terminal 100 can execute memory with by network connection
The network storage device of 160 store function cooperates.
The overall operation of the usually control mobile terminal of controller 180.For example, controller 180 executes and voice communication, data
Communication, video calling etc. relevant control and processing.In addition, controller 180 may include for reproducing (or playback) more matchmakers
The multi-media module 181 of volume data, multi-media module 181 can construct in controller 180, or can be structured as and control
Device 180 separates.Controller 180 can be with execution pattern identifying processing, by the handwriting input executed on the touchscreen or picture
It draws input and is identified as character or image.
Power supply unit 190 receives external power or internal power under the control of controller 180 and provides operation each member
Electric power appropriate needed for part and component.
Various embodiments described herein can be to use the calculating of such as computer software, hardware or any combination thereof
Machine readable medium is implemented.Hardware is implemented, embodiment described herein can be by using application-specific IC
(ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can
Programming gate array (FPGA), controller, microcontroller, microprocessor, is designed to execute function described herein processor
At least one of electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180.
For software implementation, the embodiment of such as process or function can with allow to execute the individual of at least one functions or operations
Software module is implemented.Software code can by the software application (or program) write with any programming language appropriate Lai
Implement, software code can store in memory 160 and be executed by controller 180.
So far, oneself is through describing mobile terminal 100 according to its function.In addition, the mobile terminal 100 in the embodiment of the present invention
It can be such as folded form, board-type, oscillating-type, sliding-type and other various types of mobile terminals, do not do herein specifically
It limits.
Based on above-mentioned mobile terminal hardware configuration, each embodiment of the method for the present invention is proposed.
As shown in Fig. 2, first embodiment of the invention provides a kind of power consumption management-control method based on Push Service, including step
It is rapid:
S201, beginning;
S202, after receiving the enabled instruction of application program, obtain the push component of the application program;
S203, the detection push component whether there is affiliate application;If so, entering step S204;If it is not, then
As shown in step S206, terminate process;
When affiliate application in the present invention refers to that the push component carries out Push Service, answering for association starting will do it
Use program;
S204, judge whether the association push component of the affiliate application is of the same name with the push component, if so,
Enter step S205;If it is not, terminating process then as shown in step S206;
S205, the push component is forbidden to carry out Push Service.
In another embodiment of the invention, after step S205, further includes: by the application program or the push
Component and affiliate application are associated storage;In this way, can be in step S203, S204 quickly using the data of storage
Obtain judging result or testing result.
As shown in figure 3, second embodiment of the invention provides a kind of power consumption management-control method based on Push Service, including step
It is rapid:
S301, beginning;
S302, after receiving the enabled instruction of application program, obtain the push component of the application program;
S303, judge that the push component with the presence or absence of long connection, then enters step S304;If it is not, then such as step S307
It is shown, terminate process;
S304, the detection push component whether there is affiliate application;If so, entering step S305;If it is not, then
As shown in step S307, terminate process;
S305, judge whether the association push component of the affiliate application is of the same name with the push component, if so,
Enter step S306;If it is not, terminating process then as shown in step S307;
S306, the push component is forbidden to carry out Push Service.
In another embodiment of the invention, after step S306, further includes: by the application program or the push
Component and affiliate application are associated storage;In this way, using storage data can step S303 into S305 faster
Ground obtains judging result or testing result.
As shown in figure 4, third embodiment of the invention provides a kind of power consumption management-control method based on Push Service, including step
It is rapid:
S401, beginning;
S402, after receiving the enabled instruction of application program, the push component of the application program is obtained;
S403, judge that the push component with the presence or absence of long connection, then enters step S404;If it is not, then such as step S408
It is shown, terminate process;
S404, the detection push component whether there is affiliate application;If so, entering step S405;If it is not, then
As denoted in step 408, terminate process;
S405, judge the association push component of the affiliate application with the presence or absence of long connection;If so, entering step
S406;If it is not, then as denoted in step 408, terminating process;
S406, judge whether the association push component of the affiliate application is of the same name with the push component, if so,
Enter step S407;If it is not, terminating process then as shown in step S408;
S407, the push component is forbidden to carry out Push Service.
In another embodiment of the invention, after step S407, further includes: by the application program or the push
Component and affiliate application are associated storage;In this way, using storage data can step S403 into S406 faster
Ground obtains judging result or testing result.
As shown in figure 5, fourth embodiment of the invention provides a kind of power consumption management-control method based on Push Service, including step
It is rapid:
S501, beginning;
S502, after receiving the enabled instruction of application program, the push component of the application program is obtained;
S503, judge that the push component with the presence or absence of long connection, then enters step S504;If it is not, then such as step S509
It is shown, terminate process;
S504, the detection push component whether there is affiliate application;If so, entering step S505;If it is not, then
As shown in step S509, terminate process;
S505, judge the association push component of the affiliate application with the presence or absence of long connection;If so, entering step
S506;If it is not, terminating process then as shown in step S509;
S506, the network address for judging the long connection of network address and the push component that the length of the association push component connects are
It is no identical;If so, entering step S507;If it is not, terminating process then as shown in step S509;
S507, judge whether the association push component of the affiliate application is of the same name with the push component, if so,
Enter step S508;If it is not, terminating process then as shown in step S509;
S508, the push component is forbidden to carry out Push Service.
In another embodiment of the invention, after step s 508, further includes: by the application program or the push
Component and affiliate application are associated storage;In this way, using storage data can step S503 into S507 faster
Ground obtains judging result or testing result.
The power consumption management-control method based on Push Service in the embodiment of the present invention is described above, below to this hair
Mobile terminal in bright embodiment is described.
As shown in fig. 6, fifth embodiment of the invention proposes a kind of mobile terminal, including push acquiring unit 10, detection list
Member 20, forbids unit 40 at judging unit of the same name 30.
Wherein, push acquiring unit 10 is used for after receiving the enabled instruction of application program, obtains the application program
Push component;Detection unit 20 is for detecting the push component with the presence or absence of affiliate application;Judging unit 30 of the same name
If for the push component there are affiliate application, judge the affiliate application association push component whether with
The push component is of the same name;If forbidding unit 40 for the association push component of the affiliate application and the push component
It is of the same name, then forbid the push component to carry out Push Service.
It in another embodiment of the invention, further include associated storage unit, for by the application program or described pushing away
Sending component and affiliate application are associated storage.In this way, detection can be made single using the data that associated storage unit stores
Member 20, judging unit of the same name 30 quickly obtain judging result or testing result.
As shown in fig. 7, sixth embodiment of the invention proposes a kind of mobile terminal, including push acquiring unit 10, detection list
Member 20, forbids unit 40, long connection judgment unit 50 at judging unit of the same name 30.
Push acquiring unit 10, detection unit 20, judging unit of the same name 30 in the present embodiment, forbid unit 40 with it is above-mentioned
Push acquiring unit 10, detection unit 20 in 5th embodiment, forbid unit 40 identical at judging unit of the same name 30, specifically such as
Upper described, details are not described herein again.
It should be noted that the long connection judgment unit 50 in the present embodiment is for judging that the push component whether there is
Long connection.If detection unit 20, which is specifically used for the push component, has long connection, detecting the push component whether there is
Affiliate application.
It in another embodiment of the invention, further include associated storage unit, for by the application program or described pushing away
Sending component and affiliate application are associated storage.In this way, detection can be made single using the data that associated storage unit stores
Member 20, judging unit of the same name 30, long connection judgment unit 50 quickly obtain judging result or testing result.
Seventh embodiment of the invention proposes a kind of mobile terminal, including push acquiring unit 10, detection unit 20, of the same name sentences
Disconnected unit 30 forbids unit 40, long connection judgment unit 50.
Push acquiring unit 10, detection unit 20, judging unit of the same name 30 in the present embodiment forbid unit 40, long connect
Connect judging unit 50 in above-mentioned sixth embodiment push acquiring unit 10, detection unit 20, judging unit of the same name 30, forbid
Unit 40, long connection judgment unit 50 are identical, and as detailed above, details are not described herein again.
It should be noted that long connection judgment unit 50 is also used to judge the association of affiliate application in the present embodiment
Component is pushed with the presence or absence of long connection.If judging unit 30 of the same name be specifically used for the push component there are affiliate application and
There is long connection in the association push component of affiliate application, then judge whether the association of the affiliate application pushes component
It is of the same name with the push component.
Eighth embodiment of the invention proposes a kind of mobile terminal, including push acquiring unit 10, detection unit 20, of the same name sentences
Disconnected unit 30 forbids unit 40, long connection judgment unit 50.
Push acquiring unit 10, detection unit 20, judging unit of the same name 30 in the present embodiment forbid unit 40, long connect
Connect judging unit 50 in above-mentioned 7th embodiment push acquiring unit 10, detection unit 20, judging unit of the same name 30, forbid
Unit 40, long connection judgment unit 50 are identical, and as detailed above, details are not described herein again.
It should be noted that long connection judgment unit 50 is also used to judge the association push component in the present embodiment
Whether the network address of long connection is identical as the network address of the long connection of the push component.If judging unit 30 of the same name is specifically used for described
Component is pushed there are affiliate application, the association push component of affiliate application has long connection and the association push group
The network address of the long connection of part is identical as the network address of long connection of the push component, then judges the association of the affiliate application
Whether of the same name with the push component push component.
It in another embodiment of the invention, further include associated storage unit, for by the application program or described pushing away
Sending component and affiliate application are associated storage.In this way, detection can be made single using the data that associated storage unit stores
Member 20, judging unit of the same name 30, long connection judgment unit 50 quickly obtain judging result or testing result.
Power consumption management-control method and mobile terminal provided by the invention based on Push Service, by forbid meeting condition
Tripartite's application starting push component prevents in terminal to prevent power consumption from being associated with starting using the application program of same push component
With Caton problem, moreover it is possible to prevent to influence system suspend mode due to long connection is established on backstage because pushing component;The present invention can effectively reduce
The number of applications of running background reduces number of ads, promotes mobile phone cruising ability and user experience.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes
Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (8)
1. a kind of power consumption management-control method based on Push Service, which is characterized in that the method includes the steps:
After receiving the enabled instruction of application program, the push component of the application program is obtained;
Judge the push component with the presence or absence of long connection;
When the push component has long connection, detecting the push component whether there is affiliate application;
If so, judging whether the association push component of the affiliate application is of the same name with the push component;
If so, the push component is forbidden to carry out Push Service.
2. the power consumption management-control method based on Push Service according to claim 1, which is characterized in that the detection push
Component whether there is affiliate application after, judge the affiliate application association push component whether with the push
Before component is of the same name, the method also includes:
Judge that the association push component of the affiliate application with the presence or absence of long connection, judges the association if so, executing
The association push component of application program whether with push component step of the same name.
3. the power consumption management-control method based on Push Service according to claim 2, which is characterized in that the judgement association
After the association push component of application program is with the presence or absence of long connection, judge that the association push component of the affiliate application is
Before the no and push component is of the same name, the method also includes:
Judge whether the network address of the long connection of the association push component is identical as the network address of the long connection of the push component;If
Be then execute judge the affiliate application association push component whether with push component step of the same name.
4. the power consumption management-control method based on Push Service according to claim 1, which is characterized in that described to forbid the push
After component carries out Push Service, the method also includes:
The application program or the push component and affiliate application are associated storage.
5. a kind of mobile terminal characterized by comprising
Acquiring unit is pushed, for after receiving the enabled instruction of application program, obtaining the push component of the application program;
Long connection judgment unit, for judging the push component with the presence or absence of long connection;
Detection unit, for when the push component has long connection, detecting the push component to whether there is associated application
Program;
Judging unit of the same name judges the affiliate application if there are affiliate applications for the push component
Whether association push component is of the same name with the push component;
Forbid unit, if the association for the affiliate application pushes component and the push component is of the same name, forbids institute
It states push component and carries out Push Service.
6. mobile terminal according to claim 5, which is characterized in that the long connection judgment unit is also used to judge that association is answered
With the association push component of program with the presence or absence of long connection.
7. mobile terminal according to claim 6, which is characterized in that the long connection judgment unit is also used to judge the pass
Whether the network address of the long connection of connection push component is identical as the network address of the long connection of the push component.
8. mobile terminal according to claim 5, which is characterized in that further include associated storage unit, be used for the application
Program or the push component and affiliate application are associated storage.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611233609.9A CN106648029B (en) | 2016-12-28 | 2016-12-28 | A kind of power consumption management-control method and mobile terminal based on Push Service |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611233609.9A CN106648029B (en) | 2016-12-28 | 2016-12-28 | A kind of power consumption management-control method and mobile terminal based on Push Service |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106648029A CN106648029A (en) | 2017-05-10 |
CN106648029B true CN106648029B (en) | 2019-10-08 |
Family
ID=58833050
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611233609.9A Active CN106648029B (en) | 2016-12-28 | 2016-12-28 | A kind of power consumption management-control method and mobile terminal based on Push Service |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106648029B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107343311A (en) * | 2017-06-19 | 2017-11-10 | 北京小米移动软件有限公司 | Push control method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103034516A (en) * | 2012-12-13 | 2013-04-10 | 东莞宇龙通信科技有限公司 | Terminal and method for opening application program |
CN103716286A (en) * | 2012-09-29 | 2014-04-09 | 联想(北京)有限公司 | Advertisement intercepting method and electronic equipment |
CN105162838A (en) * | 2015-07-30 | 2015-12-16 | 青岛海尔智能家电科技有限公司 | Message pushing method, and method and device for receiving pushed message |
CN105978788A (en) * | 2016-04-27 | 2016-09-28 | 努比亚技术有限公司 | Message pushing device and method thereof |
CN106022103A (en) * | 2016-05-18 | 2016-10-12 | 广东欧珀移动通信有限公司 | Method and apparatus for preventing application from being started through pushing platform component |
CN106203075A (en) * | 2016-07-19 | 2016-12-07 | 北京珠穆朗玛移动通信有限公司 | A kind of method and device preventing application program from waking up up mutually |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9256484B2 (en) * | 2013-06-09 | 2016-02-09 | Apple Inc. | Dynamic adjustment of mobile device based on user activity |
-
2016
- 2016-12-28 CN CN201611233609.9A patent/CN106648029B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103716286A (en) * | 2012-09-29 | 2014-04-09 | 联想(北京)有限公司 | Advertisement intercepting method and electronic equipment |
CN103034516A (en) * | 2012-12-13 | 2013-04-10 | 东莞宇龙通信科技有限公司 | Terminal and method for opening application program |
CN105162838A (en) * | 2015-07-30 | 2015-12-16 | 青岛海尔智能家电科技有限公司 | Message pushing method, and method and device for receiving pushed message |
CN105978788A (en) * | 2016-04-27 | 2016-09-28 | 努比亚技术有限公司 | Message pushing device and method thereof |
CN106022103A (en) * | 2016-05-18 | 2016-10-12 | 广东欧珀移动通信有限公司 | Method and apparatus for preventing application from being started through pushing platform component |
CN106203075A (en) * | 2016-07-19 | 2016-12-07 | 北京珠穆朗玛移动通信有限公司 | A kind of method and device preventing application program from waking up up mutually |
Non-Patent Citations (1)
Title |
---|
"基于Push通道客户端的智能心跳机制研究与优化";张雷等;《工业控制计算机》;20130125;第82-84页 * |
Also Published As
Publication number | Publication date |
---|---|
CN106648029A (en) | 2017-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105100476B (en) | A kind of mobile terminal unlocking device and method | |
CN105933544B (en) | Screenshotss method and mobile terminal | |
CN104850443B (en) | A kind of method and mobile terminal for closing error starting application program | |
CN105099870B (en) | A kind of information push method and device | |
CN106655358B (en) | Battery charge controller and method between a kind of mobile terminal | |
CN105208211B (en) | A kind of privacy protection device, method and mobile terminal | |
CN104917879B (en) | A kind of method, device and mobile terminal for cancelling alarm clock calling | |
CN105306457B (en) | Data buffer storage device and method | |
CN106941443A (en) | One population historical record checks terminal and method | |
CN104881346B (en) | The detection method and device of a kind of mobile terminal and its application program power consumption | |
CN105138400B (en) | Application program self-starting management method and device | |
CN105897995B (en) | A kind of method and apparatus for adding contact information | |
CN105278995B (en) | Management method, system, server and the mobile terminal of application program | |
CN106850976B (en) | Using update method and terminal | |
CN106888317B (en) | A kind of interaction processing method, device and terminal | |
CN105939517B (en) | A kind of method and apparatus preventing mobile terminal access pseudo-base station | |
CN107122186A (en) | The management method and managing device of suspended window | |
CN105764085A (en) | Abnormal electricity consumption detection method and terminal | |
CN105049582B (en) | A kind of save set of calling record, method and display methods | |
CN104735254B (en) | terminal screen locking method and system | |
CN106911486B (en) | A kind of message push processing method, apparatus and system | |
CN106412328B (en) | A kind of method and apparatus obtaining field feedback | |
CN105187621B (en) | The method, apparatus and terminal of message notifying | |
CN106447595A (en) | Distributed image and graph rendering method and terminal | |
CN104883454B (en) | A kind of display control method and display control 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |