CN106648029A - Push service-based power consumption control method and mobile terminal - Google Patents

Push service-based power consumption control method and mobile terminal Download PDF

Info

Publication number
CN106648029A
CN106648029A CN201611233609.9A CN201611233609A CN106648029A CN 106648029 A CN106648029 A CN 106648029A CN 201611233609 A CN201611233609 A CN 201611233609A CN 106648029 A CN106648029 A CN 106648029A
Authority
CN
China
Prior art keywords
push
component
unit
association
mobile terminal
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
CN201611233609.9A
Other languages
Chinese (zh)
Other versions
CN106648029B (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 CN201611233609.9A priority Critical patent/CN106648029B/en
Publication of CN106648029A publication Critical patent/CN106648029A/en
Application granted granted Critical
Publication of CN106648029B publication Critical patent/CN106648029B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power 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 invention discloses a push service-based power consumption control method. The method comprises the following steps of after a starting instruction of an application program is received, obtaining a push assembly of the application program; detecting whether the push assembly has an associated application program or not; if the detection result is positive, judging whether an associated push assembly of the associated application program is same as the push assembly in the aspect of name; and if the judging result is positive, forbidding the push assembly to carry out the push service. The invention furthermore provides a mobile terminal. The mobile terminal comprises a push obtaining unit, a detection unit, a same name judging unit and a forbidding unit, wherein the push obtaining unit is used for obtaining the push assembly of the application program; the detection unit is used for detecting whether the detection assembly has the associated application program; the same name judging unit is used for judging whether the associated push assembly of the associated application program is same as the push assembly in the aspect of name; and the forbidding unit is used for forbidding the push assembly to carry out the push service. According to the method and the mobile terminal, the quantity of the applications running in the background can be effectively decreased, the quantity of advertisement can be decreased, and the cruising power and user experience of mobile phones can be enhanced.

Description

A kind of power consumption management-control method and mobile terminal based on Push Service
Technical field
The present invention relates to field of terminal technology, more particularly to a kind of power consumption management-control method and movement based on Push Service is eventually End.
Background technology
As popularization, popularization and the development of mobile terminal, its function are more and more, performance is more and more stronger, and experience is increasingly It is abundant, it is that the life of people brings great convenience, make people increasingly be unable to do without it.As people use the average of mobile phone Duration is growing, and the duration performance of mobile phone is also increasingly paid close attention to by user, and becoming affects of user experience Key factor.Therefore, designing a kind of power consumption management and control strategy just becomes the solution that mobile phone continuation of the journey is lifted on software view.
At present, a major reason for affecting mobile phone continuation of the journey is that wake source is more in mobile phone, and during mobile phone wake-up, is had too In operation, there is Push Service (PushService) in some applications to many background applications, the pattern of Push Service is:One application The PushService of program (App) is opened, it is meant that other application all may association startup.Worse, domestic backstage Push Service provider is too many, and their function has different emphasis, and what is had specializes in PUSH message, and can obtaining for having is big Data, what is had also attaches advertisement.So many App can use the sdk of many companies, the PushService used due to App is not Same, thus install App it is more, the background service of unlatching is also more, electric quantity consumption it is also faster.
The content of the invention
Present invention is primarily targeted at proposing 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.
For achieving the above object, the present invention proposes a kind of power consumption management-control method based on Push Service, it is characterised in that institute Method is stated including step:
After the enabled instruction for receiving application program, the push component of the application program is obtained;
The detection push component whether there is affiliate application;
If so, then judge whether the association push component of the affiliate application is of the same name with the push component;
If so, the push component is then forbidden to carry out Push Service.
Alternatively, with the presence or absence of before affiliate application, methods described also includes the detection push component:
Judge that the push component whether there is long connection, component is if so, then pushed described in perform detection with the presence or absence of pass The step of connection application program.
Alternatively, the detection push component judges the associated application with the presence or absence of after affiliate application Before whether the association push component of program is of the same name with the push component, methods described also includes:
The association for judging the affiliate application pushes component with the presence or absence of long connection, if so, then performs and judges described The association of affiliate application pushes component step whether of the same name with the push component.
Alternatively, after the association for judging the affiliate application pushes component with the presence or absence of long connection, judge Before whether the association push component of the affiliate application is of the same name with the push component, methods described also includes:Judge Whether the network address that the association pushes the long connection of component is identical with the network address that the length of the push component is connected;If so, then hold Row judges that the association of the affiliate application pushes whether component pushes component step of the same name with described.
Alternatively, described to forbid the push component to carry out after Push Service, methods described also includes:
The application program or the push component are associated into storage with affiliate application.
Additionally, for achieving the above object, the present invention also provides a kind of mobile terminal, it is characterised in that include:
Acquiring unit is pushed, for after the enabled instruction for receiving application program, obtaining the push of the application program Component;
Detector unit, for detecting that the push component whether there is affiliate application;
Judging unit of the same name, if there is affiliate application for the push component, judges the associated application journey Whether the association of sequence pushes component of the same name with the push component;
Forbid unit, if the association push component for the affiliate application is of the same name with the push component, prohibit Only the push component carries out Push Service.
Alternatively, also including long connection judgment unit, for judging the push component with the presence or absence of long connection.
Alternatively, the long connection judgment unit is additionally operable to judge that the association of affiliate application pushes component and whether there is Long connection.
Alternatively, the long connection judgment unit is additionally operable to judge the network address of the long connection that the association pushes component and institute Whether the network address for stating the long connection for pushing component is identical.
Alternatively, also including associated storage unit, for by the application program or the push component and associated application Program is associated storage.
Power consumption management-control method and mobile terminal based on Push Service proposed by the present invention, by forbidding with associated application The push component of program carries out Push Service, so as to reduce power consumption.
Description of the drawings
Fig. 1 is the hardware architecture diagram of the mobile terminal for realizing each embodiment of the invention;
Fig. 2 is that the flow process of one embodiment of the power consumption management-control method in the embodiment of the present invention based on Push Service is illustrated Figure;
Fig. 3 is that another embodiment flow process of the power consumption management-control method in the embodiment of the present invention based on Push Service is illustrated Figure;
Fig. 4 is that another embodiment flow process of the power consumption management-control method in the embodiment of the present invention based on Push Service is illustrated Figure;
Fig. 5 is that another embodiment flow process of the power consumption management-control method in the embodiment of the present invention based on Push Service is illustrated Figure;
Fig. 6 is one embodiment structural representation 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 realization of the object of the invention, functional characteristics and advantage will be described further referring to the drawings in conjunction with the embodiments.
Specific embodiment
It should be appreciated that specific embodiment described herein is not intended to limit the present invention only to explain the present invention.
The mobile terminal of each embodiment of the invention is realized referring now to Description of Drawings.In follow-up description, use For represent element such as " module ", " part " or " unit " suffix only for be conducive to the present invention explanation, itself Not specific meaning.Therefore, " module " can be used mixedly with " part ".
Mobile terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as moving Phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP The mobile terminal of (portable media player), guider etc. and such as numeral 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, except being used in particular for movement Outside the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is the hardware architecture diagram for realizing the optional intelligent terminal of each embodiment one of the invention.
Intelligent terminal 100 can include wireless communication unit 110, A/V (audio/video) input block 120, user input Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power subsystem 190 Etc..
Fig. 1 shows the mobile terminal 1 00 with various assemblies, it should be understood that being not required for implementing all showing The component for going out.More or less of component can alternatively be implemented.Will be discussed in more detail below the element of mobile terminal 1 00.
Wireless communication unit 110 can generally include one or more assemblies, and it allows mobile terminal 1 00 and radio communication Radio communication between system or network.For example, wireless communication unit 110 can include that broadcasting reception module 111, movement are logical At least one of letter 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 via broadcast channel from external broadcast management server Relevant information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast management server can be generated and sent The broadcast singal generated before the server or reception of broadcast singal and/or broadcast related information and/or broadcast related information And send it to the server of terminal.Broadcast singal can include TV broadcast singals, radio signals, data broadcasting Signal etc..And, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase Pass information can also be provided via mobile communications network, and in this case, broadcast related information can be by mobile communication mould Block 112 is receiving.Broadcast singal can be present in a variety of manners, and for example, it can be with the electronics of DMB (DMB) The form of program guide (EPG), the electronic service guidebooks (ESG) of digital video broadcast-handheld (DVB-H) etc. and exist.Broadcast Receiver module 111 can receive signal broadcast by using various types of broadcast systems.Especially, broadcasting reception module 111 Can be wide by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video Broadcast-hand-held (DVB-H), Radio Data System, the received terrestrial digital broadcasting integrated service of forward link media (MediaFLO@) Etc. (ISDB-T) digit broadcasting system receives digital broadcasting.Broadcasting reception module 111 may be constructed such that and be adapted to provide for extensively Broadcast the various broadcast systems and above-mentioned digit broadcasting system of signal.Via broadcasting reception module 111 receive broadcast singal and/ Or broadcast related information can be stored 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 can be logical including voice Words signal, video calling signal or the various types of data for sending and/or receiving according to text and/or Multimedia Message.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.The module can be internally or externally It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by the module can include WLAN (WLAN) (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 junction service.Some examples of short-range communication technology include indigo plant Tooth TM, RF identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB), purple honeybee TM etc..
Location information module 115 is the module for checking or obtaining the positional 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 for calculating, so as to according to longitude, latitude and height Degree calculates exactly three-dimensional current location information.Currently, the method for calculating position and temporal information uses three satellites simultaneously And the error of the position and temporal information for calculating is corrected by using an other satellite.Additionally, GPS can be by real-time Ground Continuous plus current location information carrys out calculating speed information.
A/V input blocks 120 are used to receive audio or video signal.A/V input blocks 120 can include the He of camera 121 Microphone 122, the static images that 121 pairs, camera is obtained in Video Capture pattern or image capture mode by image capture apparatus Or the view data of video is processed.Picture frame after process may be displayed on display unit 151.Jing cameras 121 are processed Picture frame afterwards can be stored in memory 160 (or other storage mediums) or carry out sending out via wireless communication unit 110 Send, two or more cameras 121 can be provided according to the construction of mobile terminal 1 00.Microphone 122 can be in telephone relation mould Sound (voice data), and energy are received in formula, logging mode, speech recognition mode etc. operational mode via microphone 122 Enough is voice data by such acoustic processing.Audio frequency (voice) data after process can be in the case of telephone calling model Being converted to can be sent to the form output of mobile communication base station via mobile communication module 112.Microphone 122 can be implemented various The noise of type eliminates (or suppression) algorithm and is being received and making an uproar of producing during sending audio signal with eliminating (or suppression) Sound or interference.
User input unit 130 can generate key input data to control mobile terminal 1 00 according to the order of user input Various operations.User input unit 130 allows the various types of information of user input, and can include keyboard, metal dome, Touch pad (for example, detection is due to the sensitive component of the change of touched and caused resistance, pressure, electric capacity etc.), roller, shake Bar etc..Especially, when touch pad 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 1 00, and (for example, mobile terminal 1 00 opens or closes shape State), the presence or absence of contact (that is, touch input), the mobile terminal of the position of mobile terminal 1 00, user for mobile terminal 1 00 100 orientation, the acceleration or deceleration movement of mobile terminal 1 00 and direction etc., and generate for controlling mobile terminal 1 00 The order of operation or signal.For example, when mobile terminal 1 00 is embodied as sliding-type mobile phone, sensing unit 140 can be sensed The sliding-type phone is opened or closed.In addition, sensing unit 140 can detect power subsystem 190 whether provide electric power or Whether person's interface unit 170 couples with external device (ED).Sensing unit 140 can include proximity transducer 141.
Interface unit 170 is connected the interface that can pass through with mobile terminal 1 00 as at least one external device (ED).For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port for device of the connection with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Identification module can be that storage uses each of mobile terminal 1 00 for verifying user Kind of information and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) can be included Etc..In addition, the device (hereinafter referred to as " identifying device ") with identification module can take the form of smart card, therefore, know Other device can be connected via port or other attachment means with mobile terminal 1 00.Interface unit 170 can be used for receive from The input (for example, data message, electric power etc.) of external device (ED) and the input for receiving is transferred in mobile terminal 1 00 One or more elements can be used for the transmission data between mobile terminal 1 00 and external device (ED).
In addition, when mobile terminal 1 00 is connected with external base, interface unit 170 can serve as allowing to pass through it by electricity Power from base provide to mobile terminal 1 00 path or can serve as allow from base be input into various command signals pass through its It is transferred to the path of mobile terminal 1 00.Can serve as recognizing mobile terminal 1 00 from the various command signals or electric power of base input The signal whether being accurately fitted within base.Output unit 150 is configured to the offer of vision, audio frequency and/or tactile manner Output signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.).Output unit 150 can include aobvious Show unit 151, dio Output Modules 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information processed in mobile terminal 1 00.For example, when mobile terminal 1 00 is in electricity During words call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia files Download etc.) related user interface (UI) or graphic user interface (GUI).When mobile terminal 1 00 is in video calling pattern Or during image capture mode, display unit 151 can show the image of capture and/or the image of reception, illustrate video or figure UI or GUI of picture and correlation function etc..
Meanwhile, when the display unit 151 and touch pad touch-screen with formation superposed on one another in the form of layer, display unit 151 can serve as input unit and output device.Display unit 151 can 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 from outside viewing, and 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 The embodiment wanted, mobile terminal 1 00 can include two or more display units (or other display devices), for example, move Dynamic terminal 100 can include outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used to detect Touch input pressure and touch input position and touch input area.
Dio Output Modules 152 can be in mobile terminal 1 00 in call signal reception pattern, call mode, record mould It is that wireless communication unit 110 is received or in memory when under the isotypes such as formula, speech recognition mode, broadcast reception mode In 160 store voice data transducing audio signal and be output as sound.And, dio Output Modules 152 can provide with (for example, call signal receives sound, message sink sound etc. to the audio output of the specific function correlation that mobile terminal 1 00 is performed Deng).Dio Output Modules 152 can include loudspeaker, buzzer etc..
Alarm unit 153 can provide output so that event is notified to mobile terminal 1 00.Typical event can be with Including calling reception, message sink, key signals input, touch input etc..In addition to audio or video is exported, alarm unit 153 can in a different manner provide output with the generation of notification event.For example, alarm unit 153 can be in the form of vibrating Output is provided, when calling, message or some other entrance communication (incoming communication) are received, alarm list Unit 153 can provide tactile output (that is, vibrating) 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 dio Output Modules 152.
Memory 160 can store software program for the process and control operation performed by controller 180 etc., Huo Zheke With the data (for example, telephone directory, message, still image, video etc.) for temporarily storing own Jing outputs or will export.And And, memory 160 can be storing the vibration of various modes with regard to exporting when touching and being applied to touch-screen and audio signal Data.
Memory 160 can include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, many Media card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), static random-access storage Device (SRAM), read-only storage (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..And, mobile terminal 1 00 can perform memory with by network connection The network storage device cooperation of 160 store function.
The overall operation of the generally control mobile terminal of controller 180.For example, controller 180 is performed and voice call, data The related control of communication, video calling etc. and process.In addition, controller 180 can be included for reproducing (or playback) many matchmakers The multi-media module 181 of volume data, multi-media module 181 can be constructed in controller 180, or is so structured that and control Device 180 is separated.Controller 180 can be with execution pattern identifying processing, by the handwriting input for performing on the touchscreen or picture Draw input and be identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each unit Appropriate electric power needed for part and component.
Various embodiments described herein can be with using such as computer software, hardware or its any combination of calculating Machine computer-readable recording medium is implementing.For 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), processor, controller, microcontroller, microprocessor, it is designed to perform function described herein Implementing, in some cases, such embodiment can be implemented at least one in electronic unit in controller 180. For software is implemented, the embodiment of such as process or function can with allow to perform the single of at least one function or operation Software module is implementing.Software code can be come by the software application (or program) write with any appropriate programming language Implement, software code can be stored in memory 160 and be performed by controller 180.
So far, own Jing describes mobile terminal 1 00 according to its function.In addition, the mobile terminal 1 00 in the embodiment of the present invention Can be such as folded form, board-type, oscillating-type, sliding-type and other various types of mobile terminals, specifically not do herein Limit.
Based on above-mentioned mobile terminal hardware configuration, the inventive method each embodiment 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 Suddenly:
S201, beginning;
S202, after the enabled instruction for receiving application program, obtain the push component of the application program;
S203, the detection push component whether there is affiliate application;If so, step S204 is then entered;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 startup can be associated Use program;
S204, whether judging the association of the affiliate application, to push component of the same name with the push component, if so, then Into step S205;If it is not, then as shown in step S206, terminating process;
S205, forbid it is described push component carry out Push Service.
In another embodiment of the invention, after step S205, also include:By the application program or the push Component is associated storage with affiliate application;Thus, can be in step S203, S204 quickly using the data of storage Obtain judged 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 Suddenly:
S301, beginning;
S302, after the enabled instruction for receiving application program, obtain the push component of the application program;
S303, the push component is judged with the presence or absence of long connection, then into 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, step S305 is then entered;If it is not, then As shown in step S307, terminate process;
S305, whether judging the association of the affiliate application, to push component of the same name with the push component, if so, then Into step S306;If it is not, then as shown in step S307, terminating process;
S306, forbid it is described push component carry out Push Service.
In another embodiment of the invention, after step S306, also include:By the application program or the push Component is associated storage with affiliate application;Thus, can be in step S303 to S305 faster using the data of storage Obtain judged 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 Suddenly:
S401, beginning;
S402, receive the push component that the application program is obtained after the enabled instruction of application program;
S403, the push component is judged with the presence or absence of long connection, then into 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, step S405 is then entered;If it is not, then As denoted in step 408, process is terminated;
S405, judge that the association of the affiliate application pushes component with the presence or absence of long connection;If so, step is then entered S406;If it is not, then as denoted in step 408, process is terminated;
S406, whether judging the association of the affiliate application, to push component of the same name with the push component, if so, then Into step S407;If it is not, then as shown in step S408, terminating process;
S407, forbid it is described push component carry out Push Service.
In another embodiment of the invention, after step S407, also include:By the application program or the push Component is associated storage with affiliate application;Thus, can be in step S403 to S406 faster using the data of storage Obtain judged 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 Suddenly:
S501, beginning;
S502, receive the push component that the application program is obtained after the enabled instruction of application program;
S503, the push component is judged with the presence or absence of long connection, then into 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, step S505 is then entered;If it is not, then As shown in step S509, terminate process;
S505, judge that the association of the affiliate application pushes component with the presence or absence of long connection;If so, step is then entered S506;If it is not, then as shown in step S509, terminating process;
S506, judge that the association pushes the network address that the network address of the long connection of component is connected with the length of the push component and is It is no identical;If so, step S507 is then entered;If it is not, then as shown in step S509, terminating process;
S507, whether judging the association of the affiliate application, to push component of the same name with the push component, if so, then Into step S508;If it is not, then as shown in step S509, terminating process;
S508, forbid it is described push component carry out Push Service.
In another embodiment of the invention, after step s 508, also include:By the application program or the push Component is associated storage with affiliate application;Thus, can be in step S503 to S507 faster using the data of storage Obtain judged result or testing result.
Above to the embodiment of the present invention in be described based on the power consumption management-control method of Push Service, below to this 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 Unit 20, judging unit of the same name 30, forbid unit 40.
Wherein, pushing acquiring unit 10 is used for after the enabled instruction for receiving application program, obtains the application program Push component;Detector unit 20 is used to detect that the push component whether there is affiliate application;Judging unit of the same name 30 If there is affiliate application for the push component, judge the affiliate application association push component whether with The push component is of the same name;If the association that forbidding unit 40 is used for the affiliate application pushes component and the push component It is of the same name, then forbid the push component to carry out Push Service.
In another embodiment of the invention, also including associated storage unit, for by the application program or described pushing away Sending component is associated storage with affiliate application.Thus, the data stored using associated storage unit can make detection list Unit 20, judging unit of the same name 30 quickly obtains judged 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 Unit 20, judging unit of the same name 30, forbid unit 40, long connection judgment unit 50.
Push acquiring unit 10, detector 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, detector unit 20, judging unit of the same name 30 in 5th embodiment, forbid unit 40 identical, specifically such as Upper described, here is omitted.
It should be noted that the long connection judgment unit 50 in the present embodiment is used to judge that the push component whether there is Long connection.If detector unit 20 has long connection specifically for the push component, detect that the push component whether there is Affiliate application.
In another embodiment of the invention, also including associated storage unit, for by the application program or described pushing away Sending component is associated storage with affiliate application.Thus, the data stored using associated storage unit can make detection list Unit 20, judging unit of the same name 30, long connection judgment unit 50 quickly obtain judged result or testing result.
Seventh embodiment of the invention proposes a kind of mobile terminal, including pushes acquiring unit 10, detector unit 20, of the same name sentences Disconnected unit 30, forbid unit 40, long connection judgment unit 50.
Push acquiring unit 10, detector unit 20, judging unit of the same name 30 in the present embodiment, forbid unit 40, long connect Connect the push acquiring unit 10 in judging unit 50 and above-mentioned sixth embodiment, detector unit 20, judging unit of the same name 30, forbid Unit 40, long connection judgment unit 50 are identical, and as detailed above, here is omitted.
It should be noted that in the present embodiment, long connection judgment unit 50 is additionally operable to judge the association of affiliate application Component is pushed with the presence or absence of long connection.If judging unit of the same name 30 specifically for it is described push component exist affiliate application and The association of affiliate application pushes component and there is long connection, then whether the association for judging 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 pushes acquiring unit 10, detector unit 20, of the same name sentences Disconnected unit 30, forbid unit 40, long connection judgment unit 50.
Push acquiring unit 10, detector unit 20, judging unit of the same name 30 in the present embodiment, forbid unit 40, long connect Connect the push acquiring unit 10 in judging unit 50 and above-mentioned 7th embodiment, detector unit 20, judging unit of the same name 30, forbid Unit 40, long connection judgment unit 50 are identical, and as detailed above, here is omitted.
It should be noted that in the present embodiment, long connection judgment unit 50 is additionally operable to judge that the association pushes component Whether the network address that the network address of long connection is connected with the length of the push component is identical.If judging unit of the same name 30 is specifically for described Push component and there is affiliate application, the association of affiliate application pushes component and there is long connection and the association push group The network address of the long connection of part is identical with the network address of the long connection of the push component, then judge the association of the affiliate application Whether of the same name with the push component push component.
In another embodiment of the invention, also including associated storage unit, for by the application program or described pushing away Sending component is associated storage with affiliate application.Thus, the data stored using associated storage unit can make detection list Unit 20, judging unit of the same name 30, long connection judgment unit 50 quickly obtain judged result or testing result.
The power consumption management-control method based on Push Service and mobile terminal that the present invention is provided, by forbid meeting condition the Tripartite's application starts push component, prevents the same application program for pushing component used in terminal from associating startup, to prevent power consumption With interim card problem, moreover it is possible to prevent to affect system dormancy in the long connection of backstage foundation because pushing component;The present invention can be reduced effectively The number of applications of running background, reduces number of ads, lifts mobile phone endurance and Consumer's Experience.
It should be noted that herein, term " including ", "comprising" or its any other variant are intended to non-row His property is included, so that a series of process, method, article or device including key elements not only include those key elements, and And also include other key elements being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element for being limited by sentence "including a ...", it is not excluded that including being somebody's turn to do Also there is other identical element in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, computer takes Business device, air-conditioner, or network equipment etc.) perform method described in each embodiment of the invention.
The preferred embodiments of the present invention are these are only, the scope of the claims of the present invention is not thereby limited, it is every using this Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of power consumption management-control method based on Push Service, it is characterised in that methods described includes step:
After the enabled instruction for receiving application program, the push component of the application program is obtained;
The detection push component whether there is affiliate application;
If so, then judge whether the association push component of the affiliate application is of the same name with the push component;
If so, the push component is then forbidden to carry out Push Service.
2. power consumption management-control method according to claim 1 based on Push Service, it is characterised in that the detection push With the presence or absence of before affiliate application, methods described also includes component:
The push component is judged with the presence or absence of long connection, if so, then component is pushed described in perform detection should with the presence or absence of association The step of using program.
3. power consumption management-control method according to claim 2 based on Push Service, it is characterised in that the detection push Component with the presence or absence of after affiliate application, judge the association push component of the affiliate application whether with the push Before component is of the same name, methods described also includes:
The association for judging the affiliate application pushes component with the presence or absence of long connection, if so, then performs and judges the association The association of application program pushes component step whether of the same name with the push component.
4. power consumption management-control method according to claim 3 based on Push Service, it is characterised in that the judgement association After the association of application program pushes component with the presence or absence of long connection, judge that the association of the affiliate application pushes component and is It is no with it is described push component it is of the same name before, methods described also includes:
Judge whether the network address of the long connection of the association push component is identical with the network address that the length of the push component is connected;If It is then to perform to judge that the association of the affiliate application pushes whether component pushes component step of the same name with described.
5. the power consumption management-control method of Push Service is based on according to claim 1, it is characterised in that described to forbid the push Component is carried out after Push Service, and methods described also includes:
The application program or the push component are associated into storage with affiliate application.
6. a kind of mobile terminal, it is characterised in that include:
Acquiring unit is pushed, for after the enabled instruction for receiving application program, obtaining the push component of the application program;
Detector unit, for detecting that the push component whether there is affiliate application;
Judging unit of the same name, if there is affiliate application for the push component, judges the affiliate application Whether association pushes component of the same name with the push component;
Forbid unit, if the association push component for the affiliate application is of the same name with the push component, forbid institute Stating push component carries out Push Service.
7. mobile terminal according to claim 6, it is characterised in that described for judging also including long connection judgment unit Component is pushed with the presence or absence of long connection.
8. mobile terminal according to claim 7, it is characterised in that the long connection judgment unit is additionally operable to judge that association should With the association of program component is pushed with the presence or absence of long connection.
9. mobile terminal according to claim 8, it is characterised in that the long connection judgment unit is additionally operable to judge the pass Whether the network address that connection pushes the long connection of component is identical with the network address that the length of the push component is connected.
10. mobile terminal according to claim 6, it is characterised in that also including associated storage unit, for by the application Program or the push component are associated storage with affiliate application.
CN201611233609.9A 2016-12-28 2016-12-28 A kind of power consumption management-control method and mobile terminal based on Push Service Active CN106648029B (en)

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 true CN106648029A (en) 2017-05-10
CN106648029B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107343311A (en) * 2017-06-19 2017-11-10 北京小米移动软件有限公司 Push control method and device

Citations (7)

* Cited by examiner, † Cited by third party
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
US20140366041A1 (en) * 2013-06-09 2014-12-11 Apple Inc. Dynamic Adjustment of Mobile Device Based on User Activity
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
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
US20140366041A1 (en) * 2013-06-09 2014-12-11 Apple Inc. Dynamic Adjustment of Mobile Device Based on User Activity
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)

* Cited by examiner, † Cited by third party
Title
张雷等: ""基于Push通道客户端的智能心跳机制研究与优化"", 《工业控制计算机》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107343311A (en) * 2017-06-19 2017-11-10 北京小米移动软件有限公司 Push control method and device

Also Published As

Publication number Publication date
CN106648029B (en) 2019-10-08

Similar Documents

Publication Publication Date Title
CN105100476B (en) A kind of mobile terminal unlocking device and method
CN104850443B (en) A kind of method and mobile terminal for closing error starting application program
CN106941443A (en) One population historical record checks terminal and method
CN106506856A (en) A kind of screen-refresh control method and terminal
CN106909851A (en) A kind of secure storage method of data and device
CN106803860A (en) The storage processing method and device of a kind of terminal applies
CN106843723A (en) A kind of application program associates application method and mobile terminal
CN106656055A (en) Impedance matching device and method for terminal power amplifier
CN106899958A (en) A kind of information download apparatus and method
CN106488035A (en) A kind of mobile terminal and control method
CN106447595A (en) Distributed image and graph rendering method and terminal
CN105187621B (en) The method, apparatus and terminal of message notifying
CN106792607A (en) Mobile terminal and the method for reducing mobile terminal power consumption
CN106791149A (en) A kind of method of mobile terminal and control screen
CN106713661A (en) Mobile terminal and text displaying method
CN106850080A (en) The sending method and mobile terminal of a kind of associated person information
CN106951350A (en) The inspection method and device of a kind of mobile terminal disk
CN106534596A (en) Anti-harassment call filtering method and filtering system thereof
CN106686703A (en) Terminal and timer wakeup method
CN106648029B (en) A kind of power consumption management-control method and mobile terminal based on Push Service
CN106793027A (en) The processing method and terminal of abnormal power consumption
CN106980686A (en) The segmenting method and terminal of a kind of search term
CN106789600A (en) The sharing method and terminal of a kind of picture
CN106507469A (en) A kind of network management and terminal
CN106713299A (en) Method for enhancing fingerprint operation security and mobile terminal

Legal Events

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